mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-18 11:32:25 -05:00
27 lines
944 B
Text
27 lines
944 B
Text
|
extends /templates/base
|
||
|
block content
|
||
|
if me.get('anonymous')
|
||
|
a.btn.btn-primary.open-modal-button(data-toggle="coco-modal", data-target="modal/signup", role="button") Sign Up to Create a New #{modelLabel}
|
||
|
else
|
||
|
a.btn.btn-primary.open-modal-button(href='#new-model-modal', role="button", data-toggle="modal") Create a New #{modelLabel}
|
||
|
input#search(placeholder="Search #{modelLabel}s Here")
|
||
|
hr
|
||
|
div.results
|
||
|
table
|
||
|
div.modal.hide.fade#new-model-modal
|
||
|
.modal-header
|
||
|
h3 Create New #{modelLabel}
|
||
|
.modal-body
|
||
|
form.form-horizontal
|
||
|
.control-group
|
||
|
label.control-label(for="name") Name
|
||
|
.controls
|
||
|
input#name.input-large(name="name", type="text")
|
||
|
.modal-footer
|
||
|
button.btn(data-dismiss="modal") Cancel
|
||
|
button.btn.btn-primary.new-model-submit Create
|
||
|
.modal-body.wait.hide
|
||
|
h3 Reticulating Splines...
|
||
|
.progress.progress-striped.active
|
||
|
.bar
|