Compare commits
14 Commits
7cad640116
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 8bac4d2299 | |||
| d736b4709b | |||
| d260a41196 | |||
| 8d5ec5505e | |||
| abb7a971d6 | |||
| e0b19bc496 | |||
| 460cebcf93 | |||
| 0764631d16 | |||
| 4c45fc88a6 | |||
| 4985700a67 | |||
| 796924b3da | |||
| 94746d96fd | |||
|
|
38a794282f | ||
|
|
16782ba8da |
19
.drone.yml
19
.drone.yml
@@ -1,19 +0,0 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build container
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
username:
|
||||
from_secret: registry-username
|
||||
password:
|
||||
from_secret: registry-password
|
||||
registry: https://cs-registry.ddnss.de
|
||||
repo: cs-registry.ddnss.de/${DRONE_REPO_OWNER}/huber-putz
|
||||
dry_run: false
|
||||
purge: false
|
||||
insecure: false
|
||||
tags:
|
||||
- ${DRONE_TAG}
|
||||
82
.gitea/workflows/release.yml
Normal file
82
.gitea/workflows/release.yml
Normal file
@@ -0,0 +1,82 @@
|
||||
name: Build stuck web image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
schedule:
|
||||
# Run every Sunday at midnight
|
||||
- cron: '1 0 * * 0'
|
||||
|
||||
env:
|
||||
IMAGE: /huber/stuck-web
|
||||
|
||||
jobs:
|
||||
Build-and-release-image:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
buildkitd-flags: '--allow-insecure-entitlement network.host'
|
||||
driver-opts: network=host
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USER }}
|
||||
password: ${{ vars.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Log into CS registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ vars.CS_REGISTRY_URL }}
|
||||
username: ${{ vars.CS_REGISTRY_USER }}
|
||||
password: ${{ vars.CS_REGISTRY_PASS }}
|
||||
|
||||
- name: Log into local registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ vars.LOCAL_REGISTRY_URL }}
|
||||
username: ${{ vars.LOCAL_REGISTRY_USER }}
|
||||
password: ${{ vars.LOCAL_REGISTRY_PASS }}
|
||||
|
||||
- name: Extract Docker metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ secrets.REGISTRY_URL }}${{ env.IMAGE }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v6
|
||||
env:
|
||||
ACTIONS_RUNTIME_TOKEN: ''
|
||||
with:
|
||||
allow: network.host
|
||||
network: host
|
||||
tags: ${{ vars.LOCAL_REGISTRY_URL }}${{ env.IMAGE }}:latest
|
||||
push: true
|
||||
|
||||
- name: Scan image
|
||||
uses: anchore/scan-action@v6
|
||||
id: scan
|
||||
with:
|
||||
image: ${{ vars.LOCAL_REGISTRY_URL }}${{ env.IMAGE }}:latest
|
||||
fail-build: false
|
||||
output-format: table
|
||||
severity-cutoff: critical
|
||||
registry-username: ${{ vars.LOCAL_REGISTRY_USER }}
|
||||
registry-password: ${{ vars.LOCAL_REGISTRY_PASS }}
|
||||
|
||||
- name: Inspect file
|
||||
run: cat ${{ steps.scan.outputs.table }}
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: scan-result
|
||||
path: ${{ steps.scan.outputs.table }}
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.idea/
|
||||
@@ -1,3 +1,3 @@
|
||||
FROM php:8.1-apache
|
||||
FROM gitea.fam-steinle.de/docker/nginx-fpm-8-4
|
||||
|
||||
COPY . /var/www/html
|
||||
COPY . /var/www/html
|
||||
|
||||
250
css/page.css
250
css/page.css
@@ -1,198 +1,200 @@
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
font-size: 12px;
|
||||
width: 1000px;
|
||||
margin: auto;
|
||||
background-color: #ccc;
|
||||
font-family: Arial, sans-serif;
|
||||
font-size: 12px;
|
||||
width: 1000px;
|
||||
margin: auto;
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
line-height: 1.2em;
|
||||
color: #1a2d79;
|
||||
font-weight: bold;
|
||||
margin: 0 0 10px -5px;
|
||||
padding: 5px 0 20px 0;
|
||||
border-bottom: 1px dashed #999;
|
||||
font-size: 2em;
|
||||
line-height: 1.2em;
|
||||
color: #1a2d79;
|
||||
font-weight: bold;
|
||||
margin: 0 0 10px -5px;
|
||||
padding: 5px 0 20px 0;
|
||||
border-bottom: 1px dashed #999;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
line-height: 1.2em;
|
||||
color: #525760;
|
||||
font-weight: bold;
|
||||
margin: 20px 0 10px -1px;
|
||||
font-size: 1.5em;
|
||||
line-height: 1.2em;
|
||||
color: #525760;
|
||||
font-weight: bold;
|
||||
margin: 20px 0 10px -1px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.5em;
|
||||
line-height: 1.2em;
|
||||
color: #525760;
|
||||
font-weight: bold;
|
||||
margin: 0 0 0 0;
|
||||
padding: 20px 0 20px 0;
|
||||
font-size: 1.5em;
|
||||
line-height: 1.2em;
|
||||
color: #525760;
|
||||
font-weight: bold;
|
||||
margin: 0 0 0 0;
|
||||
padding: 20px 0 20px 0;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 2.5em;
|
||||
line-height: 1em;
|
||||
color: #1a2d79;
|
||||
font-weight: bold;
|
||||
margin: 0 0 0 0;
|
||||
font-size: 2.5em;
|
||||
line-height: 1em;
|
||||
color: #1a2d79;
|
||||
font-weight: bold;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
img{
|
||||
border: 0;
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
#header{
|
||||
height: 115px;
|
||||
#header {
|
||||
height: 115px;
|
||||
}
|
||||
|
||||
#header img{
|
||||
padding-top: 5px;
|
||||
padding-bottom: 0;
|
||||
#header img {
|
||||
padding-top: 5px;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
#greybar {
|
||||
height: 30px;
|
||||
background-image: url(../img/button_grau.jpg);
|
||||
margin: 0 0 0 200px;
|
||||
height: 30px;
|
||||
background-image: url(../img/button_grau.jpg);
|
||||
margin: 0 0 0 200px;
|
||||
}
|
||||
|
||||
#greybar ul{
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
#greybar ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#greybar li{
|
||||
padding-top: 5px;
|
||||
height: 25px;
|
||||
float: right;
|
||||
display: inline;
|
||||
#greybar li {
|
||||
padding-top: 5px;
|
||||
height: 25px;
|
||||
float: right;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#greybar li:hover{
|
||||
background-image: url(../img/button_grau_over.jpg);
|
||||
height: 25px;
|
||||
#greybar li:hover {
|
||||
background-image: url(../img/button_grau_over.jpg);
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
#greybar li.aktiv{
|
||||
background-image: url(../img/button_grau_over.jpg);
|
||||
font-weight: bold;
|
||||
#greybar li.aktiv {
|
||||
background-image: url(../img/button_grau_over.jpg);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#greybar a{
|
||||
text-decoration: none;
|
||||
float: left;
|
||||
width: 150px;
|
||||
text-align: center;
|
||||
color: #FFF;
|
||||
font-size: 1em;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 3px;
|
||||
#greybar a {
|
||||
text-decoration: none;
|
||||
float: left;
|
||||
width: 150px;
|
||||
text-align: center;
|
||||
color: #FFF;
|
||||
font-size: 1em;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
#links {
|
||||
width: 200px;
|
||||
height: 630px;
|
||||
background-color: #1a2d79;
|
||||
margin-top: -30px;
|
||||
height: 630px;
|
||||
background-color: #1a2d79;
|
||||
margin-top: -30px;
|
||||
float: left;
|
||||
position: relative;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#links ul{
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
width: 200px;
|
||||
#links ul {
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
#links li{
|
||||
list-style-type: none;
|
||||
background-image: url(../img/button_blau.jpg);
|
||||
height: 23px;
|
||||
padding-top: 7px;
|
||||
padding-left: 20px;
|
||||
#links li {
|
||||
list-style-type: none;
|
||||
background-image: url(../img/button_blau.jpg);
|
||||
height: 23px;
|
||||
padding-top: 7px;
|
||||
padding-left: 20px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#links li.level2{
|
||||
padding-left: 40px;
|
||||
#links li.level2 {
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
#links li.aktivlevel2{
|
||||
background-image: url(../img/button_blau_over.jpg);
|
||||
padding-left: 40px;
|
||||
#links li.aktivlevel2 {
|
||||
background-image: url(../img/button_blau_over.jpg);
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
#links li:hover{
|
||||
background-image: url(../img/button_blau_over.jpg);
|
||||
#links li:hover {
|
||||
background-image: url(../img/button_blau_over.jpg);
|
||||
}
|
||||
|
||||
#links li.aktiv{
|
||||
background-image: url(../img/button_blau_over.jpg);
|
||||
font-weight: bold;
|
||||
#links li.aktiv {
|
||||
background-image: url(../img/button_blau_over.jpg);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#links a{
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
height: 20px;
|
||||
color: #fff;
|
||||
font-size: 1em;
|
||||
#links a {
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
height: 20px;
|
||||
color: #fff;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
#inhalt {
|
||||
margin-left: 0;
|
||||
height: 600px;
|
||||
padding: 0 20px 0 20px;
|
||||
text-align: justify;
|
||||
background-color: #fff;
|
||||
overflow: auto;
|
||||
margin-left: 0;
|
||||
height: 600px;
|
||||
padding: 0 20px 0 20px;
|
||||
text-align: justify;
|
||||
background-color: #fff;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#inhalt ul{
|
||||
padding-left: 20px;
|
||||
#inhalt ul {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
img.daemm{
|
||||
float: right;
|
||||
padding-left: 50px;
|
||||
img.daemm {
|
||||
float: right;
|
||||
padding-left: 50px;
|
||||
}
|
||||
|
||||
img.info{
|
||||
float: left;
|
||||
padding-right: 50px;
|
||||
img.info {
|
||||
float: left;
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
img.rechts {
|
||||
float: right;
|
||||
margin-left: 20px;
|
||||
margin-bottom: 20px;
|
||||
float: right;
|
||||
margin-left: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
img.referenz{
|
||||
padding: 0 0 0 0;
|
||||
img.referenz {
|
||||
padding: 0 0 0 0;
|
||||
}
|
||||
|
||||
#clear {
|
||||
overflow: hidden;
|
||||
clear: left;
|
||||
height: 0;
|
||||
margin: -1px 0 0 0;
|
||||
font-size: 1px;
|
||||
overflow: hidden;
|
||||
clear: left;
|
||||
height: 0;
|
||||
margin: -1px 0 0 0;
|
||||
font-size: 1px;
|
||||
}
|
||||
|
||||
#cleaner {
|
||||
clear: both;
|
||||
margin-top: 0;
|
||||
position: fixed;
|
||||
clear: both;
|
||||
margin-top: 0;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
#footer {
|
||||
color: #fff;
|
||||
height: 23px;
|
||||
padding-top: 7px;
|
||||
background-image: url(../img/button_grau_over.jpg);
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
height: 23px;
|
||||
padding-top: 7px;
|
||||
background-image: url(../img/button_grau_over.jpg);
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user