more static files
This commit is contained in:
parent
8e34b59d07
commit
bb17ea5f2e
8 changed files with 308 additions and 0 deletions
23
deploy.playbook.yml
Normal file
23
deploy.playbook.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
- name: cbax dev deploy
|
||||
hosts: containers
|
||||
tasks:
|
||||
- name: Copy files
|
||||
ansible.posix.synchronize:
|
||||
src: "{{playbook_dir}}/"
|
||||
dest: "/root/cbax_dev"
|
||||
|
||||
- name: Move assets
|
||||
ansible.builtin.copy:
|
||||
remote_src: true
|
||||
src: /root/cbax_dev/static/
|
||||
dest: /srv/http/cbax_dev/
|
||||
|
||||
- name: Tear down existing service
|
||||
ansible.builtin.command: "docker compose down --rmi all"
|
||||
args:
|
||||
chdir: "$HOME/cbax_dev"
|
||||
|
||||
- name: Create the new container
|
||||
ansible.builtin.command: "docker compose up -d"
|
||||
args:
|
||||
chdir: "$HOME/cbax_dev"
|
15
static/balun/privacy.txt
Executable file
15
static/balun/privacy.txt
Executable file
|
@ -0,0 +1,15 @@
|
|||
Privacy Policy
|
||||
References
|
||||
In this whole document when being referred as "we" or "us", DosLab Electronics, LLC as a whole is meant with everybody responsible.
|
||||
When referring to "personal data", your discord user-id and other information accessible to every other discord user is meant as well as personal information you pass on via a command usages.
|
||||
Collection of data
|
||||
We do not collect any kind of personal data that you didn't authorize. Messages are only processed when being asked to do so (e.g. by using one of the bulk setup commands). Data from presences (including custom statuses and others), messages contents and other personal user-generated content is not being saved in any way.
|
||||
Data is only collected for providing services such as premium access. For this process only your user-id is stored to provide optimal experience
|
||||
|
||||
Data is anonymously collected for analytic purposes. This means information such as when our bot got added to a server or command usages / errors.
|
||||
We DO NOT connect this data to you as a user. This data is only used to optimize our services and advance the user experience.
|
||||
|
||||
Distribution of data
|
||||
None of your data is being distributed to anybody else, it is only used in internal processes to improve user experience and services.
|
||||
Deletion of data
|
||||
All user-related data can be deleted by us on request in the support server linked in useful links section.
|
9
static/balun/tos.txt
Executable file
9
static/balun/tos.txt
Executable file
|
@ -0,0 +1,9 @@
|
|||
Terms of Service
|
||||
Introduction and accepting of ToS
|
||||
By inviting and using our bot you automatically agree to our Terms of Service below.
|
||||
By accepting balun ("our", "we", "us") Terms of Service ("ToS") you agree that you've agreed to Discord's terms of service and meet every requirement mentioned there. You ("you", "your") also agree that you've read our privacy policy
|
||||
and agreed to it.
|
||||
Rights to use our service
|
||||
You have the right to use our service as long as you don't use it in any way that would break or the rules of the guild ("server") you're in. We reserve the right to permanently block you from our services, deny support and/or services or report you to Discord.
|
||||
|
||||
We are not responsible for content generated via our bot by users that is violating Discord terms of service in any way.
|
2
static/css/midnight_green.css
Normal file
2
static/css/midnight_green.css
Normal file
|
@ -0,0 +1,2 @@
|
|||
@import url("https://fonts.googleapis.com/css?family=Nunito");html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,textarea,input,select,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-family:"Nunito",sans-serif;color:#eceff1}body,html{padding:0;margin:0;overflow-x:hidden;background-color:#37474f}nav{font-family:"Nunito",sans-serif;background-color:#212121;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex}nav header{padding:8px;display:inline}nav header a{text-decoration:none;color:#fff}nav header a:hover{color:#00c853}nav header+input:checked+div{display:block}nav div{display:none;margin-left:auto}nav div ul{list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex;margin:0 10px}nav div ul li a{display:inline-block;padding:8px;color:#fff;text-decoration:none}nav div ul li:hover{background-color:#00c853}nav div ul li ul{right:0;position:relative;background:pink}@media (max-width: 630px){nav{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}nav header{text-align:center}nav div{margin:auto}nav div ul{padding:0}nav div ul li{border-top-left-radius:5px;border-top-right-radius:5px}nav div ul li[active],nav div ul li.active{border:1px solid #00c853;border-bottom:none}blockquote{border-left:4px solid #00c853;padding:8px 5px;margin:0}blockquote p{font-size:0.4rem}}@media (min-width: 630px){nav div ul li.active,nav div ul li[active]{border:1px solid #00c853;border-bottom:none;border-top:none}nav header label{display:none}}section[container]{max-width:38em;margin:auto;padding:5px}h1{font-size:2.35em}h2{font-size:2em}h3{font-size:1.75em}h4{font-size:1.5em}h5{font-size:1.25em}h6{font-size:1em}a{color:#00c853}a:hover{color:#212121}mark{background-color:#00c853}code{font-family:monospace;background-color:#bdbdbd;padding-left:5px;padding-right:5px}blockquote{border-left:4px solid #00c853;padding:8px 10px;width:100%}blockquote p{font-style:italic;font-size:1.1rem}blockquote footer::before{content:"\2014 \00A0"}blockquote footer cite{font-style:italic;color:#bdbdbd}pre{background:#263238;overflow-x:auto;text-align:left;padding:5px}pre code{display:block;padding:0 10px;background:transparent}table{display:table;padding:5px;border-collapse:collapse}table thead,table tbody{text-align:left}table tr th,table tr td{padding:5px 10px;border-bottom:1px solid #00c853}div[overflow]{overflow-x:auto;max-width:100vw}div[overflow] ::-webkit-scrollbar{height:0}img{max-width:100%;border-radius:5px}form div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:10px 5px}form div p{margin:0px}form input,form select{font-size:1rem;padding:5px;border:none;color:#212121}form input:active,form input:focus,form select:active,form select:focus{outline-color:#00c853}form input[type="submit"]{padding:10px;background-color:#00c853;color:#eceff1;border-radius:5px;border:none;cursor:pointer}form input[type="submit"]:active,form input[type="submit"]:focus{outline:none}form input[type="submit"]:active{background-color:#212121;color:#00c853}form input[type="submit"]:disabled{background:#bdbdbd;cursor:not-allowed}form input[type="submit"][secondary]{background-color:#212121;color:#00c853}form input[type="submit"][secondary]:active{background-color:#00c853;color:initial}textarea{color:#212121;width:-webkit-fill-available;font-size:1rem;padding:5px}textarea:active,textarea:focus{outline-color:#00c853}button{padding:10px;background-color:#00c853;color:#eceff1;border-radius:5px;border:none;cursor:pointer}button:active,button:focus{outline:none}button:active{background-color:#212121;color:#00c853}button:disabled{background:#bdbdbd;cursor:not-allowed}button[secondary]{background-color:#212121;color:#00c853}button[secondary]:active{background-color:#00c853;color:initial}body>footer{background-color:#212121;position:relative;bottom:0;width:100%;padding:5px}
|
||||
/*# sourceMappingURL=midnight-green.css.map */
|
231
static/css/nord.css
Normal file
231
static/css/nord.css
Normal file
|
@ -0,0 +1,231 @@
|
|||
/*
|
||||
* Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||
* This source code is licensed under the MIT license found in the license file.
|
||||
*/
|
||||
|
||||
/*
|
||||
* References:
|
||||
* 1. https://www.w3.org/TR/css-variables
|
||||
* 2. https://www.w3.org/TR/selectors/#root-pseudo
|
||||
* 3. https://drafts.csswg.org/css-variables
|
||||
* 4. https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables
|
||||
* 5. https://warpspire.com/kss
|
||||
* 6. https://github.com/kss-node/kss-node
|
||||
*/
|
||||
|
||||
/*
|
||||
An arctic, north-bluish color palette.
|
||||
Created for the clean- and minimal flat design pattern to achieve a optimal focus and readability for code syntax
|
||||
highlighting and UI.
|
||||
It consists of a total of sixteen, carefully selected, dimmed pastel colors for a eye-comfortable, but yet colorful
|
||||
ambiance.
|
||||
|
||||
Styleguide Nord
|
||||
*/
|
||||
|
||||
:root {
|
||||
/*
|
||||
Base component color of "Polar Night".
|
||||
|
||||
Used for texts, backgrounds, carets and structuring characters like curly- and square brackets.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#2e3440; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Polar Night
|
||||
*/
|
||||
--nord0: #2e3440;
|
||||
|
||||
/*
|
||||
Lighter shade color of the base component color.
|
||||
|
||||
Used as a lighter background color for UI elements like status bars.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#3b4252; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Polar Night
|
||||
*/
|
||||
--nord1: #3b4252;
|
||||
|
||||
/*
|
||||
Lighter shade color of the base component color.
|
||||
|
||||
Used as line highlighting in the editor.
|
||||
In the UI scope it may be used as selection- and highlight color.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#434c5e; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Polar Night
|
||||
*/
|
||||
--nord2: #434c5e;
|
||||
|
||||
/*
|
||||
Lighter shade color of the base component color.
|
||||
|
||||
Used for comments, invisibles, indent- and wrap guide marker.
|
||||
In the UI scope used as pseudoclass color for disabled elements.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#4c566a; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Polar Night
|
||||
*/
|
||||
--nord3: #4c566a;
|
||||
|
||||
/*
|
||||
Base component color of "Snow Storm".
|
||||
|
||||
Main color for text, variables, constants and attributes.
|
||||
In the UI scope used as semi-light background depending on the theme shading design.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#d8dee9; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Snow Storm
|
||||
*/
|
||||
--nord4: #d8dee9;
|
||||
|
||||
/*
|
||||
Lighter shade color of the base component color.
|
||||
|
||||
Used as a lighter background color for UI elements like status bars.
|
||||
Used as semi-light background depending on the theme shading design.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#e5e9f0; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Snow Storm
|
||||
*/
|
||||
--nord5: #e5e9f0;
|
||||
|
||||
/*
|
||||
Lighter shade color of the base component color.
|
||||
|
||||
Used for punctuations, carets and structuring characters like curly- and square brackets.
|
||||
In the UI scope used as background, selection- and highlight color depending on the theme shading design.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#eceff4; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Snow Storm
|
||||
*/
|
||||
--nord6: #eceff4;
|
||||
|
||||
/*
|
||||
Bluish core color.
|
||||
|
||||
Used for classes, types and documentation tags.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#8fbcbb; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Frost
|
||||
*/
|
||||
--nord7: #8fbcbb;
|
||||
|
||||
/*
|
||||
Bluish core accent color.
|
||||
|
||||
Represents the accent color of the color palette.
|
||||
Main color for primary UI elements and methods/functions.
|
||||
|
||||
Can be used for
|
||||
- Markup quotes
|
||||
- Markup link URLs
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#88c0d0; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Frost
|
||||
*/
|
||||
--nord8: #88c0d0;
|
||||
|
||||
/*
|
||||
Bluish core color.
|
||||
|
||||
Used for language-specific syntactic/reserved support characters and keywords, operators, tags, units and
|
||||
punctuations like (semi)colons,commas and braces.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#81a1c1; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Frost
|
||||
*/
|
||||
--nord9: #81a1c1;
|
||||
|
||||
/*
|
||||
Bluish core color.
|
||||
|
||||
Used for markup doctypes, import/include/require statements, pre-processor statements and at-rules (`@`).
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#5e81ac; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Frost
|
||||
*/
|
||||
--nord10: #5e81ac;
|
||||
|
||||
/*
|
||||
Colorful component color.
|
||||
|
||||
Used for errors, git/diff deletion and linter marker.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#bf616a; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Aurora
|
||||
*/
|
||||
--nord11: #bf616a;
|
||||
|
||||
/*
|
||||
Colorful component color.
|
||||
|
||||
Used for annotations.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#d08770; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Aurora
|
||||
*/
|
||||
--nord12: #d08770;
|
||||
|
||||
/*
|
||||
Colorful component color.
|
||||
|
||||
Used for escape characters, regular expressions and markup entities.
|
||||
In the UI scope used for warnings and git/diff renamings.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#ebcb8b; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Aurora
|
||||
*/
|
||||
--nord13: #ebcb8b;
|
||||
|
||||
/*
|
||||
Colorful component color.
|
||||
|
||||
Main color for strings and attribute values.
|
||||
In the UI scope used for git/diff additions and success visualizations.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#a3be8c; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Aurora
|
||||
*/
|
||||
--nord14: #a3be8c;
|
||||
|
||||
/*
|
||||
Colorful component color.
|
||||
|
||||
Used for numbers.
|
||||
|
||||
Markup:
|
||||
<div style="background-color:#b48ead; width=60; height=60"></div>
|
||||
|
||||
Styleguide Nord - Aurora
|
||||
*/
|
||||
--nord15: #b48ead;
|
||||
}
|
BIN
static/img/dam.gif
Normal file
BIN
static/img/dam.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
BIN
static/img/powered_by_alpine.gif
Normal file
BIN
static/img/powered_by_alpine.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 350 B |
28
static/sneezeline.html
Normal file
28
static/sneezeline.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Sneezeline Bot</title>
|
||||
<link rel="stylesheet" href="/res/css/midnight_green.css" type="text/css">
|
||||
<style>
|
||||
article {
|
||||
max-width: 60rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: justify;
|
||||
text-justify: inter-word;
|
||||
font-size: medium;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<article>
|
||||
<h1>Sneezeline Outage Checker Bot</h1>
|
||||
<h2>Because a web page with a map counts as "valid notification"...</h2>
|
||||
<h3>And a "valid notification" counts as a "planned service outage" and is not eligible for refund...</h3>
|
||||
<p>This bot coalesces live uptime data and outage notifications from breezeline residential services to determine "fault" in an attempt to get refunds for outages that cost me real money. (Δ of notification and ping can be significant enough for a refund)</p>
|
||||
<p>If you're reading this you have access to the backend of the breezeline uptime monitoring and incident triage management servers. (Or you have a very fancy web crawler)</p>
|
||||
<code>blback@cbax.dev</code>
|
||||
</article>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue