CyTube/templates/acp.jade

137 lines
5.9 KiB
Plaintext
Raw Normal View History

2014-01-28 06:05:14 +00:00
doctype html
html(lang="en")
head
include head
mixin head()
link(rel="stylesheet", type="text/css", href="/css/acp.css")
body
#wrap
nav.navbar.navbar-inverse.navbar-fixed-top(role="navigation")
include nav
mixin navheader()
#nav-collapsible.collapse.navbar-collapse
ul.nav.navbar-nav
mixin navdefaultlinks("/acp")
2014-01-29 02:04:25 +00:00
li#nav-acp-section.dropdown
a#nav-acp-dd-toggle.dropdown-toggle(data-toggle="dropdown", href="javascript:void(0)") Menu
span.caret
ul.dropdown-menu
2014-01-28 06:05:14 +00:00
mixin navloginlogout("/acp")
section#mainpage
.container
.row
#acp-logview.acp-panel.col-md-12(style="display: none")
2014-01-28 06:05:14 +00:00
h3 Log Viewer
.input-group
div.input-group-btn
button#acp-syslog-btn.btn.btn-default Syslog
button#acp-errlog-btn.btn.btn-default Error log
2014-01-29 02:04:25 +00:00
button#acp-httplog-btn.btn.btn-default HTTP log
2014-01-28 06:05:14 +00:00
input#acp-chanlog-name.form-control(type="text", placeholder="Channel name")
pre#acp-log
#acp-announcements.acp-panel.col-md-6.col-md-offset-3(style="display: none")
2014-01-28 06:05:14 +00:00
h3 Announcements
h3 New Announcement
div
2014-01-28 06:05:14 +00:00
form.form-horizontal(action="javascript:void(0)", role="form")
.form-group
label.control-label.col-sm-2(for="acp-announce-title") Title
.col-sm-10
input#acp-announce-title.form-control(type="text")
.form-group
label.control-label.col-sm-2(for="acp-announce-content") Text
.col-sm-10
textarea#acp-announce-content.form-control(type="text", rows="10")
.form-group
.col-sm-10.col-sm-offset-2
button#acp-announce-submit.btn.btn-primary Announce
#acp-global-bans.acp-panel.col-md-12(style="display: none")
2014-01-28 06:05:14 +00:00
h3 Global Bans
table.table.table-striped.table-bordered
thead
tr
th
th IP Address
th Note
h3 New Global Ban
2014-01-30 03:50:45 +00:00
div(style="max-width: 50%")
2014-01-28 06:05:14 +00:00
form.form-horizontal(action="javascript:void(0)", role="form")
.form-group
label.control-label.col-sm-3(for="acp-gban-ip") IP Address
.col-sm-9
input#acp-gban-ip.form-control(type="text")
.form-group
label.control-label.col-sm-3(for="acp-gban-note") Note
.col-sm-9
input#acp-gban-note.form-control(type="text")
.form-group
.col-sm-9.col-sm-offset-3
button#acp-gban-submit.btn.btn-danger Add ban
#acp-user-lookup.acp-panel.col-md-12(style="display: none")
2014-01-29 02:04:25 +00:00
h3 Users
.input-group(style="max-width: 25%")
input#acp-ulookup-name.form-control(type="text")
span.input-group-btn
button#acp-ulookup-btn.btn.btn-default Search
table.table.table-bordered.table-striped(style="margin-top: 20px")
thead
tr
2014-02-05 04:39:13 +00:00
th.sort(data-key="id") ID
th.sort(data-key="name") Name
th.sort(data-key="global_rank") Rank
th.sort(data-key="email") Email
2014-01-30 03:50:45 +00:00
th Actions
#acp-channel-lookup.acp-panel.col-md-12(style="display: none")
2014-01-29 02:04:25 +00:00
h3 Channels
form.form-inline(action="javascript:void(0)", role="form")
.form-group
input#acp-clookup-value.form-control(type="text", placeholder="Name")
.form-group
select#acp-clookup-field.form-control
option(value="name") Channel Name
option(value="owner") Channel Owner
button#acp-clookup-submit.btn.btn-default Search
table.table.table-bordered.table-striped(style="margin-top: 20px")
thead
tr
2014-02-05 23:44:37 +00:00
th.sort(data-key="id") ID
th.sort(data-key="name") Name
th.sort(data-key="owner") Owner
th Control
#acp-loaded-channels.acp-panel.col-md-12(style="display: none")
2014-01-29 02:04:25 +00:00
h3 Loaded Channels
button#acp-lchannels-refresh.btn.btn-default Refresh
table.table.table-bordered.table-striped(style="margin-top: 20px")
thead
tr
th Title
th Usercount
th Now Playing
th Registered
th Public
th Force Unload
#acp-eventlog.acp-panel.col-md-12(style="display: none")
2014-01-29 02:04:25 +00:00
h3 Event Log
strong Filter event types
select#acp-eventlog-filter.form-control(multiple="multiple", style="max-width: 25%")
2014-02-07 16:45:28 +00:00
button#acp-eventlog-refresh.btn.btn-default Refresh
pre#acp-eventlog-text
#acp-stats.acp-panel.col-md-12(style="display: none")
2014-01-29 02:04:25 +00:00
h3 User Count
2014-02-13 05:52:38 +00:00
canvas#stat_users(width="1140", height="400")
2014-01-29 02:04:25 +00:00
h3 Channel Count
2014-02-13 05:52:38 +00:00
canvas#stat_channels(width="1140", height="400")
2014-01-29 02:04:25 +00:00
h3 Memory Usage
2014-02-13 05:52:38 +00:00
canvas#stat_mem(width="1140", height="400")
2014-01-29 02:04:25 +00:00
2014-01-28 06:05:14 +00:00
include footer
mixin footer()
2014-01-30 03:50:45 +00:00
script(type="text/javascript").
var USEROPTS = { secure_connection: true };
script(src=sioSource)
script(src="/sioconfig")
2014-02-19 04:00:56 +00:00
script(src="/js/util.js")
script(src="/js/paginator.js")
script(src="/js/chart.js")
2014-01-29 02:04:25 +00:00
script(src="/js/acp.js")