mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
extends /templates/base
|
|
block content
|
|
div
|
|
ol.breadcrumb
|
|
li
|
|
a(href="/editor", data-i18n="editor.main_title") CodeCombat Editors
|
|
li.active(data-i18n="#{currentEditor}")
|
|
| #{currentEditor}
|
|
|
|
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.fade#new-model-modal
|
|
.modal-dialog
|
|
.modal-content
|
|
.modal-header
|
|
h3 Create New #{modelLabel}
|
|
.modal-body
|
|
form.form
|
|
.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
|
|
h3 Reticulating Splines...
|
|
.progress.progress-striped.active
|
|
.progress-bar
|