mirror of
https://github.com/DzzXH/DzzOffice.git
synced 2026-01-21 00:35:19 +08:00
75 lines
3.1 KiB
HTML
75 lines
3.1 KiB
HTML
<!--{template common/header_simple_start}-->
|
|
<!--{template common/header_simple_end}-->
|
|
<!--{template common/commer_header}-->
|
|
<div class="bs-container clearfix">
|
|
<div class="bs-left-container clearfix">
|
|
<!--{template left}-->
|
|
</div>
|
|
<div class="left-drager">
|
|
|
|
</div>
|
|
<div class="bs-main-container clearfix" >
|
|
|
|
<div class="main-content clearfix">
|
|
<form id="appform" name="appform" class="form-horizontal form-horizontal-left" action="{MOD_URL}" method="post" >
|
|
<input type="hidden" name="cloudsubmit" value="true" />
|
|
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
|
<div class="table-responsive" style="margin-top: 8px;">
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th width="40">{lang sort}</th>
|
|
<th width="150">{lang name}</th>
|
|
<th width="90">{lang designator}</th>
|
|
<th width="100">{lang type}</th>
|
|
<th>{lang available}</th>
|
|
<th width="100">{lang set}</th>
|
|
</tr>
|
|
</thead>
|
|
<!--{loop $list $value}-->
|
|
<tr>
|
|
<td width="40">
|
|
<!--{if $value[bz]=='dzz'}-->
|
|
<input type="hidden" name="disp[{$value[bz]}]" value="$value[disp]" />
|
|
<!--{else}-->
|
|
<input type="text" name="disp[{$value[bz]}]" class="form-control" value="$value[disp]" style="width:45px;" />
|
|
<!--{/if}-->
|
|
</td>
|
|
<td width="150">
|
|
<input type="text" class="form-control" name="name[{$value[bz]}]" value="$value[name]" style="max-width:150px;" /></td>
|
|
<td><strong>$value[bz]</strong></td>
|
|
<td>{echo lang('cloud_type_'.$value[type])}</td>
|
|
<td>
|
|
<!--{if $value[bz]=='dzz'}-->
|
|
<input type="hidden" name="available[{$value[bz]}]" value="2" />
|
|
<!--{else}-->
|
|
<input type="checkbox" class="form-check-input" name="available[{$value[bz]}]" value="{eval echo ($value[available]?$value[available]:1)}" <!--{if $value[available]>0}-->checked<!--{/if}--> <!--{if $value[warning]}-->disabled<!--{/if}--> > <span class="text-danger" style="padding-left:3px">$value[warning]</span>
|
|
<!--{/if}-->
|
|
</td>
|
|
<td><a href="{MOD_URL}&op=edit&bz=$value[bz]">{lang set}</a>
|
|
<!--{if $value[warning]}-->
|
|
<!-- <br /> -->
|
|
<a class="text-danger" href="{MOD_URL}&operation=delete&bz=$value[bz]" style="margin-left:15px;">{lang delete}</a>
|
|
<!--{/if}-->
|
|
</td>
|
|
</tr>
|
|
<!--{/loop}-->
|
|
</table>
|
|
<dl>
|
|
<input type="submit" class="btn btn-primary" value="{lang save_set}" />
|
|
</dl>
|
|
</div>
|
|
</form>
|
|
<div class="tip">
|
|
<div class="alert alert-warning">
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
<h5>{lang board_message}</h5>
|
|
<ul>
|
|
{lang cloud_cloud_board_message_text}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--{template common/footer_simple}--> |