Kevin prototype #35
@@ -6,7 +6,10 @@
|
|||||||
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
|
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-options {
|
.admin-actions {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 10px;
|
||||||
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-searchbar {
|
.admin-searchbar {
|
||||||
@@ -28,11 +31,6 @@
|
|||||||
margin-right: 100px;
|
margin-right: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-actions {
|
|
||||||
display: inline-block;
|
|
||||||
margin: 10px;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-users {
|
.admin-users {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
|
|||||||
@@ -4,6 +4,17 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" type="text/css" href="astyle.css">
|
<link rel="stylesheet" type="text/css" href="astyle.css">
|
||||||
<title>Admin Panel</title>
|
<title>Admin Panel</title>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function checkAll(allbox) {
|
||||||
|
var checkboxes = document.getElementsByName('check1');
|
||||||
|
|
||||||
|
for (var i = 0; i < checkboxes.length; i++) {
|
||||||
|
if (checkboxes[i].type == 'checkbox') {
|
||||||
|
checkboxes[i].checked = allbox.checked;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@@ -30,15 +41,18 @@
|
|||||||
<input type="radio" name="actions" value="unban"> Unban <br> <br>
|
<input type="radio" name="actions" value="unban"> Unban <br> <br>
|
||||||
<input type="submit" value="Confirm">
|
<input type="submit" value="Confirm">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<br>
|
||||||
<div class="admin-users">
|
<div class="admin-users">
|
||||||
<h2>Users:</h2>
|
<h2>Users:</h2>
|
||||||
<table class="usertable">
|
<table class="usertable">
|
||||||
<tr style="text-align: left;">
|
<tr>
|
||||||
<th><input type="checkbox" name="checkall"></th>
|
<th class="table-checkbox">
|
||||||
<th>User</th>
|
<input type="checkbox" name="checkall" onchange="checkAll(this)">
|
||||||
<th>Ban reason</th>
|
</th>
|
||||||
<th style="width: 200px;">Action</th>
|
<th class="table-username">User</th>
|
||||||
|
<th class="table-comment">Ban reason</th>
|
||||||
|
<th class="table-action">Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><input type="checkbox" name="check1"></td>
|
<td><input type="checkbox" name="check1"></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user