-
Notifications
You must be signed in to change notification settings - Fork 38
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
base: master
Are you sure you want to change the base?
Conversation
…forms, migrations
bitpoll/base/static/js/main.js
Outdated
}); | ||
// $('[data-toggle="popover"]').popover({ | ||
// html: true | ||
// }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this?
bitpoll/base/templates/base.html
Outdated
<div class="container"> | ||
{% block messages %} | ||
{% for message in messages %} | ||
<div{% if message.tags %} class="alert alert-{{ message.tags }}"{% endif %}>{{ message }}</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, toast
?
There was a problem hiding this comment.
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
this moves widget_tweaks_extra to django_spectre_css
…sactional locking in changing choices
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
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.