Open up for super early adopters.
Change-Id: I1009d2b3d276bad93c1f017cda23ae062fe88860
diff --git a/core/installer/welcome/appmanager-tmpl/app.html b/core/installer/welcome/appmanager-tmpl/app.html
index 64c1458..bc3e1d2 100644
--- a/core/installer/welcome/appmanager-tmpl/app.html
+++ b/core/installer/welcome/appmanager-tmpl/app.html
@@ -81,6 +81,27 @@
{{ end }}
{{ define "main" }}
+<style>
+ pre {
+ white-space: pre-wrap; /* Since CSS 2.1 */
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+ background-color: transparent;
+ }
+
+ .hidden {
+ visibility: hidden;
+ }
+
+ .toast {
+ position: fixed;
+ z-index: 999;
+ bottom: 10px;
+ }
+</style>
+
{{ $instance := .Instance }}
<h1 style="margin-bottom: 20px">{{ .App.Icon }}{{ .App.Name }}</h1>
<pre id="readme" style="margin-bottom: 50px">{{ .App.Description }}</pre>
@@ -143,27 +164,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10Zm3-6L9 8m0 8l6-8"/></svg> Failed to uninstall application
</div>
-<style>
- pre {
- white-space: pre-wrap; /* Since CSS 2.1 */
- white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
- white-space: -pre-wrap; /* Opera 4-6 */
- white-space: -o-pre-wrap; /* Opera 7 */
- word-wrap: break-word; /* Internet Explorer 5.5+ */
- background-color: transparent;
- }
-
- .hidden {
- visibility: hidden;
- }
-
- .toast {
- position: fixed;
- z-index: 999;
- bottom: 10px;
- }
-</style>
-
<script>
let config = {{ if $instance }}JSON.parse({{ toJson ($instance.InputToValues $schema) }}){{ else }}{}{{ end }};
diff --git a/core/installer/welcome/appmanager-tmpl/index.html b/core/installer/welcome/appmanager-tmpl/index.html
index 02150ff..2306876 100644
--- a/core/installer/welcome/appmanager-tmpl/index.html
+++ b/core/installer/welcome/appmanager-tmpl/index.html
@@ -1,4 +1,26 @@
{{ define "main" }}
+<style>
+ article {
+ margin: 0.3em;
+ margin-bottom: 0.3em;
+
+ display: flex;
+ flex-direction: row;
+ }
+
+ .logo {
+ display: table-cell;
+ vertical-align: middle;
+ }
+ nav li {
+ padding-top: 0;
+ padding-bottom: 0;
+ }
+
+ input[type="search"] {
+ margin-bottom: 0;
+ }
+</style>
<form>
<input type="search" placeholder="Search" />
</form>
@@ -24,27 +46,4 @@
</ul>
</nav>
</aside>
-
-<style>
- article {
- margin: 0.3em;
- margin-bottom: 0.3em;
-
- display: flex;
- flex-direction: row;
- }
-
- .logo {
- display: table-cell;
- vertical-align: middle;
- }
- nav li {
- padding-top: 0;
- padding-bottom: 0;
- }
-
- input[type="search"] {
- margin-bottom: 0;
- }
-</style>
{{ end }}