modDeck form properties

This commit is contained in:
Jörn-Michael Miehe 2019-01-08 22:45:40 +01:00
parent b3abb27446
commit e538eab674
2 changed files with 9 additions and 25 deletions

View file

@ -6,7 +6,6 @@
html, body {
height: 100%;
overflow: hidden;
}

View file

@ -18,43 +18,28 @@ html
h4 My Decks
ul.list-group#my-decks
li.list-group-item
div.align-middle
div.d-inline-block.btn-group(role="group")
div.row
div.col-3.btn-group(role="group")
button.btn.btn-secondary(data-toggle="collapse" data-target="#modDeck0") Edit
button.btn.btn-secondary#delDeck0 Delete
div.d-inline-block.pl-2 item1
div.col-9.align-self-center item1
form.float-none.collapse#modDeck0(name="modDeck0")
form.collapse.pt-2#modDeck0(name="modDeck0")
div.form-group
label(for="deck") Decklist:
textarea.form-control.text-monospace(name="deck" required)
textarea.form-control.form-control-sm.text-monospace(name="deck" rows="20" required)
div.form-group
button.btn.btn-primary.w-100(type="submit") Add
li.list-group-item
div.align-middle
div.d-inline-block.btn-group(role="group")
button.btn.btn-secondary(data-toggle="collapse" data-target="#modDeck1") Edit
button.btn.btn-secondary#delDeck1 Delete
div.d-inline-block.pl-2 item2
form.float-none.collapse#modDeck1(name="modDeck1")
div.form-group
label(for="deck") Decklist:
textarea.form-control.text-monospace(name="deck" required)
div.form-group
button.btn.btn-primary.w-100(type="submit") Add
button.btn.btn-primary.w-100(type="submit") Confirm
p Hello
div.col-md-4
h4 New Deck
form(name="addDeck")
div.form-group
label(for="deck") Paste decklist:
textarea.form-control.text-monospace(name="deck" required)
textarea.form-control.form-control-sm.text-monospace(name="deck" rows="20" required)
div.form-group
button.btn.btn-primary.w-100(type="submit") Add
p Hello