From: Gavin L. v. a. <we...@ma...> - 2005-02-15 21:35:50
|
Log Message: ----------- new template file: gw.template for gateway tests Tags: ---- rel-2-1-a1 Modified Files: -------------- webwork2/conf/templates: ur.template Added Files: ----------- webwork2/conf/templates: gw.template Revision Data ------------- Index: ur.template =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /webwork/cvs/system/webwork2/conf/templates/ur.template,v retrieving revision 1.29.2.2 retrieving revision 1.29.2.3 diff -Lconf/templates/ur.template -Lconf/templates/ur.template -u -r1.29.= 2.2 -r1.29.2.3 --- conf/templates/ur.template +++ conf/templates/ur.template @@ -60,7 +60,7 @@ td.ContentPanel a:active { color: red; } =20 /* contains info */ -td.InfoPanel { background-color: #DDDDDD; color: black; width: 30% } +td.InfoPanel { background-color: #DDDDDD; color: black; width: 15% } td.InfoPanel a:link, td.InfoPanel a:visited { color: blue; } td.InfoPanel a:active { color: red; } --- /dev/null +++ conf/templates/gw.template @@ -0,0 +1,301 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<!-- +########################################################################= ######## +# WeBWorK Online Homework Delivery System +# Copyright =A9 2000-2003 The WeBWorK Project, http://openwebwork.sf.net= / +# $CVSHeader: webwork2/conf/templates/gw.template,v 1.1.2.1 2005/02/15 2= 1:18:58 glarose Exp $ +#=20 +# This program is free software; you can redistribute it and/or modify i= t under +# the terms of either: (a) the GNU General Public License as published b= y the +# Free Software Foundation; either version 2, or (at your option) any la= ter +# version, or (b) the "Artistic License" which comes with this package. +#=20 +# This program is distributed in the hope that it will be useful, but WI= THOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or = FITNESS +# FOR A PARTICULAR PURPOSE. See either the GNU General Public License o= r the +# Artistic License for more details. +########################################################################= ######## +--> + +<html xmlns=3D"http://www.w3.org/1999/xhtml" lang=3D"en-US"> +<head> +<title><!--#path style=3D"text" text=3D" : " textonly=3D"1"--></title> +<!--#head--> +<style type=3D"text/css"> + +/********************/ +/* template classes */ +/********************/ + +body { margin: 0px; } + +/* left table cell, contains logo and menus */ +td.LeftPanel { background-color: #003366; color: white; white-space: now= rap; width: 1em; } +td.LeftPanel a:link, +td.LeftPanel a:visited { color: #FF9933; } + +div.Logo { } +div.Links { font-size: small; } +div.Siblings { font-size: small; } +div.Options { font-size: small; } + +/* top table cell, contains login message and path */ +td.TopPanel { background-color: #003366; color: white; height: 1; } +td.TopPanel a:link, +td.TopPanel a:visited { color: #FF9933; } + + +*.LoginStatus { text-align: right; font-size: small; position:absolute; = right: 0; } +td.Timestamp { text-align: left; font-size: small; font-style: italic= ; } + +*.Path { } + +/* main content panel, contains body */ +td.ContentPanel { background-color: white; color: black; } +td.ContentPanel a:link, +td.ContentPanel a:visited { color: blue; } +td.ContentPanel a:active { color: red; } + +/* contains info */ +td.InfoPanel { background-color: #DDDDDD; color: black; width: 15% } +td.InfoPanel a:link, +td.InfoPanel a:visited { color: blue; } +td.InfoPanel a:active { color: red; } + +div.Info { } +div.Nav { } +div.Title { font-size: 16pt; } +div.SubmitError { color: red; font-style: italic; } +div.Message { font-style: italic; } +div.Body { } +div.Warnings { } + +/* background colors for success and failure messages */ +div.ResultsWithoutError { background-color: #66ff99 } /* light green */ +div.ResultsWithError { background-color: #ffcccc } /* light red */ + +/* text colors for published and unpublished sets */ +font.Published { font-style: normal; font-weight: bold; color: #0000= 00; } /* black */ +font.Unpublished { font-style: italic; font-weight: normal; color: #aaaa= aa; } /* light grey */ + +/* text colors for Auditing, Current, and Dropped students */ +div.Audit { font-style: normal; color: black; } +div.Enrolled { font-weight: bold; color: black; } +div.Drop { font-style: italic; color: grey; } + +/*******************/ +/* general classes */ +/*******************/ + +p.emphasis { font-style:italic; } + +/************************/ +/* new standard classes */ +/************************/ + +/* tables used for laying out form fields shouldn't have a border */ +table.FormLayout { border: 0; } +table.FormLayout tr { vertical-align: top; } +table.FormLayout th.LeftHeader { text-align: right; white-space: nowrap;= } +table.FormLayout tr.ButtonRow { text-align: left; } +table.FormLayout tr.ButtonRowCenter { text-align: center; } + +/* for problems which are rendered by themselves, e.g., by Set Maker */ +div.RenderSolo { background-color: #E0E0E0; color: black; } + +/* minimal style for lists of links (generated by the links escape) */ +ul.LinksMenu { list-style: none; margin-left: 0; padding-left: 0; } +ul.LinksMenu ul { list-style: none; margin-left: 0.5em; padding-left: 0;= } + +/*************************/ +/* WeBWorK::HTML widgets */ +/*************************/ + +/* WeBWorK::HTML::ScrollingRecordList */ +div.ScrollingRecordList { padding: 1em; white-space: nowrap; border: thi= n solid gray; } +div.ScrollingRecordList select.ScrollingRecordList { width: 99%; } + +/***********************************************************************= **/ +/* classes used in Problem.pm (replace these with new standard classes?)= */ +/***********************************************************************= **/ + +table.attemptResults { + border-style: outset;=20 + border-width: 1px;=20 + margin: 0px 10pt;=20 + border-spacing: 1px; +} +table.attemptResults td, +table.attemptResults th { + border-style: inset;=20 + border-width: 1px;=20 + text-align: center;=20 + width: 15ex; + background-color: #DDDDDD; +} +div.problemHeader { float: left; } +div.problem { clear: both; background-color: #E0E0E0; color: black; } +.parsehilight { background-color:yellow; } + +</style> + +<style type=3D"text/css"> +/******************/ +/* gateway styles */ +/******************/ + +div.gwMessage { background-color:#dddddd; color: black; } +div.gwTiming { background-color:#ddddff; color: black; } +div.gwWarning { background-color:#ffffdd; color: black; } + +span.resultsWithError { background-color: #ffcccc; color: black; } +span.resultsWithoutError { background-color: #66ff99; color: black; } +div.gwCorrect { background-color: #66ff99; color: black; } +div.gwIncorrect { background-color: #ff9999; color: black; } + +div.gwProblem { + clear: both;=20 + background-color: #E0E0E0;=20 + color: black; + padding: 3px; + border: solid black 1px; +} +div.gwSoln { +/* background-color: #e0e0ff; */ + background-color: transparent; + color: black; +/* padding: 2px; */ +/* border: dashed black 1px; */ +} +div.gwSoln b { color: navy; } + +p.gwPreview {=20 + font-size: smaller; + text-align: right;=20 + margin-top: 0px; + margin-bottom: 0px; +} + +table.gwAttemptResults { + border-width: 0px; +} +table.gwAttemptResults td.label {=20 + font-weight: bold;=20 + background-color: transparent; + color: navy; +} +table.gwAttemptResults td.output { + padding: 2px; + border: solid black 1px; + background-color: #eeeeee; +} + +</style> +<script language=3D"javascript" type=3D"text/javascript"> +function jumpTo(ref) { + if ( ref ) { + if ( navigator.appName =3D=3D "Netscape" &&=20 + parseFloat(navigator.appVersion) < 5 ) { + var xpos =3D document.anchors[ref].x; + var ypos =3D document.anchors[ref].y; + } else { + var xpos =3D document.anchors[ref].offsetLeft; + var ypos =3D document.anchors[ref].offsetTop; + } + if ( window.scrollTo =3D=3D null ) { // cover for anyone + window.scroll(xpos,ypos); // lacking js1.2 + } else { + window.scrollTo(xpos,ypos); + } + } + return false; // prevent link from being followed +} +</script> +</head> +<body> +<table width=3D"100%" cellpadding=3D"10" cellspacing=3D"0" border=3D"0"> + <tr valign=3D"top"> +<!-- removed left sidebar --> + <!--#if can=3D"info"--> + <td class=3D"TopPanel" colspan=3D"2"> + <!--#else--> + <td class=3D"TopPanel" > + <!--#endif--> + <div style=3D"position:relative; width:100%;"> + <!--#if can=3D"path"--> + <span class=3D"Path"> + <!--#path style=3D"text" image=3D"/webwork2_files/images/right_arro= w.png" text=3D" > "--> + </span> + <!--#endif--> + =09 + <!--#if loggedin=3D"1"--> + <!--#if can=3D"loginstatus"--> + =09 + <span class=3D"LoginStatus"> =09 + =09 + <!--#loginstatus--> + </span> + <!--#endif--> + <!--#endif--> + </div> + </td> + </tr> + <tr valign=3D"top"> + <!--#if warnings=3D"1"--> + <td class=3D"ContentPanelError" bgcolor=3D"#ffcccc"> + <!--#else--> + <td class=3D"ContentPanel" bgcolor=3D"#ffffff"> + <!--#endif-->=09 +<!-- removed nav button to go up --> + <!--#if can=3D"title"--> + <div class=3D"Title"> + <!--#title--> + </div> + <!--#endif--> + <!--#if can=3D"message"--> + <div class=3D"Message"> + <!--#message--> + </div> + <!--#endif--> + + <!--#if can=3D"submiterror"--> + <div class=3D"SubmitError"> + <!--#submiterror--> + </div> + <!--#endif--> + <!--#if can=3D"body"--> + <div class=3D"Body"> + <!--#body--> + </div> + <!--#endif--> + <!--#if warnings=3D"1"--> + <hr> + <div class=3D"Warnings"> + <!--#warnings--> + </div> + <!--#endif--> + <!--#if can=3D"message"--> + <div class=3D"Message"> + <!--#message--> + </div> + <!--#endif--> + </td> + <!--#if can=3D"info"--> + <td class=3D"InfoPanel"> + <div class=3D"Info"> + <!--#info--> + </div> + </td> + <!--#endif--> + </tr> + <tr> + <td class =3D "Timestamp", colspan=3D3> + Updated: <!--#timestamp--> + </td> + </tr> +</table> +</body> +</html> |