From a678f032844fc38f8f867850d5f3ffc52725d4e5 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 30 Mar 2017 23:49:35 -0400 Subject: [PATCH] button groups for vault --- src/app/global/mainController.js | 18 ------ src/app/vault/views/vault.html | 94 +++++++++++++++----------------- 2 files changed, 43 insertions(+), 69 deletions(-) diff --git a/src/app/global/mainController.js b/src/app/global/mainController.js index e3ec1a5576..d9e1afeeb6 100644 --- a/src/app/global/mainController.js +++ b/src/app/global/mainController.js @@ -26,24 +26,6 @@ angular $(document).off('click', '.sidebar li a'); } - - $('.table-responsive').on('shown.bs.dropdown', function (e) { - var t = $(this), - m = $(e.target).find('.dropdown-menu'), - tb = t.offset().top + t.height(), - mb = m.offset().top + m.outerHeight(true), - d = 20; // Space for shadow + scrollbar. - if (t[0].scrollWidth > t.innerWidth()) { - if (mb + d > tb) { - t.css('padding-bottom', ((mb + d) - tb)); - } - } - else { - t.css('overflow', 'visible'); - } - }).on('hidden.bs.dropdown', function () { - $(this).css({ 'padding-bottom': '', 'overflow': '' }); - }); }); $scope.$on('$stateChangeSuccess', function (event, toState, toParams, fromState, fromParams) { diff --git a/src/app/vault/views/vault.html b/src/app/vault/views/vault.html index 04ee8bda39..0988a1f6a2 100644 --- a/src/app/vault/views/vault.html +++ b/src/app/vault/views/vault.html @@ -38,37 +38,33 @@
- - - - - - - - +
NameUsername
- - - @@ -112,38 +108,34 @@
-
- -
-
+
+ +
- - {{login.name}} - - - {{login.username}} + + {{login.name}} + +
{{login.username}}
- - - - - - - +
NameUsername
- - -
- -
-
+
+ +
- - {{login.name}} - - - - {{login.username}} + + {{login.name}} + + +
{{login.username}}