From 56403fe35a6100935bc84753483eca4828a7538a Mon Sep 17 00:00:00 2001 From: Nuintun Date: Fri, 20 Nov 2015 18:29:44 +0800 Subject: [PATCH] update files --- index.html | 8 ++++---- static/css/index.css | 13 ++++++------- static/js/components/dynamic-item/dynamic-item.html | 4 ++-- static/js/components/project-base/project-base.html | 4 ++-- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index f06645f..0e2a86f 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@
-
+
@@ -40,7 +40,7 @@
-
+
@@ -57,14 +57,14 @@
  • - 项目名称不能为空 + 项目名称不能为空
  • - 项目路径不能为空 + 项目路径不能为空
  • diff --git a/static/css/index.css b/static/css/index.css index 4b5d0c6..1659afe 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -450,16 +450,15 @@ header [class*=" icon-"] { } .ui-popup-content .ui-item-error, .ui-project-configure .ui-item-error { - margin: 10px 0; + margin: -10px 0 5px; } .ui-sub-item .ui-item-error { - margin: 15px 0 -10px; + margin: 5px 0 -10px; } -.ui-item-error .icon-expand { - position: absolute; - transform: rotate(180deg); - margin-top: -11px; - margin-left: -5px; +.ui-submit-tips:before, +.ui-item-error span:before { + content: '* '; + font-weight: bold;; } .ui-submit-tips { color: #f00; diff --git a/static/js/components/dynamic-item/dynamic-item.html b/static/js/components/dynamic-item/dynamic-item.html index caaadee..8618569 100644 --- a/static/js/components/dynamic-item/dynamic-item.html +++ b/static/js/components/dynamic-item/dynamic-item.html @@ -10,7 +10,7 @@
  • - {{ nameLabel }}{{ nameError }}  - {{ valueLabel }}{{ valueError }} + {{ nameLabel }}{{ nameError }}  + {{ valueLabel }}{{ valueError }}
  • \ No newline at end of file diff --git a/static/js/components/project-base/project-base.html b/static/js/components/project-base/project-base.html index cdac0ba..2bc5915 100644 --- a/static/js/components/project-base/project-base.html +++ b/static/js/components/project-base/project-base.html @@ -4,12 +4,12 @@
  • - {{ nameError }} + {{ nameError }}
  • - {{ pathError }} + {{ pathError }}
  • \ No newline at end of file