More minor UI tweaks
This commit is contained in:
parent
668f6cba15
commit
6c50fb31e0
5 changed files with 105 additions and 105 deletions
182
app/rice-box.go
182
app/rice-box.go
File diff suppressed because one or more lines are too long
2
static/import.css
vendored
2
static/import.css
vendored
|
@ -1,7 +1,7 @@
|
||||||
.import-container {
|
.import-container {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin-top: 50px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.import-wrapper {
|
.import-wrapper {
|
||||||
|
|
|
@ -95,7 +95,7 @@ main {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
width: 290px;
|
width: 290px;
|
||||||
height: 543px;
|
height: 607px;;
|
||||||
background: #282a2e;
|
background: #282a2e;
|
||||||
box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
|
box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.upload-container {
|
.upload-container {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin-top: 50px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload-wrapper {
|
.upload-wrapper {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{{ define "content" }}
|
{{ define "content" }}
|
||||||
{{ $playing := .Playing }}
|
{{ $playing := .Playing }}
|
||||||
|
<div id="player">
|
||||||
<div class="topnav" id="myTopnav">
|
<div class="topnav" id="myTopnav">
|
||||||
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
|
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
|
||||||
<i class="fa fa-cogs"></i>
|
<i class="fa fa-cogs"></i>
|
||||||
|
@ -11,7 +12,6 @@
|
||||||
<a {{ if eq $.Quality "240p" }}class="active"{{ end }} href="/v/{{ $playing.ID }}?quality=240p">240p</a>
|
<a {{ if eq $.Quality "240p" }}class="active"{{ end }} href="/v/{{ $playing.ID }}?quality=240p">240p</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="player">
|
|
||||||
{{ if $playing.ID }}
|
{{ if $playing.ID }}
|
||||||
<video id="video" controls preload="metadata" poster="/t/{{ $playing.ID}}">
|
<video id="video" controls preload="metadata" poster="/t/{{ $playing.ID}}">
|
||||||
<source src="/v/{{ $playing.ID }}.mp4?quality={{ $.Quality }}" type="video/mp4" />
|
<source src="/v/{{ $playing.ID }}.mp4?quality={{ $.Quality }}" type="video/mp4" />
|
||||||
|
|
Loading…
Reference in a new issue