Skip to content

Commit

Permalink
fixed some display problems in admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
jfontan committed Jul 23, 2021
1 parent cb5b4a3 commit d1adf5e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions server/assets/gallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
a{
color: #aaa;
text-decoration: none;
border-bottom: 1px solid #444;
}
a:hover{
color: #009DE9;
border-bottom: 1px solid #009DE9;
}

h1, h1 a, h2{
Expand All @@ -33,7 +31,6 @@
margin-top: 2em;
}
#gallery{
/* display: grid; */
width: 100%;
margin-top: 4em;
}
Expand All @@ -42,7 +39,6 @@
}
#gallery img{
margin-right: 2em;
margin-bottom: 2em;
width: 200px;
height: 100px;
border: 1px solid #212121;
Expand All @@ -53,9 +49,12 @@
}
.effect {
float: left;
margin-bottom: 2em;
}
form {
margin-bottom: 2em;
}
label{
/* display: block; */
margin-top: 1.4em;
margin-bottom: 0.6em;
font-size: 14px;
Expand Down Expand Up @@ -99,9 +98,11 @@ <h1><a href="/">GLSL Sandbox</a></h1>
<a href='/e#{{ .ID }}.{{ .Version }}'><img src='{{ .Image }}'></a>
{{ if $admin }}
{{ $name := checkboxID .ID }}
<div>
<label style="color:#009DE9" for="{{ $name }}">Hidden</label>
<input type="checkbox" id="{{ $name }}" name="{{ $name }}" {{ checked .Hidden }}>
<input type="hidden" name="effects" value="{{ .ID }}">
</div>
{{ end }}
</div>
{{ end }}
Expand Down

0 comments on commit d1adf5e

Please sign in to comment.