July 3, 201511 yr Additional support available on #linuxserver.io on freenode - or you can webchat here  This page is for a new gui design I am working on, it's very much a work in progress at the moment, so don't expect great things from it just yet.  The aim of the project is to create an aesthetically pleasing interface that is easy for anyone to use and is also responsive so it works well on phones and tablets as well.  I have a lot of ideas for things I want to add, but to begin with I am just going to get some basic functinality working and build from there.  https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/aesir-plugin.plg  Docker manager:  If anyone wants to collaborate on this project just take a look at this page for more information
July 3, 201511 yr Looking good! So will you be focusing on this design or your original "Cerberus"? Â I personally like the look and feel of this one a bit better with the more modern and flat design. The main screen is much improved and focuses more on key information the user would want to know. The other design seemed to give too much focus to the Parity, Cache, and Flash drive on the main page. Â Not sure about the left side nav. The interaction is cool, but the top sticky nav is more effective on a desktop when you have long scrolling pages. Perhaps the nav should follow you as you scroll? Also I LOVE the mobile view and your design responds very nicely. However that left nav cuts into the limited screen real estate and makes the page feel unblanced because of the reserved nav space. Perhaps collapse that up into a hamburger type menu once you get to your mobile break point? Â I will definitely be following this one! If you ever get something setup for people to report defects and such in an organized fashion I would be happy to test and contribute. I know this is a work in progress, but this feels like its really on the right track!
July 3, 201511 yr Author @FredG89: I haven't tested against all the different parity types yet, is there any chance you could send me your var.ini and disks.ini as it looks like your configs would make useful examples to test against, if not it doesn't matter as I should be able to work out what was wrong without them. I don't think there is any personal information in the files except the regTo="Your Name" and the flash guid, you can blank those both out if you want. You can get them from /var/local/emhttp/, so you could ssh/telnet into the box and type:  cp /var/local/emhttp/var.ini /boot/ cp /var/local/emhttp/disks.ini /boot/  Then you can go to \\tower\flash and grab the file from there.  @johnsanc: The plan is to continue with this one but with a view to have the other style as a user selectable setting. Nothing is fixed with the design yet and I will make improvements to the menu. There is an issue tracker here: https://bitbucket.org/Kode/cerberus-2/issues
July 4, 201511 yr Author Not many visual changes so far today, but some pretty big architechtural ones.  1) Changed name so it has it's own identity rather than being associated with Cerberus (which is planned to be one of the theme styles). 2) Updated the framework to Codeigniter 3.0.0 3) Added multilingual support, if you want to add a translation copy the /application/language/en folder and rename it to the iso code of the language you want to translate (such as de, it, fr etc), update the values. To see the new values go to /application/config/config.php and change the language to the iso code. In the future I will make this selectable from the GUI. If you create a translation please share it so I can include it in the dstribution. 4) Initial plugin support - to create a plugin you just need to create it in the /application/modules folder, more details can be found here: https://bitbucket.org/Kode/aesir/wiki/Home In the future this will be more sophisticated, but the initial support is there and there is already a sample plugin in /application/modules/awesome_plugin to you to get a simple idea of how it works
July 4, 201511 yr 3) Added multilingual support, if you want to add a translation copy the /application/language/en folder and rename it to the iso code of the language you want to translate (such as de, it, fr etc), update the values. To see the new values go to /application/config/config.php and change the language to the iso code. In the future I will make this selectable from the GUI. If you create a translation please share it so I can include it in the dstribution. Love this feature... Awesome idea, and one that's very noticeably missing from dynamix 4) Initial plugin support - to create a plugin you just need to create it in the /application/modules folder, more details can be found here: https://bitbucket.org/Kode/aesir/wiki/Home In the future this will be more sophisticated, but the initial support is there and there is already a sample plugin in /application/modules/awesome_plugin to you to get a simple ideo of how it works A bit confused by this. Is this for something like skins, etc or is it a more akin the the plugin system already present in dynamix?
July 4, 201511 yr Author @Squid - The plugin system could be used for either, I haven't 100% strapped down how I am going to do themes yet, there are a couple of options. The easiest is that I just let the user change the views and library assets (js/css/images etc), whereas the controllers are unchanged. The second option is to basically move everything into a module/plugin which would make everything changeable, but is probably overkill.  But more importantly I'm hoping when the project is a bit more mature other people will be inspired to create plugins for it as the system is so flexible and has a lot of functionality built in via codeigniter, just take a look at http://www.codeigniter.com/user_guide/#library-reference basically any of those libraries can be loaded into a plugin with just $this->load->library('libraryname');  So for example, to ftp a file would be as simple as: $this->load->library('ftp'); $config['hostname'] = 'ftp.example.com'; $config['username'] = 'your-username'; $config['password'] = 'your-password'; $config['debug']    = TRUE; $this->ftp->connect($config); $this->ftp->upload('/local/path/to/myfile.html', '/public_html/myfile.html', 'ascii', 0775); $this->ftp->close();  But more importantly for my use anyway is the database abstraction making it a breeze to use mysql, sqlite, postgre etc, I am planning to utilise sqlite3 databases for storing things like historical parity checks (for things like showing on a graph storage size vs parity check time vs average MB/s etc) or smart reports, although I believe there may be some smart monitoring now? I haven't really looked into it.
July 4, 201511 yr @Squid - The plugin system could be used for either, I haven't 100% strapped down how I am going to do themes yet, there are a couple of options. The easiest is that I just let the user change the views and library assets (js/css/images etc), whereas the controllers are unchanged. The second option is to basically move everything into a module/plugin which would make everything changeable, but is probably overkill.  But more importantly I'm hoping when the project is a bit more mature other people will be inspired to create plugins for it as the system is so flexible and has a lot of functionality built in via codeigniter, just take a look at http://www.codeigniter.com/user_guide/#library-reference basically any of those libraries can be loaded into a plugin with just $this->load->library('libraryname');  So for example, to ftp a file would be as simple as: $this->load->library('ftp'); $config['hostname'] = 'ftp.example.com'; $config['username'] = 'your-username'; $config['password'] = 'your-password'; $config['debug']    = TRUE; $this->ftp->connect($config); $this->ftp->upload('/local/path/to/myfile.html', '/public_html/myfile.html', 'ascii', 0775); $this->ftp->close();  But more importantly for my use anyway is the database abstraction making it a breeze to use mysql, sqlite, postgre etc, I am planning to utilise sqlite3 databases for storing things like historical parity checks (for things like showing on a graph storage size vs parity check time vs average MB/s etc) or smart reports, although I believe there may be some smart monitoring now? I haven't really looked into it. ok. I see where you are going with this. I'll wait until the the project is more mature before I voice any concerns / issues
July 5, 201510 yr Very slick looking! I am also not a fan of the left side navigation, but overall it looks great.
July 5, 201510 yr @Squid - The plugin system could be used for either, I haven't 100% strapped down how I am going to do themes yet, there are a couple of options. The easiest is that I just let the user change the views and library assets (js/css/images etc), whereas the controllers are unchanged. The second option is to basically move everything into a module/plugin which would make everything changeable, but is probably overkill.  But more importantly I'm hoping when the project is a bit more mature other people will be inspired to create plugins for it as the system is so flexible and has a lot of functionality built in via codeigniter, just take a look at http://www.codeigniter.com/user_guide/#library-reference basically any of those libraries can be loaded into a plugin with just $this->load->library('libraryname');  So for example, to ftp a file would be as simple as: $this->load->library('ftp'); $config['hostname'] = 'ftp.example.com'; $config['username'] = 'your-username'; $config['password'] = 'your-password'; $config['debug']    = TRUE; $this->ftp->connect($config); $this->ftp->upload('/local/path/to/myfile.html', '/public_html/myfile.html', 'ascii', 0775); $this->ftp->close();  But more importantly for my use anyway is the database abstraction making it a breeze to use mysql, sqlite, postgre etc, I am planning to utilise sqlite3 databases for storing things like historical parity checks (for things like showing on a graph storage size vs parity check time vs average MB/s etc) or smart reports, although I believe there may be some smart monitoring now? I haven't really looked into it.  Unraid has a more mature plugin manager native to the unRaid OS, why is another one needed? Also, if unRaid changes something or a feature in their OS does this interface also Example would be if a new button or page is added, will this also follow automatically or needs to be changed? Always looking to play around with stuff, so I'm wondering what the benefit of a new interface already.
July 5, 201510 yr For me the webui that is in use now isn't up to today's standards... So thumbs up for doing this.
July 5, 201510 yr Author Unraid has a more mature plugin manager native to the unRaid OS, why is another one needed? Also, if unRaid changes something or a feature in their OS does this interface also Example would be if a new button or page is added, will this also follow automatically or needs to be changed? Always looking to play around with stuff, so I'm wondering what the benefit of a new interface already. This interface is completely seperate from the main one. It is an alternative for people who want something a bit more modern, I'm not forcing anyone to use it.  The plugin system is more for extending the GUI itself, so if someone thinks it would be cool if it did x and they had the ability they could create it themselves without having to wait for me to do it.  Today I have been working on an interface to set the language to use and the ability to create new translations through the application, so hopefully when that is finished it might encourage people to help with translations.
July 6, 201510 yr This page is for a new gui design I am working on, it's very much a work in progress at the moment, so don't expect great things from it just yet.  The aim of the project is to create an aesthetically pleasing interface that is easy for anyone to use and is also responsive so it works well on phones and tablets as well.  I have a lot of ideas for things I want to add, but to begin with I am just going to get some basic functinality working and build from there.  In it's current form it runs on port 8888 and can be installed on either a cache drive or the flash drive.  If you want to install it on your cache drive ensure you have a folder called appdata on the root of the cache drive.  Cache drive: https://bitbucket.org/Kode/unraid/raw/master/plugins/aesir-cache.plg Flash drive: https://bitbucket.org/Kode/unraid/raw/master/plugins/aesir-flash.plg  I may give it a try. Always looking for change in one way or another. Can you let us know the list of files it creates when it installs?  Thanks  EDIT: I have tried the plugin. I can see the main screen but nothing lines up properly and I can't get to all the side menus properly. I'm sure once it is polished up a bit and more stable it will look pretty nice. Example, if I click on MAIN it just goes back to the dashboard and if I click on SHARES nothing shows up. I'm digging the color. I don't like black backgrounds but the dark gray is nice on the eyes. I'd rather have LT making the OS more stable and rock solid before making the interface more modern.  It is Sunday night in the US? How did this weekend go by so fast?  Â
July 6, 201510 yr Author I have tried the plugin. I can see the main screen but nothing lines up properly and I can't get to all the side menus properly. I'm sure once it is polished up a bit and more stable it will look pretty nice. Not sure what you mean by nothing lines up properly, what browser are you using? Â Example, if I click on MAIN it just goes back to the dashboard and if I click on SHARES nothing shows up. I'm digging the color. I don't like black backgrounds but the dark gray is nice on the eyes. Yeah, not all of the links have anything on them yet, it's a WIP as I said. Â I'd rather have LT making the OS more stable and rock solid before making the interface more modern. I completely agree, which is why I'm doing this myself, I'm hoping it will help showcase what a premium product unraid is.
July 6, 201510 yr Author It's still a bit rough and ready with very little validation, but if you install the latest version, go to Settings (ignore the input fields, etc, been playing around with styling for form elements), click on the Translations link.  From here you can either click on duplicate next to the english translation which will open up the form with the english values pre-filled, useful when you are creating a new translation that only differs slightly from another one or click Create New for the fields to be blank.  Whichever one you choose the english version will be on the left side to reference.  If you see something like %1$d you need to leave this as it is, basically it's a placeholder for a dynamic value, so in the case of There are <span>%1$d</span> disks needing <br />attention on the front end this will output as There are <span>3</span> disks needing <br />attention  For those who are a bit more technical, its used with vsprintf meaning the placeholder can be any order, so if we had There are %1$d finger and %2$d thumb on each hand you could change that to each hand has %2$d thumb and %1$d fingers and the correct variables will be used.  Don't forget to put a name at the top before hitting save, if you don't it won't save and it will pull in the initial values so you will have to do it all over again, this will be fixed in a future release.  Bare in mind the styling for this is no where near finished yet, I've put it up in the hope some people will be inspired to create some translations.  Let me know how you get on.
July 9, 201510 yr Author New location of .plg  Cache drive: http://linuxserver.io/aesir/aesir-cache.plg Flash drive: http://linuxserver.io/aesir/aesir-flash.plg  These ones auto update whenever I commit changes and the repo is now hosted on github.
July 9, 201510 yr here is my german translation. because german has pretty long words, the design is breaking at some points. de.zip
July 10, 201510 yr Author Thanks phenomeus, it actually helps to have something that will break the design because then I can try to work out how to get around that.
July 10, 201510 yr Author @phenomous: Damn those long words, lol. I'll have to try juggling the layout a bit, aren't there any shorter words that mean something similar?
July 11, 201510 yr Author @snoopy86: Thanks, I will take a look when I get a chance  @everyone: I've attached a peek at the docker page so far, your current running/stopped dockers should show up in the list, and if you click on them theres a button to stop/start them which works, but that's about it so far, I will be adding a way to search and add new containers but thought you might like to see how it's coming along, you can get to it by clicking on addons from the main menu.
July 12, 201510 yr I click once on Translation, got an error. Now, I can't go on any pages of it, it always refer to this error :  A PHP Error was encountered Severity: Warning Message: SQLite3::query(): Unable to prepare statement: 1, no such table: translations Filename: sqlite3/sqlite3_driver.php Line Number: 129 Backtrace: File: /mnt/cache/appdata/Aesir/application/models/Settings_model.php Line: 74 Function: get_where File: /mnt/cache/appdata/Aesir/application/helpers/lang_helper.php Line: 11 Function: get_current_lang File: /mnt/cache/appdata/Aesir/application/core/MY_Controller.php Line: 8 Function: load_language File: /mnt/cache/appdata/Aesir/application/controllers/Home.php Line: 28 Function: __construct File: /mnt/cache/appdata/Aesir/index.php Line: 292 Function: require_once Fatal error: Call to a member function num_rows() on a non-object in /mnt/cache/appdata/Aesir/application/models/Settings_model.php on line 75 A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at /mnt/cache/appdata/Aesir/system/core/Exceptions.php:272) Filename: core/Common.php Line Number: 569 Backtrace: A PHP Error was encountered Severity: Error Message: Call to a member function num_rows() on a non-object Filename: models/Settings_model.php Line Number: 75 Backtrace:  Any Idea ??
Archived
This topic is now archived and is closed to further replies.