Author: glorieux Date: 2009-12-22 16:43:27 +0100 (Tue, 22 Dec 2009) New Revision: 67 Modified: trunk/src/main/webapp/BadFileRedirect.jsp trunk/src/main/webapp/BadUseRedirect.jsp trunk/src/main/webapp/Error.jsp trunk/src/main/webapp/ModificationViewer.jsp trunk/src/main/webapp/OutConnection.jsp trunk/src/main/webapp/PrivateSvnRedirect.jsp trunk/src/main/webapp/Redirect.jsp Log: Cleaning interface. Modified: trunk/src/main/webapp/BadFileRedirect.jsp =================================================================== --- trunk/src/main/webapp/BadFileRedirect.jsp 2009-12-22 15:12:01 UTC (rev 66) +++ trunk/src/main/webapp/BadFileRedirect.jsp 2009-12-22 15:43:27 UTC (rev 67) @@ -14,7 +14,7 @@ <%=request.getAttribute("scmEditorUrl")%>"> </head> <body> -<img src="img/ScmWebEditor_main.png" alt="$alt" /> +<a target="_blank" href="http://maven-site.nuiton.org/scmwebeditor/"><img src="img/ScmWebEditor_main.png" alt="$alt" /></a> <p>Bad SCM path or file name! Please correct it.</p> <p>You should be transferred automatically to the form page. If not please <a href="<%=request.getAttribute("scmEditorUrl")%>">click Modified: trunk/src/main/webapp/BadUseRedirect.jsp =================================================================== --- trunk/src/main/webapp/BadUseRedirect.jsp 2009-12-22 15:12:01 UTC (rev 66) +++ trunk/src/main/webapp/BadUseRedirect.jsp 2009-12-22 15:43:27 UTC (rev 67) @@ -14,7 +14,7 @@ <%=request.getAttribute("scmEditorUrl")%>"> </head> <body> -<img src="img/ScmWebEditor_main.png" alt="$alt" /> +<a target="_blank" href="http://maven-site.nuiton.org/scmwebeditor/"><img src="img/ScmWebEditor_main.png" alt="$alt" /></a> <p>Bad Use of ScmWebEditor! Please try again.</p> <p>You should be transferred automatically to the previous page. If not please <a href="<%=request.getAttribute("scmEditorUrl")%>">click Modified: trunk/src/main/webapp/Error.jsp =================================================================== --- trunk/src/main/webapp/Error.jsp 2009-12-22 15:12:01 UTC (rev 66) +++ trunk/src/main/webapp/Error.jsp 2009-12-22 15:43:27 UTC (rev 67) @@ -15,7 +15,7 @@ <%--%=request.getAttribute("scmEditorUrl")%>?adresse=<%=request.getAttribute("Svnpath_url")%>&file_name=<%=request.getAttribute("Filename_url")%>&project_url=<%=request.getAttribute("Redirection_url")%>&lang=<%=request.getAttribute("Lang")%>&format=<%=request.getAttribute("Format")%>"--%> </head> <body> -<img src="img/ScmWebEditor_main.png" alt="$alt" /> +<a target="_blank" href="http://maven-site.nuiton.org/scmwebeditor/"><img src="img/ScmWebEditor_main.png" alt="$alt" /></a> <p>Bad Login or Password. Please Wait.</p> <p>©2004-2009 CodeLutin</p> </body> Modified: trunk/src/main/webapp/ModificationViewer.jsp =================================================================== --- trunk/src/main/webapp/ModificationViewer.jsp 2009-12-22 15:12:01 UTC (rev 66) +++ trunk/src/main/webapp/ModificationViewer.jsp 2009-12-22 15:43:27 UTC (rev 67) @@ -1,36 +1,35 @@ -<%-- Document : ModificationViewer Created on : 10 sept. 2009, 13:43:11 -Author : glorieux --%> <%@page contentType="text/html charset=UTF-8"%> +<%-- Document : ModificationViewer Created on : 10 sept. 2009, 13:43:11 Author : glorieux --%> +<%@page contentType="text/html charset=UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> - -<title>SCMWebEditor</title> -<link rel="icon" href="img/ScmWebEditor_little.png" type="image/png"> -<link rel="stylesheet" type="text/css" href="css/main.css"> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <title>SCMWebEditor</title> + <link rel="icon" href="img/ScmWebEditor_little.png" type="image/png"> + <link rel="stylesheet" type="text/css" href="css/main.css"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body onload="cleanForm();geresession(<%=request.getAttribute("InvalidateMaxTime")%>, 5);"> - <img src="img/ScmWebEditor_main.png" alt="$alt" /> - <center><h2><p>Welcome on SCMWebEditor</p></h2> + <a title="ScmWebEditor Project Website" target="_blank" href="http://maven-site.nuiton.org/scmwebeditor/"><img src="img/ScmWebEditor_main.png" alt="$alt"/></a> + <center><h2>Welcome on SCMWebEditor</h2> <%if (request.getAttribute("format").equals("rst") == true){ - %><h4><p>For any Problem with RestruturedText visit <a href="http://docutils.sourceforge.net/rst.html">RST documentation website</a>.</p></h4></center><%}%> + %><h4>For any Problem with RestruturedText visit <a href="http://docutils.sourceforge.net/rst.html">RST documentation website</a>.</h4></center><%}%> <center><form method="post" action=<%=request.getAttribute("scmEditorUri")%>> - <script src="GereFormSize.js"></script> + <script src="GereFormSize.js" type="text/javascript"></script> <textarea name="Mytext" id="Mytext" rows="20" cols="150"><%=request.getAttribute("OrigText")%></textarea> - <script src="Preview.js"></script> - <script src="Saver.js"></script> - <script src="GereSession.js"></script> - <script src="cancelRedirectDelete.js"></script> - <script src="pictureUpload.js"></script> - <noscript><h4><p>Javascript is not activated. You can't only use Save and Quit or Reset button.</p></h4></noscript> - <noscript><h4><p> For a better use of SCMWebEditor please activate JavaScript.</p></h4></noscript> - <p>Commit Message: <input type="text" name="Commit_message"/></p> + <script src="Preview.js" type="text/javascript"></script> + <script src="Saver.js" type="text/javascript"></script> + <script src="GereSession.js" type="text/javascript"></script> + <script src="cancelRedirectDelete.js" type="text/javascript"></script> + <script src="pictureUpload.js" type="text/javascript"></script> + <noscript><h4>Javascript is not activated. You can't only use Save and Quit or Reset button.</h4></noscript> + <noscript><h4>For a better use of SCMWebEditor please activate JavaScript.</h4></noscript> + <p>Commit Message: <input type="text" name="Commit_message" title="Let a commit message with this file."/></p> <%if (request.getAttribute("IsLogin").equals(false) == true){ - %><p><label ACCESSKEY=U>User name: <input TYPE=text NAME=username SIZE=12 /></label> - <label ACCESSKEY=P>Password: <input TYPE=password NAME=pw SIZE=12 /></label> </p><% + %><p><label ACCESSKEY=U>User name: <input TYPE=text NAME=username SIZE=12 title="Commit Username."/></label> + <label ACCESSKEY=P>Password: <input TYPE=password NAME=pw SIZE=12 title="Commit Password."/></label> </p><% } else { %><p>You are log as: <%=request.getAttribute("Login")%></p> <input type="hidden" NAME=username /> @@ -39,13 +38,13 @@ <input type="hidden" name="Orig_text" value=<%=request.getAttribute("OrigText")%>/> <input type="hidden" name="scmEditorUrl" value="<%=request.getAttribute("scmEditorUrl")%>"/> <input type="hidden" name="previewServletUrl" value="<%=request.getAttribute("previewServletUrl")%>"/> - <input type="button" value="Save and Continue Editing" name="SaveandC" onclick="javascript:saver(this.form.Mytext, this.form.username, this.form.pw, this.form.Commit_message, this.form.Orig_text, this.form.scmEditorUrl);"/> - <input type="submit" value="Save and Quit" name="Save"/> + <input title="Save your work and continue editing this file." type="button" value="Save and Continue Editing" name="SaveandC" onclick="javascript:saver(this.form.Mytext, this.form.username, this.form.pw, this.form.Commit_message, this.form.Orig_text, this.form.scmEditorUrl);"/> + <input title="Save this file and go back to previous page." type="submit" value="Save and Quit" name="Save"/> <%if (request.getAttribute("format").equals("rst") == true){ - %><input type="button" value="Preview" name="Preview" onclick="javascript:preview(this.form.Mytext, this.form.previewServletUrl);"/><%}%> - <input type="reset" value="Reset" name="Reset" /> + %><input title="html preview of the curretn rst file state." type="button" value="Preview" name="Preview" onclick="javascript:preview(this.form.Mytext, this.form.previewServletUrl);"/><%}%> + <input title="Reset text as current repository HEAD revision." type="reset" value="Reset" name="Reset" alt="Test plop plop plop"/> <input type="hidden" value="<%=request.getAttribute("Project_url")%>" name="Project_url"> - <input type="button" value="Exit" name="Cancel" onclick="javascript:cancelRedirectDelete(this.form.Orig_text, this.form.username, this.form.pw, this.form.Commit_message, this.form.Project_url, this.form.scmEditorUrl);"/> + <input title="Exit ScmWebEditor without saving." type="button" value="Exit" name="Cancel" onclick="javascript:cancelRedirectDelete(this.form.Orig_text, this.form.username, this.form.pw, this.form.Commit_message, this.form.Project_url, this.form.scmEditorUrl);"/> </form></center> <p align="right">©2004-2009 CodeLutin</p> </body> Modified: trunk/src/main/webapp/OutConnection.jsp =================================================================== --- trunk/src/main/webapp/OutConnection.jsp 2009-12-22 15:12:01 UTC (rev 66) +++ trunk/src/main/webapp/OutConnection.jsp 2009-12-22 15:43:27 UTC (rev 67) @@ -1,5 +1,5 @@ -<%-- Document : OutConnection Created on : 6 oct. 2009, 12:07:27 Author -: glorieux --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> +<%-- Document : OutConnection Created on : 6 oct. 2009, 12:07:27 Author: glorieux --%> +<%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> @@ -11,16 +11,13 @@ <title>SCM Web Editor</title> </head> <body> - <img align="top"></img> -<script src="fileSearch.js"></script> -<img src="img/ScmWebEditor_main.png" alt="$alt" /> +<script src="fileSearch.js" type="text/javascript"></script> +<a target="_blank" href="http://maven-site.nuiton.org/scmwebeditor/"><img src="img/ScmWebEditor_main.png" alt="$alt" /></a> <center> -<h2> -<p>Welcome on SCMWebEditor</p> -</h2> -<noscript><h4><p>Javascript is not activated. Please activate it for a fully use of ScmWebEditor.</p></h4></noscript> +<h2>Welcome on SCMWebEditor</h2> +<noscript><h4>Javascript is not activated. Please activate it for a fully use of ScmWebEditor.</h4></noscript> <h4> -<p>Please complete this form for application using.</p> +Please complete this form for application using. </h4> </center> <center> Modified: trunk/src/main/webapp/PrivateSvnRedirect.jsp =================================================================== --- trunk/src/main/webapp/PrivateSvnRedirect.jsp 2009-12-22 15:12:01 UTC (rev 66) +++ trunk/src/main/webapp/PrivateSvnRedirect.jsp 2009-12-22 15:43:27 UTC (rev 67) @@ -12,7 +12,7 @@ <link rel="stylesheet" type="text/css" href="css/main.css"> </head> <body> -<img src="img/ScmWebEditor_main.png" alt="$alt" /> +<a target="_blank" href="http://maven-site.nuiton.org/scmwebeditor/"><img src="img/ScmWebEditor_main.png" alt="$alt" /></a> <form method="post" action=<%=request.getAttribute("privateServletUri")%>> <script src="cancelRedirect.js"></script> <p>You try to access a Private SCM. Please login</p> Modified: trunk/src/main/webapp/Redirect.jsp =================================================================== --- trunk/src/main/webapp/Redirect.jsp 2009-12-22 15:12:01 UTC (rev 66) +++ trunk/src/main/webapp/Redirect.jsp 2009-12-22 15:43:27 UTC (rev 67) @@ -13,7 +13,7 @@ <%=request.getAttribute("Redirection_url")%>"> </head> <body> -<img src="img/ScmWebEditor_main.png" alt="$alt" /> +<a target="_blank" href="http://maven-site.nuiton.org/scmwebeditor/"><img src="img/ScmWebEditor_main.png" alt="$alt" /></a> <p>Thank you using RSTEditor</p> <p>You should be transferred automatically to the new page. If not please <a href="<%=request.getAttribute("Redirection_url")%>">click