aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/apps/indicator/static/css
diff options
context:
space:
mode:
authorAlvin Li <liweitianux@gmail.com>2013-09-22 00:03:36 +0800
committerAlvin Li <liweitianux@gmail.com>2013-09-22 00:03:36 +0800
commit816730ff659e1338ab3e37a1d45ea337e337b3dd (patch)
tree1b979ada4afb79db1405bbc14067d6802d97eddf /97suifangqa/apps/indicator/static/css
parentc9da4168874296cf4f5ba71b9a432ceae3c26130 (diff)
download97dev-816730ff659e1338ab3e37a1d45ea337e337b3dd.tar.bz2
auto redraw chart when:
* added new record * modified record data/date * deleted record EditHistoryData page: * added 'delete button' (#delete_btn) * added 'indicator.views.ajax_delete_record()' * updated css style for delete button * updated css style for record 'state' * added check for 'unit' when save 'IndicatorRecord'
Diffstat (limited to '97suifangqa/apps/indicator/static/css')
-rw-r--r--97suifangqa/apps/indicator/static/css/edit_history_data.css11
-rw-r--r--97suifangqa/apps/indicator/static/css/sheet_default.css12
2 files changed, 23 insertions, 0 deletions
diff --git a/97suifangqa/apps/indicator/static/css/edit_history_data.css b/97suifangqa/apps/indicator/static/css/edit_history_data.css
index 0209ca7..e1caa9f 100644
--- a/97suifangqa/apps/indicator/static/css/edit_history_data.css
+++ b/97suifangqa/apps/indicator/static/css/edit_history_data.css
@@ -94,12 +94,23 @@ input[type="radio"]:checked + label {
}
.edit_history_data_content .edit_data .state .normal {
background-color: #B8DB70;
+ padding: 2px;
}
.edit_history_data_content .edit_data .state .abnormal {
background-color: #FFB3B3;
+ padding: 2px;
}
.edit_history_data_content .edit_data .state .unknown {
background-color: #B3D9FF;
+ padding: 2px;
+}
+.edit_history_data_content .edit_data #delete_btn {
+ float: right;
+ height: 26px;
+ line-height: 22px;
+ padding: 1px 26px;
+ margin-right: 8px;
+ background-color: #E64848;
}
.edit_history_data_content .edit_data #edit_btn, .edit_history_data_content .editing_data #save_btn {
float: right;
diff --git a/97suifangqa/apps/indicator/static/css/sheet_default.css b/97suifangqa/apps/indicator/static/css/sheet_default.css
index b83dd6a..82d8fbb 100644
--- a/97suifangqa/apps/indicator/static/css/sheet_default.css
+++ b/97suifangqa/apps/indicator/static/css/sheet_default.css
@@ -249,6 +249,18 @@ input[type="radio"]:checked + label {
height: 29px;
color: #FFFFFF;
}
+.detail_card_info .table_div table .state .normal {
+ background-color: #B8DB70;
+ padding: 2px;
+}
+.detail_card_info .table_div table .state .abnormal {
+ background-color: #FFB3B3;
+ padding: 2px;
+}
+.detail_card_info .table_div table .state .unknown {
+ background-color: #B3D9FF;
+ padding: 2px;
+}
.detail_card_info .see_more {
margin-top: 5px;
}