start developing the control module

This commit is contained in:
Laura Klünder 2016-12-20 01:40:01 +01:00
parent 2a00e9ba0a
commit b26a3548fc
16 changed files with 160 additions and 53 deletions

View file

@ -183,3 +183,8 @@ circle.pos {
vertical-align:middle;
line-height: 1.42857143;
}
.login .container {
max-width:420px;
}

View file

@ -1,5 +1,7 @@
c3nav = {
init: function() {
if (!$('#c3nav-main').length) return;
c3nav._typeahead_locations = new Bloodhound({
datumTokenizer: function(data) {
var result = [data.id]
@ -100,5 +102,3 @@ c3nav = {
}
};
$(document).ready(c3nav.init);

View file

@ -13,7 +13,7 @@
{% endcompress %}
</head>
<body>
<body class="{% block bodyclass %}{% endblock %}">
<div class="container" id="main">
<h1>c3nav</h1>

View file

@ -4,7 +4,7 @@
{% load i18n %}
{% block content %}
<form method="post">
<form method="post" id="main_view">
{% csrf_token %}
<div class="row">
{% trans "Origin" as heading %}