diff --git a/README.md b/README.md index ac15a97f..d02bac2f 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,6 @@ **The [GitHub repository](https://github.com/beardog108/onionr/) is a mirror, do not submit PRs or issues there.** -# About Onionr ("Onion Relay") is a decentralized/distributed peer-to-peer communication network, designed to be anonymous and resistant to (meta)data analysis, spam, and corruption. diff --git a/src/onionrcommands/daemonlaunch/__init__.py b/src/onionrcommands/daemonlaunch/__init__.py index 0c3e9902..c5358973 100755 --- a/src/onionrcommands/daemonlaunch/__init__.py +++ b/src/onionrcommands/daemonlaunch/__init__.py @@ -215,7 +215,8 @@ def start(override: bool = False): logger.fatal('Cannot start. Daemon is already running,' + ' or it did not exit cleanly.\n' + ' (if you are sure that there is not a daemon running,' - + ' delete onionr.lock & try again).', terminal=True) + + f' delete {filepaths.lock_file} & try again).', + terminal=True) else: if not onionrvalues.DEVELOPMENT_MODE: lock_file = open(filepaths.lock_file, 'w') diff --git a/static-data/www/mail/closesettings.js b/static-data/www/mail/closesettings.js new file mode 100644 index 00000000..2bef13cd --- /dev/null +++ b/static-data/www/mail/closesettings.js @@ -0,0 +1,30 @@ +/* + Onionr - Private P2P Communication + + Settings modal closing + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +var setCloseSettingsModal = function(){ + var closeButtonElements = document.getElementsByClassName('closeSettingsModal') + + for (i = 0; i < closeButtonElements; i++){ + closeButtonElements[i].onclick = function(){ + document.getElementById('settingsModal').classList.remove('is-active') + } + } +} + +setCloseSettingsModal() \ No newline at end of file diff --git a/static-data/www/mail/index.html b/static-data/www/mail/index.html index 7fd09239..d86feeb8 100755 --- a/static-data/www/mail/index.html +++ b/static-data/www/mail/index.html @@ -2,25 +2,26 @@ - + Onionr Mail - + - + - - + + - - - - - + + + + + + @@ -130,19 +131,24 @@ -