better style/lang

This commit is contained in:
devezhao 2020-12-14 17:11:04 +08:00
parent 29060a5e33
commit 18c49546eb
10 changed files with 17 additions and 13 deletions

View file

@ -48,8 +48,8 @@
<th>[[${bundle.L('Name')}]]</th>
<th>[[${bundle.L('ApplyEntity')}]]</th>
<th width="80">[[${bundle.L('Enable')}]]</th>
<th width="160">[[${bundle.L('f.modifiedOn')}]]</th>
<th width="110"></th>
<th width="120">[[${bundle.L('f.modifiedOn')}]]</th>
<th width="120"></th>
</tr>
</thead>
<tbody id="dataList"></tbody>

View file

@ -27,7 +27,7 @@
</div>
<div class="float-right pt-1 mr-3">
<div class="input-group input-search">
<input class="form-control" type="text" placeholder="查询" maxlength="40" />
<input class="form-control" type="text" th:placeholder="${bundle.L('Query')}" maxlength="40" />
<span class="input-group-btn"
><button class="btn btn-secondary" type="button"><i class="icon zmdi zmdi-search"></i></button
></span>
@ -48,7 +48,7 @@
<th>[[${bundle.L('Name')}]]</th>
<th>[[${bundle.L('ApplyEntity')}]]</th>
<th width="80">[[${bundle.L('Enable')}]]</th>
<th width="160">[[${bundle.L('f.modifiedOn')}]]</th>
<th width="120">[[${bundle.L('f.modifiedOn')}]]</th>
<th width="80"></th>
</tr>
</thead>

View file

@ -50,7 +50,7 @@
<th>[[${bundle.L('TriggerType')}]]</th>
<th>[[${bundle.L('TriggerAction')}]]</th>
<th width="80">[[${bundle.L('Enable')}]]</th>
<th width="160">[[${bundle.L('f.modifiedOn')}]]</th>
<th width="120">[[${bundle.L('f.modifiedOn')}]]</th>
<th width="80"></th>
</tr>
</thead>

View file

@ -49,7 +49,7 @@
<th>[[${bundle.L('SourceEntity')}]]</th>
<th>[[${bundle.L('TargetEntity')}]]</th>
<th width="80">[[${bundle.L('Enable')}]]</th>
<th width="160">[[${bundle.L('f.modifiedOn')}]]</th>
<th width="120">[[${bundle.L('f.modifiedOn')}]]</th>
<th width="80"></th>
</tr>
</thead>

View file

@ -2500,6 +2500,10 @@ form {
font-size: 12px;
}
.card-list .card-body > p + p {
margin-top: 4px;
}
.card-list .card-footer {
padding: 4px 15px;
}
@ -3682,4 +3686,4 @@ a.select-lang:hover {
font-style: italic;
cursor: help;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
}

View file

@ -27,7 +27,7 @@ class ApprovalList extends ConfigList {
</td>
<td>{item[2] || item[1]}</td>
<td>{item[4] ? <span className="badge badge-warning font-weight-light">{$L('False')}</span> : <span className="badge badge-success font-weight-light">{$L('True')}</span>}</td>
<td>{item[5]}</td>
<td><DateShow date={item[5]}/></td>
<td className="actions">
<a className="icon" title={$L('Modify')} onClick={() => this.handleEdit(item)}>
<i className="zmdi zmdi-edit" />

View file

@ -25,10 +25,10 @@ class ReportList extends ConfigList {
<td>{item[3]}</td>
<td>{item[2] || item[1]}</td>
<td>{item[4] ? <span className="badge badge-warning font-weight-normal">{$L('False')}</span> : <span className="badge badge-success font-weight-light">{$L('True')}</span>}</td>
<td>{item[5]}</td>
<td><DateShow date={item[5]}/></td>
<td className="actions">
<a className="icon" title={$L('Preview')} href={`${rb.baseUrl}/admin/data/report-templates/preview?id=${item[0]}`} target="_blank">
<i className="zmdi zmdi-eye" />
<i className="zmdi zmdi-open-in-new" />
</a>
<a className="icon" title={$L('Modify')} onClick={() => this.handleEdit(item)}>
<i className="zmdi zmdi-edit" />

View file

@ -29,7 +29,7 @@ class TransformList extends ConfigList {
<td>{item[2]}</td>
<td>{item[4]}</td>
<td>{item[7] ? <span className="badge badge-warning font-weight-light">{$L('False')}</span> : <span className="badge badge-success font-weight-light">{$L('True')}</span>}</td>
<td>{item[5]}</td>
<td><DateShow date={item[5]}/></td>
<td className="actions">
<a className="icon" title={$L('Modify')} onClick={() => this.handleEdit(item)}>
<i className="zmdi zmdi-edit" />

View file

@ -50,7 +50,7 @@ class TriggerList extends ConfigList {
<td>{item[7]}</td>
<td>{item[6] > 0 ? $L('WhenXTime').replace('%s', formatWhen(item[6])) : <span className="text-warning">({$L('NoTriggerAction')})</span>}</td>
<td>{item[4] ? <span className="badge badge-warning font-weight-light">{$L('False')}</span> : <span className="badge badge-success font-weight-light">{$L('True')}</span>}</td>
<td>{item[5]}</td>
<td><DateShow date={item[5]}/></td>
<td className="actions">
<a className="icon" title={$L('Modify')} onClick={() => this.handleEdit(item)}>
<i className="zmdi zmdi-edit" />

View file

@ -61,7 +61,7 @@
<div class="dropdown-item" data-id="$ALL$"><a>[[${bundle.L('AllDatas')}]]</a></div>
</div>
<div class="input-group-append">
<button title="高级查询" class="btn btn-secondary J_advfilter" type="button"><i class="icon zmdi zmdi-filter-list"></i></button>
<button th:title="${bundle.L('AdvFilter')}" class="btn btn-secondary J_advfilter" type="button"><i class="icon zmdi zmdi-filter-list"></i></button>
</div>
</div>
</div>