Added news and pad page.
This commit is contained in:
parent
d807601ccf
commit
27c6c704c5
4 changed files with 145 additions and 0 deletions
|
@ -37,6 +37,10 @@
|
|||
<a href="https://minetest.libre-service.eu/" class="button-hero-square" role="button" style="margin-right: 10px;">Utiliser</a>
|
||||
<a href="/services/minetest.xhtml" class="button-hero-square" role="button">Découvrir</a>
|
||||
</p>
|
||||
<p><span style="display: inline-block; width: 80px;">Pad :</span>
|
||||
<a href="https://pad.libre-service.eu/" class="button-hero-square" role="button" style="margin-right: 10px;">Utiliser</a>
|
||||
<a href="/services/pad.xhtml" class="button-hero-square" role="button">Découvrir</a>
|
||||
</p>
|
||||
<p><span style="display: inline-block; width: 80px;">Paste :</span>
|
||||
<a href="https://paste.libre-service.eu/" class="button-hero-square" role="button" style="margin-right: 10px;">Utiliser</a>
|
||||
<a href="/services/paste.xhtml" class="button-hero-square" role="button">Découvrir</a>
|
||||
|
@ -58,6 +62,14 @@
|
|||
</p>
|
||||
|
||||
<h3>Actualités</h3>
|
||||
<p>02 avril 2022 : visio mensuelle avec l'équipe de Libre-service.eu à 11h00 sur <a href="https://visio.libre-service.eu/contact">notre salon dédié</a>  <span class="fa fa-users" style="font-size: large;"></span>
|
||||
</p>
|
||||
<p>26 mars 2022 : Libre-service.eu ouvre un nouveau service de <a href="/services/pad.xhtml">traitement de texte collaboratif</a> basé sur Etherpad <span class="fa fa-gnu" style="font-size: x-large;"></span>
|
||||
</p>
|
||||
<p>05 mars 2022 : visio mensuelle avec l'équipe de Libre-service.eu à 11h00 sur <a href="https://visio.libre-service.eu/contact">notre salon dédié</a>  <span class="fa fa-users" style="font-size: large;"></span>
|
||||
</p>
|
||||
<p>05 février 2022 : visio mensuelle avec l'équipe de Libre-service.eu à 11h00 sur <a href="https://visio.libre-service.eu/contact">notre salon dédié</a>  <span class="fa fa-users" style="font-size: large;"></span>
|
||||
</p>
|
||||
<p>1<sup>er</sup> janvier 2022 : Libre-service.eu vous adresse ses meilleurs vœux 2022 pour un monde libre, éthique et loyal <span class="fa fa-gnu" style="font-size: x-large;"></span>
|
||||
</p>
|
||||
<p>24 décembre 2021 : Libre-service.eu vous souhaite de bonnes fêtes de fin d'année dans un monde libre, éthique et loyal <span style="font-size: x-large;">☃ 🎉</span>
|
||||
|
|
87
src/website/services/PadPage.java
Normal file
87
src/website/services/PadPage.java
Normal file
|
@ -0,0 +1,87 @@
|
|||
/*
|
||||
* Copyright (C) 2021-2022 Christian Pierre MOMON <christian@momon.org>
|
||||
*
|
||||
* This file is part of LibreServiceEUWeb, the website www.libre-service.eu.
|
||||
*
|
||||
* LibreServiceEUWeb is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* LibreServiceEUWeb is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with LibreServiceEUWeb. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package website.services;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.http.HttpServlet;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import fr.devinsy.xidyn.data.TagDataManager;
|
||||
import fr.devinsy.xidyn.presenters.PresenterUtils;
|
||||
import website.charter.ErrorView;
|
||||
import website.charter.WebCharterView;
|
||||
|
||||
/**
|
||||
* The Class PadPage.
|
||||
*/
|
||||
public class PadPage extends HttpServlet
|
||||
{
|
||||
private static final long serialVersionUID = -8225743451426546008L;
|
||||
private static Logger logger = LoggerFactory.getLogger(PadPage.class);
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
|
||||
*/
|
||||
@Override
|
||||
public void doGet(final HttpServletRequest request, final HttpServletResponse response) throws IOException, ServletException
|
||||
{
|
||||
logger.debug("Htmlize pad page.");
|
||||
try
|
||||
{
|
||||
// Get parameters.
|
||||
// ===============
|
||||
|
||||
// Use parameters.
|
||||
// ===============
|
||||
|
||||
// Send response.
|
||||
// ==============
|
||||
TagDataManager data = new TagDataManager();
|
||||
|
||||
String page = PresenterUtils.dynamize("/website/services/pad.xhtml", data).toString();
|
||||
|
||||
String html = WebCharterView.build(page);
|
||||
|
||||
// Display page.
|
||||
response.setContentType("application/xhtml+xml; charset=UTF-8");
|
||||
response.getWriter().println(html);
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
ErrorView.show(request, response, "Error", exception.getMessage(), null);
|
||||
}
|
||||
|
||||
logger.debug("doGet done.");
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
|
||||
*/
|
||||
@Override
|
||||
public void doPost(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException
|
||||
{
|
||||
doGet(request, response);
|
||||
}
|
||||
}
|
BIN
src/website/services/etherpad_demo.gif
Normal file
BIN
src/website/services/etherpad_demo.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 874 KiB |
46
src/website/services/pad.xhtml
Normal file
46
src/website/services/pad.xhtml
Normal file
|
@ -0,0 +1,46 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>LibreServiceEuWeb</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="keywords" content="LibreServiceEuWeb,devinsy,federation" />
|
||||
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
|
||||
<link rel="stylesheet" type="text/css" href="LibreServiceEuWeb.css" />
|
||||
<script src="sorttable.js" />
|
||||
<script src="Chart.bundle.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Le service <a href="https://pad.libre-service.eu/">Pad.libre-service.eu</a></h1>
|
||||
|
||||
<h2>Description</h2>
|
||||
<div class="clearfix">
|
||||
<p>Pad.libre-service.eu est un service d'édition collaborative de texte basé sur le logiciel libre <a href="https://etherpad.org/">Etherpad</a>.</p>
|
||||
<div style="float: right; margin-left: 10px;">
|
||||
<img src="/services/etherpad_demo.gif" alt="Démonstration du service" style="width: 700px;" />
|
||||
</div>
|
||||
<p>Quelques caractéristiques :</p>
|
||||
<ul>
|
||||
<li>s'utilise dans le navigateur web</li>
|
||||
<li>vous pouvez écrire à plusieurs en même temps</li>
|
||||
<li>accès à un pad existant par son adresse ou son nom</li>
|
||||
<li>interface en français</li>
|
||||
<li>titres, table des matières, puces et justifications</li>
|
||||
<li>vérification orthographique</li>
|
||||
<li>zone de clavardage dans la page</li>
|
||||
<li>liberté de choisir le nom des pads</li>
|
||||
<li>affichage de l'auteur au survol</li>
|
||||
<li>consultation de l'historique</li>
|
||||
<li>exports dans plusieurs formats (.pdf, .odt, .txt…)</li>
|
||||
<li>conservation des pads pendant 1 an après la dernière modification</li>
|
||||
</ul>
|
||||
|
||||
<p class="center" style="padding: 10px 0 20px 0px;"><a href="https://pad.libre-service.eu/" class="button-hero" role="button">Utiliser</a></p>
|
||||
|
||||
<h2>Les sources</h2>
|
||||
<p>Les codes sources du service pad.libre-service.eu sont disponibles sur <a href="https://forge.devinsy.fr/explore/repos?q=pad.libre-service.eu">notre forge</a>.</p>
|
||||
|
||||
<p>Vous pouvez également consulter <a href="https://forge.devinsy.fr/libre-service.eu/documentation/src/branch/master/services/pad.libre-service.eu.md">notre documentation technique du service</a>.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue