|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
<title>问卷调查_问卷页面</title>
|
|
|
|
|
<title><%= l(:label_poll_title) %></title>
|
|
|
|
|
<%= stylesheet_link_tag 'polls', :media => 'all' %>
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
.alert_box{width:480px;height:180px;position:fixed;z-index:100;left:55%;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;}
|
|
|
|
@ -46,10 +46,10 @@
|
|
|
|
|
<!-- 单选题 -->
|
|
|
|
|
<li class="ur_question_item radio">
|
|
|
|
|
<div class="ur_title">
|
|
|
|
|
<span class="title_index">第<%= pq.question_number %>题:</span>
|
|
|
|
|
<span class="title_index"><%= l(:label_question_number,:question_number => pq.question_number) %></span>
|
|
|
|
|
<%= pq.question_title %>
|
|
|
|
|
<% if pq.is_necessary == 1 %>
|
|
|
|
|
<span class="ur_required" title="必答">*</span>
|
|
|
|
|
<span class="ur_required" title="<%= l(:label_must_answer) %>">*</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
@ -95,10 +95,10 @@
|
|
|
|
|
<!-- 多选题 -->
|
|
|
|
|
<li class="ur_question_item checkbox">
|
|
|
|
|
<div class="ur_title">
|
|
|
|
|
<span class="title_index">第<%= pq.question_number %>题:</span>
|
|
|
|
|
<span class="title_index"><%= l(:label_question_number,:question_number => pq.question_number) %></span>
|
|
|
|
|
<%= pq.question_title %>
|
|
|
|
|
<% if pq.is_necessary == 1 %>
|
|
|
|
|
<span class="ur_required" title="必答">*</span>
|
|
|
|
|
<span class="ur_required" title="<%= l(:label_must_answer) %>">*</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
@ -151,10 +151,10 @@
|
|
|
|
|
<!-- 单行文字-->
|
|
|
|
|
<li class="ur_question_item text">
|
|
|
|
|
<div class="ur_title">
|
|
|
|
|
<span class="title_index">第<%= pq.question_number %>题:</span>
|
|
|
|
|
<span class="title_index"><%= l(:label_question_number,:question_number => pq.question_number) %></span>
|
|
|
|
|
<%= pq.question_title %>
|
|
|
|
|
<% if pq.is_necessary == 1 %>
|
|
|
|
|
<span class="ur_required" title="必答">*</span>
|
|
|
|
|
<span class="ur_required" title="<%= l(:label_must_answer) %>">*</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
@ -188,10 +188,10 @@
|
|
|
|
|
<li class="ur_question_item textarea">
|
|
|
|
|
<div class="ur_preview">
|
|
|
|
|
<div class="ur_title">
|
|
|
|
|
<span class="title_index">第<%= pq.question_number %>题:</span>
|
|
|
|
|
<span class="title_index"><%= l(:label_question_number,:question_number => pq.question_number) %></span>
|
|
|
|
|
<%= pq.question_title %>
|
|
|
|
|
<% if pq.is_necessary == 1 %>
|
|
|
|
|
<span class="ur_required" title="必答">*</span>
|
|
|
|
|
<span class="ur_required" title="<%= l(:label_must_answer) %>">*</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
@ -237,11 +237,11 @@
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="ur_buttons" style="width: 100px;">
|
|
|
|
|
<% if @poll.polls_status == 2 %>
|
|
|
|
|
<%= link_to "提交",commit_poll_poll_path(@poll), :method => :post,:class => "ur_button",:format => 'js',:remote=>true %>
|
|
|
|
|
<%= link_to l(:button_submit),commit_poll_poll_path(@poll), :method => :post,:class => "ur_button",:format => 'js',:remote=>true %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="ur_progress_text">答题已完成 <strong class="ur_progress_number"><span id="percent"><%= format "%.2f" ,@percent %></span>%</strong> </div>
|
|
|
|
|
<div class="ur_progress_text"><%= l(:label_complete_question) %> <strong class="ur_progress_number"><span id="percent"><%= format "%.2f" ,@percent %></span>%</strong> </div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|