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

Rewrite frontend styling with spectre.css, less Js, more usage of Django Forms #56

Draft
wants to merge 52 commits into
base: master
Choose a base branch
from

Conversation

Akasch
Copy link
Member

@Akasch Akasch commented Jan 16, 2020

This rewrites the frontend styling from bootstrap to spectre and refactors parts of the backend. This reduces code in the styling and custom backend code.

@Akasch Akasch requested a review from wichmannpas January 16, 2020 10:26
});
// $('[data-toggle="popover"]').popover({
// html: true
// });
Copy link
Member

Choose a reason for hiding this comment

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

What is this?

<div class="container">
{% block messages %}
{% for message in messages %}
<div{% if message.tags %} class="alert alert-{{ message.tags }}"{% endif %}>{{ message }}</div>
Copy link
Member

Choose a reason for hiding this comment

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

Again, toast?

Copy link
Member Author

Choose a reason for hiding this comment

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

the alert class should be gone now

bitpoll/settings.py Outdated Show resolved Hide resolved
bitpoll/settings.py Outdated Show resolved Hide resolved
@Akasch Akasch self-assigned this Jan 23, 2020
Akasch and others added 21 commits June 14, 2020 15:58
this moves widget_tweaks_extra to django_spectre_css
On desktop monitors make the author collumn sticky so it is always on the left of the frame wihle scrolling. Dos not work(yet) for the vote header as the poll results themselves are not in a scrollabel area
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