Add bootstrap theme

parent 9c2d8bbf
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>URL follower</title>
<link rel="stylesheet" href="https://bootswatch.com/darkly/bootstrap.min.css">
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="{% url 'index' %}">
URL follower
</a>
</div>
</div>
</nav>
<div class="container">
<div class="row">
{% block content %}
{% endblock %}
</div>
<footer>
<hr />
<div class="row">
(c) 2015, My magical web app!
</div>
</footer>
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
</body>
</html>
{% extends "base.html" %}
{% block content %}
<h1>Details of URL {{ url.id }}</h1> <h1>Details of URL {{ url.id }}</h1>
<ul> <ul>
...@@ -6,3 +10,5 @@ ...@@ -6,3 +10,5 @@
<li>Target: <a href="{{ url.target }}" target="_blank"><code>{{ url.target }}</code></a></li> <li>Target: <a href="{{ url.target }}" target="_blank"><code>{{ url.target }}</code></a></li>
<li>Followed: {{ url.used }} time(s).</li> <li>Followed: {{ url.used }} time(s).</li>
</ul> </ul>
{% endblock %}
{% extends "base.html" %}
{% block content %}
<h1>List of URLs</h1> <h1>List of URLs</h1>
{% if url_list %} {% if url_list %}
...@@ -12,3 +16,5 @@ ...@@ -12,3 +16,5 @@
{% else %} {% else %}
<p>No URLs are available.</p> <p>No URLs are available.</p>
{% endif %} {% endif %}
{% endblock %}
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