diff --git a/index.html b/index.html new file mode 120000 index 0000000..0b89243 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +/home/fr4nz/NetStorage/Repo/LoMeS/templates/index.html \ No newline at end of file diff --git a/lomes-app.py b/lomes-app.py index b14793b..499e3ae 100755 --- a/lomes-app.py +++ b/lomes-app.py @@ -1,12 +1,14 @@ #!/bin/python3 from flask import Flask, render_template +import getpass -app = Flask(__name__, static_folder="static") +app = Flask(__name__) @app.route("/") def index(): - return render_template("index.html") + user=getpass.getuser() + return render_template("index.html", user=user) app.run(host="127.0.0.1", port=5000) diff --git a/static/index.html b/static/index.html deleted file mode 100644 index f33378b..0000000 --- a/static/index.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - LoMeS | Meshtastic - - - - -
-
- -

Welcome to LoMeS

-
-
-

A Local Meshtastic Server in development

-

If you see this site, means "LoMeS" development environment is running!

-

Thanks for collaborating and trying to make things mor real...

-
- - -
- - \ No newline at end of file diff --git a/static/lndpg.html b/static/lndpg.html deleted file mode 100644 index f33378b..0000000 --- a/static/lndpg.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - LoMeS | Meshtastic - - - - -
-
- -

Welcome to LoMeS

-
-
-

A Local Meshtastic Server in development

-

If you see this site, means "LoMeS" development environment is running!

-

Thanks for collaborating and trying to make things mor real...

-
- - -
- - \ No newline at end of file diff --git a/templates/data/font/Gravity-Bold.woff b/templates/data/font/Gravity-Bold.woff deleted file mode 100644 index bd94496..0000000 Binary files a/templates/data/font/Gravity-Bold.woff and /dev/null differ diff --git a/templates/data/font/Gravity-Bold.woff2 b/templates/data/font/Gravity-Bold.woff2 deleted file mode 100644 index d3dfc2b..0000000 Binary files a/templates/data/font/Gravity-Bold.woff2 and /dev/null differ diff --git a/templates/data/font/Gravity-BoldItalic.woff b/templates/data/font/Gravity-BoldItalic.woff deleted file mode 100644 index 674ef3e..0000000 Binary files a/templates/data/font/Gravity-BoldItalic.woff and /dev/null differ diff --git a/templates/data/font/Gravity-BoldItalic.woff2 b/templates/data/font/Gravity-BoldItalic.woff2 deleted file mode 100644 index 7489325..0000000 Binary files a/templates/data/font/Gravity-BoldItalic.woff2 and /dev/null differ diff --git a/templates/data/font/Gravity-Book.woff b/templates/data/font/Gravity-Book.woff deleted file mode 100644 index ae705ec..0000000 Binary files a/templates/data/font/Gravity-Book.woff and /dev/null differ diff --git a/templates/data/font/Gravity-Book.woff2 b/templates/data/font/Gravity-Book.woff2 deleted file mode 100644 index 5e90874..0000000 Binary files a/templates/data/font/Gravity-Book.woff2 and /dev/null differ diff --git a/templates/data/font/Gravity-BookItalic.woff b/templates/data/font/Gravity-BookItalic.woff deleted file mode 100644 index 5e1d14c..0000000 Binary files a/templates/data/font/Gravity-BookItalic.woff and /dev/null differ diff --git a/templates/data/font/Gravity-BookItalic.woff2 b/templates/data/font/Gravity-BookItalic.woff2 deleted file mode 100644 index 4752f17..0000000 Binary files a/templates/data/font/Gravity-BookItalic.woff2 and /dev/null differ diff --git a/templates/data/font/Gravity-Italic.woff b/templates/data/font/Gravity-Italic.woff deleted file mode 100644 index 8b23e2a..0000000 Binary files a/templates/data/font/Gravity-Italic.woff and /dev/null differ diff --git a/templates/data/font/Gravity-Italic.woff2 b/templates/data/font/Gravity-Italic.woff2 deleted file mode 100644 index 83d4e4c..0000000 Binary files a/templates/data/font/Gravity-Italic.woff2 and /dev/null differ diff --git a/templates/data/font/Gravity-Light.woff b/templates/data/font/Gravity-Light.woff deleted file mode 100644 index fbd80fb..0000000 Binary files a/templates/data/font/Gravity-Light.woff and /dev/null differ diff --git a/templates/data/font/Gravity-Light.woff2 b/templates/data/font/Gravity-Light.woff2 deleted file mode 100644 index a0f022d..0000000 Binary files a/templates/data/font/Gravity-Light.woff2 and /dev/null differ diff --git a/templates/data/font/Gravity-LightItalic.woff b/templates/data/font/Gravity-LightItalic.woff deleted file mode 100644 index b30c6c0..0000000 Binary files a/templates/data/font/Gravity-LightItalic.woff and /dev/null differ diff --git a/templates/data/font/Gravity-LightItalic.woff2 b/templates/data/font/Gravity-LightItalic.woff2 deleted file mode 100644 index 4b1015f..0000000 Binary files a/templates/data/font/Gravity-LightItalic.woff2 and /dev/null differ diff --git a/templates/data/font/Gravity-Regular.woff b/templates/data/font/Gravity-Regular.woff deleted file mode 100644 index 975db9c..0000000 Binary files a/templates/data/font/Gravity-Regular.woff and /dev/null differ diff --git a/templates/data/font/Gravity-Regular.woff2 b/templates/data/font/Gravity-Regular.woff2 deleted file mode 100644 index 0c8b99e..0000000 Binary files a/templates/data/font/Gravity-Regular.woff2 and /dev/null differ diff --git a/templates/data/font/Gravity-UltraLight.woff b/templates/data/font/Gravity-UltraLight.woff deleted file mode 100644 index e9126ec..0000000 Binary files a/templates/data/font/Gravity-UltraLight.woff and /dev/null differ diff --git a/templates/data/font/Gravity-UltraLight.woff2 b/templates/data/font/Gravity-UltraLight.woff2 deleted file mode 100644 index 5b913c8..0000000 Binary files a/templates/data/font/Gravity-UltraLight.woff2 and /dev/null differ diff --git a/templates/data/font/Gravity-UltraLightItalic.woff b/templates/data/font/Gravity-UltraLightItalic.woff deleted file mode 100644 index f9ee0c1..0000000 Binary files a/templates/data/font/Gravity-UltraLightItalic.woff and /dev/null differ diff --git a/templates/data/font/Gravity-UltraLightItalic.woff2 b/templates/data/font/Gravity-UltraLightItalic.woff2 deleted file mode 100644 index 7dd35c7..0000000 Binary files a/templates/data/font/Gravity-UltraLightItalic.woff2 and /dev/null differ diff --git a/templates/data/images/favicon.ico b/templates/data/images/favicon.ico deleted file mode 100644 index 5ee2b1b..0000000 --- a/templates/data/images/favicon.ico +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - diff --git a/templates/data/images/lomes.svg b/templates/data/images/lomes.svg deleted file mode 100644 index a9886b3..0000000 --- a/templates/data/images/lomes.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - diff --git a/templates/data/install_log/log.html b/templates/data/install_log/log.html deleted file mode 100644 index bcb14ad..0000000 --- a/templates/data/install_log/log.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - -
Hostname
IP Address
Encryption
\ No newline at end of file diff --git a/templates/index.html b/templates/index.html index e2e96ec..d389236 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,17 +4,18 @@ LoMeS | Meshtastic - +
- +

Welcome to LoMeS

-

A Local Meshtastic Server in development

+

A Local Meshtastic Server in development


+

Hi {{user}}

If you see this site, means "LoMeS" development environment is running!

Thanks for collaborating and trying to make things mor real...

diff --git a/templates/lndpg.html b/templates/lndpg.html deleted file mode 100644 index f33378b..0000000 --- a/templates/lndpg.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - LoMeS | Meshtastic - - - - -
-
- -

Welcome to LoMeS

-
-
-

A Local Meshtastic Server in development

-

If you see this site, means "LoMeS" development environment is running!

-

Thanks for collaborating and trying to make things mor real...

-
- - -
- - \ No newline at end of file diff --git a/templates/style.css b/templates/style.css deleted file mode 100644 index 7ae2e0e..0000000 --- a/templates/style.css +++ /dev/null @@ -1,138 +0,0 @@ -*{ - margin: 0; - padding: 0; - font-family: Gravity; -} - -@font-face { - font-family: 'Gravity'; - src: url('data/font/Gravity-UltraLight.woff2') format('woff2'), - url('data/font/Gravity-UltraLight.woff') format('woff'); - font-weight: 200; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Gravity'; - src: url('data/font/Gravity-Light.woff2') format('woff2'), - url('data/font/Gravity-Light.woff') format('woff'); - font-weight: 300; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Gravity'; - src: url('data/font/Gravity-Bold.woff2') format('woff2'), - url('data/font/Gravity-Bold.woff') format('woff'); - font-weight: bold; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Gravity'; - src: url('data/font/Gravity-LightItalic.woff2') format('woff2'), - url('data/font/Gravity-LightItalic.woff') format('woff'); - font-weight: 300; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Gravity'; - src: url('data/font/Gravity-Italic.woff2') format('woff2'), - url('data/font/Gravity-Italic.woff') format('woff'); - font-weight: normal; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Gravity Book'; - src: url('data/font/Gravity-Book.woff2') format('woff2'), - url('data/font/Gravity-Book.woff') format('woff'); - font-weight: normal; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Gravity'; - src: url('data/font/Gravity-BoldItalic.woff2') format('woff2'), - url('data/font/Gravity-BoldItalic.woff') format('woff'); - font-weight: bold; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Gravity Book'; - src: url('data/font/Gravity-BookItalic.woff2') format('woff2'), - url('data/font/Gravity-BookItalic.woff') format('woff'); - font-weight: normal; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Gravity'; - src: url('data/font/Gravity-Regular.woff2') format('woff2'), - url('data/font/Gravity-Regular.woff') format('woff'); - font-weight: normal; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Gravity'; - src: url('data/font/Gravity-UltraLightItalic.woff2') format('woff2'), - url('data/font/Gravity-UltraLightItalic.woff') format('woff'); - font-weight: 200; - font-style: italic; - font-display: swap; -} - -body { - background-color: darkslategrey; -} - -header { - display: flex; - align-items: center; - justify-content: center; - padding-top: 30px; -} - -.icon { - height: 80px; -} - -.textBox { - padding-top: 20px; -} - -h1 { - font-size: 26px; - padding: 5px; - padding-bottom: 10px; - text-align: center; - color: lightgray; -} - -h3 { - font-size: 20px; - padding: 5px; - padding-bottom: 10px; - text-align: center; - color: lightgray; -} - -p { - font-size: 16px; - padding: 5px; - padding-bottom: 10px; - text-align: center; - color: lightgray; -} \ No newline at end of file