| .. | .. |
|---|
| 5 | 5 | <base href="/"> |
|---|
| 6 | 6 | <meta charset="utf-8"> |
|---|
| 7 | 7 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|---|
| 8 | | -<title></title> |
|---|
| 8 | +<title>SeCuris</title> |
|---|
| 9 | 9 | <meta name="description" content=""> |
|---|
| 10 | 10 | <meta name="viewport" content="width=device-width"> |
|---|
| 11 | 11 | |
|---|
| 12 | | -<link rel="stylesheet" |
|---|
| 13 | | - href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> |
|---|
| 12 | +<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> |
|---|
| 13 | +<link rel="stylesheet" href="/css/bootstrap-dialog.css"> |
|---|
| 14 | +<link rel="stylesheet" href="/css/toaster.css"> |
|---|
| 15 | + |
|---|
| 14 | 16 | <style> |
|---|
| 15 | 17 | body { |
|---|
| 16 | 18 | padding-top: 50px; |
|---|
| .. | .. |
|---|
| 103 | 105 | <ul class="nav navbar-nav"> |
|---|
| 104 | 106 | <li><a ng-click="editNew()"><span class="glyphicon glyphicon-plus"></span> |
|---|
| 105 | 107 | New</a></li> |
|---|
| 106 | | - <li><a ng-click="edit()"><span class="glyphicon glyphicon-pencil"></span> |
|---|
| 107 | | - Edit</a></li> |
|---|
| 108 | 108 | <li><a ng-click="cancel()"> <span |
|---|
| 109 | 109 | class="glyphicon glyphicon-ban-circle"></span> Cancel |
|---|
| 110 | 110 | </a></li> |
|---|
| .. | .. |
|---|
| 164 | 164 | </tr> |
|---|
| 165 | 165 | </thead> |
|---|
| 166 | 166 | <tbody> |
|---|
| 167 | | - <tr ng-repeat="row in list | filter:searchText"> |
|---|
| 168 | | - <td ng-repeat="field in catalogMetadata.list_fields" ng-bind="row[field] "></td> |
|---|
| 167 | + <tr ng-repeat="row in list | filter:searchText" ng-dblclick="edit(row)"> |
|---|
| 168 | + <td ng-repeat="field in catalogMetadata.list_fields" ng-bind="print(field, row[field])"></td> |
|---|
| 169 | 169 | |
|---|
| 170 | | - <td><span ng-click="editRow()" |
|---|
| 171 | | - class="glyphicon glyphicon-pencil"></span></td> |
|---|
| 170 | + <td><span ng-click="edit(row)" |
|---|
| 171 | + class="glyphicon glyphicon-pencil"></span> |
|---|
| 172 | + <span ng-click="delete(row)" |
|---|
| 173 | + class="glyphicon glyphicon-remove"></span> |
|---|
| 174 | + </td> |
|---|
| 172 | 175 | </tr> |
|---|
| 173 | 176 | </tbody> |
|---|
| 174 | 177 | <tfoot> |
|---|
| .. | .. |
|---|
| 199 | 202 | src="/js/angular-resource.min.js"></script> |
|---|
| 200 | 203 | <script type="text/javascript" |
|---|
| 201 | 204 | src="/js/angular-animate.min.js"></script> |
|---|
| 205 | + <script type="text/javascript" |
|---|
| 206 | + src="/js/bootstrap-dialog.js"></script> |
|---|
| 207 | + <script type="text/javascript" |
|---|
| 208 | + src="/js/toaster.js"></script> |
|---|
| 209 | + |
|---|
| 210 | + |
|---|
| 202 | 211 | <!-- |
|---|
| 203 | 212 | <script |
|---|
| 204 | 213 | src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> |
|---|
| .. | .. |
|---|
| 222 | 231 | }); |
|---|
| 223 | 232 | |
|---|
| 224 | 233 | </script> |
|---|
| 234 | + |
|---|
| 235 | + <toaster-container toaster-options="{'time-out': 3000}"></toaster-container> |
|---|
| 225 | 236 | </body> |
|---|
| 226 | 237 | </html> |
|---|