2014-02-11 05:44:19 +01:00
<? INC Header.tmpl ?>
2014-09-19 20:19:24 +02:00
<div class="container col-md-10 col-md-offset-1">
2014-02-11 05:44:19 +01:00
<div class="panel panel-default">
<div class="panel-heading">Stickychan</div>
<div class="panel-body">
2014-05-21 09:41:26 +02:00
<form class="form-horizontal" action="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>" method="post">
2014-02-11 05:44:19 +01:00
<? INC _csrf_check.tmpl ?>
<table class="table table-bordered table-hover">
<thead>
<tr>
2014-09-19 20:19:24 +02:00
<td>Channel Name</td>
<td>Enable / Disable</td>
2014-02-11 05:44:19 +01:00
</tr>
</thead>
<tbody>
<? LOOP ChannelLoop SORTASC=Name ?>
<tr>
<td><? VAR Name ?></td>
<td>
2014-09-19 20:19:24 +02:00
<div class="switch">
<input type="checkbox" id="stick_<? VAR Name ?>" name="stick_<? VAR Name ?>" class="cmn-toggle cmn-toggle-round-flat"<? IF Sticky ?> checked="checked"<? ENDIF ?> />
2014-02-11 05:44:19 +01:00
<label for="stick_<? VAR Name ?>"></label>
</div>
</td>
</tr>
<? ENDLOOP ?>
</tbody>
</table>
</div>
2014-09-19 20:19:24 +02:00
<div class="panel-footer text-right">
<input class="btn btn-danger" type="reset" value="Reset">
<input type="hidden" name="submitted" value="1" />
<input class="btn btn-success" type="submit" value="Save" />
</div>
</form>
2014-02-11 05:44:19 +01:00
</div>
</div>
<? INC Footer.tmpl ?>