Little enhancements of the look of the main page.
The build date is included in the footer.
This commit is contained in:
4
content/footer.jspf
Normal file
4
content/footer.jspf
Normal file
@@ -0,0 +1,4 @@
|
||||
<div id="footer">
|
||||
<p>PlantUML Server @timestamp@
|
||||
</p>
|
||||
</div>
|
||||
@@ -34,7 +34,7 @@ if (decodedAttribute != null) {
|
||||
<body>
|
||||
<div id="header">
|
||||
<%-- PAGE TITLE --%>
|
||||
<h1>PlantUMLServer</h1>
|
||||
<h1>PlantUML Server</h1>
|
||||
<p>This application provides a servlet which serves images created by <a href="http://plantuml.sourceforge.net">PlantUML</a>.</p>
|
||||
</div>
|
||||
<div id="content">
|
||||
@@ -60,8 +60,9 @@ if (decodedAttribute != null) {
|
||||
<p>You can use the following URL:
|
||||
<br/>
|
||||
<a href="<%=imgurl %>"><code><img src="<%=imgurl %>" /></code></a>
|
||||
<br/><br/>
|
||||
<img id="diagram" src="<%=imgurl %>" alt="PlantUML diagram"/>
|
||||
</p>
|
||||
<p id="diagram">
|
||||
<img src="<%=imgurl %>" alt="PlantUML diagram"/>
|
||||
</p>
|
||||
<% } //endif %>
|
||||
</div>
|
||||
@@ -70,7 +71,7 @@ if (decodedAttribute != null) {
|
||||
Bob -> Alice : hello
|
||||
@enduml
|
||||
-->
|
||||
<%-- FOOTER
|
||||
<%@ include file="util/footer.jspf" %> --%>
|
||||
<%-- FOOTER --%>
|
||||
<%@ include file="footer.jspf" %>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
/* Font */
|
||||
* {
|
||||
font-family: sans-serif;
|
||||
font-family: arial,helvetica,sans-serif;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
@@ -30,11 +30,26 @@
|
||||
|
||||
/* XHTML tag */
|
||||
#content code {
|
||||
font-family: monospace;
|
||||
font-family: 'courier new',courier,monospace;
|
||||
letter-spacing: -1pt;
|
||||
}
|
||||
|
||||
/* Diagram */
|
||||
#content img#diagram {
|
||||
#content #diagram {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#content #diagram img {
|
||||
border: medium solid green;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
#footer p {
|
||||
background-color: #eee;
|
||||
color: #666;
|
||||
font-size: 0.7em;
|
||||
padding: 2px;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user