This repository was archived by the owner on Oct 28, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +90
-4
lines changed Expand file tree Collapse file tree 4 files changed +90
-4
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,36 @@ h1 small {
29
29
h1 small img {
30
30
margin-top : -5px ;
31
31
}
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 ;
32
62
}
33
63
34
64
@media (max-width : 979px ) {
@@ -44,6 +74,10 @@ h1 small img {
44
74
}
45
75
}
46
76
77
+ @media (max-width : 768px ) {
78
+ .marketing h1 , .changelog h1 {
79
+ margin : 5px 0 27px ;
80
+ }
47
81
}
48
82
49
83
table , table td , table th {
@@ -73,8 +107,6 @@ img.avatar {
73
107
border-radius : 2px ;
74
108
}
75
109
76
- .changelog .row {
77
- margin-bottom : 20px ;
78
110
.modal form {
79
111
margin-bottom : 0 ;
80
112
}
Original file line number Diff line number Diff line change 2
2
< head >
3
3
< meta http-equiv ="content-type " content ="text/html; charset=utf-8 ">
4
4
< 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 >
6
6
< link rel ="stylesheet " href ="{{ STATIC_URL }}css/bootstrap.min.css " type ="text/css " media ="screen " charset ="utf-8 ">
7
7
< link rel ="stylesheet " href ="{{ STATIC_URL }}css/bootstrap-responsive.min.css " type ="text/css " media ="screen " charset ="utf-8 ">
8
8
< link rel ="stylesheet " href ="{{ STATIC_URL }}css/font-awesome.css ">
18
18
19
19
< ul class ="nav ">
20
20
< 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 >
22
22
</ ul >
23
23
24
24
{% if request.user.is_authenticated %}
Original file line number Diff line number Diff line change
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 %}
Original file line number Diff line number Diff line change 7
7
from paste .views import *
8
8
9
9
urlpatterns = patterns ('' ,
10
+ url ('^changelog/$' , TemplateView .as_view (template_name = 'changelog.html' ),
11
+ name = 'changelog' ),
10
12
url ('^logout/$' , logout_view , name = 'logout' ),
11
13
url ('^paste/$' , AddSnippetView .as_view ()),
12
14
url ('^syntax/$' , SyntaxView .as_view ()),
You can’t perform that action at this time.
0 commit comments