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

remake contest ui #80

Merged
merged 5 commits into from
Sep 8, 2023
Merged

remake contest ui #80

merged 5 commits into from
Sep 8, 2023

Conversation

HungBacktracking
Copy link
Contributor

image

Copy link
Contributor

@cuom1999 cuom1999 left a comment

Choose a reason for hiding this comment

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

chỉ một note nhỏ thôi

templates/contest/list.html Outdated Show resolved Hide resolved
templates/contest/list.html Outdated Show resolved Hide resolved
templates/contest/list.html Outdated Show resolved Hide resolved
templates/contest/list.html Outdated Show resolved Hide resolved
@cuom1999
Copy link
Contributor

cuom1999 commented Sep 7, 2023

  1. Anh cảm giác cái khoảng cách này hơi nhỏ padding của tên kỳ thi (cột bên trái) hơi nhỏ hoặc font chữ nó hơi to làm nhìn hơi chật. Mấy cái padding/margin của cột khác cũng hơi nhỏ.
  2. Cái class kiểu [2022 78A] hay [rated], anh nghĩ nên cho xuống 1 dòng thay vì ngang dòng cái tên contest.
  3. Cái padding-top của Thời gian nhìn bị lệch mấy cột khác thì phải.
  4. Em sửa luôn mấy cái title thành tiếng Anh luôn.

image

@HungBacktracking
Copy link
Contributor Author

Dạ tầm sáng em dậy em sửa nốt mọi thứ ạ

@cuom1999
Copy link
Contributor

cuom1999 commented Sep 7, 2023

Optional: A thấy nếu không có cái nền trắng sẽ đẹp hơn. Cái này là do class wrapper trong {{'wrapper' if is_two_column}} ở file three-column-content.html. Cái is_two_column là từ two-column-content.htmlcontest/list.html extends cái two-column-content.html.

Để bỏ cái wrapper thì mình có thể làm thế này:

  1. Trong contest/list.html, trước khi extends two-column-content.html thì mình {% set no_wrapper = true %}
  2. Trong two-column-content.html, thay vì {% set is_two_column = true %} thì mình có thể làm kiểu {% set has_wrapper = not no_wrapper %} (để nếu None thì vẫn true).
  3. Trong three-column-content.html, sửa is_two_column thành has_wrapper

Copy link
Contributor

@cuom1999 cuom1999 left a comment

Choose a reason for hiding this comment

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

Thanks em!

@cuom1999 cuom1999 merged commit 3542d6b into LQDJudge:master Sep 8, 2023
1 check passed
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.

2 participants