speeding_ant Posted April 27, 2011 Share Posted April 27, 2011 New webGui for unRAID 5. Now combined with my SimpleFeatures plugin. http://lime-technology.com/forum/index.php?topic=12698.0 Quote Link to comment
prostuff1 Posted April 27, 2011 Share Posted April 27, 2011 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. Quote Link to comment
aht961 Posted April 27, 2011 Share Posted April 27, 2011 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 Quote Link to comment
prostuff1 Posted April 27, 2011 Share Posted April 27, 2011 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 Quote Link to comment
aht961 Posted April 27, 2011 Share Posted April 27, 2011 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. Quote Link to comment
speeding_ant Posted April 27, 2011 Author Share Posted April 27, 2011 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! Quote Link to comment
EasyME Posted April 27, 2011 Share Posted April 27, 2011 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. Quote Link to comment
speeding_ant Posted April 27, 2011 Author Share Posted April 27, 2011 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. Quote Link to comment
madburg Posted April 28, 2011 Share Posted April 28, 2011 Very nice looking, like what one would expect out of the box. The original unRAID webGUI in 5.0b6a gives me 3 scroll bars on the right, drives me crazy. Using IE7 or IE8. Quote Link to comment
delicatepc Posted April 28, 2011 Share Posted April 28, 2011 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 Quote Link to comment
speeding_ant Posted April 28, 2011 Author Share Posted April 28, 2011 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. Quote Link to comment
prostuff1 Posted April 28, 2011 Share Posted April 28, 2011 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. Quote Link to comment
speeding_ant Posted April 28, 2011 Author Share Posted April 28, 2011 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? Quote Link to comment
delicatepc Posted April 29, 2011 Share Posted April 29, 2011 install.sh shouldnt it be #!/bin/bash not #!bin/bash? thanks, ~dpc Quote Link to comment
speeding_ant Posted April 29, 2011 Author Share Posted April 29, 2011 Haha - my / key is dying Fixed - cheers Quote Link to comment
speeding_ant Posted April 29, 2011 Author Share Posted April 29, 2011 Added new icons, and modified disk status table. Added status bar on footer. diskstatus.php is now modified. Checkout the new screenshot. Quote Link to comment
madburg Posted April 29, 2011 Share Posted April 29, 2011 Beauty (almost tearing). Is the source download link updated on your first post? Quote Link to comment
dsmitty166 Posted April 29, 2011 Share Posted April 29, 2011 Looks great, I'll try it out tonight. Sent from my captivate using tapatalk Quote Link to comment
speeding_ant Posted April 29, 2011 Author Share Posted April 29, 2011 Yep - all updated. Cheers Quote Link to comment
PeterB Posted April 30, 2011 Share Posted April 30, 2011 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. Quote Link to comment
speeding_ant Posted April 30, 2011 Author Share Posted April 30, 2011 Cheers for the comments. I'll play around with the alignment, hopefully can find a happy medium. I'm going to be implementing jQuery soon, and will allow a function to compact the table for those with massive arrays. Quote Link to comment
speeding_ant Posted April 30, 2011 Author Share Posted April 30, 2011 30/4/2010 - Modified share table. Added parity check/sync status in footer. Fixed issue with table alignment when un-assigned disk was shown. ShareList.php is now modified. Checkout the added screenshot. Quote Link to comment
dsmitty166 Posted May 2, 2011 Share Posted May 2, 2011 What did I do wrong... Here's what mine looks like... Quote Link to comment
dsmitty166 Posted May 2, 2011 Share Posted May 2, 2011 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 Quote Link to comment
defected07 Posted May 2, 2011 Share Posted May 2, 2011 Post the contents of your install.sh file. And why do you have /boot/unmenu/uu 4 times in a row, after you already loaded it? I also modified speeding_ant's install.sh, if you want to try mine: http://pastebin.com/7eBHysqb Just fill in the top 2 variables if they're different. Quote Link to comment
Recommended Posts
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.