Commit 3b4f50b4 authored by Christophe Dumez's avatar Christophe Dumez

2006-05-30 chris

* Added legend in diff page

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7541 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 98e9e390
......@@ -51,6 +51,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n
"DTD/xhtml1-strict.dtd">\n
<?xml-stylesheet href="erp5.css" rel="stylesheet" type="text/css"?>\n
<link rel="STYLESHEET" type="text/css" href="css/movableMenu.css">\n
\n
<tal:block metal:use-macro="here/view_master/macros/master">\n
<tal:block metal:fill-slot="main">\n
......@@ -59,12 +60,52 @@
<input type=\'hidden\' name=\'added\' tal:attributes="value python:context.REQUEST[\'added\']"/>\n
<input type=\'hidden\' name=\'modified\' tal:attributes="value python:context.REQUEST[\'modified\']"/>\n
<!-- End Hidden -->\n
<script src="js/movableMenu.js"></script>\n
<tal:js replace="structure \n
here/BusinessTemplate_doCreateJavaScriptDiff">JavaScript here</tal:js>\n
<tal:py replace="structure \n
here/BusinessTemplate_doSvnDiff">diff here</tal:py>\n
<center><button onclick="goBack()" value="Back" name="Back" type="button">Back</button>\n
<button onclick="doCommit(this.form)" value="commit" name="commit Changes" type="button">Commit Changes</button></center>\n
\n
<div id="captionWindow" class="window" style="right:20px;left:auto;top:180px;width:120px;background-color:#dae6e6;border-color:#ebf8f8 #c0caca #c0caca #c0caca;">\n
<div class="titleBar" style="background-color:#dae6e6;color:black;">\n
<span class="titleBarText">Legend -- SVN</span>\n
<img class="titleBarButtons" alt="" src="imgs/altbuttons.gif" longdesc="imgs/altbuttonslow.gif" usemap="#sampleMap3" />\n
<map id="sampleMap3" name="sampleMap3">\n
<area shape="rect" coords="0,0,15,13" href="" alt="" title="Minimize" onclick="this.parentWindow.minimize();return false;" />\n
<area shape="rect" coords="16,0,31,13" href="" alt="" title="Restore" onclick="this.parentWindow.restore();return false;" />\n
<area shape="rect" coords="34,0,49,13" href="" alt="" title="Close" onclick="this.parentWindow.close();return false;" />\n
</map>\n
</div>\n
<div class="clientArea" style="height:80px; background-color:#fffdfd;color:#806040;border-color:#c0caca #c0caca #c0caca #c0caca;scrollbar-base-color:#dae6e6;">\n
<b><font color="black"><center>Legend</center></font></b><hr/>\n
<center><table style="border: 1px solid gray;" width="80%" cellpadding="0" cellspacing="0">\n
<tbody>\n
<tr height="18">\n
<td style="text-align: center; background-color: rgb(253, 117, 74);">Removed</td>\n
<td>&nbsp;</td>\n
</tr>\n
<tr height="18">\n
<td colspan="2" style="text-align: center; background-color: rgb(253, 228, 6);">Changed</td>\n
</tr>\n
<tr height="18">\n
<td>&nbsp;</td>\n
<td style="text-align: center; background-color: rgb(83, 253, 74);">Added</td>\n
</tr>\n
</tbody>\n
</table></center>\n
</div>\n
</div>\n
\n
<script>\n
winInit();\n
if (winList[\'captionWindow\']){\n
winList[\'captionWindow\'].open();\n
}\n
</script>\n
\n
\n
</tal:block>\n
</tal:block>\n
......
......@@ -128,7 +128,7 @@ here/BusinessTemplate_doCreateJavaScriptStatus">javascript here</tal:js><br/>\n
</table>\n
<div id="captionWindow" class="window" style="right:20px;left:auto;top:140px;width:120px;background-color:#dae6e6;border-color:#ebf8f8 #c0caca #c0caca #c0caca;">\n
<div class="titleBar" style="background-color:#dae6e6;color:black;">\n
<span class="titleBarText">Caption -- SVN</span>\n
<span class="titleBarText">Legend -- SVN</span>\n
<img class="titleBarButtons" alt="" src="imgs/altbuttons.gif" longdesc="imgs/altbuttonslow.gif" usemap="#sampleMap3" />\n
<map id="sampleMap3" name="sampleMap3">\n
<area shape="rect" coords="0,0,15,13" href="" alt="" title="Minimize" onclick="this.parentWindow.minimize();return false;" />\n
......@@ -137,7 +137,7 @@ here/BusinessTemplate_doCreateJavaScriptStatus">javascript here</tal:js><br/>\n
</map>\n
</div>\n
<div class="clientArea" style="height:100px; background-color:#fffdfd;color:#806040;border-color:#c0caca #c0caca #c0caca #c0caca;scrollbar-base-color:#dae6e6;">\n
<b><font color="black"><center>Caption</center></font></b><hr/>\n
<b><font color="black"><center>Legend</center></font></b><hr/>\n
<p><font color="green">Added files</font><br/>\n
<font color="orange">Modified files</font><br/>\n
<font color="red">Removed files</font><br/>\n
......
2006-05-30 chris
* Added legend in diff page
2006-05-24 chris
* XHTML compliant
......
0.7.7
\ No newline at end of file
0.7.8
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment