]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
webui: create 'Users' level in Configuration
authorJaroslav Kysela <perex@perex.cz>
Tue, 22 Sep 2015 14:31:39 +0000 (16:31 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 22 Sep 2015 14:31:39 +0000 (16:31 +0200)
src/webui/static/app/tvheadend.js

index 8ec3d10c40afe1ee726d05be09a4c432a3a956f2..fb603c9f72b00a9f4f4ce491102fa2e632fa70e4 100644 (file)
@@ -391,15 +391,25 @@ function accessUpdate(o) {
             items: []
         });
 
-
         tvheadend.baseconf(general);
         tvheadend.imgcacheconf(general);
         tvheadend.satipsrvconf(general);
         
         cp.add(general);
 
-        tvheadend.acleditor(cp);
-        tvheadend.passwdeditor(cp);
+        /* Users */
+        var users = new Ext.TabPanel({
+            activeTab: 0,
+            autoScroll: true,
+            title: _('Users'),
+            iconCls: 'group',
+            items: []
+        });
+
+        tvheadend.acleditor(users);
+        tvheadend.passwdeditor(users);
+        
+        cp.add(users);
 
         /* DVB inputs, networks, muxes, services */
         var dvbin = new Ext.TabPanel({