homepage: rounded corners, aligned title glyphs, greyed closed items, spliced dragoon tagline, inline privacy notes
This commit is contained in:
1 parent
98f11a19c1
commit
f29dbdf7c7
7 files changed
+36
-20
No files matched your search
@@ -96,8 +96,8 @@ function miCard(svc, state) {
|
||||
if (m.compaction) parts.push('<div class="mi-comp">⚡ ' + esc(m.compaction) + '</div>');
|
||||
if (m.supervision) parts.push('<div class="mi-super">' + esc(m.supervision) + '</div>');
|
||||
if (m.permission) parts.push('<div class="mi-perm" title="' + esc(m.permission) + '">⚠ ' + esc(m.permission) + '</div>');
|
||||
if (m.warn) parts.push('<div class="mi-warn" title="' + esc(m.warn) + '">' +
|
||||
'⚠ ' + esc(m.warn.split(':')[0]) + ' \u2014 hover to read</div>');
|
||||
if (m.warn) parts.push('<div class="mi-warn">' +
|
||||
'⚠ ' + esc(m.warn) + '</div>');
|
||||
const card = document.createElement('article');
|
||||
card.className = 'mi-card mi-' + esc(m.unit);
|
||||
card.innerHTML = parts.join('');
|
||||
@@ -132,7 +132,7 @@ function renderPanel(svc, state) {
|
||||
const art = svc.art ? '<img class="app-art" src="' + esc(svc.art) + '" alt=""' +
|
||||
(svc.art_bg ? ' style="background:' + esc(svc.art_bg) + ';border-color:' + esc(svc.art_bg) + '"' : '') + '>' : '';
|
||||
const warn = svc.warn
|
||||
? '<div class="svc-warn" title="' + esc(svc.warn) + '">⚠ privacy note \u2014 hover to read</div>'
|
||||
? '<div class="svc-warn">⚠ ' + esc(svc.warn) + '</div>'
|
||||
: '';
|
||||
panel.innerHTML =
|
||||
'<div class="panel-head">' + art +
|
||||
|
||||
Reference in new issue
Block a user