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