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

[UX] servers page : make servers page to be responsive on mobile #1005

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

Bienvenumoringa
Copy link
Member

Working on responsive design of servers page ?page=servers, see screenshot :
photo_2024-05-07_13-14-41


// IMAP Username
$res .= '<div class="form-floating">';
$res .= '<input '.$disabled.' id="imap_user_'.$server_id.'" class="form-control credentials" type="text" name="imap_user" value="'.$this->html_safe($user_pc).'" placeholder="'.$this->trans('Username').'">';
$res .= '<input '.$disabled.' id="imap_user_'.$server_id.'" class="form-control " type="text" name="imap_user" value="'.$this->html_safe($user_pc).'" placeholder="'.$this->trans('Username').'">';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bienvenumoringa you should not remove class credentials as it is used in javascript. Just remove its css.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've already put back the credentials class so that the js works as expected. And I've removed it from the css side.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bienvenumoringa this fix only for IMAP servers but not SMTP servers

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied changes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bienvenumoringa there is too much space between 2 servers. Can you fix ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied changes

@josaphatim josaphatim merged commit 82d32d4 into cypht-org:master Jun 11, 2024
6 checks passed
David-Muhasa pushed a commit to David-Muhasa/cypht that referenced this pull request Jun 20, 2024
…pht-org#1005)

* [UX] servers page : make servers page to be responsive on mobile
* Arranged mobile servers to look good
---------

Co-authored-by: Josaphat Imani <josaphat.imani97@gmail.com>
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

Successfully merging this pull request may close these issues.

None yet

2 participants