Add templates and template tags for common Materialize patterns
- Tooltips
- Clarify usage of message boxes
- Buttons
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Jonathan Weth added part::frontend label
added part::frontend label
- Nik | Klampfradler changed title from Add template tag for tooltipps to make handling easier to Add template tag for tooltips to make handling easier
changed title from Add template tag for tooltipps to make handling easier to Add template tag for tooltips to make handling easier
- Owner
Can you please explain what this is about?
Collapse replies - Owner
Ping @hansegucker
- Author Owner
A tag which wraps following HTML code:
<a class="btn tooltipped" data-position="bottom" data-tooltip="I am a tooltip">Hover me!</a>
Example:
{% tooltipped "Foo" %}
- Owner
<a class="btn tooltipped" data-position="bottom" data-tooltip="I am a tooltip">Hover me!</a>
Above all, this MUST use the
title
attribute. If materialize does not support it, it needs to be duplicated, so tooltips work without JavaScript and on non-visual display devices. - Author Owner
One argument more for a new template tag.
- Owner
One argument more for a new template tag.
Considering we already have a button template, maybe even a materialize twmplate library.
- Author Owner
Seems like a good idea.
- Jonathan Weth moved from AlekSIS-App-Chronos#57 (moved)
moved from AlekSIS-App-Chronos#57 (moved)
- Tom Teichler added part::frontend label
added part::frontend label
- Jonathan Weth changed title from Add template tag for tooltips to make handling easier to Add templates and template tags for common Materialize patterns
changed title from Add template tag for tooltips to make handling easier to Add templates and template tags for common Materialize patterns
- Jonathan Weth changed the description
changed the description
- Author Owner
Please feel free to add things to description, especially @yuha and @ZugBahnHof.
Collapse replies - Developer
What about icons? e.g.
{% icon "add" %}
and optional classes follow behind like{% icon "add" "medium blue-color" %}
- Owner
Yes. Probably the default classes for the icons should be configurable in settings.py, so we can finally switch to another icon set globally ;).
- Owner
Should this be coordinated with viewflow's
material.frontend
, @hansegucker? Collapse replies - Author Owner
I think we should contribute as much as possible as parts of https://github.com/viewflow/django-material.
- Developer
Is this still our plan? I can't remember what we discussed in the mattermost
- Jonathan Weth assigned to @ZugBahnHof and unassigned @hansegucker
assigned to @ZugBahnHof and unassigned @hansegucker
- Nik | Klampfradler added workflow::discussing label
added workflow::discussing label
- Nik | Klampfradler unassigned @ZugBahnHof
unassigned @ZugBahnHof
- Nik | Klampfradler removed milestone
removed milestone
- Developer
Connect with issue #258 (closed) ?
I would suggest writing an external django lib, something like
django-material-designe
that includesmaterialize
andmaterialdesignicons
What's your opinion?
- Owner
Obsoleted by #696 (closed)
- Nik | Klampfradler closed
closed
- Nik | Klampfradler changed the description
changed the description