initial commit
This commit is contained in:
commit
e869a1cab4
107 changed files with 9029 additions and 0 deletions
1
app/views/_templates/content-section.volt
Normal file
1
app/views/_templates/content-section.volt
Normal file
|
|
@ -0,0 +1 @@
|
|||
|
||||
22
app/views/_templates/flash.volt
Normal file
22
app/views/_templates/flash.volt
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
{% set types = {
|
||||
'error': 'danger',
|
||||
'success': 'success',
|
||||
'notice': 'info',
|
||||
'warning': 'warning'
|
||||
} %}
|
||||
|
||||
{% if (flash.has()) %}
|
||||
{% for type, messages in flash.getMessages() %}
|
||||
{% for message in messages %}
|
||||
<div class="alert alert-{{ types[type] }} alert-dismissible" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
|
||||
<strong>{{ type|capitalize }}</strong>
|
||||
<p>
|
||||
{{ message }}
|
||||
</p>
|
||||
</div>
|
||||
{% endfor%}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
19
app/views/_templates/footer.volt
Normal file
19
app/views/_templates/footer.volt
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
<footer class="footer">
|
||||
<div class="footer-left">
|
||||
Copyright © 2017
|
||||
<a target="_blank" href="http://www.shufflingpixels.com">
|
||||
Shufflingpixels
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="footer-middle">
|
||||
<a class="footer-button-top" href="#top">
|
||||
{{ icon('android-arrow-dropup') }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="footer-right">
|
||||
Version 0.1
|
||||
</div>
|
||||
</footer>
|
||||
20
app/views/_templates/navigation.volt
Normal file
20
app/views/_templates/navigation.volt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
<div class="navigation" role="navigation">
|
||||
|
||||
<button class="menu-button" type="button" data-toggle="collapse" data-target="#main-menu" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="icon ion-navicon-round"></i>
|
||||
</button>
|
||||
|
||||
<ul class="navigation-user-menu">
|
||||
{% if auth.hasIdentity() %}
|
||||
<li>{{ icon('android-person') }} Signed in as <strong>{{ auth.getUser().username }}</strong></li>
|
||||
<li>{{ link_to(['for': 'logout'], '<i class="icon ion-log-out"></i> Log out') }}</li>
|
||||
{% else %}
|
||||
<li>{{ link_to(['for': 'login'], '<i class="icon ion-log-in"></i> Login', 'class': 'login-button') }}</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
<nav class="navigation-menu collapse" id="main-menu">
|
||||
{{ menu.render(0) }}
|
||||
</nav>
|
||||
</div>
|
||||
Reference in a new issue