-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a451f9
commit 8c19b9d
Showing
17 changed files
with
114 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
71 changes: 0 additions & 71 deletions
71
src/unicms_template_italia/templates/blocks/italia_hero_slider (copia).html
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
src/unicms_template_italia/templates/blocks/italia_link.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% load i18n %} | ||
{% load static %} | ||
|
||
|
||
<div class="link-list-wrapper"> | ||
<ul class="link-list"> | ||
<li> | ||
<a class="list-item" href="{{ url }}"> | ||
<svg class="icon icon-primary icon-right"> | ||
<use xlink:href="{% static 'svg/sprite.svg' %}#it-link"></use> | ||
</svg> | ||
<span>{{ name }}</span> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 1 addition & 3 deletions
4
...italia/templates/blocks/italia_image.html → .../templates/blocks/italia_media_image.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
45 changes: 45 additions & 0 deletions
45
src/unicms_template_italia/templates/blocks/italia_menu_side.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{% load i18n %} | ||
{% load static %} | ||
|
||
{% if items %} | ||
<div class="sidebar-wrapper"> | ||
<div class="sidebar-linklist-wrapper"> | ||
<div class="link-list-wrapper"> | ||
<ul class="link-list"> | ||
{% for item in items %} | ||
<li> | ||
{% if item.get_childs %} | ||
<a class="list-item large medium right-icon" | ||
href="#collapse{{ forloop.counter }}" | ||
data-toggle="collapse" | ||
aria-expanded="false" | ||
aria-controls="collapseOne"> | ||
<span>{{ item.name }} </span> | ||
<svg class="icon icon-sm icon-primary right" aria-hidden="true"> | ||
<use xlink:href="{% static 'svg/sprite.svg' %}#it-expand"></use> | ||
</svg> | ||
</a> | ||
<ul class="link-sublist collapse" id="collapse{{ forloop.counter }}"> | ||
{% for child in item.get_childs %} | ||
<li> | ||
<a class="list-item" href="{{ child.link}}"> | ||
<span>{{ child.name }} </span> | ||
</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% else %} | ||
<a class="list-item" href="{{ item.link }}"> | ||
<span>{{ item.name }} </span> | ||
</a> | ||
{% endif %} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
|
||
|
3 changes: 3 additions & 0 deletions
3
src/unicms_template_italia/templates/blocks/italia_pub_alert_danger.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% extends "blocks/italia_alert_info.html" %} | ||
|
||
{% block variant %}danger{% endblock %} |
36 changes: 36 additions & 0 deletions
36
src/unicms_template_italia/templates/blocks/italia_pub_alert_info.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{% load static %} | ||
{% load unicms_contexts %} | ||
|
||
|
||
<div class="alert alert-{% block variant %}info{% endblock %}" role="alert"> | ||
<h4 class="alert-heading">{{ publication.title }}</h4> | ||
{% if publication.subheading %} | ||
<p><i>{{ publication.subheading }}</i></p> | ||
<hr> | ||
{% endif %} | ||
{% if publication.presentation_image %} | ||
<div class="media mb-0"> | ||
<img class="align-self-start mr-3 w-25" src="{{ publication.image_url }}" alt="{{ publication.title }}"> | ||
<div class="media-body"> | ||
{{ publication.content|safe }} | ||
</div> | ||
</div> | ||
{% else %} | ||
<p class="mb-0">{{ publication.content|safe }}</p> | ||
{% endif %} | ||
{% if publication.related_links %} | ||
<hr> | ||
<ul class="pl-0" style="list-style: none"> | ||
{% for link in publication.related_links %} | ||
<li class="mb-3"> | ||
<a href="{{ link.url }}"> | ||
<svg class="icon icon-xs"> | ||
<use xlink:href="{% static 'svg/sprite.svg' %}#it-link"></use> | ||
</svg> | ||
{{ link.name }} | ||
</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
</div> |
3 changes: 3 additions & 0 deletions
3
src/unicms_template_italia/templates/blocks/italia_pub_alert_success.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% extends "blocks/italia_alert_info.html" %} | ||
|
||
{% block variant %}success{% endblock %} |
3 changes: 3 additions & 0 deletions
3
src/unicms_template_italia/templates/blocks/italia_pub_alert_warning.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% extends "blocks/italia_alert_info.html" %} | ||
|
||
{% block variant %}warning{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters