Skip to content

Commit

Permalink
Merge pull request #11 from yanokwa/add-version
Browse files Browse the repository at this point in the history
Add version, better styling, and improved logging
  • Loading branch information
yanokwa authored Jul 22, 2018
2 parents c927d66 + 3a5b997 commit 55a5b72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions xlsform_app/templates/upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
white-space: pre-wrap;
white-space: -moz-pre-wrap;
}
.version {
text-align: center;
}
</style>

<script src="/static/js/jquery.min.js"></script>
Expand All @@ -24,12 +27,12 @@
<body>

{% block upload %}
<form enctype="multipart/form-data" method="post" class="well" id="myForm">
<form enctype="multipart/form-data" method="post" class="alert alert-info" id="myForm">
<table>
{{form.as_table}}
</table>
{% csrf_token %}
<input type="submit" value="Submit" id="submitBtn" class="btn" />
<input type="submit" value="Submit" id="submitBtn" class="btn btn-info" />
</form>
{% endblock %}

Expand All @@ -55,5 +58,6 @@

<div id="output">
</div>
<div class="version muted">v1.2.0</div>
</body>
</html>
2 changes: 1 addition & 1 deletion xlsform_prj/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
},
'django.template': {
'handlers': ['file'],
'level': 'DEBUG',
'level': 'INFO',
'propagate': False,
},
},
Expand Down

0 comments on commit 55a5b72

Please sign in to comment.