NoLog customisations

This commit is contained in:
Matěj Divecký 2024-06-10 14:34:17 +02:00
parent c45b7a361e
commit 5f93f6fdc2
4 changed files with 25 additions and 23 deletions

View file

@ -1,7 +1,12 @@
services:
app:
user: "0:0"
image: etherpad/etherpad:latest
#image: etherpad/etherpad:latest
build:
context: .
args:
ETHERPAD_PLUGINS: ep_headings2 ep_delete_empty_pads
target: production
tty: true
stdin_open: true
volumes:
@ -20,10 +25,12 @@ services:
DB_TYPE: "postgres"
DB_USER: ${DOCKER_COMPOSE_POSTGRES_USER:-admin}
# For now, the env var DEFAULT_PAD_TEXT cannot be unset or empty; it seems to be mandatory in the latest version of etherpad
DEFAULT_PAD_TEXT: ${DOCKER_COMPOSE_APP_DEFAULT_PAD_TEXT:- }
DEFAULT_PAD_TEXT: "pad.nolog.cz is provided with love by NoLog.cz. Please consider supporting us at https://nolog.cz/support\nData in pad.nolog.cz are not encrypted and can be accessed just by knowing the URL. Use cryptpad.cz for any confidential information (it's also run by us at NoLog.cz)."
TITLE: "pad.nolog.cz"
DISABLE_IP_LOGGING: ${DOCKER_COMPOSE_APP_DISABLE_IP_LOGGING:-false}
SOFFICE: ${DOCKER_COMPOSE_APP_SOFFICE:-null}
TRUST_PROXY: ${DOCKER_COMPOSE_APP_TRUST_PROXY:-true}
ETHERPAD_PLUGINS: "ep_headings2 ep_delete_empty_pads"
restart: always
ports:
- "${DOCKER_COMPOSE_APP_PORT_PUBLISHED:-9001}:${DOCKER_COMPOSE_APP_PORT_TARGET:-9001}"

View file

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="140mm" height="50mm" viewBox="0 0 140 50">
<path d="M106.756 49.187L95.016 35.15l-16.98 6.826 9.724-15.504-11.74-14.04 17.75 4.457 9.725-15.503 1.246 18.259 17.75 4.458-16.98 6.827z" fill="red"/>
<path d="M19.161 33.825H15.58q-.144 0-.144-.143V21.169H8.523q-.11 0-.22.22v12.293q0 .143-.155.143H3.143q-.143 0-.143-.143V16.307q.022-.143.143-.143h17.374q.045.011.078.022h.132v7.563q0 .033.01.066-.01.022-.01.055v4.597q0 .022.01.055-.01.033-.01.055v4.763q0 .066.01.121 0 .022-.01.044v.364H19.16zM22.193 16.13H39.6q.144.023.144.144v17.408q0 .143-.144.143H22.193q-.143 0-.143-.143V16.274q.022-.143.143-.143zm5.347 5.26v7.419h6.824q.143 0 .143-.143V21.39zM41.265 16.164h5.005q.155.022.155.143v12.436h9.635q.143.033.143.154v4.785q0 .143-.143.143H41.265q-.143 0-.143-.143V16.307q.022-.143.143-.143zM57.647 16.13h17.408q.143.023.143.144v17.408q0 .143-.143.143H57.647q-.143 0-.143-.143V16.274q.022-.143.143-.143zm5.347 5.26v7.419h6.824q.143 0 .143-.143V21.39zM76.499 16.186H93.85q.143.022.143.143v4.785q0 .1-.22.22H81.647v7.42h7.056v-4.85q.022-.144.143-.144h5.005q.143.022.143.143v9.779q0 .143-.143.143H76.5q-.143 0-.143-.143V16.329q.022-.143.143-.143zM97.566 30.815h3.043q.088.011.088.089v2.866q0 .088-.088.088h-3.043q-.066 0-.132-.132v-2.778q0-.067.132-.133zM104.38 32.447V16.13h15.962v.231q0 .011.012.023v4.762q0 .143-.144.143h-10.55V28.7h9.745q.949 0 .949.22v4.685q0 .056-.023.089v.143h-15.963v-1.39zM121.842 28.82l7.43-7.508v-.066h-7.287q-.143 0-.143-.154v-4.707q0-.11.22-.221h14.795q.143.022.143.143v4.94l-7.287 7.43h7.144q.143.022.143.143v4.862q0 .143-.143.143H122.58v.011h-.738z" style="-inkscape-font-specification:'Future Socialism'"/>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -5,7 +5,6 @@ form {
}
body {
background: url(images/fond.jpg) center center no-repeat fixed #fff;
font-family: Quicksand, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 16px;
line-height: 1.42857143;
@ -51,8 +50,8 @@ input {
text-shadow: none;
font-size: 23px;
line-height: 1.8;
color: #64d29b;
background: #586a69;
color: #e1e6e3;
background: #000;
border-radius: 3px;
box-shadow: none;
height: 53px;
@ -65,21 +64,21 @@ button[type=submit] {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
left: 305px;
color: #64d29b;
background: #586a69;
color: #fff;
background: #000;
border: none;
top: 0;
opacity: 1;
transition: .2s background;
}
#button:hover,
button[type=submit]:hover {
cursor: pointer;
background: #4a5d5c;
color: #64d29b;
background: white;
border: 2px solid black;
color: black;
}
#padname {
height: 38px;
max-width: 350px;

View file

@ -141,19 +141,11 @@
<div id="wrapper">
<% e.begin_block("indexWrapper"); %>
<img src="/static/img/nolog-red.svg">
<div id="inner">
<% if (!settings.requireSession) { %>
<% if (settings.editOnly) { %>
<label id="label" for="padname" data-l10n-id="index.openPad"></label>
<% } else {%>
<button id="button" data-l10n-id="index.newPad"></button>
<label id="label" for="padname" data-l10n-id="index.createOpenPad"></label>
<% } %>
<form action="#" id="go2Name">
<input type="text" id="padname" maxlength="50" autofocus x-webkit-speech>
<button type="submit">OK</button>
</form>
<% } %>
<button id="button" data-l10n-id="index.newPad"></button>
<hr noshade>
<p style="color: black; text-align: justify;">This <a href="http://etherpad.org/">etherpad</a> instance is hosted by <a href="https://nolog.cz">NoLog.cz</a>. We do not store IP addresses and we require HTTPS, but please note that this service is not end-to-end encrypted. You can read more about security precautions we take to protect your data <a href="https://nolog.cz/security/">here</a>. If you are happy using our services, please consider <a href="https://nolog.cz/support/">supporting us</a>. Thanks to people who already do that, we can host this and other services for free, without any ads, tracking or selling your data.</p>
</div>
<% e.end_block(); %>
</div>