|
|
@ -1,42 +1,14 @@
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<%= stylesheet_link_tag 'polls', :media => 'all' %>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
|
|
|
<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;}
|
|
|
|
|
|
|
|
.commit{
|
|
|
|
|
|
|
|
height: 28px;
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
width: 80px;
|
|
|
|
|
|
|
|
color: #fff !important;
|
|
|
|
|
|
|
|
background: #15bccf;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
padding-top: 4px;
|
|
|
|
|
|
|
|
margin-left: 130px;
|
|
|
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
function hidden_atert_form(cur_page,cur_type)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
hideModal($("#popbox"));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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">
|
|
|
|
<h1 class="ur_page_title">
|
|
|
|
<%= @poll.polls_name%>
|
|
|
|
<%= @poll.polls_name%>
|
|
|
|
</h1>
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
<p class="ur_prefix_content">
|
|
|
|
<%= @poll.polls_description.nil? ? "" : @poll.polls_description.html_safe%>
|
|
|
|
<%= @poll.polls_description.nil? ? "" : @poll.polls_description.html_safe%>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="ur_card">
|
|
|
|
<div class="ur_card">
|
|
|
|
<ol class="ur_questions">
|
|
|
|
<ol class="ur_questions">
|
|
|
|
<% @poll_questions.each do |pq| %>
|
|
|
|
<% @poll_questions.each do |pq| %>
|
|
|
@ -243,12 +215,11 @@
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<div class="cl"></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 class="ur_progress_text">
|
|
|
|
|
|
|
|
<%= l(:label_complete_question) %>
|
|
|
|
|
|
|
|
<strong class="ur_progress_number">
|
|
|
|
|
|
|
|
<span id="percent"><%= format "%.2f" ,@percent %></span>%
|
|
|
|
|
|
|
|
</strong>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div><!--问卷内容end-->
|
|
|
|
</div><!--问卷内容end-->
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
|
|
|
|
|
|
|