/[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 2910 by torben, Wed Feb 3 22:32:05 2016 UTC revision 2923 by torben, Thu Feb 4 22:00:00 2016 UTC
# Line 6  Line 6 
6          <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" />
7                    
8          <link rel="stylesheet" href="webjars/bootstrap-fileinput/4.2.7/css/fileinput.min.css" />          <link rel="stylesheet" href="webjars/bootstrap-fileinput/4.2.7/css/fileinput.min.css" />
9            
10            <style>
11            
12    @media (min-width: 1300px) {
13            .container {
14                width: 1300px; /*default 1170px*/
15            }
16    }
17            </style>
18    
19  <!--  use webjars for dependencies -->  <!--  use webjars for dependencies -->
20          <script src="webjars/jquery/2.1.4/jquery.js"></script>          <script src="webjars/jquery/2.1.4/jquery.js"></script>
# Line 41  function loadTasks() { Line 50  function loadTasks() {
50                                                    
51                                                    
52                          html += "<div class='panel " + pclass + "'>";                          html += "<div class='panel " + pclass + "'>";
53                          html += "<div class='panel-heading'><h4 class='panel-title'>" + entry.description + "</h4></div>";                          html += "<div class='panel-heading'>";
54                            if (entry.state == "STATE_DONE" || entry.state == "STATE_ABORTED") {
55                                    html += "<button type='button' class='close removetask' aria-label='Close' taskid='" + entry.id+ "'><span aria-hidden='true'>&times;</span></button>";
56                            }
57                            html += "<h4 class='panel-title'>" + entry.description + "</h4>";
58                            html += "</div>";
59                          html += "  <div class='panel-body'>";                          html += "  <div class='panel-body'>";
60    
61                          html += entry.detail;                          html += entry.detail;
# Line 103  $(document).ready( function() { Line 117  $(document).ready( function() {
117                                    
118          });          });
119                    
120            $(document).on('click', '.removetask', function(event) { // Bind future elements
121                    var taskid = $(this).attr('taskid');
122                    $.get('rest/tasks/remove/' + taskid, function() {
123                            loadTasks();
124                    });            
125            });
126            
127          $("#file").fileinput({          $("#file").fileinput({
128                  //'showUpload':false,                  //'showUpload':false,
129                  'showRemove': false,                              'showRemove': false,            
# Line 154  $(document).ready( function() { Line 175  $(document).ready( function() {
175      <h1>Dao Adresse Vedligehold</h1>      <h1>Dao Adresse Vedligehold</h1>
176    </div>    </div>
177    <div id="body">    <div id="body">
178      <div class="row">      <div class="row">
179        <div class="col-sm-3" id="leftCol" >        <div class="col-sm-3" id="leftCol" >
180          <div class="panel panel-primary">          <div class="panel panel-primary">
181                  <div class="panel-heading">                  <div class="panel-heading">

Legend:
Removed from v.2910  
changed lines
  Added in v.2923

  ViewVC Help
Powered by ViewVC 1.1.20