mirror of
https://github.com/sigmasternchen/MyTube
synced 2025-03-15 04:48:55 +00:00
a bit of cleanup
This commit is contained in:
parent
afec700b7e
commit
85c8dfe118
3 changed files with 9 additions and 1 deletions
|
@ -124,4 +124,8 @@
|
|||
font-size: 1vw;
|
||||
top: 69%;
|
||||
right: 10%;
|
||||
}
|
||||
|
||||
.no-content {
|
||||
margin-left: 3%;
|
||||
}
|
|
@ -17,7 +17,7 @@
|
|||
<div class="container">
|
||||
<nav class="navbar navbar-expand-lg navbar-light bg-light shadow-5-strong">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#">MyTube</a>
|
||||
<a class="navbar-brand" href="/">MyTube</a>
|
||||
|
||||
<button
|
||||
class="navbar-toggler"
|
||||
|
|
|
@ -45,6 +45,10 @@
|
|||
<div class="grid-container">
|
||||
<script>var autoupdate = [];</script>
|
||||
<div class="row">
|
||||
{% if videos | length == 0 %}
|
||||
<div class="no-content">No videos yet. Click <a href="{{ path("app_upload") }}">here</a> to add some.
|
||||
</div>
|
||||
{% endif %}
|
||||
{% for video in videos %}
|
||||
{% set disabled = video.state != constant("App\\Entity\\Video::DONE") %}
|
||||
<div class="video-tile col-md-4" id="video-{{ video.customId }}">
|
||||
|
|
Loading…
Reference in a new issue