source: apps/susidns/src/jsp/index.jsp @ 5b31540

Last change on this file since 5b31540 was 5b31540, checked in by zzz <zzz@…>, 4 years ago

Console: Version the css links

  • Property mode set to 100644
File size: 4.4 KB
Line 
1<%
2/*
3 * Created on Sep 02, 2005
4 *
5 *  This file is part of susidns project, see http://susi.i2p/
6 *
7 *  Copyright (C) 2005 <susi23@mail.i2p>
8 *
9 *  This program is free software; you can redistribute it and/or modify
10 *  it under the terms of the GNU General Public License as published by
11 *  the Free Software Foundation; either version 2 of the License, or
12 *  (at your option) any later version.
13 *
14 *  This program is distributed in the hope that it will be useful,
15 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 *  GNU General Public License for more details.
18 *
19 *  You should have received a copy of the GNU General Public License
20 *  along with this program; if not, write to the Free Software
21 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22 *
23 * $Revision: 1.2 $
24 */
25
26    // http://www.crazysquirrel.com/computing/general/form-encoding.jspx
27    if (request.getCharacterEncoding() == null)
28        request.setCharacterEncoding("UTF-8");
29
30    response.setHeader("X-Frame-Options", "SAMEORIGIN");
31    response.setHeader("Content-Security-Policy", "default-src 'self'; style-src 'self' 'unsafe-inline'");
32    response.setHeader("X-XSS-Protection", "1; mode=block");
33    response.setHeader("X-Content-Type-Options", "nosniff");
34
35%>
36<%@page pageEncoding="UTF-8"%>
37<%@ page contentType="text/html"%>
38<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
39<jsp:useBean id="version" class="i2p.susi.dns.VersionBean" scope="application" />
40<jsp:useBean id="base" class="i2p.susi.dns.BaseBean" scope="session" />
41<jsp:useBean id="intl" class="i2p.susi.dns.Messages" scope="application" />
42<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
43<html>
44<head>
45<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
46<title><%=intl._t("Introduction")%> - SusiDNS</title>
47<link rel="stylesheet" type="text/css" href="<%=base.getTheme()%>susidns.css?<%=net.i2p.CoreVersion.VERSION%>">
48</head>
49<body>
50<div class="page">
51<div id="logo">
52<img src="<%=base.getTheme()%>images/logo.png" alt="susidns logo" border="0">
53</div>
54<hr>
55<div id="navi">
56<p>
57<%=intl._t("Address books")%>:
58<a href="addressbook?book=private"><%=intl._t("private")%></a> |
59<a href="addressbook?book=master"><%=intl._t("master")%></a> |
60<a href="addressbook?book=router"><%=intl._t("router")%></a> |
61<a href="addressbook?book=published"><%=intl._t("published")%></a> *
62<a href="subscriptions"><%=intl._t("Subscriptions")%></a> *
63<a href="config"><%=intl._t("Configuration")%></a> *
64<%=intl._t("Overview")%>
65</p>
66</div>
67<hr>
68<div id="content">
69<h3><%=intl._t("What is the addressbook?")%></h3>
70<p>
71<%=intl._t("The addressbook application is part of your I2P installation.")%>
72<%=intl._t("It regularly updates your hosts.txt file from distributed sources or \"subscriptions\".")%>
73</p>
74<p>
75<%=intl._t("In the default configuration, the address book is only subscribed to {0}.", "i2p-projekt.i2p")%>
76<%=intl._t("Subscribing to additional sites is easy, just add them to your <a href=\"subscriptions\">subscriptions</a> file.")%>
77</p>
78<p>
79<%=intl._t("For more information on naming in I2P, see <a href=\"http://i2p-projekt.i2p/naming.html\" target=\"_top\">the overview</a>.")%>
80</p>
81<h3><%=intl._t("How does the addressbook application work?")%></h3>
82<p>
83<%=intl._t("The addressbook application regularly polls your subscriptions and merges their content into your \"router\" address book.")%>
84<%=intl._t("Then it merges your \"master\" address book into the router address book as well.")%>
85<%=intl._t("If configured, the router address book is now written to the \"published\" address book, which will be publicly available if you are running an eepsite.")%>
86</p><p>
87<%=intl._t("The router also uses a private address book (not shown in the picture), which is not merged or published.")%>
88<%=intl._t("Hosts in the private address book can be accessed by you but their addresses are never distributed to others.")%>
89<%=intl._t("The private address book can also be used for aliases of hosts in your other address books.")%>
90</p>
91<center><img src="/themes/susidns/images/how.svg" height="367" width="600" border="0" alt="address book working scheme" title="How the address book works" class="illustrate" /></center>
92</div>
93<div id="footer">
94<hr>
95<p class="footer">susidns v${version.version} &copy; <a href="${version.url}" target="_top">susi</a> 2005</p>
96</div>
97</div>
98</body>
99</html>
Note: See TracBrowser for help on using the repository browser.