@ -0,0 +1,3 @@ |
||||
node_modules |
||||
secrets |
||||
venv |
@ -0,0 +1,14 @@ |
||||
notifications: |
||||
email: false |
||||
|
||||
language: node_js |
||||
|
||||
node_js: |
||||
- node |
||||
|
||||
script: |
||||
- make build |
||||
|
||||
cache: |
||||
directories: |
||||
- "node_modules" |
@ -0,0 +1,28 @@ |
||||
|
||||
|
||||
.PHONY: webapp |
||||
|
||||
# Build webapp
|
||||
build: node_modules |
||||
npx webpack --config webpack.config.js
|
||||
cp node_modules/tooltipster/dist/css/tooltipster.bundle.min.css ./docs/css/
|
||||
|
||||
# export JSON data for the webapp
|
||||
export: |
||||
docker run --rm -ti \
|
||||
-v $(PWD)/docs/data:/out \
|
||||
-v $(PWD)/secrets:/secrets \
|
||||
-v $(PWD)/docs/siteicons:/icons \
|
||||
quay.io/netzbegruenung/green-spider:latest \
|
||||
data_export.py /secrets/datastore-reader.json
|
||||
|
||||
# NodeJS modules for the webapp creation
|
||||
node_modules: |
||||
npm install
|
||||
|
||||
venv: |
||||
virtualenv venv -p python3
|
||||
|
||||
# Run a dev server for the webapp
|
||||
serve: venv |
||||
cd docs && ../venv/bin/python -m http.server
|
@ -1,2 +1,5 @@ |
||||
# green-spider-webapp |
||||
Web application for Green Spider |
||||
# Green Spider Webapp |
||||
|
||||
Im Einsatz unter https://green-spider.netzbegruenung.de/ |
||||
|
||||
Weitere Infos zum Projekt und Issue-Tracking unter https://github.com/netzbegruenung/green-spider |
||||
|
@ -0,0 +1 @@ |
||||
green-spider.netzbegruenung.de |
@ -0,0 +1,122 @@ |
||||
<!DOCTYPE html> |
||||
<html lang="de"> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
||||
<title>GREEN SPIDER: Websites von Bündnis 90/Die Grünen besser machen</title> |
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> |
||||
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.css"> |
||||
<link rel="stylesheet" href="https://netzbegruenung.github.io/webfonts/style.css"> |
||||
<link rel="stylesheet" href="https://unpkg.com/ionicons@4.1.2/dist/css/ionicons.min.css"> |
||||
<link rel="stylesheet" href="css/tooltipster.bundle.min.css"> |
||||
<link rel="icon" href="icon/icon32.png" type="image/png" sizes="32x32"> |
||||
<link rel="icon" href="icon/icon128.png" type="image/png" sizes="128x128"> |
||||
<style type="text/css"> |
||||
|
||||
h5 { |
||||
font-family: 'Arvo Gruen', sans-serif; |
||||
font-weight: bold; |
||||
color: #ffee00; |
||||
text-transform: uppercase; |
||||
} |
||||
|
||||
table { |
||||
font-size: 0.8rem; |
||||
} |
||||
.bad { |
||||
color: #ae4b53; |
||||
background-color: #d7b0ae; |
||||
font-size: 1rem; |
||||
} |
||||
.medium { |
||||
color: #c49863; |
||||
background-color: #e3d9ba; |
||||
font-size: 1rem; |
||||
} |
||||
.good { |
||||
color: #46962b; |
||||
background-color: #bcd9b3; |
||||
font-size: 1rem; |
||||
} |
||||
|
||||
td.text { |
||||
font-size: 0.8rem; |
||||
} |
||||
|
||||
a.screenshot { |
||||
display: inline-block; |
||||
margin-left: 3px; |
||||
margin-right: 3px; |
||||
} |
||||
|
||||
.header { |
||||
background-color: #46962b; |
||||
} |
||||
|
||||
.icon { |
||||
width: 32px; |
||||
height: 32px; |
||||
font-size: 24px; |
||||
} |
||||
.screenshot .icon { |
||||
color: #212529; |
||||
} |
||||
|
||||
.siteicon { |
||||
max-width: 32px; |
||||
max-height: 32px; |
||||
width: auto; |
||||
height: auto; |
||||
} |
||||
|
||||
.tooltipster-base { |
||||
font-size: 13px |
||||
} |
||||
|
||||
.tooltipster-sidetip.tooltipster-borderless .tooltipster-box{border:none;background:#1b1b1b;background:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-bottom .tooltipster-box{margin-top:8px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-left .tooltipster-box{margin-right:8px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-right .tooltipster-box{margin-left:8px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-top .tooltipster-box{margin-bottom:8px}.tooltipster-sidetip.tooltipster-borderless .tooltipster-arrow{height:8px;margin-left:-8px;width:16px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-left .tooltipster-arrow,.tooltipster-sidetip.tooltipster-borderless.tooltipster-right .tooltipster-arrow{height:16px;margin-left:0;margin-top:-8px;width:8px}.tooltipster-sidetip.tooltipster-borderless .tooltipster-arrow-background{display:none}.tooltipster-sidetip.tooltipster-borderless .tooltipster-arrow-border{border:8px solid transparent}.tooltipster-sidetip.tooltipster-borderless.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#1b1b1b;border-bottom-color:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-left .tooltipster-arrow-border{border-left-color:#1b1b1b;border-left-color:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-right .tooltipster-arrow-border{border-right-color:#1b1b1b;border-right-color:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-top .tooltipster-arrow-border{border-top-color:#1b1b1b;border-top-color:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-bottom .tooltipster-arrow-uncropped{top:-8px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-right .tooltipster-arrow-uncropped{left:-8px} |
||||
</style> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 header border-bottom box-shadow"> |
||||
<h5 class="my-0 mr-md-auto">Green Spider</h5> |
||||
<nav class="my-2 my-md-0 mr-md-3"> |
||||
<a class="p-2 text-light" href="https://github.com/netzbegruenung/green-spider/">GitHub</a> |
||||
<a class="p-2 text-light" href="https://blog.netzbegruenung.de/projekte/green-spider/">Über</a> |
||||
</nav> |
||||
<!--<a class="btn btn-outline-primary" href="#">Sign up</a>--> |
||||
</div> |
||||
|
||||
<div class="container-fluid"> |
||||
|
||||
<table class="table"> |
||||
<thead> |
||||
<tr> |
||||
<th scope="col">Typ</th> |
||||
<th scope="col">Land</th> |
||||
<th scope="col">Kreis</th> |
||||
<th scope="col">Stadt</th> |
||||
<th scope="col">URL</th> |
||||
<th scope="col">Score</th> |
||||
<th scope="col">IP-Adresse</th> |
||||
<th scope="col">Erreichbar</th> |
||||
<th scope="col">Antwortzeit</th> |
||||
<th scope="col">Icon</th> |
||||
<th scope="col">HTTPS</th> |
||||
<th scope="col">www. optional</th> |
||||
<th scope="col">Kanonische URL</th> |
||||
<th scope="col">Responsive</th> |
||||
<th scope="col">Feed</th> |
||||
<th scope="col">Screenshots</th> |
||||
<th scope="col">CMS</th> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
</tbody> |
||||
</table> |
||||
|
||||
</div> |
||||
|
||||
<script src="bundle.js"></script> |
||||
</body> |
||||
</html> |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 570 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 7.4 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 894 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 894 B |
After Width: | Height: | Size: 99 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 846 B |
After Width: | Height: | Size: 686 B |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 894 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 98 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 597 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 6.4 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 918 B |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 9.3 KiB |
After Width: | Height: | Size: 894 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 281 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 822 B |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 836 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 242 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 7.2 KiB |
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 7.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 121 KiB |
After Width: | Height: | Size: 2.5 KiB |