Fixed image view dimensions.
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
</td>
|
||||
|
||||
<!-- Current image. -->
|
||||
<td class="full-width">
|
||||
<td>
|
||||
<a href="{{image_path}}" target="_blank">
|
||||
<div class="image-container">
|
||||
<img src="{{image_path}}" class="image">
|
||||
|
||||
@@ -8,12 +8,11 @@
|
||||
</title>
|
||||
<link href="{% static 'css/styles.css' %}" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="background">
|
||||
<div class="fc mauto pd">
|
||||
<form method="post" action="{% url 'login' %}" class="fc">
|
||||
<div class="fixed-width mauto-top">
|
||||
<form method="post" action="{% url 'login' %}" class="full-width">
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
<table class="full-width">
|
||||
<tr>
|
||||
<td>
|
||||
{{ form.username.label_tag }}
|
||||
@@ -22,7 +21,6 @@
|
||||
{{ form.username }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{{ form.password.label_tag }}
|
||||
@@ -31,10 +29,13 @@
|
||||
{{ form.password }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="login" class="float-right">
|
||||
<input type="hidden" name="next" value="{{ next }}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<input type="submit" value="login" class="float-right">
|
||||
<input type="hidden" name="next" value="{{ next }}">
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user