Skip to content

Commit c97ba54

Browse files
committed
chore(jsp): © / TOU on footer, also mention source
- copyright and terms of use on util.unicode.org footer and help page - link to source repo Fixes: #1015
1 parent c40ca79 commit c97ba54

File tree

6 files changed

+52
-14
lines changed

6 files changed

+52
-14
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ Some of the documentation still refers to the previous Subversion repository.
1313
This GitHub repo reflects the svn repo up to r1566,
1414
plus a few snapshots up to r1830. (Don’t ask.)
1515

16+
### Online Web Tools
17+
18+
This repository includes the source for the tooling at <https://util.unicode.org> - see [`/UnicodeJsps`](./UnicodeJsps/README.md)
19+
1620
### Bug reports
1721

1822
For feedback on the Unicode Standard and bug reports against the Unicode Character Database,
@@ -23,7 +27,7 @@ The tools maintainers use GH issues for issues with the code in this repo.
2327

2428
### Copyright & Licenses
2529

26-
Copyright © 2001-2024 Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the United States and other countries.
30+
Copyright © 2001-2025 Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the United States and other countries.
2731

2832
A CLA is required to contribute to this project - please refer to the [CONTRIBUTING.md](https://github.com/unicode-org/.github/blob/main/.github/CONTRIBUTING.md) file (or start a Pull Request) for more information.
2933

UnicodeJsps/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# UnicodeJsps
2+
3+
This subdirectory includes the source for the tooling at <https://util.unicode.org>
4+
5+
## Building
6+
7+
See [/docs/unicodejsps](../docs/unicodejsps/index.md)
8+
9+
### Copyright & Licenses
10+
11+
Copyright © 2001-2025 Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the United States and other countries.
12+
13+
A CLA is required to contribute to this project - please refer to the [CONTRIBUTING.md](https://github.com/unicode-org/.github/blob/main/.github/CONTRIBUTING.md) file (or start a Pull Request) for more information.
14+
15+
The contents of this repository are governed by the Unicode [Terms of Use](https://www.unicode.org/copyright.html) and are released under [LICENSE](../LICENSE).
Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
<%@ page import="org.unicode.jsp.*" %>
2-
<hr>
3-
<p style="font-size:80%"><b><a name="fonts">Fonts and Display.</a></b> If you don't have a good set of Unicode fonts (and modern browser),
1+
<%@ page import="org.unicode.jsp.*,java.time.Year" %>
2+
<footer>
3+
<p><b><a name="fonts">Fonts and Display.</a></b> If you don't have a good set of Unicode fonts (and modern browser),
44
you may not be able to read some of the characters.
55
Some suggested fonts that you can add for coverage are:
66
<a href="https://www.google.com/get/noto/" target="_blank">Noto Fonts site</a>,
77
<a href="http://greekfonts.teilar.gr/" target="_blank">Unicode Fonts for Ancient Scripts</a>,
88
<a href="http://www.alanwood.net/unicode/fonts.html" target="_blank">Large, multi-script Unicode fonts</a>.
99
See also: <a href="http://www.unicode.org/help/display_problems.html" target="_blank">Unicode Display Problems</a>.</p>
10-
<p style="font-size:80%"><%= UnicodeJsp.getVersions() %></p>
11-
<hr>
10+
<p><%= UnicodeJsp.getVersions() %> &#x2022; <a href="https://github.com/unicode-org/unicodetools">source</a></p>
11+
<p>
12+
<!-- yes, UTF-8 issue here, so using &copy; -->
13+
&copy; 2001-<%= Year.now() %> Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in
14+
the U.S. and other countries. See <a href="https://www.unicode.org/copyright.html">Terms of Use</a>.
15+
</p>
16+
</footer>

UnicodeJsps/src/main/webapp/index.css

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ span.break { border-right: 1px solid red;}
2222
.q { color: blue;}
2323
.esc { color: gray;}
2424
.ltgreen {background-color: #EEFFEE}
25-
.mono {font-family:monospace}
26-
.i46 {background-color: #FFFFDD}
27-
h3 {background-color: #EEEEEE}
25+
.mono {font-family:monospace}
26+
.i46 {background-color: #FFFFDD}
27+
h3 {background-color: #EEEEEE}
2828
.L4 {background-color: #E8E8E8}
2929
.L3 {background-color: #DDDDDD}
3030
.L2 {background-color: #D8D8D8}
3131
.L1 {background-color: #CCCCCC}
32-
.L0 {background-color: #C8C8C8}
32+
.L0 {background-color: #C8C8C8}
3333
.default { background-color: #C8C8C8}
3434
.nonexistent { background-color: #FFC8C8}
3535
.control {
@@ -91,11 +91,19 @@ caption {font-size:150%; font-weight: bold; }
9191
.char {display:inline; border:1px solid #EEEEFF;}
9292
.redName {color:#C00}
9393
.charCell {text-align:center;white-space:nowrap;}
94-
.cx {
94+
.cx {
9595
display: inline-block;
9696
width: 3em;
9797
text-align: center;
9898
}
9999
.g-recaptcha {
100100
display: none;
101-
}
101+
}
102+
footer {
103+
width: 100%;
104+
margin-left: auto;
105+
margin-right: auto;
106+
text-align: center;
107+
border-top: 0.5em solid #eeeefe;
108+
font-size: smaller;
109+
}

docs/help/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@ following:
2121
Common to many of the utilities is the use of UnicodeSet. For more information,
2222
see [list-unicodeset - Manipulate sets of Unicode
2323
characters](list-unicodeset.md)
24+
25+
The Unicode Utilities are open source. See <https://github.com/unicode-org/unicodetools>
26+
27+
-----
28+
29+
© 2001-2025 Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. See [Terms of Use](https://www.unicode.org/copyright.html).

docs/unicodejsps/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ If you already have `UnicodeJsps` in eclipse, it might be better to remove it fr
2929
### Command Line
3030

3131
```shell
32-
mvn -DCLDR_DIR=/path/to/cldr -DUNICODETOOLS_REPO_DIR=/path/to/unicodetools org.eclipse.jetty:jetty-maven-plugin:run
32+
mvn -DCLDR_DIR=/path/to/cldr -DUNICODETOOLS_REPO_DIR=/path/to/unicodetools -DUNICODETOOLS_GEN_DIR=../Generated org.eclipse.jetty:jetty-maven-plugin:run
3333
```
3434

3535
If port 8080 is in use, another port can be specified with `-Djetty.port=⟨port number⟩`.
3636

37-
The following system properties described in [Building Unicode Tools](../build.md#java-system-properties-used-in-unicode-tools) must be set in order for the JSPs to function properly: `CLDR_DIR`, `UNICODETOOLS_REPO_DIR`; this can be done with `-DCLDR_DIR=⟨some path⟩ -DUNICODETOOLS_REPO_DIR=.`.
37+
The following system properties described in [Building Unicode Tools](../build.md#java-system-properties-used-in-unicode-tools) must be set in order for the JSPs to function properly: `CLDR_DIR`, `UNICODETOOLS_REPO_DIR`; this can be done with `-DCLDR_DIR=⟨some path⟩ -DUNICODETOOLS_REPO_DIR=. -DUNICODETOOLS_GEN_DIR=../Generated`.
3838

3939
You can now connect to <http://127.0.0.1:8080> as suggested from the command line.
4040
Use Control-C to stop the server.

0 commit comments

Comments
 (0)