Selected and modified portions of patch from drz3d:
- Overhaul front-end to use full html output and a default light theme - Enable GeoIP lookups for nodes to permit display of flags - Add country code lookups for nodes and display on tooltip - Mitigate logging output issues caused by html output - Set useMicroDescriptors to FALSE so additional node information can be presented in the UI, if enough memory available - Allow 2nd parameter in extra-info-digest when pulling full descriptors - Display platform, observed bandwidth and uptime on circuit node tooltips - Add hints and notes to config section, and include missing options - Change maxCircuitDirtiness to Tor default of 10 minutes The modifications to the Orchid source code are released under the same license as the parent application. -- dr|z3d - z3d@mail.i2p Thanks to George Hodan for the orchid image http://www.publicdomainpictures.net/view-image.php?image=35307 See LICENSE-FatCowIcons.txt & LICENSE-Fugue-Icons.txt in i2p/licenses/ for icon licences Conversion from new MaxMind format to v.1 GeoIP.dat format courtesy of: https://github.com/sherpya/geolite2legacy Usage: wget https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz ./geolite2legacy.py -i GeoLite2-Country-CSV.zip -f geoname2fips.csv -o GeoIP.dat For GeoIP licensing information, See the MaxMind license in the I2P application directory: i2p/licenses/LICENSE-GeoIP.txt
This commit is contained in:
48
resources/toggleConfig.js
Normal file
48
resources/toggleConfig.js
Normal file
@ -0,0 +1,48 @@
|
||||
var expandConfig = document.getElementById("expandConfig");
|
||||
var collapseConfig = document.getElementById("collapseConfig");
|
||||
var config = document.getElementById("configuration");
|
||||
|
||||
function hideConfig() {
|
||||
if (!collapseConfig)
|
||||
config.style.display = "none";
|
||||
}
|
||||
|
||||
function showConfig() {
|
||||
if (collapseConfig)
|
||||
config.style.display = "block";
|
||||
}
|
||||
|
||||
function clean() {
|
||||
if (expandConfig) {
|
||||
expandConfig.remove();
|
||||
}
|
||||
if (collapseConfig) {
|
||||
collapseConfig.remove();
|
||||
}
|
||||
}
|
||||
|
||||
function expand() {
|
||||
clean();
|
||||
var x = document.createElement("link");
|
||||
x.type="text/css";
|
||||
x.rel="stylesheet";
|
||||
x.href="/orchid/resources/expand.css";
|
||||
x.setAttribute("id", "expandConfig");
|
||||
document.head.appendChild(x);
|
||||
showConfig();
|
||||
}
|
||||
|
||||
function collapse() {
|
||||
clean();
|
||||
var c = document.createElement("link");
|
||||
c.type="text/css";
|
||||
c.rel="stylesheet";
|
||||
c.href="/orchid/resources/collapse.css";
|
||||
c.setAttribute("id", "collapseConfig");
|
||||
document.head.appendChild(c);
|
||||
hideConfig();
|
||||
}
|
||||
|
||||
function copyText() {
|
||||
document.execCommand("copy");
|
||||
}
|
Reference in New Issue
Block a user