Changeset 10612 for main


Ignore:
Timestamp:
10 Sep 2013, 16:27:26 (11 years ago)
Author:
uli
Message:

Use bootstrap 3.0 in all templates.

Location:
main/waeup.cas/trunk/waeup/cas
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.cas/trunk/waeup/cas/templates/login_service_confirm.html

    r10413 r10612  
    1 <html>
     1<!DOCTYPE html>
     2<html lang="en">
    23  <head>
    34    <title>WAeUP Central Authentication Service</title>
     5    PART_HEADER
    46  </head>
    57  <body>
    6     <p>CAS login successful</p>
    7     <p>Click <a href="SERVICE_URL">here</a>
    8       to access the service you requested</p>
     8    <div class="container">
     9      <h2 class="text-center">WAeUP Central Authentication Service</h2>
     10
     11      <div class="jumbotron">
     12        <h1>Logged in</h1>
     13        <p class="lead">To access the service you requested, please</p>
     14        <p class="text-center">
     15          <a href="SERVICE_URL" class="btn btn-lg btn-success">click here</a>
     16        </p>
     17      </div>
     18    </div>
     19    PART_FOOTER
    920  </body>
    1021</html>
  • main/waeup.cas/trunk/waeup/cas/templates/login_service_redirect.html

    r10395 r10612  
    1 <html>
     1<!DOCTYPE html>
     2<html lang="en">
    23  <head>
    34    <title>WAeUP Central Authentication Service</title>
     
    56      window.location.href="SERVICE_URL"
    67    </script>
     8    PART_HEADER
    79  </head>
    810  <body>
    911    <noscript>
    10       <p>CAS login successful</p>
    11       <p>Click <a href="SERVICE_URL">here</a>
    12         to access the service you requested</p>
     12      <h2 class="text-center">WAeUP Central Authentication Service</h2>
     13      <div class="container">
     14        <div class="jumbotron">
     15          <h1>Logged in</h1>
     16          <p class="lead">Authentication succeeded.</p>
     17          <p class="lead">Please
     18            <a href="SERVICE_URL" class="btn btn-lg btn-success">click here</a>
     19            to access the service you requested.</p>
     20        </div>
     21      </div>
    1322    </noscript>
     23    PART_FOOTER
    1424  </body>
    1525</html>
  • main/waeup.cas/trunk/waeup/cas/templates/login_successful.html

    r10398 r10612  
    1 <html>
     1<!DOCTYPE html>
     2<html lang="en">
    23  <head>
    34    <title>WAeUP Central Authentication Services</title>
     5    PART_HEADER
    46  </head>
    57  <body>
    6     <div>MSG_TEXT</div>
    7     <h1>Logged in</h1>
    8     <div>You successfully initiated single sign-on!</div>
     8    <div class="container">
     9      <h2 class="text-center">WAeUP Central Authentication Service</h2>
     10      <div class="jumbotron">
     11        <div id="msg">MSG_TEXT</div>
     12        <h1>Logged in</h1>
     13        <p>You successfully initiated single sign-on!</p>
     14      </div>
     15    </div>
     16    PART_FOOTER
    917  </body>
    1018</html>
  • main/waeup.cas/trunk/waeup/cas/templates/logout.html

    r10415 r10612  
    1 <html>
     1<!DOCTYPE html>
     2<html lang="en">
    23  <head>
    34    <title>WAeUP Central Authentication Service</title>
     5    PART_HEADER
    46  </head>
    57  <body>
    6     <p>You have been logged out.</p>
     8    <div class="container">
     9      <h2 class="text-center">WAeUP Central Authentication Service</h2>
     10      <div class="jumbotron">
     11        <div id="msg">MSG_TEXT</div>
     12        <h1>Logged out</h1>
     13        <p class="lead">You have been logged out.</p>
     14        <p class="lead">Thanks for using WAeUP services!</p>
     15      </div>
     16    </div>
     17    PART_FOOTER
    718  </body>
    819</html>
  • main/waeup.cas/trunk/waeup/cas/templates/logout_url.html

    r10415 r10612  
    1 <html>
     1<!DOCTYPE html>
     2<html lang="en">
    23  <head>
    34    <title>WAeUP Central Authentication Service</title>
     5    PART_HEADER
    46  </head>
    57  <body>
    6     <p>You have been logged out.</p>
    7     <p>The application you just logged out of has provided a link it
    8     would like you to follow. Please <a href="URL_HREF">click here</a>
    9     to access URL_HREF.
     8    <div class="container">
     9      <h2 class="text-center">WAeUP Central Authentication Service</h2>
     10      <div class="jumbotron">
     11        <h1>Logged out</h1>
     12        <p class="lead">You have been logged out.</p>
     13        <p class="lead">The application you just logged out of has
     14          provided a link it would like you to follow. Please
     15          <a href="URL_HREF" class="btn btn-lg btn-success">click here</a>
     16          to access URL_HREF.</p>
     17        <p>Thanks for using WAeUP services!</p>
     18      </div>
     19    </div>
     20    PART_FOOTER
    1021  </body>
    1122</html>
  • main/waeup.cas/trunk/waeup/cas/templates/style.css

    r10599 r10612  
    3939  border-top-right-radius: 0;
    4040}
     41.jumbotron {
     42  background-color: #fff;
     43}
  • main/waeup.cas/trunk/waeup/cas/tests/test_server.py

    r10606 r10612  
    224224        # without warn, we would get a redirect
    225225        assert resp.status == '200 OK'
    226         assert b'CAS login successful' in resp.body
     226        assert b'Logged in' in resp.body
    227227
    228228    def test_logout_no_cookie(self):
Note: See TracChangeset for help on using the changeset viewer.