Changeset 1862

Show
Ignore:
Timestamp:
04/25/08 01:24:08
Author:
johnsa
Message:

web clients: update login pages

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/resources/build.xml

    r1807 r1862  
    1212  <property name="propval.app.display.name" 
    1313            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}" /> 
    1616 
    1717  <import file="${build.dir}/buildfilters.xml" /> 
     
    6868        <copy todir="${common.dest.war}"> 
    6969          <fileset dir="${common.resources.dir}/xsl" /> 
     70        </copy> 
     71 
     72        <copy todir="${common.dest.war}/images"> 
     73          <fileset dir="${common.resources.dir}/images" /> 
    7074        </copy> 
    7175 
     
    126130              <fileset dir="${common.resources.dir}/xsl" /> 
    127131            </copy> 
     132 
     133            <copy todir="${common.dest.war}/images"> 
     134              <fileset dir="${common.resources.dir}/images" /> 
     135            </copy> 
     136 
    128137          </then> 
    129138        </if> 
  • trunk/deployment/resources/login/error.html

    r952 r1862  
    11<html> 
    22  <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> 
    415    <style type="text/css"> 
    516    <!-- 
    617      body { 
    718        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
    1122        color: black; 
    1223      } 
    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       } 
    2824      #title { 
    29         color: black; 
    3025        white-space: nowrap; 
    3126        font-size: 1.1em; 
     
    3429        text-align: left; 
    3530        margin-left: 0em; 
     31        white-space: nowrap; 
    3632      } 
    3733      #loginBox td { 
    3834        padding-right: 0.5em; 
    3935      } 
    40       #logoBox { 
    41         width: 435px; 
    42         margin: 0em; 
    43         padding: 0em; 
     36      form { 
     37        margin: 1em 0; 
     38        padding: 0; 
    4439      } 
    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, 
    10742      a:visited  { 
    108         color: #900; 
    109         background-color: transparent; 
    110         text-decoration: underline; 
    111       } 
    112       a:active  { 
    11343        color: #900; 
    11444        background-color: transparent; 
     
    12454  </head> 
    12555 
    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 
    13964  </body> 
    14065</html> 
  • trunk/deployment/resources/login/login.html

    r1655 r1862  
    1717      body { 
    1818        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
    2222        color: black; 
    2323      } 
    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       } 
    3924      #title { 
    40         color: black; 
    4125        white-space: nowrap; 
    4226        font-size: 1.1em; 
     
    5034        padding-right: 0.5em; 
    5135      } 
    52       #logoBox { 
    53         width: 435px; 
    54         margin: 0em; 
    55         padding: 0em; 
    56       } 
    5736      form { 
    58         margin: 0; 
     37        margin: 1em 0; 
    5938        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; 
    13739      } 
    13840    --> 
     
    14143 
    14244  <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"> 
    14451        <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"> 
    17057          </td> 
    17158        </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> 
    17370  </body> 
    17471</html> 
  • trunk/deployment/resources/login/logout.html

    r952 r1862  
    11<html> 
    22  <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> 
    415    <style type="text/css"> 
    516    <!-- 
    617      body { 
    718        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
    1122        color: black; 
    1223      } 
    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       } 
    2924      #title { 
    30         color: black; 
    3125        white-space: nowrap; 
    3226        font-size: 1.1em; 
     
    3529        text-align: left; 
    3630        margin-left: 0em; 
     31        white-space: nowrap; 
    3732      } 
    3833      #loginBox td { 
    3934        padding-right: 0.5em; 
    4035      } 
    41       #logoBox { 
    42         width: 435px; 
    43         margin: 0em; 
    44         padding: 0em; 
     36      form { 
     37        margin: 1em 0; 
     38        padding: 0; 
    4539      } 
    4640      .styleButtons { 
     
    5246        background-color: transparent; 
    5347      } 
    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 { 
    8051        color: #900; 
    8152        background-color: #ccc; 
     
    10172        border-right: 2px solid #888; 
    10273      } 
    103       a:link  { 
    104         color: #900; 
    105         background-color: transparent; 
    106         text-decoration: underline; 
    107       } 
     74      a:link, 
     75      a:active, 
    10876      a:visited  { 
    109         color: #900; 
    110         background-color: transparent; 
    111         text-decoration: underline; 
    112       } 
    113       a:active  { 
    11477        color: #900; 
    11578        background-color: transparent; 
     
    12588  </head> 
    12689 
    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> 
    147102  </body> 
    148103</html>