Skip to content

feat: Changed admin panel style theme #285

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

Merged
merged 1 commit into from
Sep 11, 2021
Merged

feat: Changed admin panel style theme #285

merged 1 commit into from
Sep 11, 2021

Conversation

orronai
Copy link
Collaborator

@orronai orronai commented Sep 9, 2021

  • Added a template of admin html files
  • Added a css file contains the style of the navbar
  • Changed the requirements of flask-admin in order to support bootstrap4

- Added a template of admin html files
- Added a css file contains the style of the navbar
- Changed the requirements of flask-admin in order to support bootstrap4
@sourcery-ai
Copy link

sourcery-ai bot commented Sep 9, 2021

Sourcery Code Quality Report

Merging this PR leaves code quality unchanged.

Quality metrics Before After Change
Complexity 1.12 ⭐ 1.12 ⭐ 0.00
Method Length 31.20 ⭐ 31.20 ⭐ 0.00
Working memory 6.40 🙂 6.40 🙂 0.00
Quality 83.86% 83.86% 0.00%
Other metrics Before After Change
Lines 73 73 0
Changed files Quality Before Quality After Quality Change
lms/lmsweb/admin.py 83.86% ⭐ 83.86% ⭐ 0.00%

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation

Legend and Explanation

The emojis denote the absolute quality of the code:

  • ⭐ excellent
  • 🙂 good
  • 😞 poor
  • ⛔ very poor

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Help us improve this quality report!

@codecov
Copy link

codecov bot commented Sep 9, 2021

Codecov Report

Merging #285 (ac585c7) into master (07cafa7) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #285   +/-   ##
=======================================
  Coverage   78.98%   78.98%           
=======================================
  Files          55       55           
  Lines        2346     2346           
=======================================
  Hits         1853     1853           
  Misses        493      493           
Impacted Files Coverage Δ
lms/lmsweb/admin.py 93.33% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 07cafa7...ac585c7. Read the comment docs.

@orronai orronai linked an issue Sep 9, 2021 that may be closed by this pull request
@orronai orronai merged commit bed689c into master Sep 11, 2021
@orronai orronai deleted the admin-panel-theme branch September 22, 2021 12:27
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.

Create a better looking admin page
2 participants