diff --git a/dashmachine/__init__.py b/dashmachine/__init__.py index 7f44849..564fe2b 100755 --- a/dashmachine/__init__.py +++ b/dashmachine/__init__.py @@ -11,8 +11,8 @@ from dashmachine.paths import user_data_folder if not os.path.isdir(user_data_folder): os.mkdir(user_data_folder) -context_path = os.getenv('CONTEXT_PATH', '') -app = Flask(__name__, static_url_path=context_path + '/static') +context_path = os.getenv("CONTEXT_PATH", "") +app = Flask(__name__, static_url_path=context_path + "/static") cache = Cache(app, config={"CACHE_TYPE": "simple"}) api = Api(app) diff --git a/dashmachine/static/images/apps/gotify.png b/dashmachine/static/images/apps/gotify.png new file mode 100644 index 0000000..5d29004 Binary files /dev/null and b/dashmachine/static/images/apps/gotify.png differ diff --git a/dashmachine/static/images/apps/grafana.png b/dashmachine/static/images/apps/grafana.png new file mode 100644 index 0000000..57e5797 Binary files /dev/null and b/dashmachine/static/images/apps/grafana.png differ diff --git a/dashmachine/static/images/apps/piwigo.png b/dashmachine/static/images/apps/piwigo.png new file mode 100644 index 0000000..65605d7 Binary files /dev/null and b/dashmachine/static/images/apps/piwigo.png differ diff --git a/dashmachine/static/images/apps/tasmoadmin.png b/dashmachine/static/images/apps/tasmoadmin.png new file mode 100644 index 0000000..df52045 Binary files /dev/null and b/dashmachine/static/images/apps/tasmoadmin.png differ diff --git a/dashmachine/static/images/apps/transmission.png b/dashmachine/static/images/apps/transmission.png new file mode 100644 index 0000000..53207f6 Binary files /dev/null and b/dashmachine/static/images/apps/transmission.png differ diff --git a/dashmachine/static/images/apps/vscode.png b/dashmachine/static/images/apps/vscode.png new file mode 100644 index 0000000..ea8aefd Binary files /dev/null and b/dashmachine/static/images/apps/vscode.png differ diff --git a/template_apps/new/Gotify.ini b/template_apps/new/Gotify.ini new file mode 100644 index 0000000..ba8e3c5 --- /dev/null +++ b/template_apps/new/Gotify.ini @@ -0,0 +1,6 @@ +[Gotify] +prefix = https:// +url = your-website.com +icon = static/images/apps/gotify.png +description = A simple server for sending and receiving messages +open_in = this_tab diff --git a/template_apps/new/Grafana.ini b/template_apps/new/Grafana.ini new file mode 100644 index 0000000..7c4c3e9 --- /dev/null +++ b/template_apps/new/Grafana.ini @@ -0,0 +1,6 @@ +[Grafana] +prefix = https:// +url = your-website.com +icon = static/images/apps/grafana.png +description = The open observability platform +open_in = this_tab diff --git a/template_apps/new/Piwigo.ini b/template_apps/new/Piwigo.ini new file mode 100644 index 0000000..bed077f --- /dev/null +++ b/template_apps/new/Piwigo.ini @@ -0,0 +1,6 @@ +[Piwigo] +prefix = https:// +url = your-website.com +icon = static/images/apps/piwigo.png +description = Manage your photos with Piwigo, a full featured open source photo gallery application for the web. +open_in = this_tab diff --git a/template_apps/new/TasmoAdmin.ini b/template_apps/new/TasmoAdmin.ini new file mode 100644 index 0000000..5d554c7 --- /dev/null +++ b/template_apps/new/TasmoAdmin.ini @@ -0,0 +1,6 @@ +[TasmoAdmin] +prefix = https:// +url = your-website.com +icon = static/images/apps/tasmoadmin.png +description = Website to manage Sonoff Devices flashed with Tasmota +open_in = this_tab diff --git a/template_apps/new/Transmission.ini b/template_apps/new/Transmission.ini new file mode 100644 index 0000000..ea4638e --- /dev/null +++ b/template_apps/new/Transmission.ini @@ -0,0 +1,6 @@ +[Transmission] +prefix = https:// +url = your-website.com +icon = static/images/apps/transmission.png +description = A Fast, Easy, and Free BitTorrent Client +open_in = this_tab diff --git a/template_apps/new/VS Code.ini b/template_apps/new/VS Code.ini new file mode 100644 index 0000000..e447336 --- /dev/null +++ b/template_apps/new/VS Code.ini @@ -0,0 +1,6 @@ +[VS Code] +prefix = https:// +url = your-website.com +icon = static/images/apps/vscode.png +description = A code editor redefined and optimized for building and debugging modern web and cloud applications +open_in = this_tab