codecombat/app/templates/kinds/search.jade

28 lines
1,010 B
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
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
2014-01-27 14:30:22 -05:00
div.modal.fade#new-model-modal
.modal-dialog
.modal-content
.modal-header
h3 Create New #{modelLabel}
.modal-body
2014-01-27 21:44:05 -05:00
form.form
2014-01-27 14:30:22 -05:00
.form-group
label.control-label(for="name") Name
input#name.form-control(name="name", type="text")
.modal-footer
button.btn(data-dismiss="modal") Cancel
button.btn.btn-primary.new-model-submit Create
.modal-body.wait.secret
2014-01-27 14:30:22 -05:00
h3 Reticulating Splines...
.progress.progress-striped.active
.progress-bar