Commit bec0f62e authored by mh's avatar mh

initial release

parents
Pipeline #3589 failed with stages
in 1 minute and 18 seconds
wkd-frontend/
---
image: $CI_REGISTRY/immerda/container-images/yarn-gen:latest
stages:
- build
- deploy
build:
tags:
- container
script:
- git clone https://code.immerda.ch/immerda/apps/wkd-frontend.git
- cd wkd-frontend
- cp -a ../{static,index.html,icon.png} public/
- rm -f public/favicon.ico
- yarn -v
- yarn install
- yarn run build
- curl -o dist/ipick.js https://code.immerda.ch/immerda/content/ipick/-/raw/master/ipick.js
- tar cfz site.tar.gz dist
artifacts:
paths:
- site.tar.gz
expire_in: 1 day
stage: build
deploy:
tags:
- container
script:
# Start SSH agent
- eval $(ssh-agent -s)
# Add the SSH key stored in the $DEPLOY_KEY variable to the agent store
# It is the base64 encoded private key
- echo "${DEPLOY_KEY}" | base64 -d | ssh-add - > /dev/null
- mkdir -p --mode=0700 ~/.ssh
- printf "${DEPLOY_HOST} ssh-ed25519 ${DEPLOY_HOST_ED_KEY}
" > ~/.ssh/known_hosts
- tar fxv site.tar.gz
# lftp needs a "dummy" password, even if key-based authentication is used.
- lftp -e "mirror -eRv -x ^.well-known/ dist www; quit;" -u $DEPLOY_USER,dummy sftp://$DEPLOY_HOST
stage: deploy
only:
# This job relies on secret env vars, which are only available in our repo.
- master
variables:
GIT_STRATEGY: none
This diff is collapsed.
# wkd.immerda.ch
The design for [wkd.immerda.ch](https://wkd.immerda.ch)
Combined together with [wkd-fronted](https://code.immerda.ch/immerda/apps/wkd-frontend/).
icon.png

625 Bytes

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>wkd.immerda.ch</title>
<link rel="shortcut icon" type="image/png" href="icon.png" id="favicon" data-original-href="icon.png" />
<link href="static/immerda.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="wrapper">
<div id="header">
<div id="logo"><a href="https://wkd.immerda.ch/" title="Home"> </a></div>
<div id="rss">
</div>
<div id="navi">
<ul>
<li><a href="https://www.immerda.ch/" title="Home">immerda.ch</a></li>
</ul>
</div>
</div>
<div id="body">
<script src="ipick.js"></script>
<div id="topbox">
<h1>wkd.immerda.ch</h1>
<p>... findet OpenPGP Keys, welche in einem <a href="https://wiki.gnupg.org/WKD">Web-Key-Directory</a> veröffentlicht sind.</p>
<p>... finds OpenPGP Keys published in a <a href="https://wiki.gnupg.org/WKD">Web-Key-Directory</a>.</p>
<p></p>
</div>
<div id="content">
<h1>Bemerkungen / Notes</h1>
<p>Diese Suchmaske hilft dir bei der einfachen Suche ob für eine bestimmte E-Mailadresse ein OpenPGP Schlüssel im entsprechenden <a href="https://wiki.gnupg.org/WKD">Web-Key-Directory</a> veröffentlicht wurde. Dafür wird dein Browser angewiesen auf dem Server der Emailadresse nachzuschauen. Dies bedeutet, dass gegebenfalls dein Zugriff auf dem Server gespeichert wird.<br/>
Bei immerda.ch können User*innen ihren Schlüssel in unserem Web-Key-Directory veröffentlichen und wir speichern keine Zugriffslogs zu den Anfragen nach diesen Schlüsseln ab.<br/>
Für Fragen und Anmerkungen meldet euch bei: <strong>admin ( AT ) immerda.ch</strong> (Ihr könnt euch per leerem Mail an <strong>admin-sendkey ( AT ) immerda.ch</strong> den öffentlichen Schlüssel zuschicken lassen).</p>
<p>This search allows you to easily lookup whether for a certain emailaddress there is an OpenPGP Key published in the corrsponding <a href="https://wiki.gnupg.org/WKD">Web-Key-Directory</a>. Your browser will be instructed to lookup the public key on the server of the emailaddress. This means that likely your lookup will be logged on the remote server.<br/>
On immerda.ch users can publish their kys in our Web-Key-Directory and we do not store any access logs.
If you have questions or remarks you can contact the immerda admin team: <strong>admin ( AT ) immerda.ch</strong> (You can get the corresponding public key by sending an empty email to <strong>admin-sendkey ( AT ) immerda.ch</strong>).</p>
<h1>Einen Schlüssel suchen / Search a key</h1>
<noscript>
<strong>We're sorry but wkd-frontend doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</div>
<div class="push"></div>
</div>
<div id="footer">
<p>Content by: <a href="https://www.immerda.ch/">immerda.ch</a> | <a href="https://code.immerda.ch/immerda/content/wkd.immerda.ch/">Source</a>| <a href="https://code.immerda.ch/immerda/apps/wkd-frontend/">WKD-frontend</a> | <a href="https://code.immerda.ch/immerda/container-images/wkd-srv">WKD-srv</a></p>
</div>
</div></body></html>
body {
margin: 0;
padding: 0;
font-size: 15px;
color: #7F7F7F;
}
p {
line-height: 150%;
}
body, th, td, input, textarea, select, option {
font-weight: normal;
font-family: Trebuchet MS,Liberation Sans,DejaVu Sans,sans-serif;
}
input, textarea, select, option {
border: 1px solid #767676;
}
img {
border: 8px solid #333333;
display: block;
margin: 0 auto;
}
h1, h2, h3 {
letter-spacing: 1px;
font-weight: normal;
color: #767676;
font-family: verdana,arial,sans-serif;
}
h1 {
font-size: 35px;
font-weight: bolder;
}
h2 {
font-size: 30px;
}
h3 {
font-size: 1em;
}
blockquote {
padding-left: 1em;
}
blockquote p, blockquote ul, blockquote ol {
line-height: normal;
font-style: italic;
}
a {
color: #7ACE11;
font-weight: bold;
}
a:hover {
text-decoration: none;
border-bottom: 3px solid #7ACE11;
}
a:visited {
color: #4a7a0b;
}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {display: inline-block;} /* for IE/Mac */
/* Header */
#header {
height: 97px;
margin: 0px auto 0px auto;
background: #222222 url(../images/immerda_logo.jpg) left top no-repeat;
}
#header a:hover {
border-bottom: none;
}
/* Menu */
#navi {
float: right;
font-family: Monospace;
}
#navi ul {
margin: 0px;
padding: 50px 0px 0px 0px;
list-style: none;
}
#navi li {
display: inline;
}
#navi a {
display: block;
float: left;
margin-left: 20px;
text-decoration: none;
text-transform: lowercase;
font-size: 1.36em;
color: #FFFFFF;
}
#navi a:hover, .active a {
border-bottom: 3px solid #FFFFFF;
}
#languages {
display: block;
padding: 70px 10px 5px 100px;
}
#languages ul {
margin: 0px;
list-style: none;
line-height: normal;
}
#languages li {
display: inline;
}
#languages a {
float: left;
margin-left: 5px;
text-decoration: none;
font-weight: bold;
text-transform: lowercase;
font-size: 1em;
color: #FFFFFF;
}
.translate {
font-weight: normal;
}
#languages a:hover, .active a {
border-bottom: 3px solid #FFFFFF;
}
div#rss {
float:right;
width: 30px;
margin: 10px 10px 0 10px;
}
div#rss img {
border-style: none;
}
/* Content */
#topbox {
padding: 20px 70px;
margin: 0px;
background:#f8f9f4;
border-bottom: 1px solid #767676;
}
#topbox h1 {
color: #60d545;
font-weight: bold;
margin-bottom: 10px;
}
#topbox p {
margin-top: 5px;
line-height: 150%;
}
#techmessages {
clear: both;
float: right;
display: block;
width: 40%;
margin-left: 10px;
padding: 0 10px 10px 10px;
border-bottom: 1px solid #666666;
background-color: #222222;
}
#techmessages p {
line-height: 120%;
}
#techmessages h1 {
color: #d2d2d2;
}
#techmessages h2 {
color: #a6a6a6;
}
p.msginfos {
font-style: italic;
}
p.archivelink {
font-size: 20px;
text-align: center;
}
#content {
padding: 0 70px;
border-bottom: 1px solid #767676;
}
#content h1 {
border-bottom: 2px solid #767676;
}
div.fronth1 {
width: 58%;
}
#content h2 {
text-transform: none;
margin-bottom: 2px;
}
#bottombox {
padding: 10px 70px;
margin: 0px;
background: #f8f9f4;
}
#bottommenu h1 {
font-size: 20px;
margin: 0px 0px 5px 0px;
}
ul.bottommenuitem {
margin: 0px 30px 0px 5px;
list-style: none;
padding-left: 10px;
border-left:1px dotted #CCCCCC;
float: left;
}
ul.bottommenuitem li {
font-weight: bolder;
font-size: 18px;
}
ul.bottommenuitem li li {
margin-top: 2px;
font-size: 15px;
}
ul.bottommenuitem ul {
padding-left: 15px;
list-style: none;
}
#friendslist {
float: left;
background-color: #222222;
width: 100%;
padding: 10px 70px;
}
#friendslist ul {
padding: 0px;
list-style: none;
letter-spacing: 2px;
float: left;
margin: 0px 5px 0px 5px;
}
#friendslist p {
margin: 0px;
font-size: 20px;
letter-spacing: 1px;
}
#friendslist li {
display: inline;
}
/* Footer */
#footer {
clear: both;
width 100%;
padding: 5px 75px 5px 75px;
margin: 0 0 5px 0;
background: #222222;
}
#footer p {
text-align: right;
font-size: 10px;
color:#7F7F7F;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment