Skip to content
Snippets Groups Projects
Commit e3573da4 authored by Sebastien's avatar Sebastien
Browse files

Merge branch...

Merge branch 'tuleap-97-log-in-and-sign-in-buttons-should-not-be-displayed-on-capsule-list-page' into 'main'

Add a new template to add connexion buttons only on register and login

See merge request !20
parents 13d49136 c34817f2
No related branches found
No related tags found
1 merge request!20Add a new template to add connexion buttons only on register and login
{% extends 'layout.html.twig' %}
{% block connexion %}
<div class="d-flex flex-row justify-content-center mb-10">
<a href="/login" class="btn btn-primary m-2 px-4 py-3" >LOG IN</a>
<a href="/register" class="btn btn-primary m-2 px-4 py-3" >SIGN IN</a>
</div>
{% endblock %}
......@@ -15,15 +15,13 @@
<link rel="icon" type="image/x-icon" href="{{ asset('build/images/favicon.ico') }}" />
</head>
<body class="container">
<div class="d-flex flex-row justify-content-center mb-5">
<div class="d-flex flex-row justify-content-center mb-4">
<div class="d-flex flex-column">
<a href="/my_capsules"><img id="header-memorekall-logo" class="memorekall-logo" src="{{ asset('build/images/MemoRekall.png') }}"></a>
<div class="d-flex flex-row justify-content-center">
<a href="/login" class="btn btn-primary m-2 px-4 py-3" >LOG IN</a>
<a href="/register" class="btn btn-primary m-2 px-4 py-3" >SIGN IN</a>
</div>
</div>
</div>
{% block connexion %} {% endblock %}
{% block body %}{% endblock %}
</body>
</html>
\ No newline at end of file
{% extends 'layout.html.twig' %}
{% extends 'connexion.html.twig' %}
{% block title %}Register{% endblock %}
{% block body %}
<div class="d-flex flex-column justify-content-center">
<div class="mt-4">
{% for flashError in app.flashes('verify_email_error') %}
<div class="alert alert-danger col-6 mx-auto my-5 h1" role="alert">{{ flashError }}</div>
{% endfor %}
......
{% extends 'layout.html.twig' %}
{% extends 'connexion.html.twig' %}
{% block title %}Log in{% endblock %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment