Merge pull request #5205 from solgenomics/topic/generic_trial_upload
[sgn.git] / mason / site / footer / common.mas
blob636bf5e0d73b3763f2fa9e7f2cc149c1e26b1506
1 <%init>
2         my $feedback_email = eval{ $c->get_conf('email') };
3         $feedback_email = $feedback_email ? qq|<a class="footer" href="mailto:$feedback_email">$feedback_email</a>|
4                                           : '<span style="font-weight: bold; color: red">[email not set]</b>';
5 </%init>
8 <!-- LOAD WORKING MODAL, LIST MODAL, AND CALENDAR MODAL AT END SO THAT THEY ALWAYS APPEAR ON TOP -->
10 <& /site/list.mas &>
11 <& /site/dataset.mas &>
12 <& /calendar/events_by_user_role.mas &>
13 <& /site/login_dialog.mas &>
15 <!--
16 <div id="working" style="text-align : center;">
17   <img src="/img/wheel.gif" />
18   <div id="working_msg"></div>
19 </div>
20 -->
22 <div class="modal fade" id="working_modal" name="working_modal" tabindex="-1" role="dialog" aria-labelledby="workingModalDialog" data-controls-modal="your_div_id" data-backdrop="static" data-keyboard="false" href="#">
23   <div class="modal-dialog modal-sm" role="document">
24     <div class="modal-content">
25       <div class="modal-header">
26               <center>
27           <h4 class="modal-title" id="workingModalDialog">Working</h4>
28               </center>
29       </div>
30       <div class="modal-body">
31         <div class="container-fluid">
32                 <center>
33                   <img src="/img/wheel.gif" />
34               <div id="working_msg"></div>
35                 </center>
36           <div id="working_modal_progress_div" style="display: none">
37             <br /><br />
38             <div class="progress">
39               <div id="working_modal_progress" class="progress-bar progress-bar-success" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0" style="width: 0"></div>
40             </div>
41           </div>
42         </div>
43       </div>
44       <div class="modal-footer"></div>
45     </div>
46   </div>
47 </div>
49 <div class="modal fade" id="progress_modal" name="progress_modal" tabindex="-1" role="dialog" aria-labelledby="progressModalDialog" data-controls-modal="your_div_id" data-backdrop="static" data-keyboard="false" href="#">
50   <div class="modal-dialog" role="document">
51     <div class="modal-content">
52       <div class="modal-header">
53         <center>
54           <h4 class="modal-title" id="progressModalDialog">Progress</h4>
55         </center>
56       </div>
57       <div class="modal-body">
58         <div class="container-fluid">
59           <center>
60                   <div id="progress_msg"></div>
61                   <div class="progress">
62                     <div id="progress_bar" class="progress-bar progress-bar-striped" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
63                   </div>
64           </center>
65           <ul id="current_task" class="form-group list-unstyled"></ul>
66         </div>
67       </div>
68       <div class="modal-footer">
69       </div>
70     </div>
71   </div>
72 </div>
74 <!-- END CONTENT WRAPPER -->
76 </div>
77 <div class="col-md-1 col-lg-1 col-xl-2">
78 </div>
79 </div>
80 </div>