Compare commits
No commits in common. "main" and "feature/#48-mehr-skill_icons" have entirely different histories.
main
...
feature/#4
@ -1,13 +0,0 @@
|
|||||||
# SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
||||||
|
|
||||||
*
|
|
||||||
!Pipfile
|
|
||||||
!Pipfile.lock
|
|
||||||
!data/
|
|
||||||
!ki/
|
|
||||||
!LICENSES/
|
|
||||||
!migrations/
|
|
||||||
!app.py
|
|
||||||
!run_prod.py
|
|
117
.drone.yml
@ -4,60 +4,22 @@
|
|||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: qa
|
name: default
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
- pull_request
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install-lint-test
|
- name: qa
|
||||||
image: python:3.8.20-alpine@sha256:3d93b1f77efce339aa77db726656872517b0d67837989aa7c4b35bd5ae7e81ba
|
image: registry.wtf-eg.net/ki-backend-builder:1.0.0
|
||||||
env:
|
|
||||||
PYROOT: '/pyroot'
|
|
||||||
PYTHONUSERBASE: '/pyroot'
|
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache gcc g++ musl-dev python3-dev
|
|
||||||
- pip3 install pipenv
|
|
||||||
- pipenv verify
|
|
||||||
- pipenv install --dev
|
- pipenv install --dev
|
||||||
- pipenv run flake8
|
- pipenv run flake8
|
||||||
- pipenv run reuse lint
|
- pipenv run reuse lint
|
||||||
- pipenv run python -m unittest discover ki
|
- pipenv run python -m unittest discover ki
|
||||||
- name: docker-dry-run
|
|
||||||
image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042
|
- name: docker-publish
|
||||||
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
registry: git.wtf-eg.de
|
registry: registry.wtf-eg.net
|
||||||
repo: git.wtf-eg.de/kompetenzinventar/backend
|
repo: registry.wtf-eg.net/ki-backend
|
||||||
target: ki-backend
|
|
||||||
dry_run: true
|
|
||||||
when:
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: build
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
|
|
||||||
depends_on:
|
|
||||||
- qa
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: docker-publish
|
|
||||||
image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042
|
|
||||||
settings:
|
|
||||||
registry: git.wtf-eg.de
|
|
||||||
repo: git.wtf-eg.de/kompetenzinventar/backend
|
|
||||||
target: ki-backend
|
target: ki-backend
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
username:
|
username:
|
||||||
@ -65,64 +27,5 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: "docker_password"
|
from_secret: "docker_password"
|
||||||
|
|
||||||
---
|
image_pull_secrets:
|
||||||
kind: pipeline
|
- dockerconfig
|
||||||
type: docker
|
|
||||||
name: deploy
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
|
|
||||||
depends_on:
|
|
||||||
- build
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: deploy-dev
|
|
||||||
image: appleboy/drone-ssh:1.7.5@sha256:995677e073454912f26d4c0fdd2f9df2e1f5a30d6603d3f2ece667311b6babb3
|
|
||||||
settings:
|
|
||||||
host:
|
|
||||||
- dev01.wtf-eg.net
|
|
||||||
username: drone_deployment
|
|
||||||
key:
|
|
||||||
from_secret: "dev01_deployment_key"
|
|
||||||
command_timeout: 2m
|
|
||||||
script:
|
|
||||||
- echo "Executing forced command..."
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: tag-release
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- tag
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: install-lint-test
|
|
||||||
image: python:3.8.20-alpine@sha256:3d93b1f77efce339aa77db726656872517b0d67837989aa7c4b35bd5ae7e81ba
|
|
||||||
env:
|
|
||||||
PYROOT: '/pyroot'
|
|
||||||
PYTHONUSERBASE: '/pyroot'
|
|
||||||
commands:
|
|
||||||
- apk add --no-cache gcc g++ musl-dev python3-dev
|
|
||||||
- pip3 install pipenv
|
|
||||||
- pipenv install --dev
|
|
||||||
- pipenv run flake8
|
|
||||||
- pipenv run reuse lint
|
|
||||||
- pipenv run python -m unittest discover ki
|
|
||||||
- name: docker-publish
|
|
||||||
image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042
|
|
||||||
settings:
|
|
||||||
registry: git.wtf-eg.de
|
|
||||||
repo: git.wtf-eg.de/kompetenzinventar/backend
|
|
||||||
target: ki-backend
|
|
||||||
auto_tag: true
|
|
||||||
username:
|
|
||||||
from_secret: "docker_username"
|
|
||||||
password:
|
|
||||||
from_secret: "docker_password"
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
#
|
#
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
repos:
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
|
@ -1 +0,0 @@
|
|||||||
3.8.20
|
|
12
.reuse/dep5
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: Kompetenzinventar
|
||||||
|
Upstream-Contact: Michael Weimann <mail@michael-weimann.eu>
|
||||||
|
Source: https://git.wtf-eg.de/kompetenzinventar/ki-backend
|
||||||
|
|
||||||
|
Files: data/imgs/flags/*
|
||||||
|
Copyright: 2017 Go Squared Ltd. http://www.gosquared.com/
|
||||||
|
License: MIT
|
||||||
|
|
||||||
|
Files: Pipfile.lock migrations/*
|
||||||
|
Copyright: WTF Kooperative eG <https://wtf-eg.de/>
|
||||||
|
License: AGPL-3.0-or-later
|
@ -1,5 +0,0 @@
|
|||||||
# SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
||||||
|
|
||||||
migrations/*.py
|
|
22
Dockerfile
@ -2,17 +2,7 @@
|
|||||||
#
|
#
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
FROM python:3.8.20-alpine@sha256:3d93b1f77efce339aa77db726656872517b0d67837989aa7c4b35bd5ae7e81ba AS builder
|
FROM registry.wtf-eg.net/ki-backend-builder:1.0.0 as builder
|
||||||
|
|
||||||
ENV PYROOT=/pyroot
|
|
||||||
ENV PYTHONUSERBASE=$PYROOT
|
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
|
||||||
gcc \
|
|
||||||
g++ \
|
|
||||||
musl-dev \
|
|
||||||
python3-dev && \
|
|
||||||
pip3 install pipenv
|
|
||||||
|
|
||||||
COPY Pipfile* ./
|
COPY Pipfile* ./
|
||||||
|
|
||||||
@ -20,10 +10,7 @@ RUN PIP_USER=1 PIP_IGNORE_INSTALLED=1 pipenv install --system --deploy --ignore-
|
|||||||
RUN pip3 uninstall --yes pipenv
|
RUN pip3 uninstall --yes pipenv
|
||||||
|
|
||||||
|
|
||||||
FROM python:3.8.20-alpine@sha256:3d93b1f77efce339aa77db726656872517b0d67837989aa7c4b35bd5ae7e81ba AS ki-backend
|
FROM registry.wtf-eg.net/ki-backend-base:1.0.0 as ki-backend
|
||||||
|
|
||||||
ENV PYROOT=/pyroot
|
|
||||||
ENV PYTHONUSERBASE=$PYROOT
|
|
||||||
|
|
||||||
# Install six explicitly. Otherwise Python complains about it missing.
|
# Install six explicitly. Otherwise Python complains about it missing.
|
||||||
RUN pip3 install six
|
RUN pip3 install six
|
||||||
@ -35,9 +22,4 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source=https://git.wtf-eg.de/kompetenzinventar/ki-backend.git
|
|
||||||
LABEL org.opencontainers.image.url=https://git.wtf-eg.de/kompetenzinventar/ki-backend
|
|
||||||
LABEL org.opencontainers.image.documentation=https://git.wtf-eg.de/kompetenzinventar/ki-backend#docker
|
|
||||||
LABEL org.opencontainers.image.vendor="WTF Kooperative eG"
|
|
||||||
|
|
||||||
CMD ["python3", "run_prod.py"]
|
CMD ["python3", "run_prod.py"]
|
||||||
|
29
Pipfile
@ -8,23 +8,22 @@ verify_ssl = true
|
|||||||
name = "pypi"
|
name = "pypi"
|
||||||
|
|
||||||
[packages]
|
[packages]
|
||||||
flask = "==2.3.3"
|
flask = "~=2.0.1"
|
||||||
python-dotenv = "==1.0.1"
|
python-dotenv = "~=0.17.1"
|
||||||
flask-migrate = "==4.0.7"
|
flask-migrate = "~=3.0.1"
|
||||||
flask-sqlalchemy = "==2.5.1"
|
flask-sqlalchemy = "~=2.5.1"
|
||||||
sqlalchemy = "==1.4.54"
|
sqlalchemy = "~=1.4.18"
|
||||||
waitress = "==2.1.2"
|
waitress = "~=2.0.0"
|
||||||
pyyaml = "==6.0.2"
|
pyyaml = "~=5.4.1"
|
||||||
flask-cors = "==5.0.0"
|
flask-cors = "~=3.0.10"
|
||||||
ldap3 = "==2.9.1"
|
ldap3 = "~=2.9"
|
||||||
pymysql = "==1.1.1"
|
pymysql = "~=1.0.2"
|
||||||
werkzeug = "==2.3.8"
|
|
||||||
|
|
||||||
[dev-packages]
|
[dev-packages]
|
||||||
flake8 = "==7.1.1"
|
flake8 = "~=3.9.2"
|
||||||
yapf = "==0.40.2"
|
yapf = "~=0.31.0"
|
||||||
pre-commit = "==2.21.0"
|
pre-commit = "~=2.13.0"
|
||||||
reuse = "==4.0.3"
|
reuse = "~=0.13.0"
|
||||||
|
|
||||||
[requires]
|
[requires]
|
||||||
python_version = "3.8"
|
python_version = "3.8"
|
||||||
|
959
Pipfile.lock
generated
47
README.md
@ -9,32 +9,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later
|
|||||||
[![Build Status](https://drone.wtf-eg.de/api/badges/kompetenzinventar/ki-backend/status.svg?ref=refs/heads/main)](https://drone.wtf-eg.de/kompetenzinventar/ki-backend)
|
[![Build Status](https://drone.wtf-eg.de/api/badges/kompetenzinventar/ki-backend/status.svg?ref=refs/heads/main)](https://drone.wtf-eg.de/kompetenzinventar/ki-backend)
|
||||||
[![REUSE status](https://api.reuse.software/badge/git.wtf-eg.de/kompetenzinventar/ki-backend)](https://api.reuse.software/info/git.wtf-eg.de/kompetenzinventar/ki-backend)
|
[![REUSE status](https://api.reuse.software/badge/git.wtf-eg.de/kompetenzinventar/ki-backend)](https://api.reuse.software/info/git.wtf-eg.de/kompetenzinventar/ki-backend)
|
||||||
|
|
||||||
## Über
|
|
||||||
|
|
||||||
Dieses Repo enthält das Backend des Projekts Kompentenzinventar - einer Webapplikation zur Erfassung von Userprofilen für die WTF eG.
|
|
||||||
|
|
||||||
Implementiert ist das Backend mit Flask.
|
|
||||||
|
|
||||||
### Mitmachen
|
|
||||||
|
|
||||||
Du kannst gerne bei der Entwicklung des Kompetenzinventars mitmachen.
|
|
||||||
|
|
||||||
- Fehler oder fehlende Funktionen erfassen. Bitte direkt über die [Issues](https://git.wtf-eg.de/kompetenzinventar/ki-backend/issues) in Gitea.
|
|
||||||
- Dokumentation oder Implementierung verbessern. Bitte forke hierzu das Projekt, branche von `main` ab und erstelle dann einen [Pull Request](https://git.wtf-eg.de/kompetenzinventar/ki-backend/pulls).
|
|
||||||
|
|
||||||
### Kommunikation
|
|
||||||
|
|
||||||
Folgende Kanäle gibt es für die Kommunikation über das Kompetenzinventar:
|
|
||||||
|
|
||||||
- Die [Issues](https://git.wtf-eg.de/kompetenzinventar/ki-backend/issues) im WTF Gitea.
|
|
||||||
- Den Bereich [AG Entwicklung](https://forum.wtf-eg.de/c/interna/ag-entwicklung/21) im WTF Forum.
|
|
||||||
- Einen Raum in Matrix. Zutritt per Einladung, frlan lädt ein, eine einfache PN im Forum reicht.
|
|
||||||
|
|
||||||
### Repos
|
|
||||||
|
|
||||||
* **[ki-backend](https://git.wtf-eg.de/kompetenzinventar/ki-backend)** (dieses Repo) enthält das Backend
|
|
||||||
* [ki-frontend](https://git.wtf-eg.de/kompetenzinventar/ki-frontend) enthält das Frontend
|
|
||||||
* Weitere Repositories befinden sich in der Gitea Organisation [Kompetenzinventar](https://git.wtf-eg.de/kompetenzinventar).
|
|
||||||
## Entwicklung
|
## Entwicklung
|
||||||
|
|
||||||
### Abhängigkeiten
|
### Abhängigkeiten
|
||||||
@ -48,7 +22,7 @@ Folgende Kanäle gibt es für die Kommunikation über das Kompetenzinventar:
|
|||||||
Ggf. vorher aufräumen
|
Ggf. vorher aufräumen
|
||||||
|
|
||||||
```
|
```
|
||||||
rm storage/ki.sqlite
|
rm data/ki.sqlite
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -222,6 +196,25 @@ docker-compose up
|
|||||||
|
|
||||||
Dann http://localhost:13337 aufrufen.
|
Dann http://localhost:13337 aufrufen.
|
||||||
|
|
||||||
|
### Workaround, falls der Zugriff auf registry.wtf-eg.net nicht möglich ist
|
||||||
|
|
||||||
|
Voraussetzung:
|
||||||
|
|
||||||
|
[ki-backend-docker](https://git.wtf-eg.de/kompetenzinventar/ki-backend-docker) muss parallel zum `ki-backend` ausgecheckt sein.
|
||||||
|
|
||||||
|
```
|
||||||
|
cd ki-backend-docker
|
||||||
|
docker build . --target base -t ki-backend-base
|
||||||
|
docker build . --target builder -t ki-backend-builder
|
||||||
|
```
|
||||||
|
|
||||||
|
Ändern der 2 Einträge im `Dockerfile` des `ki-backend`:
|
||||||
|
|
||||||
|
- registry.wtf-eg.net/ki-backend-builder:1.0.0 -> ki-backend-builder
|
||||||
|
- registry.wtf-eg.net/ki-backend-base:1.0.0 -> ki-backend-base
|
||||||
|
|
||||||
|
Danach sollte `docker-compose up` funktionieren.
|
||||||
|
|
||||||
## Lizenzen
|
## Lizenzen
|
||||||
|
|
||||||
Dieses Projekt erfüllt die [REUSE](https://reuse.software/) Spezifikation.
|
Dieses Projekt erfüllt die [REUSE](https://reuse.software/) Spezifikation.
|
||||||
|
24
REUSE.toml
@ -1,24 +0,0 @@
|
|||||||
# SPDX-FileCopyrightText: NONE
|
|
||||||
# SPDX-License-Identifier: CC0-1.0
|
|
||||||
|
|
||||||
version = 1
|
|
||||||
SPDX-PackageName = "Kompetenzinventar Backend"
|
|
||||||
SPDX-PackageDownloadLocation = "https://git.wtf-eg.de/kompetenzinventar/ki-backend"
|
|
||||||
|
|
||||||
[[annotations]]
|
|
||||||
path = "data/imgs/flags/**"
|
|
||||||
precedence = "aggregate"
|
|
||||||
SPDX-FileCopyrightText = "2013 Panayiotis Lipiridis <https://flagicons.lipis.dev/>"
|
|
||||||
SPDX-License-Identifier = "MIT"
|
|
||||||
|
|
||||||
[[annotations]]
|
|
||||||
path = ["Pipfile.lock", "migrations/**"]
|
|
||||||
precedence = "aggregate"
|
|
||||||
SPDX-FileCopyrightText = "WTF Kooperative eG <https://wtf-eg.de/>"
|
|
||||||
SPDX-License-Identifier = "AGPL-3.0-or-later"
|
|
||||||
|
|
||||||
[[annotations]]
|
|
||||||
path = ["renovate.json", ".python-version"]
|
|
||||||
precedence = "aggregate"
|
|
||||||
SPDX-FileCopyrightText = "WTF Kooperative eG <https://wtf-eg.de/>"
|
|
||||||
SPDX-License-Identifier = "AGPL-3.0-or-later"
|
|
17
app.py
@ -8,23 +8,22 @@ import os
|
|||||||
from dotenv import load_dotenv, find_dotenv
|
from dotenv import load_dotenv, find_dotenv
|
||||||
from flask import Flask
|
from flask import Flask
|
||||||
from flask_cors import CORS
|
from flask_cors import CORS
|
||||||
|
from flask.logging import default_handler
|
||||||
from flask_migrate import Migrate
|
from flask_migrate import Migrate
|
||||||
from flask_sqlalchemy import SQLAlchemy
|
from flask_sqlalchemy import SQLAlchemy
|
||||||
|
from ldap3.utils.log import logger as ldap3_logger
|
||||||
from ldap3.utils.log import set_library_log_detail_level, BASIC
|
from ldap3.utils.log import set_library_log_detail_level, BASIC
|
||||||
|
|
||||||
load_dotenv(find_dotenv())
|
load_dotenv(find_dotenv())
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
# Configure logging
|
|
||||||
loglevel = os.getenv("KI_LOGLEVEL", logging.WARNING)
|
loglevel = os.getenv("KI_LOGLEVEL", logging.WARNING)
|
||||||
loglevel = int(loglevel)
|
loglevel = int(loglevel)
|
||||||
app.logger.setLevel(loglevel)
|
app.logger.setLevel(loglevel)
|
||||||
app.logger.propagate = False # do not forward messages to the root logger
|
logging.basicConfig(level=loglevel)
|
||||||
logging.basicConfig(level=loglevel,
|
|
||||||
format='[%(asctime)s] %(levelname)s [%(name)s] %(message)s') # configure root logger as fallback
|
set_library_log_detail_level(BASIC)
|
||||||
logging.getLogger('werkzeug').propagate = False # werkzeug has its own ColorStreamHandler
|
ldap3_logger.addHandler(default_handler)
|
||||||
set_library_log_detail_level(BASIC) # ldap3 has different verbosity levels internally
|
|
||||||
|
|
||||||
app.config["SQLALCHEMY_DATABASE_URI"] = os.getenv("SQLALCHEMY_DATABASE_URI")
|
app.config["SQLALCHEMY_DATABASE_URI"] = os.getenv("SQLALCHEMY_DATABASE_URI")
|
||||||
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
|
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
|
||||||
@ -39,8 +38,8 @@ app.config["KI_LDAP_BASE_DN"] = os.getenv("KI_LDAP_BASE_DN")
|
|||||||
|
|
||||||
CORS(app)
|
CORS(app)
|
||||||
db = SQLAlchemy(app)
|
db = SQLAlchemy(app)
|
||||||
migrate = Migrate(app, db, compare_type=True)
|
migrate = Migrate(app, db)
|
||||||
|
|
||||||
app.logger.info("Hello from KI")
|
logging.debug("Hello from KI")
|
||||||
|
|
||||||
from ki import module # noqa
|
from ki import module # noqa
|
||||||
|
11
data/imgs/flags/Pipfile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[[source]]
|
||||||
|
url = "https://pypi.org/simple"
|
||||||
|
verify_ssl = true
|
||||||
|
name = "pypi"
|
||||||
|
|
||||||
|
[packages]
|
||||||
|
|
||||||
|
[dev-packages]
|
||||||
|
|
||||||
|
[requires]
|
||||||
|
python_version = "3.8"
|
BIN
data/imgs/flags/_abkhazia.png
Normal file
After Width: | Height: | Size: 977 B |
BIN
data/imgs/flags/_basque-country.png
Normal file
After Width: | Height: | Size: 560 B |
BIN
data/imgs/flags/_british-antarctic-territory.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
data/imgs/flags/_commonwealth.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
data/imgs/flags/_england.png
Normal file
After Width: | Height: | Size: 171 B |
BIN
data/imgs/flags/_gosquared.png
Normal file
After Width: | Height: | Size: 614 B |
BIN
data/imgs/flags/_kosovo.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/imgs/flags/_mars.png
Normal file
After Width: | Height: | Size: 181 B |
BIN
data/imgs/flags/_nagorno-karabakh.png
Normal file
After Width: | Height: | Size: 212 B |
BIN
data/imgs/flags/_nato.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/imgs/flags/_northern-cyprus.png
Normal file
After Width: | Height: | Size: 583 B |
BIN
data/imgs/flags/_olympics.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
data/imgs/flags/_red-cross.png
Normal file
After Width: | Height: | Size: 178 B |
BIN
data/imgs/flags/_scotland.png
Normal file
After Width: | Height: | Size: 541 B |
BIN
data/imgs/flags/_somaliland.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/imgs/flags/_south-ossetia.png
Normal file
After Width: | Height: | Size: 168 B |
BIN
data/imgs/flags/_united-nations.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/imgs/flags/_wales.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
data/imgs/flags/ad.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
data/imgs/flags/ae.png
Normal file
After Width: | Height: | Size: 180 B |
BIN
data/imgs/flags/af.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
data/imgs/flags/ag.png
Normal file
After Width: | Height: | Size: 862 B |
BIN
data/imgs/flags/ai.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/imgs/flags/al.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/imgs/flags/am.png
Normal file
After Width: | Height: | Size: 169 B |
BIN
data/imgs/flags/an.png
Normal file
After Width: | Height: | Size: 295 B |
BIN
data/imgs/flags/ao.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
data/imgs/flags/aq.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
data/imgs/flags/ar.png
Normal file
After Width: | Height: | Size: 617 B |
BIN
data/imgs/flags/as.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
data/imgs/flags/at.png
Normal file
After Width: | Height: | Size: 172 B |
BIN
data/imgs/flags/au.png
Normal file
After Width: | Height: | Size: 983 B |
BIN
data/imgs/flags/aw.png
Normal file
After Width: | Height: | Size: 639 B |
BIN
data/imgs/flags/ax.png
Normal file
After Width: | Height: | Size: 206 B |
BIN
data/imgs/flags/az.png
Normal file
After Width: | Height: | Size: 755 B |
BIN
data/imgs/flags/ba.png
Normal file
After Width: | Height: | Size: 734 B |
BIN
data/imgs/flags/bb.png
Normal file
After Width: | Height: | Size: 444 B |
BIN
data/imgs/flags/bd.png
Normal file
After Width: | Height: | Size: 434 B |
BIN
data/imgs/flags/be.png
Normal file
After Width: | Height: | Size: 178 B |
BIN
data/imgs/flags/bf.png
Normal file
After Width: | Height: | Size: 430 B |
BIN
data/imgs/flags/bg.png
Normal file
After Width: | Height: | Size: 172 B |
@ -1,7 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-bg" viewBox="0 0 640 480">
|
|
||||||
<g fill-rule="evenodd" stroke-width="1pt">
|
|
||||||
<path fill="#d62612" d="M0 320h640v160H0z"/>
|
|
||||||
<path fill="#fff" d="M0 0h640v160H0z"/>
|
|
||||||
<path fill="#00966e" d="M0 160h640v160H0z"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 283 B |
BIN
data/imgs/flags/bh.png
Normal file
After Width: | Height: | Size: 340 B |
BIN
data/imgs/flags/bi.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
data/imgs/flags/bj.png
Normal file
After Width: | Height: | Size: 184 B |
BIN
data/imgs/flags/bl.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
data/imgs/flags/bm.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
data/imgs/flags/bn.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
data/imgs/flags/bo.png
Normal file
After Width: | Height: | Size: 686 B |
BIN
data/imgs/flags/br.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
data/imgs/flags/bs.png
Normal file
After Width: | Height: | Size: 467 B |
BIN
data/imgs/flags/bt.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
data/imgs/flags/bw.png
Normal file
After Width: | Height: | Size: 178 B |
BIN
data/imgs/flags/by.png
Normal file
After Width: | Height: | Size: 595 B |
BIN
data/imgs/flags/bz.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/imgs/flags/ca.png
Normal file
After Width: | Height: | Size: 486 B |
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="810" height="540">
|
|
||||||
<rect width="810" height="540" fill="#FCDD09"/>
|
|
||||||
<path stroke="#DA121A" stroke-width="60" d="M0,90H810m0,120H0m0,120H810m0,120H0"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 242 B |
BIN
data/imgs/flags/cc.png
Normal file
After Width: | Height: | Size: 1004 B |
BIN
data/imgs/flags/cd.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
data/imgs/flags/cf.png
Normal file
After Width: | Height: | Size: 377 B |
BIN
data/imgs/flags/cg.png
Normal file
After Width: | Height: | Size: 323 B |
BIN
data/imgs/flags/ch.png
Normal file
After Width: | Height: | Size: 175 B |
BIN
data/imgs/flags/ci.png
Normal file
After Width: | Height: | Size: 172 B |
BIN
data/imgs/flags/ck.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
data/imgs/flags/cl.png
Normal file
After Width: | Height: | Size: 309 B |
BIN
data/imgs/flags/cm.png
Normal file
After Width: | Height: | Size: 367 B |
BIN
data/imgs/flags/cn.png
Normal file
After Width: | Height: | Size: 745 B |
BIN
data/imgs/flags/co.png
Normal file
After Width: | Height: | Size: 174 B |
BIN
data/imgs/flags/cr.png
Normal file
After Width: | Height: | Size: 184 B |
BIN
data/imgs/flags/cs.png
Normal file
After Width: | Height: | Size: 369 B |
@ -1,5 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-cz" viewBox="0 0 640 480">
|
|
||||||
<path fill="#fff" d="M0 0h640v240H0z"/>
|
|
||||||
<path fill="#d7141a" d="M0 240h640v240H0z"/>
|
|
||||||
<path fill="#11457e" d="M360 240 0 0v480z"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 225 B |
BIN
data/imgs/flags/ct.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
data/imgs/flags/cu.png
Normal file
After Width: | Height: | Size: 605 B |
BIN
data/imgs/flags/cv.png
Normal file
After Width: | Height: | Size: 360 B |
BIN
data/imgs/flags/cw.png
Normal file
After Width: | Height: | Size: 441 B |
BIN
data/imgs/flags/cx.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/imgs/flags/cy.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
data/imgs/flags/cz.png
Normal file
After Width: | Height: | Size: 369 B |
@ -1,5 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-dk" viewBox="0 0 640 480">
|
|
||||||
<path fill="#c8102e" d="M0 0h640.1v480H0z"/>
|
|
||||||
<path fill="#fff" d="M205.7 0h68.6v480h-68.6z"/>
|
|
||||||
<path fill="#fff" d="M0 205.7h640.1v68.6H0z"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 236 B |
BIN
data/imgs/flags/de.png
Normal file
After Width: | Height: | Size: 168 B |
@ -1,5 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-de" viewBox="0 0 640 480">
|
|
||||||
<path fill="#ffce00" d="M0 320h640v160H0z"/>
|
|
||||||
<path d="M0 0h640v160H0z"/>
|
|
||||||
<path fill="#d00" d="M0 160h640v160H0z"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 210 B |
BIN
data/imgs/flags/dj.png
Normal file
After Width: | Height: | Size: 452 B |
BIN
data/imgs/flags/dk.png
Normal file
After Width: | Height: | Size: 180 B |
BIN
data/imgs/flags/dm.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
data/imgs/flags/do.png
Normal file
After Width: | Height: | Size: 588 B |
BIN
data/imgs/flags/dz.png
Normal file
After Width: | Height: | Size: 592 B |
BIN
data/imgs/flags/ec.png
Normal file
After Width: | Height: | Size: 1.3 KiB |