show app icons in apps page

- restructure the template markup so as to show the icon towards the
  left of the app heading and description.
- if condition to provide backwards compatiblity to system apps using
  setup.html.
- deluge and matrixsynapse modules have a new property that will be used
  for accessing the icon file name. (to be replicated across all other
  modules *weew*)

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Alice Kile authored and James Valleroy committed 2019-12-07 13:08:25 -05:00
1 parent 3968cefc48
commit f004939f50
2 files changed
+62 -10

No files matched your search

+28
View File
@@ -505,9 +505,11 @@ a.menu_link_active {
left: 6%;
transform: translateY(-50%);
}
.toggle-button--toggled {
background: #337ab7;
}
.toggle-button--toggled::before {
content: '';
position: absolute;
@@ -535,3 +537,29 @@ a.menu_link_active {
.btn-toolbar .button-extra-actions {
float: right;
}
.app-header {
display: grid;
grid-template-columns: 0.2fr 1fr;
column-gap: 20px;
margin-bottom: 20px;
}
.app-header > figure {
margin-top: 25px;
}
.app-header > figure img {
width: 100%;
}
.app-header > figure figcaption {
text-align: center;
opacity: 0.5;
padding: 10px;
font-size: 12px;
}
.app-description {
grid-column: 2;
}