diff --git a/README.md b/README.md index 5fe45d4..9035d40 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ apt install -y build-essential libwebkit2gtk-4.0-dev libssl-dev In order to build yourself an installer, as a bare minimum, you need to: - Add your favicon to `static/favicon.ico` +- Add your logo to `static/logo.png` - Modify the bootstrap configuration file as needed (`config.PLATFORM.toml`). - Have the main configuration file somewhere useful, reachable over HTTP. - Run: diff --git a/src/assets.rs b/src/assets.rs index e0edba4..6350ba0 100644 --- a/src/assets.rs +++ b/src/assets.rs @@ -34,6 +34,7 @@ pub fn file_from_string(file_path: &str) -> Option<(String, &'static [u8])> { file_path, "/index.html", "/favicon.ico", + "/logo.png", "/css/bulma.min.css", "/css/main.css", "/fonts/roboto-v18-latin-regular.eot", diff --git a/static/index.html b/static/index.html index 9141a4e..bb02f25 100644 --- a/static/index.html +++ b/static/index.html @@ -19,12 +19,17 @@
-

+ +

Welcome to the {{ attrs.name }} installer!

-

+

We will have you up and running in just a few moments.

+ +

+ Welcome to the {{ attrs.name }} maintenance tool. +

diff --git a/static/js/views.js b/static/js/views.js index 7141ac2..4323fd0 100644 --- a/static/js/views.js +++ b/static/js/views.js @@ -116,8 +116,8 @@ const SelectPackages = {
-
Install Location
-
+
Install Location
+
@@ -129,14 +129,23 @@ const SelectPackages = {
- Install - Modify +
+ Advanced... + Install + Modify +
Back
`, + data: function() { + return { + advanced: false + } + }, methods: { select_file: function() { window.external.invoke(JSON.stringify({ diff --git a/static/logo.png b/static/logo.png new file mode 100644 index 0000000..7c6918d Binary files /dev/null and b/static/logo.png differ