Update to v0.1
This commit is contained in:
41
modules/stickychan/tmpl/index.tmpl
Normal file
41
modules/stickychan/tmpl/index.tmpl
Normal file
@@ -0,0 +1,41 @@
|
||||
<? INC Header.tmpl ?>
|
||||
|
||||
<div class="container">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Stickychan</div>
|
||||
<div class="panel-body">
|
||||
<form class="form-horizontal" action="" method="post">
|
||||
<? INC _csrf_check.tmpl ?>
|
||||
<table class="table table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Name</td>
|
||||
<td>Sticky</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<? LOOP ChannelLoop SORTASC=Name ?>
|
||||
<tr>
|
||||
<td><? VAR Name ?></td>
|
||||
<td>
|
||||
<div class="checkboxSwitchMini">
|
||||
<input type="checkbox" id="stick_<? VAR Name ?>" name="stick_<? VAR Name ?>"<? IF Sticky ?> checked="checked"<? ENDIF ?> />
|
||||
<label for="stick_<? VAR Name ?>"></label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<? ENDLOOP ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn-group pull-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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<? INC Footer.tmpl ?>
|
20
modules/stickychan/tmpl/stickychan_WebadminChan.tmpl
Normal file
20
modules/stickychan/tmpl/stickychan_WebadminChan.tmpl
Normal file
@@ -0,0 +1,20 @@
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<label for="inputenableDisable" class="col-sm-2 control-label">Channel is sticky:</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="checkboxSwitch">
|
||||
<input type="hidden" name="embed_stickychan_presented" value="1">
|
||||
<input type="checkbox" id="embed_stickychan_sticky" name="embed_stickychan_sticky" id="opt_embed_stickychan_sticky" value="1"<? IF Sticky ?> checked="checked"<? ENDIF ?> />
|
||||
<label for="embed_stickychan_sticky"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user