demo autofill button, footer infos

This commit is contained in:
ty kayn 2019-07-05 14:09:25 +02:00
parent 69ce5a7e78
commit 27fdc9a72c
6 changed files with 39 additions and 16 deletions

View File

@ -19,16 +19,17 @@
<a class="btn btn-info btn-block" href="{{ path('fos_user_registration_register') }}">
Créer un compte
</a>
</p>
<p>
<a class="btn btn-warning btn-block" href="{{ path('fos_user_resetting_request') }}">
Mot de passe oublié?
</a>
<a href="#" id="demo_login_btn" class="btn btn-block btn-primary">
<i class="fa fa-arrow-circle-right"></i>
Se connecter à la démo</a>
</p>
</div>
</div>
</div>
<hr>
<div class="row">
<div class="col-xs-12">
<div class="padded">

View File

@ -61,7 +61,7 @@
{#</p>#}
<p>
<a class="btn btn-info"
<a class="btn btn-info btn-block"
href="{{ path('fos_user_registration_register') }}">
Créer un compte
</a>

View File

@ -1,13 +1,27 @@
<footer class="big-footer text-center navbar-inverse navbar-footer ">
<sub class="footer-note text-center">
{% trans %}global.made_by{% endtrans %} Tykayn /
<a href="http://www.cipherbliss.com">
Cipher Bliss
</a>
|
<a href="mailto:contact@cipherbliss.com">
<i class="fa fa-mail"></i>
contact
</a>
</sub>
<sub class="footer-note text-center">
{% trans %}global.made_by{% endtrans %}
<a href="https://mastodon.cipherbliss.com/@tykayn">
<i class="fa fa-share-alt"></i>
Tykayn -
</a>
<a href="https://www.cipherbliss.com">
<i class="fa fa-world"></i>
Cipher Bliss
</a>
<a href="https://framagit.org/tykayn/caisse-bliss">
<i class="fa fa-gitlab"></i>
sources de la Caisse Bliss
</a>
-
<a href="https://framagit.org/tykayn/caisse-bliss/blob/master/LICENSE">
<i class="fa fa-file-text"></i>
Licence AGPL v3
</a>
-
<a href="mailto:contact@cipherbliss.com">
<i class="fa fa-envelope-o"></i>
contact
</a>
</sub>
</footer>

View File

@ -43,7 +43,6 @@
</div>
</div>
</section>
</div>

View File

@ -34,6 +34,7 @@ security:
access_control:
- { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/dashboard$, role: IS_AUTHENTICATED_REMEMBERED }
- { path: ^/history$, role: IS_AUTHENTICATED_REMEMBERED }
- { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/logged, role: IS_AUTHENTICATED_REMEMBERED }

View File

@ -84,5 +84,13 @@ $(document).ready(function () {
}
startIntro()
})
// demo login
$('#demo_login_btn').on('click', function (){
$('#username').val('demo');
$('#password').val('demo');
$('#_submit').click();
})
// $('#introjs_start').click();
});