Ignore:
Timestamp:
Sep 18, 2012, 1:00:51 PM (10 years ago)
Author:
Nicklas Nordborg
Message:

References #1727: Move to HTML5

  • Added alt attribute to all <img> tags
  • Fixed unescaped '&' in URLs in the menu
  • Fixed login page and the welcome page
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/my_base/index.jsp

    r5970 r6135  
    173173<base:head styles="login.css">
    174174
    175 <script language="JavaScript">
     175<script>
    176176
    177177  function viewMessage(messageId)
     
    201201
    202202    <div class="absolutefull" style="height: 50%;">
    203       <div class="absolutefull" style="height: 1.75em; overflow: hidden;"">
    204         <h3 style="height: 100%;"><base:icon image="project.png" />Projects (<%=projects.size()%>)</h3>
    205       </div>
    206       <div id="projects" class="absolutefull welcomesection" style="top: 1.75em; bottom: 0.5em;">
     203      <div class="absolutefull" style="height: 1.75em; overflow: hidden;">
     204        <h3 style="height: 100%;"><base:icon image="project.png" style="margin-right: 3px;" />Projects (<%=projects.size()%>)</h3>
     205      </div>
     206      <div id="projectsSection" class="absolutefull welcomesection" style="top: 1.75em; bottom: 0.5em;">
    207207      <%
    208208      if (projects.size() == 0)
     
    216216        int activeProjectId = sc.getActiveProjectId();
    217217        %>
    218         <table border="0" cellspacing="0" cellpadding="2">
     218        <table style="border-spacing: 2px;">
    219219        <%
    220220        if (activeProjectId == 0)
     
    260260    <div class="absolutefull" style="height: 50%; top: auto;">
    261261      <div class="absolutefull" style="height: 1.75em; top: 0.5em; overflow: hidden;">
    262         <h3 style="height: 100%;"><base:icon image="message.png" />New messages (<%=messages.size()%>)</h3>
    263       </div>
    264       <div id="messages" class="absolutefull news welcomesection" style="top: 2.25em;">
     262        <h3 style="height: 100%;"><base:icon image="message.png" style="margin-right: 3px;" />New messages (<%=messages.size()%>)</h3>
     263      </div>
     264      <div id="messagesSection" class="absolutefull news welcomesection" style="top: 2.25em;">
    265265      <%
    266266      String broadcastTitle = (String)application.getAttribute("broadcast.title");
     
    313313    %>
    314314    <div class="absolutefull" style="left: 1em; right: 0.5em; top: auto; height: 14em; bottom: 1em; ">
    315       <div class="absolutefull" style="height: 1.75em; overflow: hidden;"">
    316       <h3 style="height: 100%;"><base:icon image="help.png" />Help</h3>
    317       </div>
    318       <div id="help" class="absolutefull welcomesection" style="top: 1.75em;">
     315      <div class="absolutefull" style="height: 1.75em; overflow: hidden;">
     316      <h3 style="height: 100%;"><base:icon image="help.png" style="margin-right: 3px;" />Help</h3>
     317      </div>
     318      <div id="helpSection" class="absolutefull welcomesection" style="top: 1.75em;">
    319319      <%
    320320      if (help != null)
     
    351351 
    352352    <div class="absolutefull" style="left: 0.5em; right: 1em; bottom: 16em;">
    353       <div class="absolutefull" style="height: 1.75em; overflow: hidden;"">
    354       <h3 style="height: 100%;"><base:icon image="news.png" />News and announcements (<%=news.size()%>)
     353      <div class="absolutefull" style="height: 1.75em; overflow: hidden;">
     354      <h3 style="height: 100%;"><base:icon image="news.png" style="margin-right: 3px;"/>News and announcements (<%=news.size()%>)
    355355        <%
    356356        if (RssNewsFeed.isEnabled())
     
    360360            onclick="location.href='../info/news.rss'"
    361361            tooltip="Subscribe to news from this BASE server"
    362             style="float: right; margin-top: 0.15em;"
     362            style="float: right; xmargin-top: 0.15em;"
    363363          />
    364364          <%
     
    367367      </h3>
    368368      </div>
    369       <div id="news" class="absolutefull news welcomesection" style="top: 1.75em;">
     369      <div id="newsSection" class="absolutefull news welcomesection" style="top: 1.75em;">
    370370        <%
    371371        if (news.size() == 0)
     
    395395 
    396396    <div class="absolutefull" style="left: 0.5em; right: 1em; top: auto; height: 14em; bottom: 1em;">
    397       <div class="absolutefull" style="height: 1.75em; overflow: hidden;"">
    398       <h3 style="height: 100%;"><base:icon image="diskusage.png" />Disk usage</h3>
    399       </div>
    400       <div id="quota" class="absolutefull welcomesection" style="top: 1.75em;">
     397      <div class="absolutefull" style="height: 1.75em; overflow: hidden;">
     398      <h3 style="height: 100%;"><base:icon image="diskusage.png" style="margin-right: 3px;"/>Disk usage</h3>
     399      </div>
     400      <div id="quotaSection" class="absolutefull welcomesection" style="top: 1.75em;">
    401401      <%
    402402      if (quotaGroup != null)
Note: See TracChangeset for help on using the changeset viewer.