Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
django-url-follower
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikolaos S. Papaspyrou
django-url-follower
Commits
1143bf2a
Commit
1143bf2a
authored
Jun 15, 2015
by
Nikolaos S. Papaspyrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add bootstrap theme
parent
9c2d8bbf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
0 deletions
+48
-0
base.html
urlforward/templates/base.html
+36
-0
details.html
urlforward/templates/details.html
+6
-0
index.html
urlforward/templates/index.html
+6
-0
No files found.
urlforward/templates/base.html
0 → 100644
View file @
1143bf2a
<?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>
urlforward/templates/details.html
View file @
1143bf2a
{% 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 %}
urlforward/templates/index.html
View file @
1143bf2a
{% 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 %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment