Added stream URL to channel settings.
This commit is contained in:
parent
e4bebce431
commit
93265b7890
6 changed files with 92 additions and 14 deletions
|
|
@ -20,7 +20,14 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. %>
|
|||
<% Object.keys(channel.settings).forEach((key) => { %>
|
||||
<span class="admin-list-field-container">
|
||||
<label class="admin-list-label"><%- key %>:</label>
|
||||
<input id=<%- `channel-preference-${key}` %> class="channel-preference-list-item" type="checkbox" <% if(channel.settings[key]){ %> checked <% } %>>
|
||||
<% switch(typeof channel.settings[key]){
|
||||
case "string": %>
|
||||
<input id=<%- `channel-preference-${key}` %> class="channel-preference-list-item" value="<%- channel.settings[key] %>">
|
||||
<% break;
|
||||
default: %>
|
||||
<input id=<%- `channel-preference-${key}` %> class="channel-preference-list-item" type="checkbox" <% if(channel.settings[key]){ %> checked <% } %>>
|
||||
<% break;
|
||||
} %>
|
||||
</span>
|
||||
<% }); %>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue