Skip to content

Commit

Permalink
Login page link back to project
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyeargin committed Mar 12, 2021
1 parent 3346e64 commit 9f573f9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions assets/css/login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,9 @@ body {
letter-spacing: 0.5rem;
}
}
footer {
margin-top: 3rem;
span {
font-size: 0.75rem;
}
}
3 changes: 2 additions & 1 deletion templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
</li>

<!-- Nav Item - User Information -->
{% if app.user and is_granted('ROLE_USER') %}
<li class="nav-item dropdown no-arrow">
<a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="mr-2 d-none d-lg-inline text-gray-600 small">{{ app.user.name ? app.user.name : app.user.email }}</span>
Expand All @@ -110,7 +111,7 @@
</a>
</div>
</li>

{% endif %}
</ul>

</nav>
Expand Down
3 changes: 3 additions & 0 deletions templates/security/login.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
</div>
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" />
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
<footer>
<span>Powered by <a href="https://github.com/utmsigep/member-directory" target="_blank">Member Directory</a></span>
</footer>
</form>
<script src="{{ asset('bundles/fosjsrouting/js/router.min.js') }}"></script>
<script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
Expand Down

0 comments on commit 9f573f9

Please sign in to comment.