Remove index mobile view as new login view is mobile is now responsive

This commit is contained in:
Nicolas Le Goff
2013-06-18 17:03:14 +02:00
parent 09a4fb52e0
commit 05fe6d79ad

View File

@@ -1,60 +0,0 @@
{% extends "common/index.html.twig" %}
{% block javascript %}
<script type="text/javascript">
$(document).bind("mobileinit", function(){
$.extend( $.mobile, { ajaxFormsEnabled: false });
});
</script>
{% endblock %}
{% block stylesheet %}
{% endblock %}
{% block content %}
<div data-role="page">
<div data-role="header">
<h1>{{ app['phraseanet.registry'].get('GV_homeTitle') }}</h1>
</div>
<div data-role="content">
<form name="send" action="{{ path('login_authenticate') }}" method="post" id="authentication">
<script type="text/javascript">
{% if errorWarning|striptags != '' %}
alert("{{errorWarning|striptags}}");
{% endif %}
{% if confirmWarning|striptags != '' %}
alert("{{confirmWarning|striptags}}");
{% endif %}
</script>
{% if app['phraseanet.registry'].get('GV_metaDescription') != '' %}
<div class="info">{{ app['phraseanet.registry'].get('GV_metaDescription') }}</div>
{% endif %}
<div data-role="fieldcontain">
<fieldset>
<div data-role="fieldcontain">
<input autocapitalize="off" autocorrect="off" type="text" name="login" id="name" value="" {% if app['phraseanet.registry'].get('GV_maintenance') == true %}disabled{% endif %} tabindex="1"
placeholder="{% trans 'admin::compte-utilisateur identifiant' %}" />
<input autocapitalize="off" autocorrect="off" {% if app['phraseanet.registry'].get('GV_maintenance') == true %}disabled{% endif %} tabindex="2"
placeholder="{% trans 'admin::compte-utilisateur mot de passe' %}" name="pwd" id="pwd" value="" type="password" />
<fieldset data-role="controlgroup">
<input type="checkbox" name="remember" id="remember" value="1" checked="checked" class="custom" />
<label for="remember">{% trans 'Garder ma session active' %}</label>
</fieldset>
<button type="submit" name="submit" value="{% trans 'login:: connexion' %}...">{% trans 'login:: connexion' %}</button>
</div>
</fieldset>
</div>
</form>
<ul data-role="listview">
<li>
<a href="{{ path ('login_forgot_password') }}" rel="external">
{% trans 'login:: Forgot your password' %}
</a>
</li>
</ul>
</div>
</div>
<div data-role="footer">
</div>
{% endblock %}