diff --git a/css/app.css b/css/app.css index 71e32af7..97271afd 100644 --- a/css/app.css +++ b/css/app.css @@ -484,7 +484,8 @@ font-size: 19px; float: left; margin-right: 5px; - margin-left: 3px; } + margin-left: 3px; + } #app-content #app-content-wrapper .credential-table tr td .icon-more { display: inline-block; float: right; @@ -765,6 +766,7 @@ cursor: pointer; /* "hand" cursor */ } + .btn-danger { color: #fff; } diff --git a/js/app/controllers/main.js b/js/app/controllers/main.js index c122501c..29fa5d3e 100644 --- a/js/app/controllers/main.js +++ b/js/app/controllers/main.js @@ -34,6 +34,18 @@ .controller('MainCtrl', ['$scope', '$rootScope', '$location', 'SettingsService', '$window', '$interval', '$filter', function ($scope, $rootScope, $location, SettingsService, $window, $interval, $filter) { $scope.selectedVault = false; + + var native_search = document.getElementById("searchbox"); + var old_search = document.getElementById("searchBox"); + + native_search.classList.remove('hidden'); + native_search.classList.add('searchbox','ng-valid','ng-touched','ng-dirty','ng-valid-parse','ng-empty'); + native_search.setAttribute("ng-model","filterOptions.filterText"); + + native_search.addEventListener("change", function(){ + old_search.value=native_search.innerText; + }); + $scope.http_warning_hidden = true; if ($location.$$protocol === 'http' && $location.$$host !== 'localhost' && $location.$host !== '127.0.0.1') { $scope.using_http = true; diff --git a/sass/app.scss b/sass/app.scss index ee09012f..6ec78345 100644 --- a/sass/app.scss +++ b/sass/app.scss @@ -58,6 +58,7 @@ // #app-content #app-content-wrapper #passman-controls { border-bottom: 1px solid #c9c9c9; + margin-top: 5px; } @@ -86,8 +87,8 @@ } @media only screen and (min-width: 768px){ #app-navigation+#app-content #passman-controls { - left: 250px; - width: calc( 100% - 250px ) !important; + left: 300px; + width: calc( 100% - 300px ) !important; } } #passman-controls .button, #passman-controls, #passman-controls input[type='submit'], #passman-controls input[type='text'], #passman-controls input[type='password'], #passman-controls select { diff --git a/sass/credentials.scss b/sass/credentials.scss index 254585bc..4f471002 100644 --- a/sass/credentials.scss +++ b/sass/credentials.scss @@ -22,8 +22,10 @@ #app-content { overflow-x: hidden; + width: 100%; #app-content-wrapper { min-height: 95%; + width: 100%; #passman-controls { text-align: center; &.sidebar-shown { @@ -53,6 +55,9 @@ display: none; } } + .breadcrumb { + float: left; + } .actions.creatable { float: left; overflow: hidden; @@ -137,8 +142,9 @@ } } .credential-table { - width: 100%; + /*width: 100%; margin-top: 44px; + */ tr:hover { background-color: darken(#fff, 4%); } diff --git a/sass/vaults.scss b/sass/vaults.scss index 2af23141..4d7390c1 100644 --- a/sass/vaults.scss +++ b/sass/vaults.scss @@ -26,7 +26,7 @@ padding: 12px; font-weight: bold; text-align: center; - z-index: 800; + z-index: 1800; background-color: red; color: white; .fa-times{ diff --git a/templates/views/edit_credential.html b/templates/views/edit_credential.html index 4d653ec6..10ee9e7f 100644 --- a/templates/views/edit_credential.html +++ b/templates/views/edit_credential.html @@ -1,4 +1,6 @@ -
+
+ + +
  • {{ 'save' | translate}}
+
diff --git a/templates/views/show_vault.html b/templates/views/show_vault.html index f801f819..88848688 100644 --- a/templates/views/show_vault.html +++ b/templates/views/show_vault.html @@ -16,8 +16,8 @@ {{ 'deleted.since' | translate }}: All time {{delete_time | date:'dd-MM-yyyy @ HH:mm:ss'}} - --> +
@@ -86,59 +86,62 @@
-
-

{{selectedCredential.label}}

- -
- -
- - - -
-
- - - - - - - - -
-
-
+
+

{{selectedCredential.label}}

+ + +
+ +
+ + + +
+
+ + + + + + + + +
+
+
+ + @@ -58,7 +57,7 @@ ng-click="createVault(vault_name, vault_key, vault_key2)" ng-disabled="vault_key_score.score < minimal_value_key_strength || vault_key !== vault_key2 || vault_key === ''"> {{ 'new.vault.create' | translate }} -
+
{{creating_keys}}