Skip to content
This repository was archived by the owner on Oct 28, 2019. It is now read-only.

Commit 34e3921

Browse files
committed
Add a changelog
1 parent fe52ab6 commit 34e3921

File tree

4 files changed

+90
-4
lines changed

4 files changed

+90
-4
lines changed

pasteapp/static/css/screen.css

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,36 @@ h1 small {
2929
h1 small img {
3030
margin-top: -5px;
3131
}
32+
33+
.brand {
34+
color: #000;
35+
}
36+
37+
.marketing h1, .marketing h2 {
38+
font-weight: 300;
39+
}
40+
41+
.marketing h1 {
42+
margin: 36px 0 27px;
43+
text-align: center;
44+
font-size: 40px;
45+
}
46+
47+
.marketing .row {
48+
margin-bottom: 9px;
49+
}
50+
51+
.changelog h1, .changelog h2, .changelog h3 {
52+
font-weight: 300;
53+
}
54+
55+
.changelog h1 {
56+
margin: 37px 0 27px;
57+
font-size: 40px;
58+
}
59+
60+
.changelog .row {
61+
margin-bottom: 20px;
3262
}
3363

3464
@media (max-width: 979px) {
@@ -44,6 +74,10 @@ h1 small img {
4474
}
4575
}
4676

77+
@media (max-width: 768px) {
78+
.marketing h1, .changelog h1 {
79+
margin: 5px 0 27px;
80+
}
4781
}
4882

4983
table, table td, table th {
@@ -73,8 +107,6 @@ img.avatar {
73107
border-radius: 2px;
74108
}
75109

76-
.changelog .row {
77-
margin-bottom: 20px;
78110
.modal form {
79111
margin-bottom: 0;
80112
}

pasteapp/templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<head>
33
<meta http-equiv="content-type" content="text/html; charset=utf-8">
44
<meta name="viewport" content="width=device-width, initial-scale=1.0">
5-
<title>{% block title %}Paste{% endblock %}</title>
5+
<title>{% block title %}Snippt{% endblock %}</title>
66
<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.min.css" type="text/css" media="screen" charset="utf-8">
77
<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap-responsive.min.css" type="text/css" media="screen" charset="utf-8">
88
<link rel="stylesheet" href="{{ STATIC_URL }}css/font-awesome.css">
@@ -18,7 +18,7 @@
1818

1919
<ul class="nav">
2020
<li><a href="/">New Snippt</a></li>
21-
<li><a href="/changelog/">Change Log</a></li>
21+
<li><a href="{% url changelog %}">Change Log</a></li>
2222
</ul>
2323

2424
{% if request.user.is_authenticated %}

pasteapp/templates/changelog.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{% extends "base.html" %}
2+
3+
{% block title %}Change Log - {{ block.super }}{% endblock %}
4+
5+
{% block wrapper %}
6+
<div class="container content-wrapper changelog">
7+
<h1>Change Log</h1>
8+
<!--
9+
<div class="row">
10+
<div class="span4">
11+
<h3>July 16, 2012</h2>
12+
</div>
13+
14+
<div class="span8">
15+
<h2>Revision 3</h2>
16+
<ul>
17+
</ul>
18+
</div>
19+
</div>
20+
-->
21+
<div class="row">
22+
<div class="span4">
23+
<h3>July 16, 2012</h2>
24+
</div>
25+
26+
<div class="span8">
27+
<h2>Revision 2</h2>
28+
<ul>
29+
<li>Brand new design based on twitter bootstrap.</li>
30+
<li>Add support for 20 more lexters.</li>
31+
<li>Fix some issues with LaTex, ObjC, reST, and Python 3</li>
32+
</ul>
33+
</div>
34+
</div>
35+
36+
<div class="row">
37+
<div class="span4">
38+
<h3>May 6, 2012</h2>
39+
</div>
40+
41+
<div class="span8">
42+
<h2>Revision 1</h2>
43+
<ul>
44+
<li>Support BrowserID for logins.</li>
45+
<li>Drop support for OpenID</li>
46+
<li>Add a title field to pastes</li>
47+
<li>Allow adding "public/private" pastes</li>
48+
</ul>
49+
</div>
50+
</div>
51+
</div>
52+
{% endblock %}

pasteapp/urls.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
from paste.views import *
88

99
urlpatterns = patterns('',
10+
url('^changelog/$', TemplateView.as_view(template_name='changelog.html'),
11+
name='changelog'),
1012
url('^logout/$', logout_view, name='logout'),
1113
url('^paste/$', AddSnippetView.as_view()),
1214
url('^syntax/$', SyntaxView.as_view()),

0 commit comments

Comments
 (0)