More minor UI tweaks

This commit is contained in:
James Mills 2020-03-28 20:49:09 +10:00
parent 668f6cba15
commit 6c50fb31e0
No known key found for this signature in database
GPG key ID: AC4C014F1440EBD6
5 changed files with 105 additions and 105 deletions

File diff suppressed because one or more lines are too long

2
static/import.css vendored
View file

@ -1,7 +1,7 @@
.import-container {
display: inline-block;
max-width: 100%;
margin-top: 50px;
margin-top: 10px;
}
.import-wrapper {

View file

@ -95,7 +95,7 @@ main {
display: inline-block;
margin-left: 10px;
width: 290px;
height: 543px;
height: 607px;;
background: #282a2e;
box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
overflow-x: hidden;

View file

@ -1,7 +1,7 @@
.upload-container {
display: inline-block;
max-width: 100%;
margin-top: 50px;
margin-top: 10px;
}
.upload-wrapper {

View file

@ -1,17 +1,17 @@
{{ define "content" }}
{{ $playing := .Playing }}
<div class="topnav" id="myTopnav">
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-cogs"></i>
</a>
<a {{ if eq $.Quality "" }}class="active"{{ end }} href="/v/{{ $playing.ID }}">fullHD</a>
<a {{ if eq $.Quality "720p" }}class="active"{{ end }} href="/v/{{ $playing.ID }}?quality=720p">720p</a>
<a {{ if eq $.Quality "480p" }}class="active"{{ end }} href="/v/{{ $playing.ID }}?quality=480p">480p</a>
<a {{ if eq $.Quality "360p" }}class="active"{{ end }} href="/v/{{ $playing.ID }}?quality=360p">360p</a>
<a {{ if eq $.Quality "240p" }}class="active"{{ end }} href="/v/{{ $playing.ID }}?quality=240p">240p</a>
</div>
<div id="player">
<div class="topnav" id="myTopnav">
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-cogs"></i>
</a>
<a {{ if eq $.Quality "" }}class="active"{{ end }} href="/v/{{ $playing.ID }}">fullHD</a>
<a {{ if eq $.Quality "720p" }}class="active"{{ end }} href="/v/{{ $playing.ID }}?quality=720p">720p</a>
<a {{ if eq $.Quality "480p" }}class="active"{{ end }} href="/v/{{ $playing.ID }}?quality=480p">480p</a>
<a {{ if eq $.Quality "360p" }}class="active"{{ end }} href="/v/{{ $playing.ID }}?quality=360p">360p</a>
<a {{ if eq $.Quality "240p" }}class="active"{{ end }} href="/v/{{ $playing.ID }}?quality=240p">240p</a>
</div>
{{ if $playing.ID }}
<video id="video" controls preload="metadata" poster="/t/{{ $playing.ID}}">
<source src="/v/{{ $playing.ID }}.mp4?quality={{ $.Quality }}" type="video/mp4" />