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

resolution of Django template for the example sp #89

Merged
merged 9 commits into from
Nov 14, 2023

Conversation

Gartic99
Copy link
Contributor

This PR is relative to the issue #136
We are adding a first mock up of the Service Provider page.

@@ -0,0 +1,40 @@
{% extends "base.html" %}

{%block tab_active%} active{%endblock%}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
{%block tab_active%} active{%endblock%}
{% block tab_active %} active{% endblock %}

<div class="container">
<div class="row">
<div class="col-lg-6 offset-lg-1 order-lg-2">
<img src="https://picsum.photos/800/600" title="titolo immagine" alt="descrizione immagine" class="img-fluid">
Copy link
Member

Choose a reason for hiding this comment

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

please change the following value with a static image on the local storage, using {% static "..." %}

"https://picsum.photos/800/600"

<div class="card-body pb-5">
<div class="category-top">
<svg class="icon">
<use xlink:href="/bootstrap-italia/dist/svg/sprites.svg#it-calendar"></use>
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<use xlink:href="/bootstrap-italia/dist/svg/sprites.svg#it-calendar"></use>
<use xlink:href="/bootstrap-italia/dist/svg/sprites.svg#it-calendar"></use>

please use {% static %}, don't use absolute webpaths

Copy link
Member

Choose a reason for hiding this comment

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

here and in all the occurences

example_sp/djangosaml2_sp/saml2_sp/views.py Show resolved Hide resolved
example_sp/djangosaml2_sp/saml2_sp/views.py Show resolved Hide resolved
@peppelinux peppelinux changed the base branch from eudi to setup-fix November 14, 2023 16:14
@peppelinux peppelinux merged commit 73d2f41 into italia:setup-fix Nov 14, 2023
2 checks passed
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