syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matte...@apache.org
Subject syncope git commit: [SYNCOPE-977] add responsive css for captcha buttons
Date Wed, 30 Nov 2016 15:04:03 GMT
Repository: syncope
Updated Branches:
  refs/heads/master 13c18df35 -> e7e8e92da


[SYNCOPE-977] add responsive css for captcha buttons


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/e7e8e92d
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/e7e8e92d
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/e7e8e92d

Branch: refs/heads/master
Commit: e7e8e92da2ac89cc7ee698cc589e28dfb1c06de3
Parents: 13c18df
Author: Matteo Di Carlo <matteo.dicarlo@tirasa.net>
Authored: Wed Nov 30 16:02:19 2016 +0100
Committer: Matteo Di Carlo <matteo.dicarlo@tirasa.net>
Committed: Wed Nov 30 16:03:20 2016 +0100

----------------------------------------------------------------------
 .../META-INF/resources/app/css/editUser.css     | 84 ++++++++++++++++----
 .../META-INF/resources/app/views/captcha.html   |  4 +-
 .../resources/app/views/user-credentials.html   |  2 +-
 .../app/views/user-derived-schemas.html         |  2 +-
 .../resources/app/views/user-groups.html        |  2 +-
 .../resources/app/views/user-plain-schemas.html |  2 +-
 .../app/views/user-virtual-schemas.html         |  2 +-
 7 files changed, 77 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/e7e8e92d/client/enduser/src/main/resources/META-INF/resources/app/css/editUser.css
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/css/editUser.css b/client/enduser/src/main/resources/META-INF/resources/app/css/editUser.css
index 4f4bf42..bb4a6c6 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/css/editUser.css
+++ b/client/enduser/src/main/resources/META-INF/resources/app/css/editUser.css
@@ -31,7 +31,7 @@ under the License.
   text-align: center;
 }
 
-#form-container .breadcrumb-header   { 
+#form-container .breadcrumb-header{
   margin: auto;
   width: 80%; 
   padding:10px; 
@@ -96,7 +96,7 @@ under the License.
 }
 
 #previous {
-  background: -moz-linear-gradient(top, #a9db80 0%, #96c56f 100%);  /*FF3.6+ 
+  background: -moz-linear-gradient(top, #a9db80 0%, #96c56f 100%);  /*FF3.6+ */
   background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a9db80), color-stop(100%,#96c56f));
 /*Chrome,Safari4+ */
   background: -webkit-linear-gradient(top, #a9db80 0%,#96c56f 100%);  /*Chrome10+,Safari5.1+
*/
   background: -o-linear-gradient(top, #a9db80 0%,#96c56f 100%);  /*Opera 11.10+*/ 
@@ -167,6 +167,16 @@ under the License.
   width: 70px;
 }
 
+
+.container-fluid {
+  padding-right: 15px;
+  padding-left: 15px;
+  margin-right: auto;
+  margin-left: auto;
+  width: 63%;
+}
+
+
 #form-views { width:100%; }
 
 /* basic styling for entering and leaving */
@@ -292,6 +302,7 @@ under the License.
   color: #dd301b;
   font-weight: 600;
 }
+
 /*--------------end default style*/
 
 /*style for devices max width 350 */
@@ -329,6 +340,20 @@ under the License.
     padding: 0px 0px 1px 0px
   }
 
+  /*.container-fluid {
+      padding-right: 15px;
+      padding-left: 31px;
+      margin-right: auto;
+      margin-left: auto;
+      width: 100%;
+    }
+    
+    #captchaButtons {
+      width: 20%;
+      margin-left: 100px;
+      padding-bottom: 5px;
+    }*/
+
 }
 
 /*style for devices max width 400 */
@@ -337,19 +362,19 @@ under the License.
   input[type=file] {
     display: block;
   }
-  
+
   .panel-body {
     padding: 0px;
   }
-  
+
   #datetime input {
     width: 100%;
   }
-  
+
   #form-container {
     padding: 1px 0px 0px 0px;
   }
-  
+
   #form-container .breadcrumb-header   { 
     margin: auto;
     width: 100%; 
@@ -357,7 +382,7 @@ under the License.
     text-align: left;
     overflow: auto;
   }
-  
+
   .btn-group{
     position: relative;
     display: inline-flex;
@@ -367,18 +392,22 @@ under the License.
     margin-top: 10px;
     padding: 0px 0px 1px 0px
   }
-  
+
   .btn-breadcrumb .btn {
     padding:6px 12px 6px 12px;
   }
-  
+
   .btn-breadcrumb .btn:first-child {
     padding:6px 6px 6px 10px;
   }
-  
+
   .btn-breadcrumb .btn:last-child {
     padding:6px 18px 6px 24px;
   }
+  /*
+    #refresh{
+      margin-top:1px;
+    }*/
 
 }
 
@@ -426,7 +455,7 @@ under the License.
     color: #333;
     background-color: #fff;
     border-color: #ccc;
-    width: 100%;
+    /*width: 100%;*/
   }
 
   .card-container.card {
@@ -437,11 +466,11 @@ under the License.
   .btn-breadcrumb .btn {
     padding:6px 12px 6px 12px;
   }
-  
+
   .btn-breadcrumb .btn:first-child {
     padding:6px 6px 6px 10px;
   }
-  
+
   .btn-breadcrumb .btn:last-child {
     padding:6px 18px 6px 24px;
   }
@@ -461,6 +490,7 @@ under the License.
     padding-left: 0px;
     margin-right: auto;
     margin-left: auto;
+    /*margin-top: -4px;*/
   }
 
   .input-group .form-control{
@@ -513,7 +543,17 @@ under the License.
 
   .row{
     margin-left: -34px;
-    margin-right: -76px;
+    margin-right: 0px;
+    width: 100%
+  }
+
+  .navbar {
+    position: relative;
+    min-height: 50px;
+    width: 100%;
+    margin-left: 33px;
+    margin-bottom: 20px;
+    border: 1px solid transparent;
   }
 
   #datetime{
@@ -551,6 +591,16 @@ under the License.
     margin-left: 48px;
   }
 
+
+  .container-fluid {
+    padding-right: 15px;
+    padding-left: 15px;
+    margin-right: auto;
+    margin-left: 33px;
+    margin-left: 33px;
+    width: 82%;
+  }
+
 }
 
 /*style for devices max width 800) */
@@ -581,6 +631,12 @@ under the License.
     padding: 0px 0px 1px 0px
   }
 
+  #captchaImg {
+    display: block;
+    margin: 0 auto;
+    width: 100%;
+  }
+
 }
 
 /* ANIMATIONS

http://git-wip-us.apache.org/repos/asf/syncope/blob/e7e8e92d/client/enduser/src/main/resources/META-INF/resources/app/views/captcha.html
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/views/captcha.html b/client/enduser/src/main/resources/META-INF/resources/app/views/captcha.html
index c277800..b0ea3ff 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/views/captcha.html
+++ b/client/enduser/src/main/resources/META-INF/resources/app/views/captcha.html
@@ -19,9 +19,9 @@ under the License.
 <div ng-show="{{captchaEnabled}}">
   <nav class="navbar">
     <div class="container-fluid" style="text-align: center">
-      <div style="text-align:center;">
+      <div id="captchainput" >
         <img id="captchaImg" alt="captcha" ng-src="{{captchaUrl}}'"/>
-        <div style="margin-top: 5%; margin-bottom: 10px">
+        <div id="captchaButtons" style="margin-top: 5%; margin-bottom: 10px">
           <button id="refresh" type="button" class="btn btn-default btn-xs glyphicon glyphicon-refresh"

                   ng-click="refreshCaptcha()" title="Refresh Captcha"></button>
           <a id="refresh" class="btn btn-default btn-xs glyphicon glyphicon-question-sign"
title="What is?" 

http://git-wip-us.apache.org/repos/asf/syncope/blob/e7e8e92d/client/enduser/src/main/resources/META-INF/resources/app/views/user-credentials.html
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/views/user-credentials.html
b/client/enduser/src/main/resources/META-INF/resources/app/views/user-credentials.html
index da9bdc2..a0c3b08 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/views/user-credentials.html
+++ b/client/enduser/src/main/resources/META-INF/resources/app/views/user-credentials.html
@@ -65,7 +65,7 @@ under the License.
   <div id="navButtons">
     <navigation-buttons ng-show="createMode" base="create" current="credentials" wizard="{{wizard}}"></navigation-buttons>
     <navigation-buttons ng-show="!createMode" base= "update" current="credentials" wizard="{{wizard}}"></navigation-buttons>
-    <button id="save" ng-show="!createMode" type="button" class="btn btn-default pull-right"
ng-click="finish()">{{'FINISH'| translate}}</button>
+    <button id="finish" ng-show="!createMode" type="button" class="btn btn-default pull-right"
ng-click="finish()">{{'FINISH'| translate}}</button>
     <button id="finish" ng-show="createMode && endReached" type="button" class="btn
btn-default pull-right" ng-click="finish()">{{'FINISH'| translate}}</button>
   </div>
   <div class="pull-left">

http://git-wip-us.apache.org/repos/asf/syncope/blob/e7e8e92d/client/enduser/src/main/resources/META-INF/resources/app/views/user-derived-schemas.html
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/views/user-derived-schemas.html
b/client/enduser/src/main/resources/META-INF/resources/app/views/user-derived-schemas.html
index 473f32b..48e0ac2 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/views/user-derived-schemas.html
+++ b/client/enduser/src/main/resources/META-INF/resources/app/views/user-derived-schemas.html
@@ -24,7 +24,7 @@ under the License.
   <div id="navButtons">
     <navigation-buttons ng-show="createMode" base="create" current="derivedSchemas" wizard="{{wizard}}"></navigation-buttons>
     <navigation-buttons ng-show="!createMode" base="update" current="derivedSchemas" wizard="{{wizard}}"></navigation-buttons>
-    <button id="save" ng-show="!createMode" type="button" class="btn btn-default pull-right"
ng-click="finish()">{{'FINISH'| translate}}</button>
+    <button id="finish" ng-show="!createMode" type="button" class="btn btn-default pull-right"
ng-click="finish()">{{'FINISH'| translate}}</button>
     <button id="finish" ng-show="createMode && endReached" type="button" class="btn
btn-default pull-right" ng-click="finish()">{{'FINISH'| translate}}</button>
   </div>  <div class="pull-left">
     <a id="cancel" href="#/self" class="btn btn-danger" ng-click="logout()">{{'CANCEL'|
translate}}</a>

http://git-wip-us.apache.org/repos/asf/syncope/blob/e7e8e92d/client/enduser/src/main/resources/META-INF/resources/app/views/user-groups.html
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/views/user-groups.html
b/client/enduser/src/main/resources/META-INF/resources/app/views/user-groups.html
index 9d15c1e..2ff040b 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/views/user-groups.html
+++ b/client/enduser/src/main/resources/META-INF/resources/app/views/user-groups.html
@@ -37,7 +37,7 @@ under the License.
   <div id="navButtons">
     <navigation-buttons ng-show="createMode" base="create" current="groups" wizard="{{wizard}}"></navigation-buttons>
     <navigation-buttons ng-show="!createMode" base="update" current="groups" wizard="{{wizard}}"></navigation-buttons>
-    <button id="save" ng-show="!createMode" type="button" class="btn btn-default pull-right"
ng-click="finish()">{{'FINISH'| translate}}</button>
+    <button id="finish" ng-show="!createMode" type="button" class="btn btn-default pull-right"
ng-click="finish()">{{'FINISH'| translate}}</button>
     <button id="finish" ng-show="createMode && endReached" type="button" class="btn
btn-default pull-right" ng-click="finish()">{{'FINISH'| translate}}</button>  </div>
   <div class="pull-left">
     <a id="cancel" href="#/self" class="btn btn-danger pull-left" ng-click="logout()">{{'CANCEL'|
translate}}</a>

http://git-wip-us.apache.org/repos/asf/syncope/blob/e7e8e92d/client/enduser/src/main/resources/META-INF/resources/app/views/user-plain-schemas.html
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/views/user-plain-schemas.html
b/client/enduser/src/main/resources/META-INF/resources/app/views/user-plain-schemas.html
index 8591f29..8351aa3 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/views/user-plain-schemas.html
+++ b/client/enduser/src/main/resources/META-INF/resources/app/views/user-plain-schemas.html
@@ -24,7 +24,7 @@ under the License.
   <div id="navButtons">
     <navigation-buttons ng-show="createMode" base="create" current="plainSchemas" wizard="{{wizard}}"></navigation-buttons>
     <navigation-buttons ng-show="!createMode" base="update" current="plainSchemas" wizard="{{wizard}}"></navigation-buttons>
-    <button id="save" ng-show="!createMode" type="button" class="btn btn-default pull-right"
ng-click="finish()">{{'FINISH'| translate}}</button>
+    <button id="finish" ng-show="!createMode" type="button" class="btn btn-default pull-right"
ng-click="finish()">{{'FINISH'| translate}}</button>
     <button id="finish" ng-show="createMode && endReached" type="button" class="btn
btn-default pull-right" ng-click="finish()">{{'FINISH'| translate}}</button>  </div>
   <div class="pull-left">
     <a id="cancel" href="#/self" class="btn btn-danger pull-left" ng-click="logout()">{{'CANCEL'|
translate}}</a>

http://git-wip-us.apache.org/repos/asf/syncope/blob/e7e8e92d/client/enduser/src/main/resources/META-INF/resources/app/views/user-virtual-schemas.html
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/views/user-virtual-schemas.html
b/client/enduser/src/main/resources/META-INF/resources/app/views/user-virtual-schemas.html
index cdd0924..114e2ed 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/views/user-virtual-schemas.html
+++ b/client/enduser/src/main/resources/META-INF/resources/app/views/user-virtual-schemas.html
@@ -25,7 +25,7 @@ under the License.
   <div id="navButtons">
     <navigation-buttons ng-show="createMode" base="create" current="virtualSchemas" wizard="{{wizard}}"></navigation-buttons>
     <navigation-buttons ng-show="!createMode" base="update" current="virtualSchemas" wizard="{{wizard}}"></navigation-buttons>
-    <button id="save" ng-show="!createMode" type="button" class="btn btn-default pull-right"
ng-click="finish()">{{'FINISH'| translate}}</button>
+    <button id="finish" ng-show="!createMode" type="button" class="btn btn-default pull-right"
ng-click="finish()">{{'FINISH'| translate}}</button>
     <button id="finish" ng-show="createMode && endReached" type="button" class="btn
btn-default pull-right" ng-click="finish()">{{'FINISH'| translate}}</button>
   </div>
   <div class="pull-left">


Mime
View raw message