正在显示
3 个修改的文件
包含
13 行增加
和
0 行删除
@@ -6,6 +6,12 @@ | @@ -6,6 +6,12 @@ | ||
6 | <input id="c-title" class="form-control" name="row[title]" type="text"> | 6 | <input id="c-title" class="form-control" name="row[title]" type="text"> |
7 | </div> | 7 | </div> |
8 | </div> | 8 | </div> |
9 | + <div class="form-group"> | ||
10 | + <label class="control-label col-xs-12 col-sm-2">{:__('Color')}:</label> | ||
11 | + <div class="col-xs-12 col-sm-8"> | ||
12 | + <input id="c-color" type="color" class="form-control" name="row[color]"> | ||
13 | + </div> | ||
14 | + </div> | ||
9 | <div class="form-group layer-footer"> | 15 | <div class="form-group layer-footer"> |
10 | <label class="control-label col-xs-12 col-sm-2"></label> | 16 | <label class="control-label col-xs-12 col-sm-2"></label> |
11 | <div class="col-xs-12 col-sm-8"> | 17 | <div class="col-xs-12 col-sm-8"> |
@@ -12,6 +12,12 @@ | @@ -12,6 +12,12 @@ | ||
12 | <input id="c-score" class="form-control" step="0.01" name="row[score]" type="number" value="{$row.score|htmlentities}"> | 12 | <input id="c-score" class="form-control" step="0.01" name="row[score]" type="number" value="{$row.score|htmlentities}"> |
13 | </div> | 13 | </div> |
14 | </div> | 14 | </div> |
15 | + <div class="form-group"> | ||
16 | + <label class="control-label col-xs-12 col-sm-2">{:__('Color')}:</label> | ||
17 | + <div class="col-xs-12 col-sm-8"> | ||
18 | + <input id="c-color" type="color" class="form-control" name="row[color]" value="{$row.color|htmlentities}"> | ||
19 | + </div> | ||
20 | + </div> | ||
15 | <div class="form-group layer-footer"> | 21 | <div class="form-group layer-footer"> |
16 | <label class="control-label col-xs-12 col-sm-2"></label> | 22 | <label class="control-label col-xs-12 col-sm-2"></label> |
17 | <div class="col-xs-12 col-sm-8"> | 23 | <div class="col-xs-12 col-sm-8"> |
@@ -33,6 +33,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin | @@ -33,6 +33,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin | ||
33 | {checkbox: true}, | 33 | {checkbox: true}, |
34 | {field: 'id', title: __('Id'), operate: false}, | 34 | {field: 'id', title: __('Id'), operate: false}, |
35 | {field: 'title', title: __('Title'), operate: 'LIKE'}, | 35 | {field: 'title', title: __('Title'), operate: 'LIKE'}, |
36 | + {field: 'color', title: __('Color'), operate: false}, | ||
36 | {field: 'score', title: __('Score'), operate:'BETWEEN'}, | 37 | {field: 'score', title: __('Score'), operate:'BETWEEN'}, |
37 | {field: 'rank_text', title: __('排名'), operate: false}, | 38 | {field: 'rank_text', title: __('排名'), operate: false}, |
38 | //{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime}, | 39 | //{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime}, |
-
请 注册 或 登录 后发表评论