[FEATURE] First implementation of the configuration

This commit is contained in:
maximesinclair
2014-01-07 00:06:14 +01:00
parent f0493c581c
commit ae9558062f
4 changed files with 98 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
<%@ page info="index" contentType="text/html; charset=utf-8" pageEncoding="utf-8" session="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="cfg" value="${applicationScope['cfg']}" />
<c:set var="contextroot" value="${pageContext.request.contextPath}" />
<c:set var="hostpath" value="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${contextroot}" />
<c:if test="${pageContext.request.serverPort == 80 }">
@@ -32,6 +33,9 @@
<%-- PAGE TITLE --%>
<h1>PlantUML Server</h1>
<p>This application provides a servlet which serves images created by <a href="http://plantuml.sourceforge.net">PlantUML</a>.</p>
<c:if test="${cfg['SHOW_SOCIAL_BUTTONS'] == 'on' }">
<p>SOCIAL BUTTONS</p>
</c:if>
</div>
<div id="content">
<%-- CONTENT --%>