New webGui - now part of SimpleFeatures


Recommended Posts

  • Replies 57
  • Created
  • Last Reply

Top Posters In This Topic

Not bad, though I did have a look at the install script...

 

You are expecting the the files to be in /boot/webGUI/.  That is great and all... but frankly that is not were I might want to put them.  Have a look at this thread to find out a way to dynamically figure out where your script is running from.  All your cp commands should be able to be redone so that the install is handled more dynamically.

 

Also, please, for the love of god do not "rm" template.php and template.css, rename them. A simple

mv /usr/local/emhttp/plugins/webGui/template.php /usr/local/emhttp/plugins/webGui/template.php.default
mv /usr/local/emhttp/plugins/webGui/style/template.css /usr/local/emhttp/plugins/webGui/style/template.css.default

 

If I get a chance I will try to install this on my test machine and see what happens.

Link to comment

I followed your installation guide (webGui to the directory /boot and added /boot/webGui/install.sh to the go file), however, could not get the new GUI.

 

I get this message in the log file:

"webGui isn't a directory. Make sure you're running unRAID 5"

I am indeed running V5-b6a and the condition "usr/local/emhttp/plugins/webGui" is TRUE

 

What am I doing wrong?

 

Edited:

I had to run these manually via console, then it worked:

 

mv /usr/local/emhttp/plugins/webGui/template.php /usr/local/emhttp/plugins/webGui/template.php.default

mv /usr/local/emhttp/plugins/webGui/style/template.css /usr/local/emhttp/plugins/webGui/style/template.css.default

cp /boot/webGui/template.php /usr/local/emhttp/plugins/webGui/template.php

cp /boot/webGui/style/template.css /usr/local/emhttp/plugins/webGui/style/template.css

cp /boot/webGui/images/nav_bg.png /usr/local/emhttp/plugins/webGui/images/nav_bg.png

cp -R /boot/webGui/images/icons /usr/local/emhttp/plugins/webGui/images/icons

 

 

Link to comment

It is because the test he/she does on the first line is a little off.  I actually overlooked it when I first looked at the script.

 

It is:

if [ -d "usr/local/emhttp/plugins/webGui" ]; then

 

it should be:

if [ -d "/usr/local/emhttp/plugins/webGui" ]; then

 

notice the emphasis in red

Link to comment

I can only get the new interface if I log via console and type the commands manually. However, even then, if I use the "reboot" button and rely on the "/boot/webGui/install.sh" line in the "GO" script (with the corrected script: test condition starting with "/" and first two files renamed not removed), I can not reach the GUI at all. I need to "force" power down and restart, when I get the default template back. I am giving up since don't like unnecessary crashes :( A nice and clean template it was, though.

Link to comment

Hi All,

 

Updated install script to mv instead of rm. Changed the mistake on the if statement to reflect absolute path.

 

Not too sure why yours isn't working, aht961. Try the new install script. I'm running Version 5, beta 5b. I suggest using at least that version for this script. Perhaps the position of the go script addition does something as well. Put sleep 5 before the install.sh, and place it after the emhttp entry.

 

prostuff1, cheers for the comments. Unfortunately i don't have any more time to learn advanced bash, when it really should be part of unRAID to scan for plugins and install them. Feel free to help me out and modify the install script if you wish  :)

 

Cheers!

Link to comment

Like the webGui, many thanks for this eye candy.

 

I just wanted to ask if anyone else is using chrome and having a problem looking at drive browser/explorer; when you hover over a shared folder image it goes from left to right and back again when you move away from the item ? same issue also on main page when you hover over one of the disk images.

 

Link to comment

Like the webGui, many thanks for this eye candy.

 

I just wanted to ask if anyone else is using chrome and having a problem looking at drive browser/explorer; when you hover over a shared folder image it goes from left to right and back again when you move away from the item ? same issue also on main page when you hover over one of the disk images.

 

 

Working with Tom to re-do the tables.

Link to comment

Now that is some good looking Webgui skin. As far as candy appeal it looks super sweet! Will add to my "master build".

 

let me know if you end up hosting up on Google Code or similar so that we can download it through a script easily.... as well as dynamically pull the latest version...

 

thanks,

~dpc

Link to comment

Cheers for the kind comments. I'm trying to work with Tom to make this the default skin. Not too sure on what position he'll take, but I'll hope for the best. If he wants that to happen, then I'll give the entire interface a going over, redesigning the tables etc to make them easier to read.

 

Eventually, adding a javascript library wouldn't be a silly idea. There's a lot of conflicting views for this, so I'll post in a different thread for that.

Link to comment

prostuff1, cheers for the comments. Unfortunately i don't have any more time to learn advanced bash, when it really should be part of unRAID to scan for plugins and install them. Feel free to help me out and modify the install script if you wish  :)

If I get a chance to change it out and make it a little more dynamic I will try to get it done.  I know what needs to be done, but I need to do some testing of my own to make sure what I suggest/change actually works.

Link to comment

prostuff1, cheers for the comments. Unfortunately i don't have any more time to learn advanced bash, when it really should be part of unRAID to scan for plugins and install them. Feel free to help me out and modify the install script if you wish  :)

If I get a chance to change it out and make it a little more dynamic I will try to get it done.  I know what needs to be done, but I need to do some testing of my own to make sure what I suggest/change actually works.

 

Appreciate the help!

 

Has anyone got any particular gui features they want added?

Link to comment

I have to say that I prefer the right-justified numeric columns of the standard interface.  That makes it much more obvious that 9000 is less than 10000.  This then dictates that the column headings also have to be right-justified.

 

However, I do like the nice, clean, uncluttered feel of your offering.  I note that you have spaced the rows more widely, which looks good, but means that people with large arrays will have to do more scrolling.

Link to comment

Here's my go script

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &
/boot/unmenu/uu

cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c 
/boot/unmenu/uu
/boot/unmenu/uu
/boot/unmenu/uu
/boot/unmenu/uu
sleep 5
/boot/webGui/install.sh

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.