-
Notifications
You must be signed in to change notification settings - Fork 6
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
[7762] re-design phase info component #5358
Conversation
…adme about local styling files
…es setting, rm old styling
… template with BO one
…d module type detail and create templates
…es for our a4 components
…n use make lint-fix
…older on make install to ensure site can be loaded on make watch
…e the cass loaded in base templates is not overwritten
…t extending from anything.
05873e3
to
b962d17
Compare
…y assets/tab: add tab styling and edit mimicking styling like styleguide
b962d17
to
a5c1132
Compare
375b013
to
03c15d2
Compare
meinberlin/apps/projects/templates/meinberlin_projects/project_detail.html
Outdated
Show resolved
Hide resolved
d71efa5
to
09584aa
Compare
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.
sorry not huge help with the js issue but the non swiper stuff is great, jsut need to add it to the other template, maybe the sample PR gives you another idea on how to deal with swiper?!
|
||
<section id="layout-grid__area--maincontent"> | ||
<div class="modul-servicepanel fullwidth panel--heavy phase-info"> | ||
<div class="servicepanel__main"> |
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.
module_detail_phase.html
is also included in project_detail.html
so the modul-* class names should also be added there, also the buttons need wrapping (see other comment)
meinberlin/apps/mapideas/templates/meinberlin_mapideas/mapidea_list.html
Show resolved
Hide resolved
@@ -9,9 +9,9 @@ | |||
{% block project_action %} | |||
{% has_or_would_have_perm 'meinberlin_ideas.add_idea' request.user module as propose_allowed %} | |||
{% if propose_allowed %} | |||
<a href="{% url 'meinberlin_ideas:idea-create' module_slug=module.slug %}" class="btn btn--primary btn--full u-spacer-bottom btn--huge"> | |||
<a href="{% url 'meinberlin_ideas:idea-create' module_slug=module.slug %}" class="button"> |
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.
see comment on mapidea_list, will also need to be added to
budgeting/proposal_list
kiezkasse/proposal_list
also maptopic_list but I just checked that template and it doesn't have the {% action %} block which is where the button should be?! you can copy it over from another template or just leave it for now, I think i may have fucked up there when doing teh react list and clean up
</div> | ||
<!-- End Swiper Template --> | ||
|
||
{% block extra_js %} | ||
<script src="{% static 'swiper_phases.js' %}"></script> | ||
<!-- Swiper JS --> |
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.
We do need to figure this out, I tried removing our version of swiper in package.json and commenting out both these script tags and the swiper is initialized but only if we add their js via the URL they provide, I have added an example here, maybe you and Julian can look into why that works and why webpack fucks it?! or maybe we start using their js script tag as that is what we are meant to do anyway, perhaps we can cache it so we always have a copy?! not sure link here #5377
Redesign of Phase Info Panel Component
Test Page
projekte/module/module-title
(e.g., Participatory Budgeting Phase 3)Changes
Observations
Previews
Tasks