[system] / trunk / webwork-modperl / conf / templates / ur.template Repository:
ViewVC logotype

View of /trunk/webwork-modperl/conf/templates/ur.template

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1904 - (download) (annotate)
Wed Mar 17 08:18:29 2004 UTC (9 years, 2 months ago) by sh002i
File size: 6053 byte(s)
fixed FormLayout style

    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.13 2004/03/10 02:26:26 sh002i 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; }
   47 td.TopPanel a:link,
   48 td.TopPanel a:visited { color: #FF9933; }
   49 
   50 div.LoginStatus { text-align: right; font-size: small; }
   51 div.Path {  }
   52 
   53 /* main content panel, contains body and info */
   54 td.ContentPanel { background-color: white; color: black; }
   55 td.ContentPanel a:link,
   56 td.ContentPanel a:visited { color: blue; }
   57 td.ContentPanel a:active { color: red; }
   58 
   59 div.Info { float: right; width: 50%; background-color: #DDDDDD; }
   60 div.Nav {  }
   61 div.Title { font-size: 16pt; }
   62 div.SubmitError { color: red; font-style: italic; }
   63 div.Body {  }
   64 div.Warnings {  }
   65 
   66 /*******************/
   67 /* general classes */
   68 /*******************/
   69 
   70 p.emphasis { font-style:italic; }
   71 
   72 /************************/
   73 /* new standard classes */
   74 /************************/
   75 
   76 /* tables used for laying out form fields shouldn't have a border */
   77 table.FormLayout { border: 0; }
   78 
   79 /* background colors for success and failure messages */
   80 /* currently only used by Assigner, but may be used elsewhere. */
   81 div.ResultsWithoutError { background-color: #66ff99 } /* light green */
   82 div.ResultsWithError    { background-color: #ffcccc } /* light red */
   83 
   84 /* minimal style for lists of links (generated by the links escape) */
   85 ul.LinksMenu { list-style: none; margin-left: 0; padding-left: 0; }
   86 ul.LinksMenu ul { list-style: none; margin-left: 0.5em; padding-left: 0; }
   87 
   88 /*************************/
   89 /* WeBWorK::HTML widgets */
   90 /*************************/
   91 
   92 /* WeBWorK::HTML::ScrollingRecordList */
   93 div.ScrollingRecordList { padding: 1em; white-space: nowrap; border: thin solid gray; }
   94 div.ScrollingRecordList select.ScrollingRecordList { width: 99%; }
   95 
   96 /*************************************************************************/
   97 /* classes used in Problem.pm (replace these with new standard classes?) */
   98 /*************************************************************************/
   99 
  100 table.attemptResults {
  101   border-style: outset;
  102   border-width: 1px;
  103   margin: 0px 10pt;
  104   border-spacing: 1px;
  105 }
  106 table.attemptResults td,
  107 table.attemptResults th {
  108   border-style: inset;
  109   border-width: 1px;
  110   text-align: center;
  111   width: 15ex;
  112   background-color: #DDDDDD;
  113 }
  114 div.problemHeader { float: left; }
  115 div.problem { clear: both; }
  116 .parsehilight { background-color:yellow; }
  117 
  118 </style>
  119 </head>
  120 <body>
  121 <table width="100%" cellpadding="10" cellspacing="0" border="0">
  122   <tr valign="top">
  123     <td align="left" rowspan="2" class="LeftPanel">
  124       <img src="/webwork2_files/images/webwork_square.gif" alt="WeBWorK" height="64" width="66" />
  125       <br />
  126       <hr />
  127       <div class="Logo">
  128         <a href="http://webwork3.math.rochester.edu/bugzilla/enter_bug.cgi?product=WeBWorK%20mod_perl" target="bugzillaPage">Report bugs</a>
  129       </div>
  130       <!--#if loggedin="1"-->
  131       <hr />
  132       <div class="Links">
  133         <!--#links-->
  134       </div>
  135       <!--#if can="links"-->
  136       <!--#if can="siblings"-->
  137       <hr />
  138       <!--#endif-->
  139       <!--#endif-->
  140       <div class="Siblings">
  141         <!--#siblings-->
  142       </div>
  143       <!--#if can="options"-->
  144       <div class="Options">
  145         <!--#options-->
  146       </div>
  147       <!--#endif-->
  148       <!--#endif-->
  149     </td>
  150     <td class="TopPanel">
  151       <!--#if loggedin="1"-->
  152       <!--#if can="loginstatus"-->
  153       <div class="LoginStatus">
  154         <!--#loginstatus-->
  155       </div>
  156       <!--#endif-->
  157       <!--#endif-->
  158       <!--#if can="path"-->
  159       <div class="Path">
  160         <!--#path style="text" image="/webwork2_files/images/right_arrow.png" text=" > "-->
  161       </div>
  162       <!--#endif-->
  163     </td>
  164   </tr>
  165   <tr valign="top">
  166     <!--#if warnings="1"-->
  167     <td class="ContentPanelError" bgcolor="#ffcccc">
  168     <!--#else-->
  169     <td class="ContentPanel" bgcolor="#ffffff">
  170     <!--#endif-->
  171       <!--#if can="info"-->
  172       <div class="Info">
  173         <!--#info-->
  174       </div>
  175       <!--#endif-->
  176       <!--#if can="nav"-->
  177       <div class="Nav">
  178         <!--#nav style="images" imageprefix="/webwork2_files/images/nav" imagesuffix=".gif" separator="  "-->
  179       </div>
  180       <!--#endif-->
  181       <!--#if can="title"-->
  182       <div class="Title">
  183         <!--#title-->
  184       </div>
  185       <!--#endif-->
  186       <!--#if submiterror="1"-->
  187       <div class="SubmitError">
  188         <!--#submiterror-->
  189       </div>
  190       <!--#endif-->
  191       <!--#if can="body"-->
  192       <div class="Body">
  193         <!--#body-->
  194       </div>
  195       <!--#endif-->
  196       <!--#if warnings="1"-->
  197       <hr>
  198       <div class="Warnings">
  199         <!--#warnings-->
  200       </div>
  201       <!--#endif-->
  202     </td>
  203   </tr>
  204 </table>
  205 </body>
  206 </html>

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9