Dodo-app: fix sync user info bug
disable form after running app installation
Change-Id: I28dec5f8a9ad1d586bc2d2cc56a6c1c66cf2fdbe
diff --git a/core/installer/welcome/dodo-app-tmpl/index.html b/core/installer/welcome/dodo-app-tmpl/index.html
index 9874d12..fa5ab48 100644
--- a/core/installer/welcome/dodo-app-tmpl/index.html
+++ b/core/installer/welcome/dodo-app-tmpl/index.html
@@ -2,7 +2,7 @@
dodo app: status
{{ end }}
{{- define "content" -}}
-<form action="" method="POST">
+<form id="create-app" action="" method="POST">
<fieldset class="grid">
<select name="network">
{{- range .Networks -}}
@@ -15,7 +15,8 @@
<option value="{{ . }}">{{ . }}</option>
{{- end -}}
</select>
- <button type="submit" name="create-app">Create App</button>
+ <button id="create-app-button" aria-busy="false" type="submit" name="create-app">
+ create app</button>
</fieldset>
</form>
<hr class="divider">
@@ -24,10 +25,11 @@
<ul>
{{- range .Apps -}}
<li>
- <a href="/{{ . }}">{{ . }}</a>
+ <a class="app-info-link" href="/{{ . }}">{{ . }}</a>
</li>
{{- end -}}
</ul>
</nav>
</aside>
+<script src="/static/dodo-app.js?v=0.0.7"></script>
{{- end -}}