2014-01-03 13:32:13 -05:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
2015-11-18 14:16:44 -05:00
|
|
|
|
2014-08-30 20:09:57 -04:00
|
|
|
.form-horizontal
|
2016-03-03 17:22:50 -05:00
|
|
|
form#espionage-form.form-group
|
2014-09-15 12:36:45 -04:00
|
|
|
label.control-label.col-sm-2(for="espionage-name-or-email" data-i18n="admin.av_espionage") Espionage
|
2014-08-30 20:09:57 -04:00
|
|
|
.col-sm-4
|
2015-10-23 13:09:34 -04:00
|
|
|
input.form-control#espionage-name-or-email(data-i18n="[placeholder]admin.av_espionage_placeholder", placeholder="Email or username", type="text")
|
2014-08-30 20:09:57 -04:00
|
|
|
.col-sm-1
|
|
|
|
button.btn.btn-primary.btn-large#enter-espionage-mode 007
|
|
|
|
label.control-label.col-sm-5(for="espionage-name-or-email")
|
|
|
|
em you are currently #{me.get('name')} at #{me.get('email')}
|
2016-03-03 17:22:50 -05:00
|
|
|
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
|
2014-09-15 12:36:45 -04:00
|
|
|
label.control-label.col-sm-2(for="user-search" data-i18n="admin.av_usersearch") User Search
|
2014-08-30 20:09:57 -04:00
|
|
|
.col-sm-4
|
2015-10-23 13:09:34 -04:00
|
|
|
input.form-control#user-search(data-i18n="[placeholder]admin.av_usersearch_placeholder", placeholder="Email, username, name, whatever", type="text")
|
2014-08-30 20:09:57 -04:00
|
|
|
.col-sm-1
|
2014-09-15 12:36:45 -04:00
|
|
|
button.btn(data-i18n="admin.av_usersearch_search").btn-primary.btn-large#user-search-button Search
|
2014-08-30 20:09:57 -04:00
|
|
|
#user-search-result
|
|
|
|
|
2015-11-18 14:16:44 -05:00
|
|
|
|
2014-01-11 11:25:04 -05:00
|
|
|
h3(data-i18n="admin.av_title") Admin Views
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-01-11 11:25:04 -05:00
|
|
|
h4(data-i18n="admin.av_entities_sub_title") Entities
|
2015-11-18 14:16:44 -05:00
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
ul
|
|
|
|
li
|
2014-07-23 10:02:45 -04:00
|
|
|
a(href="/admin/level-sessions", data-i18n="admin.av_entities_active_instances_url") Active Instances
|
2014-07-17 16:16:17 -04:00
|
|
|
li
|
2015-06-05 09:48:09 -04:00
|
|
|
a(href="/admin/trial-requests") Trial Requests
|
2014-10-24 18:11:55 -04:00
|
|
|
li
|
|
|
|
a(href="/admin/user-code-problems", data-i18n="admin.av_entities_user_code_problems_list_url") User Code Problems List
|
2015-06-05 09:48:09 -04:00
|
|
|
li
|
|
|
|
a(href="/admin/users", data-i18n="admin.av_entities_users_url") Users
|
2014-10-24 18:11:55 -04:00
|
|
|
|
2014-01-11 11:25:04 -05:00
|
|
|
h4(data-i18n="admin.av_other_sub_title") Other
|
2014-01-03 13:32:13 -05:00
|
|
|
|
|
|
|
ul
|
|
|
|
li
|
2014-01-11 11:25:04 -05:00
|
|
|
a(href="/admin/base", data-i18n="admin.av_other_debug_base_url") Base (for debugging base.jade)
|
2014-03-21 19:22:47 -04:00
|
|
|
li
|
|
|
|
a(href="/admin/clas", data-i18n="admin.clas") CLAs
|
2015-03-28 16:54:44 -04:00
|
|
|
li
|
|
|
|
a(href="/admin/pending-patches", data-i18n="resources.patches") Patches
|
2014-11-05 01:17:49 -05:00
|
|
|
if me.isAdmin()
|
2015-11-04 13:59:07 -05:00
|
|
|
li
|
|
|
|
a(href="/admin/analytics") Analytics
|
2015-03-27 14:22:21 -04:00
|
|
|
ul
|
|
|
|
li
|
|
|
|
a(href="/admin/analytics/subscriptions") Subscriptions
|
2016-01-06 19:11:28 -05:00
|
|
|
li
|
|
|
|
a(href="/admin/design-elements") Design Elements
|
2014-06-09 05:59:27 -04:00
|
|
|
|
2015-03-19 18:02:45 -04:00
|
|
|
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-03-19 18:02:45 -04:00
|
|
|
|
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
|
|
|
|
|
|
|
|
|
2014-06-09 05:59:27 -04:00
|
|
|
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
|