Remove useless one-tab container for sub box by better if placement.
This commit is contained in:
parent
2f9444542f
commit
339fa6649f
1 changed files with 4 additions and 4 deletions
|
@ -163,10 +163,9 @@ https://stackoverflow.com/a/35153397
|
||||||
<h2>{{channel.name}}</h2>
|
<h2>{{channel.name}}</h2>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if channel is not none %}
|
||||||
<div class="tabbed_container">
|
<div class="tabbed_container">
|
||||||
<div class="tab" data-tab-title="Videos">
|
<div class="tab" data-tab-title="Videos">
|
||||||
|
|
||||||
{% if channel is not none %}
|
|
||||||
<div><button class="refresh_button button_with_spinner" onclick="return refresh_channel_form(false);">Refresh new videos</button></div>
|
<div><button class="refresh_button button_with_spinner" onclick="return refresh_channel_form(false);">Refresh new videos</button></div>
|
||||||
<div><button class="refresh_button button_with_spinner" onclick="return refresh_channel_form(true);">Refresh everything</button></div>
|
<div><button class="refresh_button button_with_spinner" onclick="return refresh_channel_form(true);">Refresh everything</button></div>
|
||||||
|
|
||||||
|
@ -255,9 +254,10 @@ https://stackoverflow.com/a/35153397
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div> <!-- video_cards -->
|
</div> <!-- video_cards -->
|
||||||
</div> <!-- tab-videos -->
|
|
||||||
|
|
||||||
{% if channel is not none %}
|
{% if channel is not none %}
|
||||||
|
</div> <!-- tab-videos -->
|
||||||
|
|
||||||
<div class="tab" data-tab-title="Settings">
|
<div class="tab" data-tab-title="Settings">
|
||||||
<div>
|
<div>
|
||||||
New videos are:
|
New videos are:
|
||||||
|
@ -276,9 +276,9 @@ https://stackoverflow.com/a/35153397
|
||||||
data-onclick="return delete_channel_form();"
|
data-onclick="return delete_channel_form();"
|
||||||
>Delete Channel</button>
|
>Delete Channel</button>
|
||||||
</div> <!-- tab-settings -->
|
</div> <!-- tab-settings -->
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
</div> <!-- tabbed_container -->
|
</div> <!-- tabbed_container -->
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue