Commit ca149507 authored by 赵桢's avatar 赵桢

默认列表

parent b6dd9ebb
...@@ -21,12 +21,13 @@ ...@@ -21,12 +21,13 @@
<link href="<%=request.getContextPath()%>/res/js/plugins/highlight/highlight.css" rel="stylesheet"> <link href="<%=request.getContextPath()%>/res/js/plugins/highlight/highlight.css" rel="stylesheet">
<style type="text/css"> <style type="text/css">
.shadowlight{ .shadowlight {
border-top: 9px solid #00ff00; border-top: 9px solid #00ff00;
border-left: 10px solid transparent; border-left: 10px solid transparent;
border-right: 10px solid transparent; border-right: 10px solid transparent;
} }
.shadow{
.shadow {
border-top: 9px solid black; border-top: 9px solid black;
border-left: 10px solid transparent; border-left: 10px solid transparent;
border-right: 10px solid transparent; border-right: 10px solid transparent;
...@@ -58,7 +59,7 @@ ...@@ -58,7 +59,7 @@
<script src="<%=request.getContextPath()%>/res/js/education/questionnaire_Administration_list.js"></script> <script src="<%=request.getContextPath()%>/res/js/education/questionnaire_Administration_list.js"></script>
<script> <script>
$(document).ready(function (){ $(document).ready(function () {
//获取token里面的内容 //获取token里面的内容
<% <%
Cookie[] cookies = request.getCookies(); Cookie[] cookies = request.getCookies();
...@@ -67,22 +68,30 @@ ...@@ -67,22 +68,30 @@
if ("SESSION".equals(cookies[i].getName())) { if ("SESSION".equals(cookies[i].getName())) {
SESSION = cookies[i].getValue(); SESSION = cookies[i].getValue();
} }
} }
request.setAttribute("SESSION", SESSION); request.setAttribute("SESSION", SESSION);
%> %>
var url="http://localhost:8081/#/one?session=<%=request.getAttribute("SESSION")%>" var url = "http://localhost:8081/#/one?session=<%=request.getAttribute("SESSION")%>+&realID=" +
<%=request.getSession().getAttribute("realID")%>
// alert(url) // alert(url)
var iframe=$('<iframe width="100%" height="100%" src="'+url+'"></iframe>') var iframe = $('<iframe width="100%" height="100%" src="' + url + '"></iframe>')
$("#iframe").append(iframe) $("#iframe").append(iframe)
}) })
</script> </script>
<div class="modal fade" id="loadingModal" backdrop="static" keyboard="false"> <div class="modal fade" id="loadingModal" backdrop="static" keyboard="false">
  <div style="width: 200px;height:20px; z-index: 20000; position: absolute; text-align: center; left: 50%; top: 50%;margin-left:-100px;margin-top:-10px">   
    <div class="progress progress-striped active" style="margin-bottom: 0;background-color:rgba(0,0,0,0)"> <div style="width: 200px;height:20px; z-index: 20000; position: absolute; text-align: center; left: 50%; top: 50%;margin-left:-100px;margin-top:-10px">
    <img src="<%=request.getContextPath()%>/res/image/loading.gif"><span style="color: white">数据加载中,请稍候...</span>     
</div> <div class="progress progress-striped active" style="margin-bottom: 0;background-color:rgba(0,0,0,0)">
  </div>     <img src="<%=request.getContextPath()%>/res/im
</div> age / loading.gif
"><span style="
color: white
">数据加载中,请稍候...</span>
< /div>
</div>
</div>
</body> </body>
</html> </html>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment