Quellcode durchsuchen

Add button to end session.

Lee Morgan vor 5 Jahren
Ursprung
Commit
975df62faa
2 geänderte Dateien mit 6 neuen und 5 gelöschten Zeilen
  1. 4 2
      views/dashboardPage/ejs/strands/account.ejs
  2. 2 3
      views/shared/shared.css

+ 4 - 2
views/dashboardPage/ejs/strands/account.ejs

@@ -49,8 +49,6 @@
                 <h2>SECURITY</h2>
             </div>
 
-            <button id="deleteMerchant" class="dangerButton">DELETE THIS MERCHANT</button>
-
             <button id="accountShowPassword" class="button">CHANGE PASSWORD</button>
 
             <div id="changePasswordBox"style="display:none;">
@@ -74,6 +72,10 @@
 
                 <p>* This will log you out of all current sessions</p>
             </div>
+
+            <a href="/session/end" class="button">LOG OUT OF ALL DEVICES</a>
+
+            <button id="deleteMerchant" class="dangerButton">DELETE THIS MERCHANT</button>
         </div>
     </div>
 </div>

+ 2 - 3
views/shared/shared.css

@@ -183,12 +183,11 @@ button::-moz-focus-inner{
     background: rgb(0, 27, 45);
     border: none;
     text-decoration: none;
-    padding: 2px 10px;
+    padding: 3px 10px;
     color: rgb(255, 99, 107);
     cursor: pointer;
     text-align: center;
-    font-size: 20px;
-    font-weight: bold;
+    font-size: 15px;
     min-width: 100px;
     margin: 5px;
     max-height: 52px;