59 lines
2.7 KiB
HTML
59 lines
2.7 KiB
HTML
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-type" class="form-control selectpicker" name="row[type]">
|
|
{foreach name="typeList" item="vo"}
|
|
<option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Aid')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-aid" min="0" class="form-control" name="row[aid]" type="number" value="0">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-name" class="form-control" name="row[name]" type="text" value="">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Url')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-url" class="form-control" name="row[url]" type="text" value="">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Nums')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-nums" min="0" class="form-control" name="row[nums]" type="number" value="0">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Firsttime')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-firsttime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[firsttime]" type="text" value="{:date('Y-m-d H:i:s')}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Lasttime')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-lasttime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[lasttime]" type="text" value="{:date('Y-m-d H:i:s')}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group layer-footer">
|
|
<label class="control-label col-xs-12 col-sm-2"></label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
|
|
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|