diff --git a/app/assets/sass/temporary.scss b/app/assets/sass/temporary.scss
index c1f83a4..2f45f07 100644
--- a/app/assets/sass/temporary.scss
+++ b/app/assets/sass/temporary.scss
@@ -31,6 +31,37 @@
padding-right: 15px;
}
+// angular material component
+
+
+md-checkbox .md-icon {
+ border-color: $_color_dark_delta;
+ border-width: 1px !important;
+}
+
+md-checkbox.md-checked .md-icon {
+ .color-scheme--dark & {
+ background-color:$_color_omega;
+ color: $_color_alpha;
+ }
+
+ .color-scheme--light & {
+ background-color:$_color_omega;
+ color: $_color_omega;
+ }
+}
+
+md-checkbox.md-checked .md-icon:after {
+ .color-scheme--dark & {
+ border-color: $_color_alpha;
+ }
+
+ .color-scheme--light & {
+ border-color: $_color_alpha;
+ }
+}
+
+
// host/service status page
.data-table thead th:first-child + th {
diff --git a/app/components/table/table.html b/app/components/table/table.html
index ca2bc0f..29307f5 100644
--- a/app/components/table/table.html
+++ b/app/components/table/table.html
@@ -1,7 +1,9 @@
- |
+
+
+ |
{{cellsText[i]}}
@@ -11,7 +13,9 @@
|
- |
+
+
+ |
|
diff --git a/app/components/table/table.js b/app/components/table/table.js
index 5716064..6a879e5 100644
--- a/app/components/table/table.js
+++ b/app/components/table/table.js
@@ -9,7 +9,8 @@ angular.module('bansho.table', ['bansho.surveil',
'bansho.table.cell_status_service_check',
'bansho.table.cell_status_last_check',
'bansho.table.cell_status_host_address',
- 'bansho.table.cell_status_host_status'
+ 'bansho.table.cell_status_host_status',
+ 'ngMaterial'
])
.value('tableGlobalConfig', {'cellToFieldsMap': {}, 'cellWrappableField': {}, 'nextTableIndex': 0})
@@ -32,6 +33,7 @@ angular.module('bansho.table', ['bansho.surveil',
$scope.cellsName = conf.cells.name;
$scope.cellsText = conf.cells.text;
$scope.cellIndexes = [];
+ conf.isCheckAll = false;
$scope.$watch(function () {
return conf.isCheckAll;
diff --git a/app/index.html b/app/index.html
index 9c98cc8..97552e3 100644
--- a/app/index.html
+++ b/app/index.html
@@ -14,6 +14,7 @@
+
@@ -26,6 +27,9 @@
+
+
+
diff --git a/bower.json b/bower.json
index d47b2b9..c475266 100644
--- a/bower.json
+++ b/bower.json
@@ -5,17 +5,21 @@
"license": "AGPLv3",
"private": true,
"dependencies": {
- "angular": "~1.3.15",
- "angular-route": "~1.3.15",
- "angular-loader": "~1.3.15",
- "angular-mocks": "~1.3.15",
+ "angular": "1.3.16",
+ "angular-route": "1.3.16",
+ "angular-loader": "1.3.16",
+ "angular-mocks": "1.3.16",
"html5-boilerplate": "~5.2.0",
"bootstrap-sass-official": "3.3.1",
"fontawesome": "~4.3.0",
"justgage-toorshia": "master",
"moment": "~2.9.0",
"angular-filter": "~0.5.4",
- "angular-cookies": "~1.3.15",
- "pnotify": "~2.0.1"
+ "angular-cookies": "1.3.16",
+ "pnotify": "~2.0.1",
+ "angular-animate": "1.3.16",
+ "angular-aria": "1.3.16",
+ "angular-material": "0.10.0"
}
}
+