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 <!-- Bootstrap core JavaScript
================================================== --> ================================================== -->
<!-- Placed at the end of the document so the pages load faster --> <!-- 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 src="{% static "js/jquery.min.js" %}"></script>
<script>window.jQuery || document.write('<script src="/js/vendor/jquery.min.js"><\/script>')</script>
<script src="{% static "js/bootstrap.min.js" %}"></script> <script src="{% static "js/bootstrap.min.js" %}"></script>
</body> </body>
</html> </html>

View File

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

View File

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

View File

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

View File

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

View File

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