From d1df94f2844751e76c35e42002716f3f2da9ba37 Mon Sep 17 00:00:00 2001 From: aum Date: Mon, 18 Apr 2005 18:02:07 +0000 Subject: [PATCH] added needed html template files --- apps/q/java/qresources/html/404.html | 10 ++ apps/q/java/qresources/html/about.html | 27 ++++ apps/q/java/qresources/html/addrefform.html | 40 +++++ apps/q/java/qresources/html/aiealert.html | 29 ++++ apps/q/java/qresources/html/anonalert.html | 52 +++++++ apps/q/java/qresources/html/downloads.html | 9 ++ apps/q/java/qresources/html/genkeysform.html | 28 ++++ .../q/java/qresources/html/genkeysresult.html | 32 ++++ apps/q/java/qresources/html/getform.html | 15 ++ apps/q/java/qresources/html/help.html | 11 ++ apps/q/java/qresources/html/jobs.html | 34 +++++ apps/q/java/qresources/html/main.html | 122 +++++++++++++++ apps/q/java/qresources/html/msiealert.html | 29 ++++ apps/q/java/qresources/html/puterror.html | 10 ++ apps/q/java/qresources/html/putform.html | 139 ++++++++++++++++++ apps/q/java/qresources/html/putok.html | 10 ++ apps/q/java/qresources/html/putsiteform.html | 101 +++++++++++++ apps/q/java/qresources/html/searchform.html | 76 ++++++++++ .../q/java/qresources/html/searchresults.html | 27 ++++ apps/q/java/qresources/html/settings.html | 9 ++ apps/q/java/qresources/html/status.html | 24 +++ apps/q/java/qresources/html/tools.html | 6 + .../qresources/html/widgets/itemtype.html | 0 23 files changed, 840 insertions(+) create mode 100644 apps/q/java/qresources/html/404.html create mode 100644 apps/q/java/qresources/html/about.html create mode 100644 apps/q/java/qresources/html/addrefform.html create mode 100644 apps/q/java/qresources/html/aiealert.html create mode 100644 apps/q/java/qresources/html/anonalert.html create mode 100644 apps/q/java/qresources/html/downloads.html create mode 100644 apps/q/java/qresources/html/genkeysform.html create mode 100644 apps/q/java/qresources/html/genkeysresult.html create mode 100644 apps/q/java/qresources/html/getform.html create mode 100644 apps/q/java/qresources/html/help.html create mode 100644 apps/q/java/qresources/html/jobs.html create mode 100644 apps/q/java/qresources/html/main.html create mode 100644 apps/q/java/qresources/html/msiealert.html create mode 100644 apps/q/java/qresources/html/puterror.html create mode 100644 apps/q/java/qresources/html/putform.html create mode 100644 apps/q/java/qresources/html/putok.html create mode 100644 apps/q/java/qresources/html/putsiteform.html create mode 100644 apps/q/java/qresources/html/searchform.html create mode 100644 apps/q/java/qresources/html/searchresults.html create mode 100644 apps/q/java/qresources/html/settings.html create mode 100644 apps/q/java/qresources/html/status.html create mode 100644 apps/q/java/qresources/html/tools.html create mode 100644 apps/q/java/qresources/html/widgets/itemtype.html diff --git a/apps/q/java/qresources/html/404.html b/apps/q/java/qresources/html/404.html new file mode 100644 index 000000000..c25e9661c --- /dev/null +++ b/apps/q/java/qresources/html/404.html @@ -0,0 +1,10 @@ + + + + + + + +
Item Not Found
Failed to retrieve item:
+ +
diff --git a/apps/q/java/qresources/html/about.html b/apps/q/java/qresources/html/about.html new file mode 100644 index 000000000..39e0b5523 --- /dev/null +++ b/apps/q/java/qresources/html/about.html @@ -0,0 +1,27 @@ + + + + + + + +
About Q
+

Version + +

+ + 0.0.1 + +

Designed and engineered by aum

+ +

Copyright © 2005 by aum. +
Released under the +
GNU Lesser General Public License

+ +

+ Many thanks to jrandom, smeghead and frosk
+ for their patient and knowledgeable support
+ in helping this python programmer
+ get partly proficient in java.

+
+ diff --git a/apps/q/java/qresources/html/addrefform.html b/apps/q/java/qresources/html/addrefform.html new file mode 100644 index 000000000..02a96a4ad --- /dev/null +++ b/apps/q/java/qresources/html/addrefform.html @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + +
Add Hub Noderef
+ + + + + + + + + + + + + +
+ In order for your node to join a Q network, it must have a ref to at + least one of the running Q Hubs. You need to get a Q Hub noderef and + paste it here. +
+ +
+ +
+
+ diff --git a/apps/q/java/qresources/html/aiealert.html b/apps/q/java/qresources/html/aiealert.html new file mode 100644 index 000000000..01ddecbd5 --- /dev/null +++ b/apps/q/java/qresources/html/aiealert.html @@ -0,0 +1,29 @@ + + + + + + + +
Critical Anonymity Alert!
+ + + + + + +
+

You are attempting to view a QSite via the Internet Explorer web browser. +

+

We have blocked the connection to protect your anonymity. +

+

As a matter of policy, Q does not support QSite browsing via Microsoft + Internet Explorer (MSIE), because of that browser's abysmal track record with + regard to security. If we did allow you to browse Q via MSIE, it would + be easy for a malicious QSite author to embed hostile content which + undermines your computer's security and compromises your anonymity. +

+

If you want to surf I2P QSites, you'll need to use a more secure web + browser such as Mozilla or Firefox. +

+
diff --git a/apps/q/java/qresources/html/anonalert.html b/apps/q/java/qresources/html/anonalert.html new file mode 100644 index 000000000..48a980d7f --- /dev/null +++ b/apps/q/java/qresources/html/anonalert.html @@ -0,0 +1,52 @@ + + + + + + + +
Critical Anonymity Alert!
+ + + + + + +
+

You are attempting to view a QSite via an unprotected link. +

+

We have blocked the connection to protect your anonymity. If we don't + do this, then a malicious QSite author can insert content into the QSite + which triggers oubound hits to arbitrary servers on the mainstream web, + which in turn can easily reveal a lot of personal information about you + and the QSite you are accessing. +

+

If you want to browse QSites with your web browser with greater safety, + you'll have to follow these simple steps: +

+
    +
  1. Edit your I2P hosts.txt file and add the following entry + (all on one line): +
    + (and make sure you do NOT reveal this entry to anyone else) +
  2. +
  3. Configure one of your web browsers to use the proxy server: +
    localhost:4444
    + (or whatever address you have configured your I2P EEProxy to listen on, + if you've changed it)

    +
  4. +
  5. Start up the browser you have just configured, and enter the web address: +
    http://q.i2p
    +
  6. +
+

Even if you do this, you still won't have a 100% guarantee of anonymity, since + a malicious QSite author can send code to your browser which exploits a vulnerability + in the browser to compromise your anonymity (eg, accessing third party cookies, executing + arbitrary code, accessing your local filesystem, uploading compromising information + about you to hostile I2P EEPsites etc). But you can relax (somewhat) in the knowledge + that such attacks are much more difficult, particularly if you use a decent web browser. +

+

Thank you for your co-operation. We wish you happy and safe browsing. +

+
+
diff --git a/apps/q/java/qresources/html/downloads.html b/apps/q/java/qresources/html/downloads.html new file mode 100644 index 000000000..f30ed5d1e --- /dev/null +++ b/apps/q/java/qresources/html/downloads.html @@ -0,0 +1,9 @@ + + + + + + + +
Q Downloads
Not implemented yet
+ diff --git a/apps/q/java/qresources/html/genkeysform.html b/apps/q/java/qresources/html/genkeysform.html new file mode 100644 index 000000000..3ffaa1f1f --- /dev/null +++ b/apps/q/java/qresources/html/genkeysform.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + +
Generate New Keypair
+ + + + +
+ Click the button to generate a new keypair for + future inserts of signed space keys. +
+
+
+ + +
+
+ diff --git a/apps/q/java/qresources/html/genkeysresult.html b/apps/q/java/qresources/html/genkeysresult.html new file mode 100644 index 000000000..c693d306f --- /dev/null +++ b/apps/q/java/qresources/html/genkeysresult.html @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + +
Your New Keys
+ + + + +
+ Please save these keys in a safe place, + preferably on an encrypted partition: +
+
Public Key: + +
Private Key:
+ diff --git a/apps/q/java/qresources/html/getform.html b/apps/q/java/qresources/html/getform.html new file mode 100644 index 000000000..313d7cdc6 --- /dev/null +++ b/apps/q/java/qresources/html/getform.html @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +
Retrieve Content
URI:
diff --git a/apps/q/java/qresources/html/help.html b/apps/q/java/qresources/html/help.html new file mode 100644 index 000000000..b50fbcc81 --- /dev/null +++ b/apps/q/java/qresources/html/help.html @@ -0,0 +1,11 @@ + + + + + + + +
Q Help
+ Not written yet +
+ diff --git a/apps/q/java/qresources/html/jobs.html b/apps/q/java/qresources/html/jobs.html new file mode 100644 index 000000000..08191f931 --- /dev/null +++ b/apps/q/java/qresources/html/jobs.html @@ -0,0 +1,34 @@ + + + + + + + + + + + +
Current Background Jobs
+ + + + + + + + + + + + + + + + + +
Secs From NowDescription
+ + + +
(No current jobs)
diff --git a/apps/q/java/qresources/html/main.html b/apps/q/java/qresources/html/main.html new file mode 100644 index 000000000..b0941de6a --- /dev/null +++ b/apps/q/java/qresources/html/main.html @@ -0,0 +1,122 @@ + + + +Q Web Interface + + + + + + + + + +
+ + + + + +
+ + + + + + + + + + + + +
"tabcell""tabcell_inactive"> + + + Status + + Settings +
+
+ Q Node +
+
+
+
+ +
+ +
+
+
+
+ + diff --git a/apps/q/java/qresources/html/msiealert.html b/apps/q/java/qresources/html/msiealert.html new file mode 100644 index 000000000..01ddecbd5 --- /dev/null +++ b/apps/q/java/qresources/html/msiealert.html @@ -0,0 +1,29 @@ + + + + + + + +
Critical Anonymity Alert!
+ + + + + + +
+

You are attempting to view a QSite via the Internet Explorer web browser. +

+

We have blocked the connection to protect your anonymity. +

+

As a matter of policy, Q does not support QSite browsing via Microsoft + Internet Explorer (MSIE), because of that browser's abysmal track record with + regard to security. If we did allow you to browse Q via MSIE, it would + be easy for a malicious QSite author to embed hostile content which + undermines your computer's security and compromises your anonymity. +

+

If you want to surf I2P QSites, you'll need to use a more secure web + browser such as Mozilla or Firefox. +

+
diff --git a/apps/q/java/qresources/html/puterror.html b/apps/q/java/qresources/html/puterror.html new file mode 100644 index 000000000..9b184d9d6 --- /dev/null +++ b/apps/q/java/qresources/html/puterror.html @@ -0,0 +1,10 @@ + + + + + + + +
Error Inserting QSiteItem
Your insert failed because:
+ +
diff --git a/apps/q/java/qresources/html/putform.html b/apps/q/java/qresources/html/putform.html new file mode 100644 index 000000000..7ceaa3c66 --- /dev/null +++ b/apps/q/java/qresources/html/putform.html @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Insert Content
Insert A QSite Instead

Type: + Text + HTML + Image + Audio + Video + Archive + Other +

Title: + +
+ (A short descriptive title for this item) +
+

Path: + +
+ (If you're inserting in plain-hash mode, this should be a suggested + filename for people to save the item as when downloading it; If you're + inserting in signed-space mode, this can be a longer pathname) +
+

Mimetype: + +
+ (Leave blank unless you know exactly what this means) +
+

Keywords: + +
+ (Comma-separated list of short descriptive keywords) +
+

Abstract: + +
+ (A short descriptive summary for the item, preferably no + longer than 256 characters) +
+

File: + +
+ (Leave this blank if you are entering the raw data in the text box below) +
+

Private Key: + +
+ (Only if inserting in signed space mode) +
+

+ +

Raw Data: +
+ (You may enter the raw data here as text instead of selecting a + file above) +
+ +
\ No newline at end of file diff --git a/apps/q/java/qresources/html/putok.html b/apps/q/java/qresources/html/putok.html new file mode 100644 index 000000000..0a4e8b97e --- /dev/null +++ b/apps/q/java/qresources/html/putok.html @@ -0,0 +1,10 @@ + + + + + + + +
QSiteItem Inserted Successfully
Item URI:
+ +
\ No newline at end of file diff --git a/apps/q/java/qresources/html/putsiteform.html b/apps/q/java/qresources/html/putsiteform.html new file mode 100644 index 000000000..20a0966f9 --- /dev/null +++ b/apps/q/java/qresources/html/putsiteform.html @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Insert A QSite
Insert A Single File Instead

Name: + +
+ (A short name for the QSite - should contain only alphanumerics, '-', and '_'; + should definitely not contain '/', ':', '\', ' ' etc) +
+

Private Key: + +
+ (Mandatory - if you don't have a signed-space keypair, get one by + clicking on Tools) +
+

Directory: + +
+ (Absolute directory path where the QSite's files reside) +
+

Title: + +
+ (A short descriptive title for this QSite) +
+

Keywords: + +
+ (Comma-separated list of short descriptive keywords) +
+

Abstract: + +
+ (A short descriptive summary for the QSite, preferably no + longer than 256 characters) +
+

+ +
diff --git a/apps/q/java/qresources/html/searchform.html b/apps/q/java/qresources/html/searchform.html new file mode 100644 index 000000000..a40d6a55a --- /dev/null +++ b/apps/q/java/qresources/html/searchform.html @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Search For Content
Type: + ANY + QSite + Text + HTML + Image +
+ Audio + Video + Archive + Other +
Title: checked>regexp
Path: checked>regexp
Mimetype: checked>regexp
Keywords: checked>regexp
Summary: checked>regexp
+ Search Mode: + + AND + OR +

+ +
\ No newline at end of file diff --git a/apps/q/java/qresources/html/searchresults.html b/apps/q/java/qresources/html/searchresults.html new file mode 100644 index 000000000..21ac24552 --- /dev/null +++ b/apps/q/java/qresources/html/searchresults.html @@ -0,0 +1,27 @@ +width="95%"> + + + + + + + + + +
Search Results
items found
+ + + + + + +
+
+ +
+
+
+
() bytes
+
+
+
diff --git a/apps/q/java/qresources/html/settings.html b/apps/q/java/qresources/html/settings.html new file mode 100644 index 000000000..c6686e90f --- /dev/null +++ b/apps/q/java/qresources/html/settings.html @@ -0,0 +1,9 @@ + + + + + + + +
Q Settings
Not implemented yet
+ diff --git a/apps/q/java/qresources/html/status.html b/apps/q/java/qresources/html/status.html new file mode 100644 index 000000000..f0fac2d6e --- /dev/null +++ b/apps/q/java/qresources/html/status.html @@ -0,0 +1,24 @@ + + + + + + + +
Q Node Status
+ + + + + + + + + + + + + + +
ItemValue
+
diff --git a/apps/q/java/qresources/html/tools.html b/apps/q/java/qresources/html/tools.html new file mode 100644 index 000000000..84aecb3fb --- /dev/null +++ b/apps/q/java/qresources/html/tools.html @@ -0,0 +1,6 @@ + + + + +
Q Tools
+ diff --git a/apps/q/java/qresources/html/widgets/itemtype.html b/apps/q/java/qresources/html/widgets/itemtype.html new file mode 100644 index 000000000..e69de29bb