index.html
7.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<style>
legend {
padding-bottom: 5px;
font-size: 14px;
font-weight: 600;
padding-left: 10px;
padding-right: 15px;
color: #6a6a6a;
margin-top: 16px;
}
.box-title{
font-size: 14px!important;
}
th,td{
text-align: center;
}
td textarea{
width: 100%;
}
</style>
<div class="content">
<form role="form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<div class="box">
<div class="box-header with-border">
<span class="box-title">系统配置</span>
</div>
<div class="box-body">
<legend>单据配置</legend>
<table class="table table-bordered">
<tbody>
<tr>
<th style="width: 20%">配置项</th>
<th style="width: 40%">内容</th>
<th>说明</th>
</tr>
<tr>
<td>{$config_rows.billshowway.title}</td>
<td>
<div class="radio">
<label for="billshowway-menu"><input id="billshowway-menu" {if $config_rows.billshowway.value == "menu"}checked="checked"{/if} name="row[billshowway]" type="radio" value="menu"> 作为菜单项</label>
<label for="billshowway-page"><input id="billshowway-page" {if $config_rows.billshowway.value == "page"}checked="checked"{/if} name="row[billshowway]" type="radio" value="page"> 页内列表</label>
</div>
</td>
<td>
<span>{$config_rows.billshowway.description}</span>
</td>
</tr>
</tbody>
</table>
<legend>电子单据二维码</legend>
<table class="table table-bordered">
<tbody>
<tr>
<th style="width: 20%">配置项</th>
<th style="width: 40%">内容</th>
<th>说明</th>
</tr>
<tr>
<td>{$config_rows.qrcode.title}</td>
<td>
<div class="radio">
<label for="qrcode-true"><input id="qrcode-true" {if $config_rows.qrcode.value == "true"}checked="checked"{/if} name="row[qrcode]" type="radio" value="true"> 附加</label>
<label for="qrcode-false"><input id="qrcode-false" {if $config_rows.qrcode.value == "false"}checked="checked"{/if} name="row[qrcode]" type="radio" value="false"> 不附加</label>
</div>
</td>
<td>
<span>{$config_rows.qrcode.description}</span>
</td>
</tr>
<tr>
<td>{$config_rows.qrcodepos.title}</td>
<td>
<div class="radio">
<label for="qrcodepos-topleft"><input id="qrcodepos-topleft" {if $config_rows.qrcodepos.value == "topleft"}checked="checked"{/if} name="row[qrcodepos]" type="radio" value="topleft"> 左上</label>
<label for="qrcodepos-bottomleft"><input id="qrcodepos-bottomleft" {if $config_rows.qrcodepos.value == "bottomleft"}checked="checked"{/if} name="row[qrcodepos]" type="radio" value="bottomleft"> 左下</label>
<label for="qrcodepos-topright"><input id="qrcodepos-topright" {if $config_rows.qrcodepos.value == "topright"}checked="checked"{/if} name="row[qrcodepos]" type="radio" value="topright"> 右上</label>
<label for="qrcodepos-bottomright"><input id="qrcodepos-bottomright" {if $config_rows.qrcodepos.value == "bottomright"}checked="checked"{/if} name="row[qrcodepos]" type="radio" value="bottomright"> 右下</label>
</div>
</td>
<td>
<span>{$config_rows.qrcodepos.description}</span>
</td>
</tr>
<tr>
<td>{$config_rows.qrcodesize.title}</td>
<td>
<input name="row[qrcodesize]" type="number" value="{$config_rows.qrcodesize.value|htmlentities}">
</td>
<td>
<span>{$config_rows.qrcodesize.description}</span>
</td>
</tr>
</tbody>
</table>
<legend>电子签名验证</legend>
<table class="table table-bordered">
<tbody>
<tr>
<th style="width: 20%">配置项</th>
<th style="width: 40%">内容</th>
<th>说明</th>
</tr>
<tr>
<td>{$config_rows.signature.title}</td>
<td>
<div class="radio">
<label for="signature-true"><input id="signature-true" {if $config_rows.signature.value == "true"}checked="checked"{/if} name="row[signature]" type="radio" value="true"> 签名</label>
<label for="signature-false"><input id="signature-false" {if $config_rows.signature.value == "false"}checked="checked"{/if} name="row[signature]" type="radio" value="false"> 不签名</label>
</div>
</td>
<td>
<span>{$config_rows.signature.description}</span>
</td>
</tr>
<tr>
<td>{$config_rows.certificate.title}</td>
<td>
<textarea name="row[certificate]" rows="5">{$config_rows.certificate.value|htmlentities}</textarea>
</td>
<td>
<span>{$config_rows.certificate.description}</span>
</td>
</tr>
<tr>
<td>{$config_rows.privatekey.title}</td>
<td>
<textarea name="row[privatekey]" rows="5">{$config_rows.privatekey.value|htmlentities}</textarea>
</td>
<td>
<span>{$config_rows.privatekey.description}</span>
</td>
</tr>
</tbody>
</table>
</div>
<div class="box-footer clearfix">
<div class="pull-right">
<button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
</div>
</form>
</div>