Skip to content
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

Custom commands page has very odd look and feel. Please look at CSS #1544

Closed
swilson563 opened this issue May 27, 2021 · 15 comments
Closed

Custom commands page has very odd look and feel. Please look at CSS #1544

swilson563 opened this issue May 27, 2021 · 15 comments

Comments

@swilson563
Copy link

Hello, since upgrading the Custom Commands page has a very odd look at feel.

The layout is not as smooth as past releases.

It appears to be css related.

@iliajie
Copy link
Collaborator

iliajie commented May 27, 2021

Hi,

Could you please provide a screenshot and share in private message /etc/webmin/custom directory so I could see what is wrong exactly?

@swilson563
Copy link
Author

webmin -authentic
webmin - bootstrap

Here are two comparisons. The authentic theme has very little spacing between commands. The text box is near zero in size and by the title looks odd without being in a DIV block. The other is the bootstrap theme which has some spacing and ordering of parameters.

@iliajie
Copy link
Collaborator

iliajie commented May 28, 2021

Here are two comparisons. The authentic theme has very little spacing between commands.

This is not a bug but a feature. I will look into making container padding a bit more distinct.

@swilson563
Copy link
Author

swilson563 commented May 28, 2021 via email

@iliajie
Copy link
Collaborator

iliajie commented May 28, 2021

It looked very nice on version 1.7.X

Again, can you please be exact about on which version it looked nice? What is 1.7.x? We don't have such versioning. Could you share more on how it looked before and how it looks now and the content of /etc/webmin/custom directory? You can use my personal website to send me download link(s) privately.

@swilson563
Copy link
Author

swilson563 commented Jun 1, 2021 via email

@iliajie
Copy link
Collaborator

iliajie commented Jun 4, 2021

I received and replied to your email. Please attach /etc/webmin/custom, and I'll review it on how it looks to understand if there is anything wrong.

@swilson563
Copy link
Author

swilson563 commented Jun 4, 2021 via email

@iliajie
Copy link
Collaborator

iliajie commented Jun 4, 2021

It was the zip file in my last email

I am sorry, Scott, never received it. Could you please send it over again?

@iliajie
Copy link
Collaborator

iliajie commented Jun 4, 2021

I got it now. Alright, I don't think I like current output that much but the way it was before is even worse in my opinion.

Since upgrading the Custom Commands page has a very odd look at feel.

What is it in current layout/output that makes it feel bad for you? Current layout is made to fit as much as possible in a single line, with adjustable input box.

FYI, you could use Custom Commands ⇾ Configuration: Configurable options to switch to Links to commands table like output. Also you could keep the current output but display it in one column instead of two as set right now by default.

@swilson563
Copy link
Author

swilson563 commented Jun 4, 2021 via email

@swilson563
Copy link
Author

swilson563 commented Jun 4, 2021 via email

@iliajie
Copy link
Collaborator

iliajie commented Jun 4, 2021

We have about 20 commands on the page. I could go to one page to listing if you don’t want to change.

I would like to improve it, I think!

Can you just send me the list of real life custom commands that you use, so I could prevision on what your team expects? I'll keep them safe, no worries here.

@iliajie
Copy link
Collaborator

iliajie commented Nov 6, 2021

Now, I understand what you meant by saying "it has very odd look and feel". Infact, with more advanced application it had a ridiculous layout -- it was barely usable! I have never used it that way. Sorry.

I've spent considerable amount of time today to have it fix but I also left the old mode working for more simple commands:

image

Next theme release will have it fixed. Sorry for taking so long. I didn't realise there was such a serious oversight!

@iliajie iliajie closed this as completed Nov 6, 2021
@iliajie
Copy link
Collaborator

iliajie commented Nov 7, 2021

Fix responsiveness for Custom Commands module and few other minor bugs.

Uploaded examples of custom commands for the future reference.

Status: Fully accomplished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants