-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theme: Login page customization #639
Comments
Hi, Joe. You don't need anything at the moment to make your login screen look completely different. Theme is fully This is how you could make Webmin Logo and its text from not showing: .session_login form[method="post"] > i,
.session_login form[method="post"] > i + h2 {
display:none;
} You can even change the look of login screen utterly. (I noticed that custom scripts (extensions: js) are not embedded for login page. That will be fixed.) In the future, I hope, I will be able to find time to make selectable skins for login page. |
..and one more. If you want to override the default text labels, first of all - find the desired key in lang file of the module/theme. Let's say that you want to change word Webmin on login page of Authentic Theme from Webmin to Supermin, then we take theme_xhred_titles_wm=Webmin from /usr/(libexec|share)/webmin/authentic-theme/lang/en.UTF8. Later, create custom-lang file in configuration directory /etc/webmin/authentic-theme of the theme. (or other module if you want to tweak that) To see what I mean just run on the console the following: echo "theme_xhred_titles_wm=Supermin" > /etc/webmin/authentic-theme/custom-lang This kind of customization will survive updates and you would need to do it only once. Good luck ;) |
Now it's possible to use custom js scripts for login page as well. |
@iliajie to edit the usermin logo is it the same process as editing the webmin logo? I've been poking around online but most forum posts are from around 2009 with similar questions. I was looking for |
You should be looking into You could just copy It will work. |
Actually, I meant to say:
|
At them moment the logo for Webmin and Usermin is the same. If you want to have separate logo for Usermin just upload those to
and
|
And those won't be overwritten by updates if I use a custom company logo? That was my primary concern, it seemed like a lot of things that were edited may be overwritten by updates. Like the custom-lang file for example, I couldn't find any documentation or anything on where that came from, so I never tried anything. |
Updates don't overwrite configurations. In your case, for now just store logos for Usermin somewhere safe. Because if you upload new logos in Webmin they will be overwritten. Please open the separate issue to provide ability to have different logos for Webmin/Usermin if that's an issue. In this post above you can find an explanation of how to use custom language file. |
Theme Extension Editor already contains custom-lang file support. All you need to do is to find string that you want to be displayed differently. Search for strings you want to change in |
Hi iliarostovtsev... I have been enjoying Authentic-Theme.... Its really awesome I would like to know how to customize Virtual Login Text ( You must enter a username and password) to something else.... |
Please could you clarify what you mean, and/or attach a screenshot? |
[image: Demo Login.JPG]
*I want to customize the Text in the login Page... I couldn't locate the
Source file of the login Page...*
*Please let me know how to change it.... I want Webmin Text and below
lines to be customized...*
…On Tue, Mar 16, 2021 at 5:12 PM Ilia Rostovtsev ***@***.***> wrote:
I would like to know how to customize Virtual Login Text ( You must enter
a username and password) to something else....
Please could you clarify what you mean, and/or attach a screenshot?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#639 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATFGMDB46Q7NJEGQINY5ERLTD47Z7ANCNFSM4C3WLSCQ>
.
|
I don't see an image. |
Ok I have shared the link of the image
https://drive.google.com/file/d/1ENdKDKQDbbbZE3cscnJMcx7wgZU-mrei/view?usp=sharing
[image: Demo Login.JPG]
*I want to customize the Text in the login Page... I couldn't locate the
Source file of the login Page...*
*Please let me know how to change it.... I want Webmin Text and below
lines to be customized...*
*Thanks a lot*
…On Tue, Mar 16, 2021 at 10:29 PM Ilia Rostovtsev ***@***.***> wrote:
I don't see an image.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#639 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATFGMDBSPZDJWM7TRZZQ33DTD6FABANCNFSM4C3WLSCQ>
.
|
You would have to create
.. other language strings that can be replaced can be found here. |
Thanks for the fast reply. U r really awesome. I have been searching for two more things. One is to change the Webmin text and logo in navigation menu and second how to hide tab title or customize tab title to show the company name?
Example:
https://user-images.githubusercontent.com/4426533/111518855-89e80e80-8767-11eb-97e6-02234a60cc91.png
https://user-images.githubusercontent.com/4426533/111518873-8f455900-8767-11eb-97b5-746b469dff59.png
|
The text should be changed the same way as described in the comment above for
This can only be done using CSS theme extensions by replacing a content of an image with needed content from default icon pack or by placing own icon pack in the CSS theme extension file. Example: .wbm-webmin:before
{
content: '\f00a';
} Technically you could also use theme overlay to load CSS but there is no real need for doing this, as you can already do it using Authentic Theme extensions editor, like this:
This will only be supported starting with upcoming Authentic Theme 1.974 and will depend on modifying already mentioned |
Thanks iliarostovtsev.... Everything Worked Great... Waiting for Authentic Theme 19.74... When is next update??? |
Most likely tomorrow. |
Hi iliarostovtsev I'm on 19.74-RC3... How to Change Page Title (Dashboard to Show the Company Name or hide it completely)... I don't want Webmin Version And The Operating System to show on the Title bar... I want to Hide it And Proper way to change the Favicon |
This is already supported for checked devel version of the theme (and described above how to change language keys). The rest is configurable from Theme Configuration page -
Not yet possible. But I think I could provide support for this. Is this really needed?
Working on new features. Delayed a bit. Coming soon.. |
Thanks a Lot @iliarostovtsev I was waiting for ur reply... I'm really addicted to authentic-theme.... It's Really Awesome.... Thanks a Lot for this Beautiful Theme.....
Yes Please Provide support for this.... I really need it... I want to have custom Favicon |
Okay, I will see what I can do. |
Ok I'll be waiting.... |
Okay, I have added ability to customize favicons as well. All you need to do is to copy to Next, another big change is coming with 19.74-RC4, which is ability to utilize on-load brandings. It is familiar to what Google does in Gmail. By default all users will see the following branded splash screen, based on the product they are currently using: This however can be disabled using theme configuration page and its new options: What is important to know about this new feature besides that it can be disabled:
|
Thanks a Lot @iliajie |
I wish we could use a single svg for favicon, tiny and nice. 🙁 |
Hi @iliarostovtsev I'm Really Sorry for disturbing u... But i really need ur help on my Project... I know we can change the titles like theme_xhred_titles_wm in custom-lang file But There's no option to change the Title in Login Page of Webmin and Login Page of Usermin I want to Customize the Login to Webmin and Login to Usermin to Something Else Please Help me I really couldn't figure out... I have attached the Screenshot |
Check:
.. and its Do you really own |
Thank u soo much @iliarostovtsev ❤
I own many domain's but cloud.com is not mine 😉 |
Hi @iliarostovtsev Is it Possible to disable the favicon ??? And How to subdomain wildcard URL redirect ??? I want to redirect all subdomains to domain.com subdomains.domain.com to domain.com I tried *.domain.com but didn't work |
Not sure what you're asking. Redirect from where to where (what is the full URL before and expected after the redirect)?
By creating empty pngs for custom favcons described above. |
Check this commit out - 4019e58 |
anything.domain.com to domain.com or anything.domain.com to https://domain.com I want all subdomains like mail.domain.com and whatever.domain.com to go to my main domain ( domain.com or https://domain.com ) i tried using wildcard * But it didn't work |
Cannot help with that. I suggest you check for webserver documentation. Setting up redirects is quite common question. |
See here for some discussion: https://www.virtualmin.com/node/44933
I think the ability to replace the Webmin/Usermin logo on login and customize the text on the login page is very reasonable. (Localization makes that somewhat more complex. Not sure how we'd handle localization of user input data, but I guess most users would only want one language, and that'd be the language they'd used for their text without needing any decisions from the software.)
The text was updated successfully, but these errors were encountered: