mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 12:16:58 -05:00
Repair Tab/Space issues in Templates
This commit is contained in:
parent
796a5e9eec
commit
51b9a85597
@ -49,8 +49,8 @@
|
||||
<td>
|
||||
{% if chan_dict["enabled"] %}
|
||||
<a href="{{ chan_dict["m3u_url"] }}">Play</a>
|
||||
{% else %}
|
||||
<a href="{{ chan_dict["m3u_url"] }}" style="visibility:hidden">Play</a>
|
||||
{% else %}
|
||||
<a href="{{ chan_dict["m3u_url"] }}" style="visibility:hidden">Play</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
|
||||
@ -38,8 +38,8 @@
|
||||
element.value = 0
|
||||
|
||||
items = document.select(".channels")
|
||||
chanlist = []
|
||||
chandict = {}
|
||||
chanlist = []
|
||||
chandict = {}
|
||||
|
||||
for element in items:
|
||||
if element.name == "id":
|
||||
@ -100,16 +100,16 @@
|
||||
<td><input type="text" class="channels" name="number" value="{{ chan_dict["number"] }}"></td>
|
||||
<td><input type="text" class="channels" name="thumbnail" value="{{ chan_dict["thumbnail"] }}"></td>
|
||||
{% if chan_dict["enabled"] %}
|
||||
<td><input type="checkbox" class="channels" name="enabled" value=True checked></td>
|
||||
<td><input type="checkbox" class="channels" name="enabled" value=True checked></td>
|
||||
{% else %}
|
||||
<td><input type="checkbox" class="channels" name="enabled" value=True ></td>
|
||||
<td><input type="checkbox" class="channels" name="enabled" value=True ></td>
|
||||
{% endif %}
|
||||
{% if chan_dict["favorite"] %}
|
||||
<td><input type="checkbox" class="channels" name="favorite" value=1 checked></td>
|
||||
<td><input type="checkbox" class="channels" name="favorite" value=1 checked></td>
|
||||
{% else %}
|
||||
<td><input type="checkbox" class="channels" name="favorite" value=1 ></td>
|
||||
<td><input type="checkbox" class="channels" name="favorite" value=1 ></td>
|
||||
{% endif %}
|
||||
<td>
|
||||
<td>
|
||||
<form method="post" action="/api/channels?method=update&redirect=/channels_editor">
|
||||
<input type="hidden" class="reset" name="id" value="{{ chan_dict["id"] }}">
|
||||
<input type="hidden" class="reset" name="name" value="{{ chan_dict["origin_name"] }}">
|
||||
@ -119,7 +119,7 @@
|
||||
<input type="hidden" class="reset" name="enabled" value=True>
|
||||
<input type="submit" value="Reset">
|
||||
</form>
|
||||
</td>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
<tr>
|
||||
<td>{{ config_item }}</td>
|
||||
<td>{{ web_settings_dict[config_section][config_item]["value_default"] }}</td>
|
||||
<td>
|
||||
<td>
|
||||
<form method="post" action="/api/settings?method=update&redirect=/settings">
|
||||
<input type="hidden" name="config_section" value="{{ config_section }}">
|
||||
<input type="hidden" name="config_name" value="{{ config_item }}">
|
||||
@ -47,17 +47,17 @@
|
||||
<input type="text" size="25" name="config_value" value="{{ web_settings_dict[config_section][config_item]["value"] }}">
|
||||
{% endif %}
|
||||
</td>
|
||||
<td style="display:flex;">
|
||||
<span style="margin:auto">
|
||||
<input type="submit" value="Update">
|
||||
</form>
|
||||
</span>
|
||||
<form style="margin:auto">
|
||||
<input type="hidden" name="config_section" value="{{ config_section }}">
|
||||
<td style="display:flex;">
|
||||
<span style="margin:auto">
|
||||
<input type="submit" value="Update">
|
||||
</form>
|
||||
</span>
|
||||
<form style="margin:auto">
|
||||
<input type="hidden" name="config_section" value="{{ config_section }}">
|
||||
<input type="hidden" name="config_name" value="{{ config_item }}">
|
||||
<input type="hidden" name="config_value" value="{{ web_settings_dict[config_section][config_item]["value_default"] }}">
|
||||
<input type="hidden" name="config_default" value="{{ web_settings_dict[config_section][config_item]["value_default"] }}">
|
||||
<input type="submit" value="Reset">
|
||||
<input type="submit" value="Reset">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<div class="container">
|
||||
<table class="table-medium center action-col">
|
||||
<tbody>
|
||||
<tr>
|
||||
<tr>
|
||||
<th>Status</th>
|
||||
<th>Channel</th>
|
||||
<th>Method</th>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user