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') }}"> <a class="btn btn-info btn-block" href="{{ path('fos_user_registration_register') }}">
Créer un compte Créer un compte
</a> </a>
</p>
<p>
<a class="btn btn-warning btn-block" href="{{ path('fos_user_resetting_request') }}"> <a class="btn btn-warning btn-block" href="{{ path('fos_user_resetting_request') }}">
Mot de passe oublié? Mot de passe oublié?
</a> </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> </p>
</div> </div>
</div> </div>
</div> </div>
<hr>
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<div class="padded"> <div class="padded">

View File

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

View File

@ -1,12 +1,26 @@
<footer class="big-footer text-center navbar-inverse navbar-footer "> <footer class="big-footer text-center navbar-inverse navbar-footer ">
<sub class="footer-note text-center"> <sub class="footer-note text-center">
{% trans %}global.made_by{% endtrans %} Tykayn / {% trans %}global.made_by{% endtrans %}
<a href="http://www.cipherbliss.com"> <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 Cipher Bliss
</a> </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"> <a href="mailto:contact@cipherbliss.com">
<i class="fa fa-mail"></i> <i class="fa fa-envelope-o"></i>
contact contact
</a> </a>
</sub> </sub>

View File

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

View File

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

View File

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