maximizing content space

This commit is contained in:
Paul Liverman III 2018-04-24 19:52:20 -07:00
parent b79d46efee
commit d2d1dc4c5e

View File

@ -5,21 +5,21 @@ class LoggedIn extends Widget
task_item = (task) -> task_item = (task) ->
li -> li ->
div class: "row", -> div class: "row", ->
div class: "column column-80", -> div class: "column column-100", ->
if task if task
input type: "checkbox", id: "task-#{task.id}", onchange: "check(#{task.id});", checked: task.done input type: "checkbox", id: "task-#{task.id}", onchange: "check(#{task.id});", checked: task.done
text " #{task.content}" text " #{task.content}"
else else
input type: "checkbox" input type: "checkbox"
div class: "column column-20", -> div class: "column column-10", ->
button class: "delete", onclick: "delete_item(this);", "x" button class: "delete", onclick: "delete_item(this);", "x"
api_key_item = (key="") -> api_key_item = (key="") ->
li -> li ->
div class: "row", -> div class: "row", ->
div class: "column column-60", -> div class: "column column-100", ->
code key code key
div class: "column column-offset-20 column-20", -> div class: "column column-10", ->
button class: "delete", onclick: "delete_item(this);", "x" button class: "delete", onclick: "delete_item(this);", "x"
script src: "/static/index.js" script src: "/static/index.js"
@ -31,9 +31,9 @@ class LoggedIn extends Widget
script id: "error-template", type: "text/x-custom-template", -> script id: "error-template", type: "text/x-custom-template", ->
li -> li ->
div class: "row error", -> div class: "row error", ->
div class: "column column-80", -> div class: "column column-100", ->
span class: "error-text" span class: "error-text"
div class: "column column-20", -> div class: "column column-10", ->
button class: "delete", onclick: "delete_item(this);", "x" button class: "delete", onclick: "delete_item(this);", "x"
ul style: "list-style: none;", -> ul style: "list-style: none;", ->