Update to v0.1

This commit is contained in:
ServerKite
2014-02-11 12:44:19 +08:00
parent f12428b57b
commit 01d2a41ccd
105 changed files with 129894 additions and 0 deletions

View 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 ?>

View 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>