zncstrap/modules/perform/tmpl/index.tmpl
2014-02-11 12:44:19 +08:00

27 lines
969 B
Cheetah

<? INC Header.tmpl ?>
<div class="container">
<div class="panel panel-default">
<div class="panel-heading">Perform</div>
<div class="panel-body">
<form method="post" action="<? VAR ModPath ?>">
<? INC _csrf_check.tmpl ?>
<div class="form-group">
<label for="inputperformCommands" class="col-sm-2 control-label">Commands:</label>
<div class="col-sm-10">
<textarea type="text" class="form-control" id="inputperformCommands" name="perform" cols="70" rows="5" class="monospace"><? LOOP PerformLoop ?><? VAR Perform ?><? ENDLOOP ?></textarea>
<div class="alert alert-info help-block">Commands sent to the IRC server on connect, one per line.</div>
</div>
</div>
<div class="btn-group pull-right">
<input class="btn btn-danger" type="reset" value="Reset">
<input class="btn btn-success" type="submit" name="save" value="Save" />
</div>
</form>
</div>
</div>
</div>
<? INC Footer.tmpl ?>