Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh
This commit is contained in:
commit
7ef6f8adfb
|
@ -2,34 +2,43 @@
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<title><%= l(:label_poll_result) %></title>
|
<title>
|
||||||
|
<%= l(:label_poll_result) %>
|
||||||
|
</title>
|
||||||
<%= stylesheet_link_tag 'polls', :media => 'all' %>
|
<%= stylesheet_link_tag 'polls', :media => 'all' %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="polls_content polls_box" id="polls">
|
<div class="polls_content polls_box" id="polls">
|
||||||
<div class="ur_page_head" >
|
<div class="ur_page_head" >
|
||||||
<h1 class="ur_page_title"><%= @poll.polls_name %> <%= l(:label_poll) %></h1>
|
<h1 class="ur_page_title">
|
||||||
|
<%= @poll.polls_name %>
|
||||||
|
<%= l(:label_poll) %>
|
||||||
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="">
|
<div>
|
||||||
<% @poll_questions.each do |poll_question| %>
|
<% @poll_questions.each do |poll_question| %>
|
||||||
<ol>
|
<ol style="margin-left: -40px;">
|
||||||
<li class="ur_question_item">
|
<li class="ur_question_item">
|
||||||
<div class="ur_title_result">
|
<div class="ur_title_result">
|
||||||
<span class="title_index">第<%= poll_question.question_number %>题:</span><%= poll_question.question_title %> <span class="title_index">[<%= options_show(poll_question.question_type) %>]</span>
|
<span class="title_index">
|
||||||
</div>
|
第<%= poll_question.question_number %>题:
|
||||||
<% if poll_question.question_type == 1 || poll_question.question_type == 2 %>
|
</span>
|
||||||
<%= render :partial =>'choice_show', :locals =>{ :poll_question => poll_question } %>
|
<%= poll_question.question_title %>
|
||||||
<% else %>
|
<span class="title_index">
|
||||||
<%= render :partial =>'quiz_answers', :locals =>{ :poll_question => poll_question } %>
|
[<%= options_show(poll_question.question_type) %>]
|
||||||
<% end %>
|
</span>
|
||||||
</li>
|
</div>
|
||||||
</ol>
|
<% if poll_question.question_type == 1 || poll_question.question_type == 2 %>
|
||||||
<% end %>
|
<%= render :partial =>'choice_show', :locals =>{ :poll_question => poll_question } %>
|
||||||
<ul class="wlist">
|
<% else %>
|
||||||
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%>
|
<%= render :partial =>'quiz_answers', :locals =>{ :poll_question => poll_question } %>
|
||||||
</ul>
|
<% end %>
|
||||||
<div class="cl"></div>
|
</li>
|
||||||
<div class="ur_buttons"></div>
|
</ol>
|
||||||
|
<% end %>
|
||||||
|
<ul class="wlist">
|
||||||
|
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%>
|
||||||
|
</ul>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
/* CSS Document */
|
/* CSS Document */
|
||||||
#polls{ font-size:12px; font-family:"微软雅黑","宋体" !important; line-height:1.9; background:#fff; font-style:normal;}
|
#polls{ font-size:12px; font-family:"微软雅黑","宋体" !important; line-height:1.9; background:#fff; font-style:normal;}
|
||||||
div,html,img,ul,li,p,body,h1,h2,h3,h4,p,a,table,tr,td,fieldset,input,span{ margin:0; padding:0;}
|
div,html,img,ul,li,p,body,h1,h2,h3,h4,p,a,table,tr,td,fieldset,input,span{ margin:0; padding:0;}
|
||||||
#polls div,img,tr,td{ border:0;}
|
div,img,tr,td{ border:0;}
|
||||||
#polls table,tr,td{border:0; cellspacing:0; cellpadding:0;}
|
table,tr,td{border:0; cellspacing:0; cellpadding:0;}
|
||||||
#polls ul,li{ list-style-type:none}
|
ul,li{ list-style-type:none}
|
||||||
#polls .cl{ clear:both; overflow:hidden; }
|
.cl{ clear:both; overflow:hidden; }
|
||||||
#polls a{ text-decoration:none; }
|
a{ text-decoration:none; }
|
||||||
#polls a:hover{ text-decoration:underline; }
|
a:hover{ text-decoration:underline; }
|
||||||
#polls .ml10{ margin-left:10px;}
|
.ml10{ margin-left:10px;}
|
||||||
#polls .ml20{ margin-left:20px;}
|
.ml20{ margin-left:20px;}
|
||||||
#polls .mr10{ margin-right:10px;}
|
.mr10{ margin-right:10px;}
|
||||||
#polls .fl{ float: left;}
|
.fl{ float: left;}
|
||||||
#polls .fr{ float:right;}
|
.fr{ float:right;}
|
||||||
|
|
||||||
/*问卷按钮*/
|
/*问卷按钮*/
|
||||||
/*.polls_btn{ height:33px;border-top:1px solid #15bed1; border-bottom:1px solid #15bed1;border-right:1px solid #cee6e6; width:225px; padding:7px 0 0 15px; }*/
|
/*.polls_btn{ height:33px;border-top:1px solid #15bed1; border-bottom:1px solid #15bed1;border-right:1px solid #cee6e6; width:225px; padding:7px 0 0 15px; }*/
|
||||||
|
@ -41,7 +41,7 @@ ul.wlist li a:hover{ background:#15bccf; color:#fff; text-decoration:none;}
|
||||||
|
|
||||||
|
|
||||||
/*问卷页面*/
|
/*问卷页面*/
|
||||||
.polls_box{ border:1px solid #dcdcdc; padding:15px 30px;}
|
.polls_box{ border:1px solid #dcdcdc; padding:15px 30px;margin-left: 7px;}
|
||||||
.ur_page_title{ font-size:16px; text-align:center; color:#353535; word-break:break-all; word-wrap:break-word;}
|
.ur_page_title{ font-size:16px; text-align:center; color:#353535; word-break:break-all; word-wrap:break-word;}
|
||||||
.ur_prefix_content{ color:#656565; text-indent:30px; margin-top:10px; }
|
.ur_prefix_content{ color:#656565; text-indent:30px; margin-top:10px; }
|
||||||
.ur_card{border-top:1px solid #dcdcdc;margin-top:20px; color:#3a3a3a;}
|
.ur_card{border-top:1px solid #dcdcdc;margin-top:20px; color:#3a3a3a;}
|
||||||
|
@ -113,7 +113,7 @@ a:hover.icon_add{background:url(images/icons.png) -20px -310px no-repeat;}
|
||||||
a:hover.icon_remove{background:url(images/icons.png) -20px -338px no-repeat;}
|
a:hover.icon_remove{background:url(images/icons.png) -20px -338px no-repeat;}
|
||||||
.ur_editor_toolbar{ margin-bottom:10px;}
|
.ur_editor_toolbar{ margin-bottom:10px;}
|
||||||
.ur_editor_toolbar input{ width:40px; height:20px;}
|
.ur_editor_toolbar input{ width:40px; height:20px;}
|
||||||
.ur_editor02{width:655px; border:1px solid #cbcbcb; padding:10px; margin-bottom:10px;}
|
.ur_editor02{width:655px; padding:10px; margin-bottom:10px;}
|
||||||
a.ur_button_submit{ display:block; width:106px; height:37px; margin:0 auto; background:#15bccf; color:#fff; font-size:16px; text-align:center; padding-top:3px; margin-bottom:10px; }
|
a.ur_button_submit{ display:block; width:106px; height:37px; margin:0 auto; background:#15bccf; color:#fff; font-size:16px; text-align:center; padding-top:3px; margin-bottom:10px; }
|
||||||
a:hover.ur_button_submit{ background:#0fa9bb; text-decoration:none;}
|
a:hover.ur_button_submit{ background:#0fa9bb; text-decoration:none;}
|
||||||
a.ur_icon_de{ background:url(images/icons.png) 0px -338px no-repeat; width:16px; height:27px; display:block;float:right; margin-top:15px;}
|
a.ur_icon_de{ background:url(images/icons.png) 0px -338px no-repeat; width:16px; height:27px; display:block;float:right; margin-top:15px;}
|
||||||
|
|
Loading…
Reference in New Issue