Add some CSS to status page
This commit is contained in:
@ -4,14 +4,27 @@ const style = `
|
|||||||
<style>
|
<style>
|
||||||
.column {
|
.column {
|
||||||
float: left;
|
float: left;
|
||||||
width: 33.33%;
|
width: 24%;
|
||||||
|
height: 100%;
|
||||||
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.137);
|
||||||
|
border-radius: 3%;
|
||||||
|
transition: 0.3s;
|
||||||
|
margin: 15px 3.33%;
|
||||||
|
padding: 12px 16px;
|
||||||
|
background-color: #282c34;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.column:hover {
|
||||||
|
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.795);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Clear floats after the columns */
|
/* Clear floats after the columns */
|
||||||
.row:after {
|
.row {
|
||||||
content: "";
|
content: "";
|
||||||
display: table;
|
|
||||||
clear: both;
|
clear: both;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -67,7 +80,6 @@ ${style}
|
|||||||
|
|
||||||
configStatus.innerHTML = `
|
configStatus.innerHTML = `
|
||||||
${style}
|
${style}
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<h4><p>Status</p></h4>
|
<h4><p>Status</p></h4>
|
||||||
@ -75,12 +87,8 @@ ${style}
|
|||||||
<p>Last Bump was <slot name="lastbump" /></p>
|
<p>Last Bump was <slot name="lastbump" /></p>
|
||||||
<p>by <slot id="lastbumper" name="lastbumper" /></p>
|
<p>by <slot id="lastbumper" name="lastbumper" /></p>
|
||||||
</div>
|
</div>
|
||||||
<div id="admin-stats" class="column">
|
<br>
|
||||||
|
|
||||||
<h4><p>Admin Stats</p></h4>
|
|
||||||
</div>
|
|
||||||
<div class="column">
|
<div class="column">
|
||||||
|
|
||||||
<h4><p>Config</p></h4>
|
<h4><p>Config</p></h4>
|
||||||
<form>
|
<form>
|
||||||
<label for="Guild">Guild: </label>
|
<label for="Guild">Guild: </label>
|
||||||
@ -113,6 +121,10 @@ ${style}
|
|||||||
<input style="width: 100%;" type="submit" id="submitchanges" name="submitchanges" onClick="alert('Post blocked.')">
|
<input style="width: 100%;" type="submit" id="submitchanges" name="submitchanges" onClick="alert('Post blocked.')">
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
<br>
|
||||||
|
<div id="admin-stats" class="column">
|
||||||
|
<h4><p>Admin Stats</p></h4>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user