codecombat/app/templates/admin.jade

91 lines
2.7 KiB
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
extends /templates/base
block content
2015-11-18 14:16:44 -05:00
.form-horizontal
form#espionage-form.form-group
2016-03-05 10:08:27 -05:00
label.control-label.col-sm-2(for="espionage-name-or-email") Espionage
.col-sm-4
2016-03-04 14:14:18 -05:00
input.form-control#espionage-name-or-email(placeholder="Email, username or id", type="text")
.col-sm-1
button.btn.btn-primary.btn-large#enter-espionage-mode 007
label.control-label.col-sm-5(for="espionage-name-or-email")
2016-03-04 14:14:18 -05:00
em you are currently #{me.get('name')} at #{me.get('email')}
if view.amActually
br
em but you are actually #{view.amActually.get('name')} at #{view.amActually.get('email')}
br
button#stop-spying-btn.btn.btn-xs Stop Spying
form#user-search-form.form-group
2016-03-05 10:08:27 -05:00
label.control-label.col-sm-2(for="user-search") User Search
.col-sm-4
2016-03-05 10:08:27 -05:00
input.form-control#user-search(placeholder="Email, username, name, whatever", type="text")
.col-sm-1
2016-03-05 10:08:27 -05:00
button.btn.btn-primary.btn-large#user-search-button Search
#user-search-result
2015-11-18 14:16:44 -05:00
2016-03-05 10:08:27 -05:00
h3 Admin Views
2014-01-03 13:32:13 -05:00
2016-03-05 10:08:27 -05:00
h4 Entities
2015-11-18 14:16:44 -05:00
2014-01-03 13:32:13 -05:00
ul
2014-07-17 16:16:17 -04:00
li
a(href="/admin/trial-requests") Trial Requests
li
2016-03-05 10:08:27 -05:00
a(href="/admin/user-code-problems") User Code Problems List
li
2016-03-05 10:08:27 -05:00
a(href="/admin/users") Users
if me.isAdmin()
h4 Analytics
ul
li
a(href="/admin/classroom-levels") Classroom Levels
2016-07-07 14:07:38 -04:00
li
button.classroom-progress-csv.btn.btn-sm.btn-success Classroom Progress CSV
input.classroom-progress-class-code(type=text value="<class code>")
li
a(href="/admin/analytics") Dashboard
2016-06-21 12:29:41 -04:00
li
a(href="/admin/school-counts") School Counts
li
a(href="/admin/analytics/subscriptions") Subscriptions
li
a(href="/admin/demo-requests") Teacher Demo Requests
2014-01-03 13:32:13 -05:00
h4 Other
2014-01-03 13:32:13 -05:00
ul
li
2016-03-05 10:08:27 -05:00
a(href="/admin/base") Base (for debugging base.jade)
2014-03-21 19:22:47 -04:00
li
2016-03-05 10:08:27 -05:00
a(href="/admin/clas") CLAs
li
2016-03-05 10:08:27 -05:00
a(href="/admin/pending-patches") Patches
if me.isAdmin()
hr
h3 Prepaids
a.btn.btn-secondary#create-free-sub-btn Create Free Subscription Link
span.spl.spr
2015-11-18 14:16:44 -05:00
if view.freeSubLink
input#free-sub-input(type="text", readonly, value="#{view.freeSubLink}")
2015-09-25 13:03:44 -04:00
.form-inline
.form-group
label(for="users") Users
input#users.form-control(name="users", type="number", min=1)
.form-group
label(for="months") Months
input#months.form-control(name="months", type="number", min=1)
a#terminal-create.btn.btn-default Create Terminal Subscription Code
hr
h3 Achievements
p This is just some stuff for temporary achievement testing. Should be replaced by a demo system.
input#increment-field(type="text")
a.btn.btn-secondary#increment-button(href="#") Increment