diff --git a/views/index/logged_in.moon b/views/index/logged_in.moon index e502abc..2771f54 100644 --- a/views/index/logged_in.moon +++ b/views/index/logged_in.moon @@ -1,15 +1,15 @@ import Widget from require "lapis.html" -api_key_item = (key="") -> - li -> - div class: "row", -> - div class: "column column-80", -> - code key.key - div class: "column column-20", -> - button class: "delete", "x" - class LoggedIn extends Widget content: => + api_key_item = (key="") -> + li -> + div class: "row", -> + div class: "column column-80", -> + code key.key + div class: "column column-20", -> + button class: "delete", "x" + script -> raw "var API_KEY = '#{@keys[1].key}';" script src: "/static/index.js"