Ignore:
Timestamp:
20 Jan 2012, 09:26:25 (13 years ago)
Author:
Henrik Bettermann
Message:

Tweak pages for anonymous users with mobile browsers.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/browser
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/layout.py

    r7459 r7493  
    285285            return None
    286286
     287    def formatDate(self,dateobj):
     288        if isinstance(dateobj, date):
     289            return dateobj.strftime("%d/%m/%Y")
     290        else:
     291            return None
     292
    287293    def update(self):
    288294        """Include the resources required by the chosen skin/theme.
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/static/mobile.css

    r7465 r7493  
    44
    55body {
    6   padding-top: 70px;
     6  padding-top: 100px;
    77}
    88
    99select {
    10   width: 60px;
     10  width: 50px;
    1111}
    1212
    1313.dataTables_length {
    14     float: left;
    15     width: 40%;
     14  float: left;
     15  width: 50%;
    1616}
    1717
    1818.dataTables_filter {
    19     float: right;
    20     text-align: right;
    21     width: 60%;
     19  float: right;
     20  text-align: right;
     21  width: 50%;
    2222}
     23
     24.topbar h3 a, .topbar .brand  {
     25  margin-left: -25px;
     26  padding-bottom: 5px;
     27  padding-left: 20px;
     28  padding-right: 20px;
     29  padding-top: 2px;
     30}
     31
     32input, textarea,
     33textarea.span9 {
     34  width: 70%;
     35}
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt

    r7469 r7493  
    8383        </div>
    8484        <div class="footer">
    85           <p class="pull-right"><a href="#">Back to top</a></p>
    8685          <p>
    8786            Student Information and Registration Portal<br />
Note: See TracChangeset for help on using the changeset viewer.