Changeset 1862
- Timestamp:
- 04/25/08 01:24:08
- Files:
-
- trunk/deployment/resources/build.xml (modified) (3 diffs)
- trunk/deployment/resources/login/error.html (modified) (3 diffs)
- trunk/deployment/resources/login/login.html (modified) (3 diffs)
- trunk/deployment/resources/login/logout.html (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/resources/build.xml
r1807 r1862 12 12 <property name="propval.app.display.name" 13 13 value="${org.bedework.global.build.common.context.name}" /> 14 <property name="propval.app.war.name"15 value="${org.bedework.global.build.common.context.war.name}" />14 <property name="propval.app.war.name" 15 value="${org.bedework.global.build.common.context.war.name}" /> 16 16 17 17 <import file="${build.dir}/buildfilters.xml" /> … … 68 68 <copy todir="${common.dest.war}"> 69 69 <fileset dir="${common.resources.dir}/xsl" /> 70 </copy> 71 72 <copy todir="${common.dest.war}/images"> 73 <fileset dir="${common.resources.dir}/images" /> 70 74 </copy> 71 75 … … 126 130 <fileset dir="${common.resources.dir}/xsl" /> 127 131 </copy> 132 133 <copy todir="${common.dest.war}/images"> 134 <fileset dir="${common.resources.dir}/images" /> 135 </copy> 136 128 137 </then> 129 138 </if> trunk/deployment/resources/login/error.html
r952 r1862 1 1 <html> 2 2 <head> 3 <title>@DISPLAY-NAME@ Login Error</title> 3 <title>@DISPLAY-NAME@ Login</title> 4 <script language="JavaScript" type="text/javascript"> 5 <!-- 6 // places the cursor in the first available form element when the page is loaded 7 // (if a form exists on the page) 8 function focusFirstElement() { 9 if (window.document.forms[0]) { 10 window.document.forms[0].elements[0].focus(); 11 } 12 } 13 // --> 14 </script> 4 15 <style type="text/css"> 5 16 <!-- 6 17 body { 7 18 font-family: Arial, Helvetica, Verdana, sans-serif; 8 margin: 0px;9 padding: 0px;10 background-color: #ccc;19 margin: 0; 20 padding: 2em; 21 background-color: white; 11 22 color: black; 12 23 } 13 #bodyBox {14 height: 100%;15 }16 #contentBox {17 text-align: center;18 background-color: white;19 color: black;20 width: 400px;21 margin: 1em 1em 0.5em 1em;22 padding: 1em 1em 1em 1em ;23 border-top: thick solid #DDD;24 border-left: thick solid #DDD;25 border-bottom: thick solid #888;26 border-right: thick solid #888;27 }28 24 #title { 29 color: black;30 25 white-space: nowrap; 31 26 font-size: 1.1em; … … 34 29 text-align: left; 35 30 margin-left: 0em; 31 white-space: nowrap; 36 32 } 37 33 #loginBox td { 38 34 padding-right: 0.5em; 39 35 } 40 #logoBox { 41 width: 435px; 42 margin: 0em; 43 padding: 0em; 36 form { 37 margin: 1em 0; 38 padding: 0; 44 39 } 45 .styleButtons { 46 font-size: 0.9em; 47 padding: 3px; 48 white-space: nowrap; 49 margin-left: 4em; 50 color: #eee; 51 background-color: transparent; 52 } 53 /* LINK DEFINITIONS */ 54 .styleButtons a:link { 55 color: #900; 56 background-color: #ccc; 57 text-decoration: none; 58 font-weight: normal; 59 margin-left: 10px; 60 padding: 1px 2px 1px 2px; 61 border-top: 2px solid #DDD; 62 border-left: 2px solid #DDD; 63 border-bottom: 2px solid #888; 64 border-right: 2px solid #888; 65 } 66 .styleButtons a:visited { 67 color: #900; 68 background-color: #ccc; 69 text-decoration: none; 70 font-weight: normal; 71 margin-left: 10px; 72 padding: 1px 2px 1px 2px; 73 border-top: 2px solid #DDD; 74 border-left: 2px solid #DDD; 75 border-bottom: 2px solid #888; 76 border-right: 2px solid #888; 77 } 78 .styleButtons a:active { 79 color: #900; 80 background-color: #ccc; 81 text-decoration: none; 82 font-weight: normal; 83 margin-left: 10px; 84 padding: 1px 2px 1px 2px; 85 border-top: 2px solid #DDD; 86 border-left: 2px solid #DDD; 87 border-bottom: 2px solid #888; 88 border-right: 2px solid #888; 89 } 90 .styleButtons a:hover { 91 color: #000; 92 background-color: #fc0; 93 font-weight: normal; 94 text-decoration: none; 95 margin-left: 10px; 96 padding: 1px 2px 1px 2px; 97 border-top: 2px solid #DDD; 98 border-left: 2px solid #DDD; 99 border-bottom: 2px solid #888; 100 border-right: 2px solid #888; 101 } 102 a:link { 103 color: #900; 104 background-color: transparent; 105 text-decoration: underline; 106 } 40 a:link, 41 a:active, 107 42 a:visited { 108 color: #900;109 background-color: transparent;110 text-decoration: underline;111 }112 a:active {113 43 color: #900; 114 44 background-color: transparent; … … 124 54 </head> 125 55 126 <body bgcolor="white"> 127 <table border="0" width="100%" height="100%" id="bodyBox"> 128 <tr> 129 <td valign="middle" align="center"> 130 <div id="contentBox" align="center"> 131 <h3 id="title">Login error</h3> 132 <div id="loginBox"> 133 <p>Please try <a href="setup.do">again</a>.</p> 134 </div> 135 </div> 136 </td> 137 </tr> 138 </table> 56 <body bgcolor="white" onLoad="javascript:focusFirstElement()"> 57 <div id="logo"> 58 <img src="/bedework-common/images/bedeworkLogo.gif" alt="Bedework Logo"/> 59 </div> 60 <h3 id="title">Login error</h3> 61 <div id="loginBox"> 62 <p>Please try <a href="setup.do">again</a>.</p> 63 </div 139 64 </body> 140 65 </html> trunk/deployment/resources/login/login.html
r1655 r1862 17 17 body { 18 18 font-family: Arial, Helvetica, Verdana, sans-serif; 19 margin: 0px;20 padding: 0px;21 background-color: #ccc;19 margin: 0; 20 padding: 2em; 21 background-color: white; 22 22 color: black; 23 23 } 24 #bodyBox {25 height: 100%;26 }27 #contentBox {28 text-align: center;29 background-color: #eee;30 color: black;31 width: 400px;32 margin: 1em 1em 0.5em 1em;33 padding: 1em 1em 1em 1em ;34 border-top: thick solid #ddd;35 border-left: thick solid #ddd;36 border-bottom: thick solid #888;37 border-right: thick solid #888;38 }39 24 #title { 40 color: black;41 25 white-space: nowrap; 42 26 font-size: 1.1em; … … 50 34 padding-right: 0.5em; 51 35 } 52 #logoBox {53 width: 435px;54 margin: 0em;55 padding: 0em;56 }57 36 form { 58 margin: 0;37 margin: 1em 0; 59 38 padding: 0; 60 }61 .styleButtons {62 font-size: 0.9em;63 padding: 3px;64 white-space: nowrap;65 margin-left: 4em;66 color: #eee;67 background-color: transparent;68 }69 /* LINK DEFINITIONS */70 .styleButtons a:link {71 color: #900;72 background-color: #ccc;73 text-decoration: none;74 font-weight: normal;75 margin-left: 10px;76 padding: 1px 2px 1px 2px;77 border-top: 2px solid #ddd;78 border-left: 2px solid #ddd;79 border-bottom: 2px solid #888;80 border-right: 2px solid #888;81 }82 .styleButtons a:visited {83 color: #900;84 background-color: #ccc;85 text-decoration: none;86 font-weight: normal;87 margin-left: 10px;88 padding: 1px 2px 1px 2px;89 border-top: 2px solid #ddd;90 border-left: 2px solid #ddd;91 border-bottom: 2px solid #888;92 border-right: 2px solid #888;93 }94 .styleButtons a:active {95 color: #900;96 background-color: #ccc;97 text-decoration: none;98 font-weight: normal;99 margin-left: 10px;100 padding: 1px 2px 1px 2px;101 border-top: 2px solid #ddd;102 border-left: 2px solid #ddd;103 border-bottom: 2px solid #888;104 border-right: 2px solid #888;105 }106 .styleButtons a:hover {107 color: #000;108 background-color: #fc0;109 font-weight: normal;110 text-decoration: none;111 margin-left: 10px;112 padding: 1px 2px 1px 2px;113 border-top: 2px solid #ddd;114 border-left: 2px solid #ddd;115 border-bottom: 2px solid #888;116 border-right: 2px solid #888;117 }118 a:link {119 color: #900;120 background-color: transparent;121 text-decoration: underline;122 }123 a:visited {124 color: #900;125 background-color: transparent;126 text-decoration: underline;127 }128 a:active {129 color: #900;130 background-color: transparent;131 text-decoration: underline;132 }133 a:hover {134 color: #900;135 background-color: #fc0;136 text-decoration: none;137 39 } 138 40 --> … … 141 43 142 44 <body bgcolor="white" onLoad="javascript:focusFirstElement()"> 143 <table border="0" width="100%" height="100%" id="bodyBox"> 45 <div id="logo"> 46 <img src="/bedework-common/images/bedeworkLogo.gif" alt="Bedework Logo"/> 47 </div> 48 <!--<h3 id="title">@DISPLAY-NAME@ Login</h3>--> 49 <form method="post" action="j_security_check" > 50 <table border="0" id="loginBox"> 144 51 <tr> 145 <td valign="middle" align="center"> 146 <div id="contentBox" align="center"> 147 <h3 id="title">@DISPLAY-NAME@ Login</h3> 148 <form method="post" action="j_security_check" > 149 <table border="0" id="loginBox"> 150 <tr> 151 <td> 152 UserID: 153 </td> 154 <td> 155 <input type="text" name="j_username"> 156 </td> 157 </tr> 158 <tr> 159 <td> 160 Password: 161 </td> 162 <td> 163 <input type="password" name="j_password"> 164 <input type="submit" name="j_security_check" value="login"> 165 </td> 166 </tr> 167 </table> 168 </form> 169 </div> 52 <td> 53 UserID: 54 </td> 55 <td> 56 <input type="text" name="j_username"> 170 57 </td> 171 58 </tr> 172 </table> 59 <tr> 60 <td> 61 Password: 62 </td> 63 <td> 64 <input type="password" name="j_password"> 65 <input type="submit" name="j_security_check" value="login"> 66 </td> 67 </tr> 68 </table> 69 </form> 173 70 </body> 174 71 </html> trunk/deployment/resources/login/logout.html
r952 r1862 1 1 <html> 2 2 <head> 3 <title>@DISPLAY-NAME@ Logged Out</title> 3 <title>@DISPLAY-NAME@ Login</title> 4 <script language="JavaScript" type="text/javascript"> 5 <!-- 6 // places the cursor in the first available form element when the page is loaded 7 // (if a form exists on the page) 8 function focusFirstElement() { 9 if (window.document.forms[0]) { 10 window.document.forms[0].elements[0].focus(); 11 } 12 } 13 // --> 14 </script> 4 15 <style type="text/css"> 5 16 <!-- 6 17 body { 7 18 font-family: Arial, Helvetica, Verdana, sans-serif; 8 margin: 0px;9 padding: 0px;10 background-color: #ccc;19 margin: 0; 20 padding: 2em; 21 background-color: white; 11 22 color: black; 12 23 } 13 #bodyBox {14 height: 100%;15 }16 #contentBox {17 text-align: center;18 background-color: white;19 color: black;20 width: 400px;21 margin: 1em 1em 0.5em 1em;22 padding: 1em 1em 1em 1em ;23 border-top: thick solid #DDD;24 border-left: thick solid #DDD;25 border-bottom: thick solid #888;26 border-right: thick solid #888;27 background-image : url(loginbg.jpg);28 }29 24 #title { 30 color: black;31 25 white-space: nowrap; 32 26 font-size: 1.1em; … … 35 29 text-align: left; 36 30 margin-left: 0em; 31 white-space: nowrap; 37 32 } 38 33 #loginBox td { 39 34 padding-right: 0.5em; 40 35 } 41 #logoBox { 42 width: 435px; 43 margin: 0em; 44 padding: 0em; 36 form { 37 margin: 1em 0; 38 padding: 0; 45 39 } 46 40 .styleButtons { … … 52 46 background-color: transparent; 53 47 } 54 /* LINK DEFINITIONS */ 55 .styleButtons a:link { 56 color: #900; 57 background-color: #ccc; 58 text-decoration: none; 59 font-weight: normal; 60 margin-left: 10px; 61 padding: 1px 2px 1px 2px; 62 border-top: 2px solid #DDD; 63 border-left: 2px solid #DDD; 64 border-bottom: 2px solid #888; 65 border-right: 2px solid #888; 66 } 67 .styleButtons a:visited { 68 color: #900; 69 background-color: #ccc; 70 text-decoration: none; 71 font-weight: normal; 72 margin-left: 10px; 73 padding: 1px 2px 1px 2px; 74 border-top: 2px solid #DDD; 75 border-left: 2px solid #DDD; 76 border-bottom: 2px solid #888; 77 border-right: 2px solid #888; 78 } 79 .styleButtons a:active { 48 .styleButtons a:link, 49 .styleButtons a:active, 50 .styleButtons a:visited { 80 51 color: #900; 81 52 background-color: #ccc; … … 101 72 border-right: 2px solid #888; 102 73 } 103 a:link { 104 color: #900; 105 background-color: transparent; 106 text-decoration: underline; 107 } 74 a:link, 75 a:active, 108 76 a:visited { 109 color: #900;110 background-color: transparent;111 text-decoration: underline;112 }113 a:active {114 77 color: #900; 115 78 background-color: transparent; … … 125 88 </head> 126 89 127 <body bgcolor="white"> 128 <table border="0" width="100%" height="100%" id="bodyBox"> 129 <tr> 130 <td valign="middle" align="center"> 131 <div id="contentBox" align="center"> 132 <h3 id="title">@DISPLAY-NAME@</h3> 133 <div id="loginBox"> 134 <p> 135 Logged out 136 <span class="styleButtons"> 137 <a href="setup.do"> 138 Log In 139 </a> 140 </span> 141 </p> 142 </div> 143 </div> 144 </td> 145 </tr> 146 </table> 90 <body bgcolor="white" onLoad="javascript:focusFirstElement()"> 91 <div id="logo"> 92 <img src="/bedework-common/images/bedeworkLogo.gif" alt="Bedework Logo"/> 93 </div> 94 <div id="loginBox"> 95 Logged out 96 <span class="styleButtons"> 97 <a href="setup.do"> 98 Log In 99 </a> 100 </span> 101 </div> 147 102 </body> 148 103 </html>
