/[projects]/dao/DaoAdresseVedligehold/src/main/webapp/index.html
ViewVC logotype

Diff of /dao/DaoAdresseVedligehold/src/main/webapp/index.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2927 by torben, Fri Feb 5 11:01:48 2016 UTC revision 2932 by torben, Thu Feb 11 17:35:31 2016 UTC
# Line 2  Line 2 
2    <head>    <head>
3    <head>    <head>
4          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5            
6            <link rel="stylesheet" href="webjars/jquery-ui/1.11.4/jquery-ui.css" />
7    
8          <link rel="stylesheet" href="webjars/bootstrap/3.3.5/css/bootstrap.min.css" />          <link rel="stylesheet" href="webjars/bootstrap/3.3.5/css/bootstrap.min.css" />
9                    
# Line 18  Line 20 
20    
21  <!--  use webjars for dependencies -->  <!--  use webjars for dependencies -->
22          <script src="webjars/jquery/2.1.4/jquery.js"></script>          <script src="webjars/jquery/2.1.4/jquery.js"></script>
23            <script src="webjars/jquery-ui/1.11.4/jquery-ui.js"></script>
24          <script src="webjars/bootstrap/3.3.5/js/bootstrap.min.js"></script>          <script src="webjars/bootstrap/3.3.5/js/bootstrap.min.js"></script>
25                    
26          <script src="webjars/bootstrap-fileinput/4.2.7/js/fileinput.min.js"></script>          <script src="webjars/bootstrap-fileinput/4.2.7/js/fileinput.min.js"></script>
# Line 51  function loadTasks() { Line 54  function loadTasks() {
54                                                    
55                          html += "<div class='panel " + pclass + "'>";                          html += "<div class='panel " + pclass + "'>";
56                          html += "<div class='panel-heading'>";                          html += "<div class='panel-heading'>";
57                          if (entry.state == "STATE_DONE" || entry.state == "STATE_ABORTED") {                          if (entry.state == "STATE_DONE" || entry.state == "STATE_ABORTED" || entry.state ==  "STATE_QUEUED") {
58                                  html += "<button type='button' class='close removetask' aria-label='Close' taskid='" + entry.id+ "'><span aria-hidden='true'>&times;</span></button>";                                  html += "<button type='button' class='close removetask' aria-label='Close' taskid='" + entry.id+ "'><span aria-hidden='true'>&times;</span></button>";
59                          }                          }
60                          html += "<h4 class='panel-title'>" + entry.description + "</h4>";                          html += "<h4 class='panel-title'>" + entry.description + "</h4>";
# Line 110  $(document).ready( function() { Line 113  $(document).ready( function() {
113          loadTasks();          loadTasks();
114          setInterval(loadTasks, 5000);          setInterval(loadTasks, 5000);
115                    
116            $("#center").resizable({
117            handles: 'e, w'
118            });
119            
120                    
121          $(document).on('click', '.viewlog', function(event) { // Bind future elements          $(document).on('click', '.viewlog', function(event) { // Bind future elements
122                  var taskid = $(this).attr('taskid');                  var taskid = $(this).attr('taskid');

Legend:
Removed from v.2927  
changed lines
  Added in v.2932

  ViewVC Help
Powered by ViewVC 1.1.20