Added login to the application to make authenticated api requests.
This commit is contained in:
27
templates/index/index.html.twig
Normal file
27
templates/index/index.html.twig
Normal file
@@ -0,0 +1,27 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Hello IndexController!{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<style>
|
||||
.example-wrapper {
|
||||
margin: 1em auto;
|
||||
max-width: 800px;
|
||||
width: 95%;
|
||||
font: 18px/1.5 sans-serif;
|
||||
}
|
||||
|
||||
.example-wrapper code {
|
||||
background: #F5F5F5;
|
||||
padding: 2px 6px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="app">
|
||||
<loginform></loginform>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{{ encore_entry_script_tags('user') }}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user