Commit 3a471745 authored by smilin_desperado's avatar smilin_desperado

Formatting fixes

- Add top margin above page headings
- Allow github style tasklists in shown
parent 1c7eb93f
......@@ -6,7 +6,7 @@
{% block content %}
<div class="container">
<h2>View/Edit Job</h2>
<h2 class="mt-3">View/Edit Job</h2>
<form action="" method="post" id="editForm">
{% csrf_token %}
{{ form.user.as_hidden }}
......@@ -89,7 +89,7 @@
$(document).ready(function(){ convertMd(); });
function convertMd(){
var converter = new showdown.Converter();
var converter = new showdown.Converter({tasklists: true});
var md = document.getElementById('id_application_data').value;
var html = converter.makeHtml(md);
var previewDiv = document.getElementById('previewDiv');
......
......@@ -10,7 +10,7 @@
transition: transform 0.1s ease;
}
</style>
<h1>Dashboard</h1>
<h1 class="mt-3">Dashboard</h1>
{% if messages %}
{% for message in messages %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment