Squid Posted May 6, 2017 Share Posted May 6, 2017 (edited) Custom Tab A very simple plugin to allow you to create a custom tab on unRaid's GUI to integrate a webApp's GUI. Use it for an app that you may use all the time in managing your system or want very easy access to (Krusader?) While this plugin will allow you to add multiple custom tabs, under unRaid 6.3, the display is limited to 1280 pixels across. Should the number of tabs added exceed that, you will get overlapping icons, etc. Settings are very simple. URL or Built-In Page - Lets you choose either a URL (docker App?) or a built-in page of unRaid Name - What appears on the tabs (limit 20 characters) Full Name - Self explanatory, limited to 50 characters URL - A URL to the webApp you want Width & Height - The width and the height of the frame to display. Azure / Gray Icon - The fontawesome icon to use for the custom tab when your theme is either Azure or Gray Tab Position - Where to place the new tab * See below With any docker app that is basically an app built upon a desktop (like Krusader), for best results you're going to want the width and height to match what you have set in the docker template (and ideally the height set so that everything fits on the screen). With other apps such as Radarr, the height isn't so much important. Regardless, for the best looking display, you're going to want to set the width to be 1280. But you can play around with it as you choose. Tab Positions The default "Automatic" setting will place all new tabs at the end of the list. To manually position the tab where ever you like, enter in a number here between 1 and 999 Standard tab numbering are as follows: Dashboard: 1 Main: 1 Shares: 2 Users: 3 Settings: 4 Plugins: 50 Docker: 60 VMs: 70 Apps: 80 Tools: 90 Automatic Custom Tabs: 990-999 When numbers are duplicated, then they will be placed in alphabetical order. IE: To have a custom tab appear before Main, but after Dashboard, set the tab number to be 1 and the name must start with E-O To place a custom tab before VMs and after plugins (like I do with @dlandon's Libvirt Hotplug USB plugin), you can set the tab number to be 61-69 Find the plugin within the Apps tab (search for custom) After installing, you can create a new tab by going to Settings - User Utilities - Custom Tab There is basic error checking done on the naming (getting rid of quotes, spaces, etc.) But, if after applying the changes Dynamix starts giving errors referencing defaultPageBuilder (I can't think of everything), then your recourse is to SSH into your server and enter in the following: But with "normal" naming, you won't run into this. rm -rf /usr/local/emhttp/plugins/customtabtemp After which you can refresh your browser and remove whatever characters are messing up Dynamix Screenshots showing Krusader in action: Edited April 14, 2018 by Squid 1 6 Quote Link to comment
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.