These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Authentic is Webmin/Usermin theme based on Bootstrap and Font Awesome that you just longed to get. on the new forum.
I have just been experimenting with Theme Extensions option which you discussed above (overlays/extensions).
I am using latest Authentic Theme 13.10 on Webmin 1.760
First clicking on Theme Extensions button and entering page I created a basic test styles.css file in /etc/webmin/authentic-theme/styles.css
But after saving file and restarting Webmin this extended style has no effect.
I tried viewing in two different browsers Chrome and Firefox.
And when I view html source I do not see any injected link to styles.css.
I did explore inside authentic-lib.cgi but I don't see where custom js/css is injected. Nearest reference is found at line 900 .. "Theme config directory is `/etc/webmin/authentic-theme' "
How can I troubleshoot this since I need to inject custom js/css into html head?
DL
That I'm not sure why it's not working. It should and you must see the result on the right frame right away and after page refresh left menu also take the styles.
Here is how it works: https://rostovtsev.ru/pub/src/authentic/14.00b/working_with_custom_scrip...
I just think you need to try to put
!important
afterwards.When you open source, do you see a file
styles.css
somewhere?Try putting to styles:
html,
body,
.container:not(.form-signin-banner),
.container-fluid,
.loader-container,
.input-group-addon {
background-color: red !important
}
After you click save, it should imitatively change?
Ilia
I tried your suggested css .. incidentally it was difficult to read the example css code in your video.
After saving changes the background in right frame immediately turns to red. Seems that adding !important is .. important.
And I see styles.css saved in
/usr/share/webmin/authentic-theme/unauthenticated/css/styles.css
But on saving I see this error message in right frame ..
Failed to open /etc/usermin/authentic-theme/styles.css for writing: No such file or directory.
So I manually created this file.
...
My suggestion for building advanced theme extension is to change the Theme Extensions editor to allow a list of multiple links to be injected into head instead of just two js/css files.
i.e. inject the equivalent of $htmlhead used in older themes.
Or just add a new dropdown option to edit $htmlhead raw file?
Thanks, I have fixed this bug that resulted in
Failed to open .... for writing: No such file or directory
.I will not be able to add support for multiple files, as this will add extra complexity and will result in more request to the server. In case you want to do it, you could use
@import
for CSS files and$.getScript( "your_script.js")
for JS.However I would recommend to keep all in those two files, which is more than sufficient, I believe.
P.S. I will try to make left menu also reload, when editing custom styles/scritps.
Ilia
I understand your reluctance to add complexity.
In fact I have just realised this workaround.
It is to use dynamic js and css with jQuery.
I'll run some experiments.
Alright, good luck!
Ilia
I'm not sure that placing this thread under "News" sub-forum is the best place for posting development suggestions. Would github site better for posting suggestions?
However, here are some more suggestions.
[1] Optimising js
Viewing the source in Authentic Theme shows a large number of scripts loaded under /usr/share/webmin/authentic-theme/unauthenticated/js/
And custom scripts might be added to this list.
These head scripts/links require multiple requests to the server or externally.
It seems to me that this theme is a candidate for using require.js.
http://requirejs.org/docs/api.html#jsfiles
Same approach can be used with aggregating css files .. e.g. Bower.
[2] Caching views
I posted another question elsewhere in forum on responsiveness of page loading (e.g.) Perl Modules where it takes 3-4 minutes per page refresh.
Could Authentic Theme offer caching of page views across all modules so that the time for page refreshing page is better optimised? This would require DataTables to be cached rather than loading DataTable each time the page is refreshed.
I'm looking for better responsiveness since I'm using Webmin in a local development environment.
It might be helpful to build some stats of page loading performance.
Just today, in 4-6 hours, I'm releasing new big update - Authentic Theme v14. It will have optimized JS and CSS. All files will be bundled and large packages will not be loaded on default but by request.
In case you want to speed up your experience while using Webmin, go to
Webmin->Webmin Configuration->Web Server Options
and setting correlated option toUse pre-compressed file and compress dynamically
. It made my theme work 3 times faster than before!! ) (at lest version 14b).Yes, it takes a long time to Rebuild Perl Modules List. It has nothing to do with the theme and should be done server-side. However it takes only 15 seconds for me to reload. You should propose this idea to Jamie or Joe. Theme must not do that. Cache is managed either by browser or by server.
Ilia
Dear friends, you are welcome to try new major release of Authentic Theme 14.
Changelog: Version 14.00 (July 21, 2015)
Ilia
First observations ..
I see that multiple js scripts have been consolidated into authentic.min.js.
I'm trying Authentic theme in two browsers ..
Chromium Web Browser Firefox 39.0
===========================================
In theme settings I have enabled (as default)
Enable page progress loader on top of the screen
But all I see (in both browsers) is a loading red bar (just a few pixels high) at top of page. And also red padding to the left of selected Webmin sub-menu selected page.
Is this the progress loader?
===========================================
When I'm editing files in Filemin with this new version of Authentic I have no syntax colour highlighting.
Where does codemirror kick in with Filemin file editing?
I had been contemplating piping file editor output to an external code editor (as an extension to Filemin) but CodeMirror seems it might meet this requirement. But I see no syntax colouring as yet in Edit File in Filemin.
I just don't understand how CodeMirror works with Authentic/Filemin. Please clarify.
DL
Not sure what you ask in the first question? This is the additional loader. Some people prefer to have overall loader on top. Some prefer regular on the right content page. Some will keep both.
CodeMirror is disabled now in Filemin by Authentic Theme as to give more freedom to Filemin devs to manipulate on it. We discussed it and they are agreed. Expect new version of Filemin, where they manage file-highlights better.
Ilia
re: my first question .. I just didn't expect to see a progress loader a few pixels high .. I thought it might be more prominent. But that feature is not too important for me.
I've tested further and I do see syntax colouring outside Filemin (e.g. in PHP Configuration).
I just don't see it in Filemin file editing nor line numbers .. but you have clarified why this is the case. I guess I'm caught between two modules under development.
I'll now turn to Filemin to see what I can tweak in their UI.
Thanks for your latest version 14.0.
DL
Hello Ilia,
Just wanted to say that the System Statistics is not working anymore for me since I upgraded to vs. 14.0, the graphs are all blank; is this a confirmed bug? Reverting back to Framed theme as this is too important to ignore...
Don't take the name of root in vain...
Any word on this bug, is it confirmed?
Don't take the name of root in vain...
Yes, it's confirmed and will be fix in couple of days, along with other bugs. Sorry for the delay.
Ilia
Version 14.01 is released.
Changelog:
Please upgrade.
Ilia
virtual-server::list_system_info failed : Undefined subroutine &net::active_interfaces called at /usr/share/webmin/virtual-server/virtual-server-lib-funcs.pl line 3617.
Does it happen only on System Information Page?
Ilia
Please upgrade to version 14.02!
I would like to address this question to Jamie and Joe as they are obviously more experienced in Perl than I am and most likely anybody else around, and definitely saw more strange/buggy things.
The following didn't fail on my 3 different machines (Perl v5.20.2) but did on the other (with older versions of Perl v5.10.1 and v5.14.2). I would also expect this to fail in any other programming language.
I misplaced the last parenthesis:
index( $ENV{'REQUEST_URI'}, '/virtual-server/history.cgi' != -1 )
I should have (and it's fixed in version 14.02):
index( $ENV{'REQUEST_URI'}, '/virtual-server/history.cgi' ) != -1
Can anyone please explain why the first one passed compilation on my Perl? How is this possible?
Ilia
I get this also on 1 server, yet another server, same distro is fine? Deb7
Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.
That was on version 14.01 and affected some Perl versions, when Virtualmin is installed.
Upgrade to version 14.02 and restart Webmin.
Ilia
Hi - I've been trying to put our company login to the theme in the logos setting part of the theme settings - I pick a .png logo and always receive the error message
Failed to open /etc/usermin/authentic-theme/logo.png for writing : Not a directory
Indeed /etc/usermin/authentic-theme is not a directory, but a file. So I can never get the logo upload to work. This seems to be consistent across multiple versions of the theme, including 14.02.
Authentic Theme 15 - New, birthday (1 year) release of the theme.
Changelog for version 15:
Download https://github.com/qooob/authentic-theme/raw/master/.build/authentic-the... or upgrade using theme upgrade function!
Enjoy, Ilia
P.S. After one year of life, Authentic Theme 800+ hours of work and 10.000 + lines of code ;)
Ilia
Nice work Ilia, thanks for all the effort!
We're planning a release of Virtualmin very soon that uses Authentic as the default theme.
We were testing version 14, but your version 15 theme changes, along with the Filemin updates, are very interesting... maybe we'll release those instead. I'll go do some testing and see :-)
-Eric
Eric, thanks! Please do.
Ilia
The authentic theme should definitely be enabled by default. I was just about ready to write off the whole Virtulmin thing when I found this theme and it became usable again. Please do version 15 as well, there's a lot of good features we'd miss. I hope that you'll update the demo site too?
Also, it would be MORE than high time to update the look and feel of your websites. I'm sure you're still getting new users, but that could be greatly enhanced if you put some time into making it look post 2000. I'm preaching to the choir as I haven't had time to update my own either, but I'm asking for the sake of the longevity of your product since I'm currently using it and have done so for quite a while.
Thank you! :)
Ilia
Yup, it's going to happen soon! Authentic will be the default theme, and Joe is working out some final details for moving the site to Drupal 7 with an updated/modern look.
-Eric
Wow... thank you for the update! I'm very excited to hear that. Usually when someone goes this long without updating a site it's a sign of the future so this is welcome news indeed!
There is bug with Authentic theme: Virtualmin -> Logs and Reports -> AWstats Report: blank right page (menu on left works fine)
I try to switch old Wmin/Vmin theme and it works without any problem but when i changed to Authentic the problem was back. For some reason Authentic doesnt show AWstats Report page. If this helps - in the past was working but between last few updates something changed and now i saw this bug. Sadly i dont know after what update this happened.
- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.
It only happens in Firefox for some reason. Chrome is fine. I will try to fix it as soon as possible in next small release.
Ilia
It will be fixed and working in version 15.60 within next 24 hours.
Ilia
New bug in Chromium 44.0.2403.89 (64-bit) on openSUSE 13.1 Linux linux-hpbh 3.11.10-29-desktop #1 SMP PREEMPT Thu Mar 5 16:24:00 UTC 2015 (338c513) x86_64 x86_64 x86_64 GNU/Linux:
When doing (almost anything really, in the right pane, usually saving/applying), you can't switch between, Webmin/Virtualmin/Cloudmin in the left menu. The tab just slides back to the previous one and nothing happens in the page; also happening in Usermin interface, confirmed by a few others also on Chrome (Windows).
Don't take the name of root in vain...
Do you expect to interrupt the process and switch? It sholud be happenning actually, unless you have 'reload right side page' in settings off?
Describe your expected behavior? I'm just reworking this part of the code, could change things for better logic.
Ilia
Nope - nothing like that, don't want to interrupt anything; it just doesn't work after you take a few actions, keeps coming back to the same tab; just set "Load default content page" to yes to see what is happening in this case, I will report back.
One more thingy "Default tab after logging in to Usermin" is set in my case to "Mail" but... it still loads the Usermin tab, and opens the Mail > Read mail menu. It should automatically load the Mail tab, with the directory structure, as normal: Inbox, Sent mail, Drafts, Bla, Bla... This would be the normal behavior for a webmail interface.
Don't take the name of root in vain...
About the mail: do you have Authentic Theme login screen or not? In case it's not Authentic Theme - it will not work. In case you have Authentic Theme login screen (like in video screencast on Youtube), then it's a bug.. but I will check..
Ilia
Of course I have it, it's my default theme everywhere (in Usermin I use the symlinks, no wish to update it separately), the login screen it's the Authentic one sort to speak :) but I don't know what clip you are talking about.
Don't take the name of root in vain...
I meant this. http://www.youtube.com/watch?v=f_oy3qX2GXo&feature=youtu.be
Ok can you please try to remove Symlink first and install theme for Usermin using Webmin? To try? I'm afraid this is the case?
Ilia
It is a production server - I will try it these days; but sometime during the night.
Don't take the name of root in vain...
No problem. Wait till I release version 16, then try it if the problem persist.. I experienced very strange (not dangerous though) behavior when using symlinks with Usermin.
Ilia
Deal!
Don't take the name of root in vain...
I checked in releasing version 16, and both with symlink, and without - work fine and on load takes me to defined tab in settings.
I think I know why it could be happening. Check for
/etc/usermin/authentic
theme. Do you have proper permissions on this directory? Compare settings.js file in/etc/webmin/authentic
and/etc/usermin/authentic
. The file should be the same. Try deleting Usermin settings.js, go to theme settings and hit save button again. Is the file re-written over again with proper content?Ilia
Newly release version 16. Fully reworked and added amazing features, such as Filemin keyboard control. Enjoy! ;)
https://github.com/qooob/authentic-theme/blob/master/CHANGELOG.md
Changelog in concern to Filemin
Ilia
Page response seems exponentially faster than even the previous version, and also faster than the default VM framed theme. Great work!
Another donation coming soon!
You have done an incredible service to this community. I think this theme is ready for production environments, pending a security review.
Thank you, good to hear!! :) you are welcome to do any security checks. In case you find anything, please let me know and I will fix it in no time! ;) however I hadn't noticed any security problems since the dawn of the theme.
Ilia
Hey Ilia, the only thing that makes Usermin use the proper tab (and in fact all of its settings) is renaming the /etc/usermin/authentic-theme file... This is weird as this file is... my logo? And when I try to rename it back, it says that the name already exists :? Does this make any sense?
Now everything works, also with the logo selected in theme settings.
Don't take the name of root in vain...
I'm glad it's alright now. :)
In case you still experiencing the problem, please post the output of
ls -lsaZ
of/etc/usermin/authentic-theme
Ilia
Dear guys, I just added to Filemin, one but very important feature - editing files without page reload! Also you can use
Ctrl+Enter
orCtrl+Shift+Enter
to save/save and close currently edited file.I didn't make it as separate Authentic version, just added to existing (version 16.00). In case you want to have this feature, when editing files in Filemin, please reinstall the theme by downloading it directly from GitHub and installing over again.
https://github.com/qooob/authentic-theme/raw/master/.build/authentic-the...
Regards, Ilia
Ilia
Is there any way to disable the Security mail notifications? If I delete the fields, they are filled again with the default texts.
It is a great feature for Webmin, but it drives me nuts on Usermin, notifying about every single user...
Don't take the name of root in vain...
Sorry about that! :D I added to my to do to fix this upon next release.
At the moment, to have separate usage of notifications, you will need to edit
/etc/usermin/authentic-theme/settings.js
and remove text for the keys:Make it look like this:
However, removing text in settings and clicking save button - will also work but at the same time will disable Webmin notifications.
I will make it more rational on next release.
Ilia
Pages