mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-04 03:43:56 +08:00
🐶 Sync 2026-10-20 22:40:23
This commit is contained in:
1 parent
e813f5cc54
commit
64cea2243a
216 files changed
+11913
-2968
No files matched your search
@@ -1,6 +1,7 @@
|
||||
'use strict';
|
||||
'require form';
|
||||
'require argon.branding as branding';
|
||||
'require argon.updates as updates';
|
||||
'require fs';
|
||||
'require rpc';
|
||||
'require uci';
|
||||
@@ -103,7 +104,8 @@ return view.extend({
|
||||
ui.addNotification(null, E('p', _('Failed to list background files: %s.').format(e.message)));
|
||||
return [];
|
||||
}),
|
||||
branding.load()
|
||||
branding.load(),
|
||||
updates.load()
|
||||
]);
|
||||
},
|
||||
|
||||
@@ -113,6 +115,9 @@ return view.extend({
|
||||
m = new form.Map('argon', _('Argon theme configuration'),
|
||||
_('Here you can set the blur and transparency of the login page of argon theme, and manage the background pictures and videos. Chrome is recommended.'));
|
||||
|
||||
s = m.section(form.TypedSection);
|
||||
s.render = function() { return updates.render(data[4], this.map); };
|
||||
|
||||
s = m.section(form.TypedSection, 'global', _('Theme configuration'));
|
||||
s.addremove = false;
|
||||
s.anonymous = true;
|
||||
|
||||
Reference in new issue
Block a user