smallnet/templates/login.html
2015-11-02 18:08:11 -05:00

42 lines
1.3 KiB
HTML

{% extends "base.html" %}
{% block title %}Subir Circuito{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block content %}
<center><h1>Usuarios de <code>dpto2</code></h1></center>
<div class="container" style="width: 601px;">
<div class="row"> </div>
<div class="row">
<form class="form-horizontal" method="POST">
<div class="form-group">
<label for="username" class="col-sm-2 control-label">Usuario</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="username" name="username" placeholder="username">
</div>
</div>
<div class="form-group">
<label for="password" class="col-sm-2 control-label">Contraseña</label>
<div class="col-sm-10">
<input type="password" class="form-control" id="password" name="password" placeholder="password">
</div>
</div>
{% if error %}
<center>
<p>Error: {{ errormsg }}</p>
</center>
{% endif %}
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Iniciar sesión</button>
</div>
</div>
</form>
</div>
</div>
{% endblock %}