Template fixes

This commit is contained in:
Sebastian Lohff 2017-01-20 21:03:54 +01:00 committed by root
parent d63bfe0125
commit 5589c47cdc
6 changed files with 6 additions and 9 deletions

View File

@ -96,8 +96,7 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/js/vendor/jquery.min.js"><\/script>')</script>
<script src="{% static "js/jquery.min.js" %}"></script>
<script src="{% static "js/bootstrap.min.js" %}"></script>
</body>
</html>

View File

@ -3,7 +3,6 @@
{% load crispy_forms_tags %}
{% block content %}
<h2>Welcome!</h2>
<div class="row">
<div class="col-sm-12">
<div class="panel panel-default">
@ -23,12 +22,13 @@
width: 100px;
}
</style>
<!--
{% crispy form %}
-->
<!--
<form method="post" action="{% url "contest:log" %}" class="uniForm form-inline">
{% csrf_token %}
{{ form|crispy }}
-->
<!--
{% for field in form %}
<div class="form-group col-md-1">
@ -36,8 +36,10 @@
{% endfor %}
-->
<!--
<input type="submit" value="Log">
</form>
-->
</div>
</div>
</div>

View File

@ -1,7 +1,6 @@
{% extends "base.html" %}
{% block content %}
<h2>Welcome!</h2>
<div class="row">
<div class="col-sm-12">
We have the User {{ user }}, create a ref for them or choose an existing ref!

View File

@ -1,7 +1,6 @@
{% extends "base.html" %}
{% block content %}
<h2>Welcome!</h2>
<div class="row">
<div class="col-sm-12">
We have the User {{ user }}, create a ref for them or choose an existing ref!

View File

@ -1,7 +1,6 @@
{% extends "base.html" %}
{% block content %}
<h2>Welcome!</h2>
<div class="row">
<div class="col-sm-12">
<p>

View File

@ -1,7 +1,6 @@
{% extends "base.html" %}
{% block content %}
<h2>Welcome!</h2>
<div class="row">
<div class="col-sm-12">
We have the User {{ user }}, create a ref for them or choose an existing ref!