diff --git a/src/app/pages/tables/TablesPageCtrl.js b/src/app/pages/tables/TablesPageCtrl.js index ddd78a0..e6d320e 100644 --- a/src/app/pages/tables/TablesPageCtrl.js +++ b/src/app/pages/tables/TablesPageCtrl.js @@ -625,9 +625,39 @@ }, { "id": 5, - "name": "Cheryl Schwartz", + "name": "Buckley Schwartz", + "status": 1, + "group": 1 + }, + { + "id": 6, + "name": "Mathews Hopkins", "status": 4, "group": 2 + }, + { + "id": 7, + "name": "Leah Vang", + "status": 4, + "group": 1 + }, + { + "id": 8, + "name": "Vang Schwartz", + "status": 4, + "group": 2 + }, + { + "id": 9, + "name": "Hopkin Esther", + "status": 1, + "group": 2 + }, + { + "id": 10, + "name": "Mathews Schwartz", + "status": 1, + "group": 3 } ]; diff --git a/src/app/pages/tables/smart/tables.html b/src/app/pages/tables/smart/tables.html index a5e5be6..01fd4f5 100644 --- a/src/app/pages/tables/smart/tables.html +++ b/src/app/pages/tables/smart/tables.html @@ -2,8 +2,8 @@
-
-
+
+
@@ -18,8 +18,8 @@
-
-
+
+
diff --git a/src/app/theme/theme.run.js b/src/app/theme/theme.run.js index 3c69298..67dfb62 100644 --- a/src/app/theme/theme.run.js +++ b/src/app/theme/theme.run.js @@ -9,7 +9,7 @@ .run(themeRun); /** @ngInject */ - function themeRun($timeout, $rootScope, layoutSizes, editableOptions) { + function themeRun($timeout, $rootScope, layoutSizes, editableOptions, editableThemes) { $timeout(function () { $rootScope.$pageFinishedLoading = true; }, 1000); @@ -21,6 +21,8 @@ $rootScope.$isMenuCollapsed = window.innerWidth <= layoutSizes.resWidthCollapseSidebar; editableOptions.theme = 'bs3'; + editableThemes['bs3'].submitTpl = ''; + editableThemes['bs3'].cancelTpl = ''; } })(); \ No newline at end of file diff --git a/src/sass/theme/_table.scss b/src/sass/theme/_table.scss index 8dc92ac..a651eb5 100644 --- a/src/sass/theme/_table.scss +++ b/src/sass/theme/_table.scss @@ -57,7 +57,7 @@ } } -.editable-wrap .btn-group.form-control{ +.editable-wrap .btn-group.form-control { background-color: transparent; } @@ -81,7 +81,7 @@ margin-bottom: 10px; } -.add-row-editable-table + table{ +.add-row-editable-table + table { margin-bottom: 5px; } @@ -266,14 +266,54 @@ th { font-weight: $font-normal; } -.editable-empty{ +.editable-empty { color: $danger-dark; } -.table > tbody > tr > th{ +.table > tbody > tr > th { border: none; } .table-striped > tbody > tr > td { border: none; +} +.pagination > li > a, +.pagination > li > span{ + color: $default; + border-color: $default; +} + + +.pagination > li:first-of-type > a, +.pagination > li:first-of-type > span{ + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +.pagination > li:last-of-type > a, +.pagination > li:last-of-type > span{ + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + background-color: $primary; + border-color: $default; +} + +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus{ + background-color: rgba(0,0,0,.2); + color: $default; +} + +.editable-buttons .btn-with-icon i { + margin-right: 0; } \ No newline at end of file