Add Nginx Cockpit Awareness

This commit is contained in:
t3chn0m4g3
2023-04-27 18:42:38 +02:00
parent a08a475f57
commit 5fd0d158e6
6 changed files with 152 additions and 5 deletions

71
docker/nginx/dist/html/config_light.js vendored Normal file
View File

@ -0,0 +1,71 @@
// ╔╗ ╔═╗╔╗╔╔╦╗╔═╗
// ╠╩╗║╣ ║║║ ║ ║ ║
// ╚═╝╚═╝╝╚╝ ╩ ╚═╝
// ┌─┐┌─┐┌┐┌┌─┐┬┌─┐┬ ┬┬─┐┌─┐┌┬┐┬┌─┐┌┐┌
// │ │ ││││├┤ ││ ┬│ │├┬┘├─┤ │ ││ ││││
// └─┘└─┘┘└┘└ ┴└─┘└─┘┴└─┴ ┴ ┴ ┴└─┘┘└┘
const CONFIG = {
// ┌┐ ┌─┐┌─┐┬┌─┐┌─┐
// ├┴┐├─┤└─┐││ └─┐
// └─┘┴ ┴└─┘┴└─┘└─┘
// General
imageBackground: true,
openInNewTab: true,
twelveHourFormat: false,
// Greetings
greetingMorning: 'Good morning ☕',
greetingAfternoon: 'Good afternoon 🍯',
greetingEvening: 'Good evening 😁',
greetingNight: 'Go to Sleep 🥱',
// ┬ ┬┌─┐┌┬┐┌─┐
// │ │└─┐ │ └─┐
// ┴─┘┴└─┘ ┴ └─┘
//Icons
firstListIcon: 'home',
secondListIcon: 'external-link',
// Links
lists: {
firstList: [
{
name: 'Attack Map',
link: '/map/',
},
{
name: 'Cyberchef',
link: '/cyberchef/',
},
{
name: 'Elasticvue',
link: '/elasticvue/',
},
{
name: 'Kibana',
link: '/kibana/',
},
{
name: 'Spiderfoot',
link: '/spiderfoot/',
},
],
secondList: [
{
name: 'SecurityMeter',
link: 'https://sicherheitstacho.eu',
},
{
name: 'T-Pot @ GitHub',
link: 'https://github.com/telekom-security/tpotce/',
},
{
name: 'T-Pot ReadMe',
link: 'https://github.com/telekom-security/tpotce/blob/master/README.md',
},
],
},
};

60
docker/nginx/dist/html/index_light.html vendored Normal file
View File

@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>T-Pot</title>
<link
rel=" shortcut icon"
type="image/png"
href="assets/icons/favicon.png"
/>
<link rel="stylesheet" href="app.css" />
<script src="assets/js/lucide.min.js"></script>
</head>
<!--
╔╗ ╔═╗╔╗╔╔╦╗╔═╗
╠╩╗║╣ ║║║ ║ ║ ║
╚═╝╚═╝╝╚╝ ╩ ╚═╝
-->
<body class="">
<div class="container">
<!-- Clock and Greetings -->
<div class="timeBlock">
<div class="clock">
<div id="hour" class=""></div>
<div id="separator" class=""></div>
<div id="minutes" class=""></div>
</div>
<div id="greetings"></div>
</div>
<!--
┬ ┬┌─┐┌┬┐┌─┐
│ │└─┐ │ └─┐
┴─┘┴└─┘ ┴ └─┘
-->
<div class="card list list__1" id="list_1"></div>
<div class="card list list__2" id="list_2"></div>
</div>
<!-- Config -->
<script src="config_light.js"></script>
<!-- Scripts -->
<script src="assets/js/time.js"></script>
<script src="assets/js/theme.js"></script>
<script src="assets/js/greeting.js"></script>
<script src="assets/js/lists.js"></script>
<script>
lucide.createIcons();
</script>
</body>
<!-- Developed and designed by Miguel R. Ávila: -->
<!-- https://github.com/migueravila -->
</html>