sync/templates/acp.pug

132 lines
5.7 KiB
Plaintext
Raw Permalink Normal View History

2014-01-28 06:05:14 +00:00
doctype html
html(lang="en")
head
include head
+head()
2014-01-28 06:05:14 +00:00
link(rel="stylesheet", type="text/css", href="/css/acp.css")
body
#wrap
nav.navbar.navbar-inverse.navbar-fixed-top(role="navigation")
include nav
+navheader()
2014-01-28 06:05:14 +00:00
#nav-collapsible.collapse.navbar-collapse
ul.nav.navbar-nav
2017-08-23 00:33:29 +00:00
+navdefaultlinks()
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
2017-08-23 00:33:29 +00:00
+navloginlogout()
2014-01-28 06:05:14 +00:00
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
2017-05-24 11:10:44 +00:00
.input-group(style="max-width: 50%")
input#acp-ulookup-query.form-control(type="text")
2014-01-29 02:04:25 +00:00
span.input-group-btn
2017-05-24 11:10:44 +00:00
button#acp-ulookup-btn-name.btn.btn-default(data-field="name") Search Name
span.input-group-btn
button#acp-ulookup-btn-email.btn.btn-default(data-field="email") Search Email
2014-01-29 02:04:25 +00:00
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
2019-03-28 04:33:16 +00:00
th.sort(data-key="last_loaded") Last Loaded
th.sort(data-key="owner_last_seen") Owner Last Seen
2014-02-05 23:44:37 +00:00
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
2014-05-24 05:40:35 +00:00
th Control
#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
2014-01-29 02:04:25 +00:00
2014-01-28 06:05:14 +00:00
include footer
+footer()
2014-01-30 03:50:45 +00:00
script(src=sioSource)
2017-09-30 22:26:47 +00:00
script(type="text/javascript").
window.IO_SERVERS = !{ioServers};
2014-02-19 04:00:56 +00:00
script(src="/js/util.js")
script(src="/js/paginator.js")
2014-01-29 02:04:25 +00:00
script(src="/js/acp.js")