mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Layout update to admin panel
Layout update to admin panel, converting over bootstrap classes to brass tacks. Fixes margin, padding and broken floats. Put list of usernames into a fixed height scrollable window so as to make the page shorter.
This commit is contained in:
parent
6389b267f2
commit
df6e6da909
2 changed files with 48 additions and 38 deletions
|
@ -27,3 +27,10 @@ select, textarea, input[type="text"], input[type="password"], input[type="dateti
|
||||||
|
|
||||||
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
|
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
|
||||||
line-height:inherit; height:auto!important}
|
line-height:inherit; height:auto!important}
|
||||||
|
|
||||||
|
.scroll-Admin{
|
||||||
|
background:rgba(255,255,255,.4);
|
||||||
|
border:1px solid #ccc;
|
||||||
|
max-height:400px;
|
||||||
|
overflow:auto;
|
||||||
|
}
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
.row
|
.content-Base
|
||||||
.span12
|
.row.content
|
||||||
|
.col
|
||||||
h1 SECRET NSA BACKDOOR REPORTING ZONE
|
h1 SECRET NSA BACKDOOR REPORTING ZONE
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.span6
|
.col.col-50
|
||||||
|
|
||||||
h2 Ban User
|
h2 Ban User
|
||||||
|
|
||||||
|
@ -13,15 +14,16 @@
|
||||||
input type="text" name="username" placeholder="edwardsnowden" autocapitalize="off" autocorrect="off"
|
input type="text" name="username" placeholder="edwardsnowden" autocapitalize="off" autocorrect="off"
|
||||||
br
|
br
|
||||||
input.btn.btn-danger type="submit" value="Ban"
|
input.btn.btn-danger type="submit" value="Ban"
|
||||||
.span6
|
.col.col-50
|
||||||
h2 Banned Terrorists
|
h2 Banned Terrorists
|
||||||
|
.scoll-Admin
|
||||||
- @banned_sites.each do |banned_site|
|
- @banned_sites.each do |banned_site|
|
||||||
= banned_site.username
|
= banned_site.username
|
||||||
br
|
br
|
||||||
|
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.span6
|
.col.col-50
|
||||||
h2 Mark NSFW
|
h2 Mark NSFW
|
||||||
|
|
||||||
form action="/admin/mark_nsfw" method="POST"
|
form action="/admin/mark_nsfw" method="POST"
|
||||||
|
@ -30,8 +32,9 @@
|
||||||
input type="text" name="username" placeholder="edwardsnowden" autocapitalize="off" autocorrect="off"
|
input type="text" name="username" placeholder="edwardsnowden" autocapitalize="off" autocorrect="off"
|
||||||
br
|
br
|
||||||
input.btn.btn-danger type="submit" value="Mark NSFW"
|
input.btn.btn-danger type="submit" value="Mark NSFW"
|
||||||
.span6
|
.col.col-50
|
||||||
h2 NSFW Sites
|
h2 NSFW Sites
|
||||||
|
.scroll-Admin
|
||||||
- @nsfw_sites.each do |nsfw_site|
|
- @nsfw_sites.each do |nsfw_site|
|
||||||
= nsfw_site.username
|
= nsfw_site.username
|
||||||
br
|
br
|
Loading…
Add table
Reference in a new issue