Author: kcardineaud Date: 2011-06-30 10:45:44 +0200 (Thu, 30 Jun 2011) New Revision: 148 Url: http://nuiton.org/repositories/revision/scmwebeditor/148 Log: Modify some style properties Removed: trunk/src/main/webapp/codemirror-ui/lib/CodeMirror-2.0/ Modified: trunk/src/main/webapp/ModificationViewer.jsp trunk/src/main/webapp/css/main.css Modified: trunk/src/main/webapp/ModificationViewer.jsp =================================================================== --- trunk/src/main/webapp/ModificationViewer.jsp 2011-06-29 16:06:17 UTC (rev 147) +++ trunk/src/main/webapp/ModificationViewer.jsp 2011-06-30 08:45:44 UTC (rev 148) @@ -10,9 +10,7 @@ <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"> + <!-- Code mirror --> <!-- First the CodeMirror stuff --> @@ -37,6 +35,12 @@ <script src="codemirror-ui/js/codemirror-ui.js" type="text/javascript"></script> <link rel="stylesheet" href="codemirror-ui/css/codemirror-ui.css" type="text/css" media="screen" /> + + + <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="geresession(<%=request.getAttribute("InvalidateMaxTime")%>, 5);"> @@ -69,7 +73,7 @@ %> <p>File in editor : <a href="<%=request.getAttribute("address")%>" ><%=request.getAttribute("address")%></a> </p> - <textarea id="newTextId" rows="20" cols="80" name="newText"><%=valueTextarea%></textarea> + <textarea id="newTextId" rows="50" cols="80" name="newText"><%=valueTextarea%></textarea> <label>Language : <select id="language" name="langageSelection" onchange="changeModeBy(this)"> @@ -190,7 +194,7 @@ <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> - <div id="formulaire"> + <div id="form"> <div id="htmlcontentCommit"></div> Modified: trunk/src/main/webapp/css/main.css =================================================================== --- trunk/src/main/webapp/css/main.css 2011-06-29 16:06:17 UTC (rev 147) +++ trunk/src/main/webapp/css/main.css 2011-06-30 08:45:44 UTC (rev 148) @@ -7,15 +7,18 @@ } - -#formulaire { - width:70%; +#form { + width:70%; margin:auto; display:block; padding:1%; text-align:center; } +.CodeMirror-scroll { + height:500px; +} + #prevtitle { margin-left:13%; } @@ -29,7 +32,7 @@ } #search { - margin:auto; + margin:auto; display:block; - border : solid 2px black; + border : solid 2px black; }