templates: Add toolbar for apps in app.html

Changes to the app.html layout, mainly:

- A new panel is created to hold action buttons. Closes #1698.

- Launch button is now shown in the panel alongside "Client Apps".

- Run Diagnostics button is moved into this panel as well. Closes #1690.

- Disable 'Launch web client' button when app is disabled. Closes #1718.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Alice Kile authored and James Valleroy committed 2019-12-01 16:40:13 -05:00
1 parent b5cb35fb91
commit 52f6da2a41
6 files changed
+151 -31

No files matched your search

+22
View File
@@ -513,3 +513,25 @@ a.menu_link_active {
.header-bar .app-toggle-container, .header-bar h2 {
margin: auto 0;
}
.toolbar, .panel-heading {
border: none;
}
.toolbar-heading {
padding: 10px 0;
}
.toolbar-title > :not(:first-child) {
margin-left: 10px;
}
.toolbar-body {
min-height: 0;
padding: 0;
margin: 0;
overflow: auto;
}
.toolbar-body #clients.table {
margin-bottom: 0;
}