initial commit

This commit is contained in:
fscotto
2018-01-09 21:44:07 +01:00
parent e91295752d
commit a03e220838
195 changed files with 2814 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
<%--
Document : edit
Created on : 25-mag-2016, 21.15.50
Author : morgoth
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JakiWiki: Modifica di ${titolo}</title>
</head>
<body style="font-family: Verdana; font-size: 16px;">
<div id="title" style="font-family: Verdana; font-size: 32px; font-variant: small-caps;" >
JakiWiki: modifica '${titolo}'
</div>
<table style="width: 80%; height: 600px;">
<form action="salva-pagina.action" method="post">
<tr>
<td>
<textarea name="contenuto" cols="110" rows="15">
<c:out value="${contenuto}" />
</textarea>
</td>
</tr>
<tr>
<td style="height: 60px">
<input type="hidden" name="titolo" value="${titolo}" />
<input type="submit" style="font-family: Verdana; font-size: 16px" value="Salva" />
</td>
</tr>
<tr>
<td>
<hr>
<c:import url="fragments/pulsantiera.jsp" />
</td>
</tr>
</form>
</table>
</body>
</html>

View File

@@ -0,0 +1,29 @@
<%--
Document : pulsantiera
Created on : 22-mag-2016, 15.54.39
Author : morgoth
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<form method="post" action="pulsantiera.action" name="pulsantieraForm">
<input type="hidden" name="titolo" value="${titolo}" />
<input type="submit" name="principale" style="font-family: Verdana; font-size: 16px;" value="PRINCIPALE" />
<input type="submit" name="tutte" style="font-family: Verdana; font-size: 16px;" value="TUTTE" />
<input type="submit" name="recenti" style="font-family: Verdana; font-size: 16px;" value="RECENTI" />
<input type="submit" id="email" name="email" style="font-family: Verdana; font-size: 16px;" value="EMAIL" disabled="true" />
</form>
<br />
<div id="title" style="font-family: Verdana; font-size: 16px;" >
JakiWiki - a cool Java Wiki
</div>
</body>
</html>

View File

@@ -0,0 +1,35 @@
<%--
Document : list
Created on : 25-mag-2016, 21.57.11
Author : morgoth
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="/WEB-INF/jakiwiki.tld" prefix="jakiwiki" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JakiWiki: ${intestazione}</title>
</head>
<body style="font-family: Verdana; font-size: 16px;">
<div id="title" style="font-family: Verdana; font-size: 16px; font-variant: small-caps;">
JakiWiki: ${intestazione}
</div>
<table style="width: 80%; height: 600px;">
<tr>
<td>
<jakiwiki:lista_pagine pagine="${lista}"/>
</td>
</tr>
<tr>
<td>
<hr>
<c:import url="fragments/pulsantiera.jsp" />
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,45 @@
<%--
Document : main
Created on : 22-mag-2016, 15.37.31
Author : morgoth
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JakiWiki: ${titolo}</title>
</head>
<body onload="document.getElementById('email').disabled = false;"
style="font-family: Verdana; font-size: 16px;">
<div id="title" style="font-family: Verdana; font-size: 32px; font-variant: small-caps;" >
JakiWiki: ${titolo}
</div>
<table style="width: 80%; height: 600px;">
<tr>
<td>
<form name="modificaForm" action="edit.action" method="post">
<input type="hidden" name="titolo" value="${titolo}" />
<input type="submit" style="font-family: Verdana; font-size: 11px" value="Modifica" />
</form>
</td>
</tr>
<tr>
<td>
<c:out value="${contenuto}" default="" escapeXml="false" />
</td>
</tr>
<tr>
<td>
<hr>
<c:import url="fragments/pulsantiera.jsp" />
</td>
</tr>
</table>
</body>
</html>