From eab65f982e5fb2bd9b9060f21a43818589193f9f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 7 Jan 2016 23:00:44 -0500 Subject: [PATCH] added gravatar photo to settings page. moved action items in vault listing to left side for better mobile access --- src/Vault/less/vault.less | 10 ++++ .../wwwroot/app/settings/views/settings.html | 56 +++++++++++-------- src/Vault/wwwroot/app/vault/views/vault.html | 12 ++-- 3 files changed, 49 insertions(+), 29 deletions(-) diff --git a/src/Vault/less/vault.less b/src/Vault/less/vault.less index 36bd289bed..85187adc35 100644 --- a/src/Vault/less/vault.less +++ b/src/Vault/less/vault.less @@ -77,6 +77,16 @@ form div.validation-errors ul { } } +@media screen and (min-width: @screen-sm-min) { + .settings-photo { + text-align: center; + + img { + margin: 0 auto; + } + } +} + /* Buttons */ .btn-table { diff --git a/src/Vault/wwwroot/app/settings/views/settings.html b/src/Vault/wwwroot/app/settings/views/settings.html index 1e3dae90d9..998b5f0897 100644 --- a/src/Vault/wwwroot/app/settings/views/settings.html +++ b/src/Vault/wwwroot/app/settings/views/settings.html @@ -11,29 +11,39 @@
-
-

Errors have occured

-
    -
  • {{e}}
  • -
-
-
- - -
-
- - -
-
- - -
-
- - +
+
+
+

Errors have occured

+
    +
  • {{e}}
  • +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+