From 7418330fdd08a3373512245fda00b936ef7569ae Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 5 Nov 2015 15:48:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E5=93=81=E5=88=97=E8=A1=A8=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../student_work/_work_information.html.erb | 21 ++++++++++--------- public/stylesheets/new_user.css | 8 ++++--- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/app/views/student_work/_work_information.html.erb b/app/views/student_work/_work_information.html.erb index 6bb1a0dd0..151661b0e 100644 --- a/app/views/student_work/_work_information.html.erb +++ b/app/views/student_work/_work_information.html.erb @@ -1,26 +1,27 @@
-

您刚上传的作品信息:

-

- 作品名称:<%=@student_work.name%> + 您上传的作品信息 +

+ 作品名称:<%=@student_work.name%>

-

- 作品描述:<%=@student_work.description%> +

+ 作品描述:<%=@student_work.description%>

-

- 附件: +

+ 件: <% if @student_work.attachments.count == 0%> <%= "无附件"%> <% else %>

<% @student_work.attachments.each do |attachment| %> - <%=attachment.filename %> + <%=attachment.filename %> <% end %>
<% end %>

-
- +
+
diff --git a/public/stylesheets/new_user.css b/public/stylesheets/new_user.css index 0b45685ee..0308ee748 100644 --- a/public/stylesheets/new_user.css +++ b/public/stylesheets/new_user.css @@ -213,6 +213,8 @@ a.bBlue {background-color:#3498db;} a.bBlue:hover {background-color:#297fb8;} a.submit_btn {border:1px solid #3498db; padding:3px 10px; border-radius:3px; color:#3498db;} a.submit_btn:hover {background-color:#3498db; color:#ffffff;} +a.submit_btn2 {background-color: #269ac9; padding: 3px 5px; color: #ffffff;} +a.submit_btn2:hover {background-color: #297fb8;} /****翻页***/ .wlist{float:right;} @@ -1295,13 +1297,13 @@ a:hover.SetUpIcon{background: url(../images/homepage_icon.png) 0px -486px no-rep /* 开启匿评弹框 */ .anonymos{width:480px;height:180px;position:fixed !important;z-index:100;left:50%;top:50%;margin:-215px 0 0 -300px; background:#fff; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; box-shadow:0px 0px 8px #194a81; overflow:auto;} .anonymos_work {position:fixed !important;left:60%;top:60%;margin:-215px 0 0 -300px; box-shadow:0px 0px 8px #194a81; overflow:auto;} -.ni_con { width:425px; margin:25px 30px;} +.ni_con { width:425px; margin:15px;} .ni_con h2{ display:block; height:40px; width:425px; text-align:center; color:#3a3a3a;} .ni_con p{ color:#808181; } .ni_con a:hover{ text-decoration:none;} .ni_btn{ width:190px; margin:15px auto; line-height:1.9;} -a.tijiao{ height:28px; display:block; width:80px; color:#fff; background:#15bccf; text-align:center; padding-top:4px; float:left; margin-right:15px;} -a:hover.tijiao{ background:#0f99a9;} +a.tijiao{ height:28px; display:block; width:80px; color:#fff; background:#269ac9; text-align:center; padding-top:4px; float:left; margin-right:15px;} +a:hover.tijiao{ background:#297fb8;} .c_pink{ color:#e65d5e;} .ni_con_work { width:300px; margin:25px 20px;} .ni_con_work p{ color:#808181; }