浏览代码

SEC-2194: Add margin to links in header of samples

Rob Winch 12 年之前
父节点
当前提交
f036970f8b

+ 3 - 0
samples/concurrency-jc/src/main/webapp/WEB-INF/decorators/main.jsp

@@ -75,6 +75,9 @@
       a {
           color: green;
       }
+      .navbar-text a {
+        margin-left: 1em;
+      }
     </style>
     <c:url var="bootstrapResponsiveUrl" value="/resources/css/bootstrap-responsive.css"/>
     <link href="${bootstrapResponsiveUrl}" rel="stylesheet"></link>

+ 3 - 0
samples/hellomvc-jc/src/main/webapp/WEB-INF/decorators/main.jsp

@@ -75,6 +75,9 @@
       a {
           color: green;
       }
+      .navbar-text a {
+        margin-left: 1em;
+      }
     </style>
     <c:url var="bootstrapResponsiveUrl" value="/resources/css/bootstrap-responsive.css"/>
     <link href="${bootstrapResponsiveUrl}" rel="stylesheet"></link>

+ 3 - 0
samples/inmemory-jc/src/main/webapp/WEB-INF/decorators/main.jsp

@@ -75,6 +75,9 @@
       a {
           color: green;
       }
+      .navbar-text a {
+        margin-left: 1em;
+      }
     </style>
     <c:url var="bootstrapResponsiveUrl" value="/resources/css/bootstrap-responsive.css"/>
     <link href="${bootstrapResponsiveUrl}" rel="stylesheet"></link>

+ 3 - 2
samples/insecuremvc/src/main/webapp/WEB-INF/decorators/main.jsp

@@ -75,6 +75,9 @@
       a {
           color: green;
       }
+      .navbar-text a {
+        margin-left: 1em;
+      }
     </style>
     <c:url var="bootstrapResponsiveUrl" value="/resources/css/bootstrap-responsive.css"/>
     <link href="${bootstrapResponsiveUrl}" rel="stylesheet"></link>
@@ -105,8 +108,6 @@
                 <li><a href="${inboxUrl}">Inbox</a></li>
                 <c:url var="composeUrl" value="/?form"/>
                 <li><a href="${composeUrl}">Compose</a></li>
-                <c:url var="logoutUrl" value="/logout"/>
-                <li><a href="${logoutUrl}">Log out</a></li>
               </ul>
             </div>
           </div>

+ 3 - 0
samples/jdbc-jc/src/main/webapp/WEB-INF/decorators/main.jsp

@@ -75,6 +75,9 @@
       a {
           color: green;
       }
+      .navbar-text a {
+        margin-left: 1em;
+      }
     </style>
     <c:url var="bootstrapResponsiveUrl" value="/resources/css/bootstrap-responsive.css"/>
     <link href="${bootstrapResponsiveUrl}" rel="stylesheet"></link>

+ 3 - 0
samples/ldap-jc/src/main/webapp/WEB-INF/decorators/main.jsp

@@ -75,6 +75,9 @@
       a {
           color: green;
       }
+      .navbar-text a {
+        margin-left: 1em;
+      }
     </style>
     <c:url var="bootstrapResponsiveUrl" value="/resources/css/bootstrap-responsive.css"/>
     <link href="${bootstrapResponsiveUrl}" rel="stylesheet"></link>

+ 3 - 0
samples/openid-jc/src/main/webapp/WEB-INF/decorators/main.jsp

@@ -75,6 +75,9 @@
       a {
           color: green;
       }
+      .navbar-text a {
+        margin-left: 1em;
+      }
     </style>
     <c:url var="bootstrapResponsiveUrl" value="/resources/css/bootstrap-responsive.css"/>
     <link href="${bootstrapResponsiveUrl}" rel="stylesheet"></link>

+ 3 - 0
samples/preauth-jc/src/main/webapp/WEB-INF/decorators/main.jsp

@@ -75,6 +75,9 @@
       a {
           color: green;
       }
+      .navbar-text a {
+        margin-left: 1em;
+      }
     </style>
     <c:url var="bootstrapResponsiveUrl" value="/resources/css/bootstrap-responsive.css"/>
     <link href="${bootstrapResponsiveUrl}" rel="stylesheet"></link>

+ 3 - 0
samples/rememberme-jc/src/main/webapp/WEB-INF/decorators/main.jsp

@@ -75,6 +75,9 @@
       a {
           color: green;
       }
+      .navbar-text a {
+        margin-left: 1em;
+      }
     </style>
     <c:url var="bootstrapResponsiveUrl" value="/resources/css/bootstrap-responsive.css"/>
     <link href="${bootstrapResponsiveUrl}" rel="stylesheet"></link>

+ 3 - 0
samples/x509-jc/src/main/webapp/WEB-INF/decorators/main.jsp

@@ -75,6 +75,9 @@
       a {
           color: green;
       }
+      .navbar-text a {
+        margin-left: 1em;
+      }
     </style>
     <c:url var="bootstrapResponsiveUrl" value="/resources/css/bootstrap-responsive.css"/>
     <link href="${bootstrapResponsiveUrl}" rel="stylesheet"></link>