diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 2394c58..17cf707 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -35,9 +35,11 @@ window.onload = function() { document.myCodeMirror = CodeMirror.fromTextArea( document.getElementById("text"), - { lineNumbers: true } + { lineNumbers: true, + extraKeys: {Tab: false, "Shift-Tab": false} + } ); - }; + }; PlantUMLServer @@ -56,24 +58,27 @@
<%-- CONTENT --%>
-

+

- +   +


You can enter here a previously generated URL:

-

- +

+
- +   +

<% if (hasImg) { %>
- View as SVG  - View as ASCII Art  + View as PNG  + View as SVG  + View as ASCII Art  <% if (hasMap) { %> View Map Data <% } %> @@ -86,7 +91,34 @@

<% } %>
+ <%-- FOOTER --%> <%@ include file="footer.jspf" %> - + \ No newline at end of file diff --git a/src/main/webapp/plantuml.css b/src/main/webapp/plantuml.css index c9c3646..9c9bc98 100644 --- a/src/main/webapp/plantuml.css +++ b/src/main/webapp/plantuml.css @@ -24,17 +24,29 @@ h1, p, #content a { /* Form inputs */ #content textarea, #content .CodeMirror, #content input[type=text] { - background-color: #ffc; + background-color: #ffffff; font-family: monospace; font-size: medium; width: 100%; resize: vertical; + border: 3px solid #ccc !important; } #content input[type=text] { border: 0; } +#content input[type="submit"] { + margin-top: 10px; + padding: 5px; + background: #fafafa; + border: 1px solid black; +} + +#content input[type="submit"]:hover { + background: #f0f0f0; +} + /* Diagram */ #content #diagram { text-align: center; @@ -53,4 +65,4 @@ h1, p, #content a { padding: 2px; text-align: center; width: 100%; -} +} \ No newline at end of file