Make the application modular to have a "main" and "backend" part.
This commit is contained in:
parent
884f721002
commit
e5b0e1fcfd
28 changed files with 112 additions and 7 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<header class="head-section">
|
||||
<div class="top-section">
|
||||
{% include "_templates/navigation.volt" %}
|
||||
{% include "_components/navigation.volt" %}
|
||||
</div>
|
||||
|
||||
{% block masthead %}{% endblock %}
|
||||
|
|
@ -20,14 +20,14 @@
|
|||
|
||||
<main class="content-section">
|
||||
|
||||
{% include "_templates/flash.volt" %}
|
||||
{% include "_components/flash.volt" %}
|
||||
|
||||
{{ content() }}
|
||||
|
||||
</main>
|
||||
|
||||
<div class="footer-section">
|
||||
{% include "_templates/footer.volt" %}
|
||||
{% include "_components/footer.volt" %}
|
||||
</div>
|
||||
|
||||
{{ assets.outputJs() }}
|
||||
2
app/views/backend/user/index.volt
Normal file
2
app/views/backend/user/index.volt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
|
||||
<h1>Backend</h1>
|
||||
Reference in a new issue