[system] / trunk / webwork2 / conf / templates / ur.template Repository:
ViewVC logotype

View of /trunk/webwork2/conf/templates/ur.template

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2010 - (download) (annotate)
Thu May 6 18:41:25 2004 UTC (9 years ago) by toenail
File size: 6805 byte(s)
added height constraint to top panel so that it wouldn't extend down

    1 <!DOCTYPE html
    2   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    3   SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    4 
    5 <!--
    6 ################################################################################
    7 # WeBWorK Online Homework Delivery System
    8 # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/
    9 # $CVSHeader: webwork-modperl/conf/templates/ur.template,v 1.21 2004/05/02 19:55:15 jj Exp $
   10 #
   11 # This program is free software; you can redistribute it and/or modify it under
   12 # the terms of either: (a) the GNU General Public License as published by the
   13 # Free Software Foundation; either version 2, or (at your option) any later
   14 # version, or (b) the "Artistic License" which comes with this package.
   15 #
   16 # This program is distributed in the hope that it will be useful, but WITHOUT
   17 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
   18 # FOR A PARTICULAR PURPOSE.  See either the GNU General Public License or the
   19 # Artistic License for more details.
   20 ################################################################################
   21 -->
   22 
   23 <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
   24 <head>
   25 <title><!--#path style="text" text=" : " textonly="1"--></title>
   26 <!--#head-->
   27 <style type="text/css">
   28 
   29 /********************/
   30 /* template classes */
   31 /********************/
   32 
   33 body { margin: 0px; }
   34 
   35 /* left table cell, contains logo and menus */
   36 td.LeftPanel { background-color: #003366; color: white; white-space: nowrap; width: 1em; }
   37 td.LeftPanel a:link,
   38 td.LeftPanel a:visited { color: #FF9933; }
   39 
   40 div.Logo {  }
   41 div.Links { font-size: small; }
   42 div.Siblings { font-size: small; }
   43 div.Options { font-size: small; }
   44 
   45 /* top table cell, contains login message and path */
   46 td.TopPanel { background-color: #003366; color: white; height: 1;}
   47 td.TopPanel a:link,
   48 td.TopPanel a:visited { color: #FF9933; }
   49 
   50 div.LoginStatus { text-align: right; font-size: small; }
   51 td.Timestamp   { text-align: left;  font-size: small; font-style: italic; }
   52 
   53 div.Path {  }
   54 
   55 /* main content panel, contains body */
   56 td.ContentPanel { background-color: white; color: black; }
   57 td.ContentPanel a:link,
   58 td.ContentPanel a:visited { color: blue; }
   59 td.ContentPanel a:active { color: red; }
   60 
   61 /* contains info */
   62 td.InfoPanel { background-color: #DDDDDD; color: black; width: 30% }
   63 td.InfoPanel a:link,
   64 td.InfoPanel a:visited { color: blue; }
   65 td.InfoPanel a:active { color: red; }
   66 
   67 div.Info {  }
   68 div.Nav {  }
   69 div.Title { font-size: 16pt; }
   70 div.SubmitError { color: red; font-style: italic; }
   71 div.Body {  }
   72 div.Warnings {  }
   73 
   74 /*******************/
   75 /* general classes */
   76 /*******************/
   77 
   78 p.emphasis { font-style:italic; }
   79 
   80 /************************/
   81 /* new standard classes */
   82 /************************/
   83 
   84 /* tables used for laying out form fields shouldn't have a border */
   85 table.FormLayout { border: 0; }
   86 table.FormLayout tr { vertical-align: top; }
   87 table.FormLayout th.LeftHeader { text-align: right; white-space: nowrap; }
   88 table.FormLayout tr.ButtonRow { text-align: center; }
   89 
   90 /* background colors for success and failure messages */
   91 /* currently only used by Assigner, but may be used elsewhere. */
   92 div.ResultsWithoutError { background-color: #66ff99 } /* light green */
   93 div.ResultsWithError    { background-color: #ffcccc } /* light red */
   94 
   95 /* for problems which are rendered by themselves, e.g., by Set Maker */
   96 
   97 div.RenderSolo { background-color: #E0E0E0; color: black; }
   98 
   99 /* minimal style for lists of links (generated by the links escape) */
  100 ul.LinksMenu { list-style: none; margin-left: 0; padding-left: 0; }
  101 ul.LinksMenu ul { list-style: none; margin-left: 0.5em; padding-left: 0; }
  102 
  103 /*************************/
  104 /* WeBWorK::HTML widgets */
  105 /*************************/
  106 
  107 /* WeBWorK::HTML::ScrollingRecordList */
  108 div.ScrollingRecordList { padding: 1em; white-space: nowrap; border: thin solid gray; }
  109 div.ScrollingRecordList select.ScrollingRecordList { width: 99%; }
  110 
  111 /*************************************************************************/
  112 /* classes used in Problem.pm (replace these with new standard classes?) */
  113 /*************************************************************************/
  114 
  115 table.attemptResults {
  116   border-style: outset;
  117   border-width: 1px;
  118   margin: 0px 10pt;
  119   border-spacing: 1px;
  120 }
  121 table.attemptResults td,
  122 table.attemptResults th {
  123   border-style: inset;
  124   border-width: 1px;
  125   text-align: center;
  126   width: 15ex;
  127   background-color: #DDDDDD;
  128 }
  129 div.problemHeader { float: left; }
  130 div.problem { clear: both; }
  131 .parsehilight { background-color:yellow; }
  132 
  133 </style>
  134 </head>
  135 <body>
  136 <table width="100%" cellpadding="10" cellspacing="0" border="0">
  137   <tr valign="top">
  138     <td align="left" rowspan="2" class="LeftPanel">
  139       <img src="/webwork2_files/images/webwork_square.gif" alt="WeBWorK" height="64" width="66" />
  140       <br />
  141       <hr />
  142       <div class="Logo">
  143         <a href="http://webwork3.math.rochester.edu/bugzilla/enter_bug.cgi?product=WeBWorK%20mod_perl" target="bugzillaPage">Report bugs</a>
  144       </div>
  145       <!--#if loggedin="1"-->
  146       <hr />
  147       <div class="Links">
  148         <!--#links-->
  149       </div>
  150       <!--#if can="links"-->
  151       <!--#if can="siblings"-->
  152       <hr />
  153       <!--#endif-->
  154       <!--#endif-->
  155       <div class="Siblings">
  156         <!--#siblings-->
  157       </div>
  158       <!--#if can="options"-->
  159       <div class="Options">
  160         <!--#options-->
  161       </div>
  162       <!--#endif-->
  163       <!--#endif-->
  164     </td>
  165     <!--#if can="info"-->
  166     <td class="TopPanel" colspan="2">
  167     <!--#else-->
  168     <td class="TopPanel">
  169     <!--#endif-->
  170       <!--#if loggedin="1"-->
  171       <!--#if can="loginstatus"-->
  172       <div class="LoginStatus">
  173         <!--#loginstatus-->
  174       </div>
  175       <!--#endif-->
  176       <!--#endif-->
  177       <!--#if can="path"-->
  178       <div class="Path">
  179         <!--#path style="text" image="/webwork2_files/images/right_arrow.png" text=" > "-->
  180       </div>
  181       <!--#endif-->
  182     </td>
  183   </tr>
  184   <tr valign="top">
  185     <!--#if warnings="1"-->
  186     <td class="ContentPanelError" bgcolor="#ffcccc">
  187     <!--#else-->
  188     <td class="ContentPanel" bgcolor="#ffffff">
  189     <!--#endif-->
  190       <!--#if can="nav"-->
  191       <div class="Nav">
  192         <!--#nav style="images" imageprefix="/webwork2_files/images/nav" imagesuffix=".gif" separator="  "-->
  193       </div>
  194       <!--#endif-->
  195       <!--#if can="title"-->
  196       <div class="Title">
  197         <!--#title-->
  198       </div>
  199       <!--#endif-->
  200       <!--#if can="submiterror"-->
  201         <div class="SubmitError">
  202           <!--#submiterror-->
  203         </div>
  204       <!--#endif-->
  205       <!--#if can="body"-->
  206       <div class="Body">
  207         <!--#body-->
  208       </div>
  209       <!--#endif-->
  210       <!--#if warnings="1"-->
  211       <hr>
  212       <div class="Warnings">
  213         <!--#warnings-->
  214       </div>
  215       <!--#endif-->
  216     </td>
  217     <!--#if can="info"-->
  218     <td class="InfoPanel">
  219       <div class="Info">
  220         <!--#info-->
  221       </div>
  222     </td>
  223     <!--#endif-->
  224   </tr>
  225   <tr>
  226       <td class = "Timestamp", colspan=3>
  227           Updated: <!--#timestamp-->
  228       </td>
  229   </tr>
  230 </table>
  231 </body>
  232 </html>

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9