Source

geholimportapp / templates / main.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link type="text/css" rel="stylesheet" href="/stylesheets/blueprint/screen.css"  media="screen, projection"/>
    <link type="text/css" rel="stylesheet" href="/stylesheets/blueprint/plugins/buttons/screen.css" media="screen, projection"/>
    <link rel="stylesheet" href="/stylesheets/blueprint/print.css" type="text/css" media="print"/>
    <!--[if  IE ]>
    <link rel="stylesheet" href="/stylesheets/blueprint/ie.css" type="text/css" media="screen, projection"/>
    <![endif]-->

    
    <!-- Google Analytics-->
    <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-20363215-1']);
    _gaq.push(['_trackPageview']);

    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
    </script>

    <title>{%block title%}{% endblock %}</title>
</head>
<body>
    <div class="container">
        <!--Site logo & stuff-->
        <div class="span-24 last">
            <div id="banner">
                <strong><a href="/"> Gehol Importer </a></strong>
            </div>
            <hr/>
        </div>

        <!-- dynamic content -->

        <div class="span-15 colborder">
            <br/><br/>
 
            {% block content %}{% endblock %}
        </div>


        <!-- sidebar -->
        <div class="span-8 last">
            <h3>News</h3>

            <div class="box">
                <ul>
                    <!-- 15/07/2012-->
                    <li>
                        September 2012 exam sessions are online.
                   </li>
                    <!-- 29/12/2011-->
                    <!--li>
                        Second term schedules for 2011-2012 are online.
                    </li>
                    <li>
                        January 2012 exam sessions are online.
                    </li-->

                    <!--21/09/2011 -->
                    <!--li>
                        It's back to school week, and staff members can also
                        <a href="/questions#geholurl_staff">get their schedules</a> in
                        a human-readable format.
                        That's right, <a href="/media/everyone_gets_a_geholimporter.png">everyone gets a Gehol Importer</a>, it's a darn party.
                    </li>
                    <!--19/09/2011 >
                    <li>
                        It's back to school day! Schedules for the first 2011-2012 term are online.
                    </li>
                    <!--18/06/2011 >
                    <li>
                        Now with <a href="/questions#qrcodes">QR Codes!</a>
                    </li -->
                </ul>
            </div>

            <!-- About -->
            <h3>About</h3>
            <div class="box">
                <p>
                    <a href="http://164.15.72.157/gehol_20112012/horaire_cours.php">GeHoL</a> is the scheduling system used at
                    <a href="http://www.ulb.ac.be">Brussels University.</a> It
                    is based on
                    the <a href="http://www.scientia.com/ca/products/planning/">Scientia&reg; Course Planner</a>
                    platform. We think its interface is abysmal. We think no one should be forced to use what can best be described
                    as a slightly-below-average amateur project made in the mid-nineties.
                </p>
                <p>
                    <a href="/">Gehol Importer</a> is a tool to convert GeHoL queries into something <a href="/questions#usability_matters">usable</a> by calendar applications such as
                    <a href="http://www.google.com/calendar">Google Calendar</a>,
                    <a href="http://www.apple.com/macosx/what-is-macosx/mail-ical-address-book.html">Apple iCal</a>,
                    <a href="http://www.mozilla.org/projects/calendar/sunbird/">Mozilla Sunbird</a>,
                    <a href="http://office.microsoft.com/en-us/outlook/">Microsoft Outlook</a>, the way it should have been from the start.
                </p>
                <p>
                  We consider this service useful enough as-is. Minor
                  modifications might come in the future, but don't
                  hold your breath for any paradigm shift. 
                  For more information, consult <a href="/questions">this page</a>.
                </p>
                <p>
                    The authors of this application are not affiliated with either the original GeHoL service
                    or Scientia&reg;. Questions, comments and suggestions should be sent to the following address : <a href="mailto:geholimportapp@gmail.com?subject=Something about Gehol Importer">geholimportapp@gmail.com</a>
                </p>
            </div>

            <!--status-->
            <h3>GeHoL Status</h3>
            <div class="box">
                {% if gehol_is_down %}
                    <span style="vertical-align:top;">
                    <img src="/stylesheets/blueprint/plugins/buttons/icons/cross.png" alt="oh noes"/>
                    GeHoL server is offline.
                    </span>
                    <br/>
                    Relax and try again later. There is nothing we can do right now.
                    <br/>
                {% else %}
                    <span style="vertical-align:top;">
                        <img src="/stylesheets/blueprint/plugins/buttons/icons/tick.png" alt=""/>
                        GeHoL server is online
                    </span>
                    <br/>
                    Everything shiny, cap'n!
                {% endif %}

                <br/><br/>
                <div class="quiet" style="text-align:right; font-style:italic;font-size:smaller;">
                    Checking every 30 minutes. <br/>
                    Last updated : {{ last_status_update }}
                </div>
            </div>
        </div>

        <!--footer-->
        <div class="span-24 last">
            <div style="text-align: center;">
                <br/>
                <hr/>
                <p>
                    Painless layout made possible through the
                    <a href="http://www.blueprintcss.org/">Blueprint CSS framework</a>
                    <br/>
                    Powered by <a href="http://code.google.com/appengine/">Google App Engine</a>
                    <br/>
                    {{ version }}
                </p>
            </div>
        </div>
    </div>
</body>
</html>