##// END OF EJS Templates
Fixed post display in admin page. Fixed css in Mystic Dark.
neko259 -
r40:0f09185f default
parent child Browse files
Show More
@@ -163,7 +163,7 b' class Post(models.Model):'
163 last_edit_time = models.DateTimeField()
163 last_edit_time = models.DateTimeField()
164
164
165 def __unicode__(self):
165 def __unicode__(self):
166 return self.title + ' (' + self.text + ')'
166 return self.title + ' (' + self.text.raw + ')'
167
167
168 def _get_replies(self):
168 def _get_replies(self):
169 return Post.objects.filter(parent=self.id)
169 return Post.objects.filter(parent=self.id)
@@ -25,6 +25,11 b' html {'
25 color: #ffffff;
25 color: #ffffff;
26 }
26 }
27
27
28 .block {
29 display: inline-block;
30 vertical-align: top;
31 }
32
28 .tag {
33 .tag {
29 color: #b4cfec;
34 color: #b4cfec;
30 }
35 }
@@ -146,4 +151,12 b' blockquote {'
146 padding-left: 5px;
151 padding-left: 5px;
147 color: #B1FB17;
152 color: #B1FB17;
148 margin: 0;
153 margin: 0;
154 }
155
156 .post > .image {
157 float: left; margin: 0 1ex .5ex 0;
158 }
159
160 .post > .metadata {
161 clear: left;
149 } No newline at end of file
162 }
General Comments 0
You need to be logged in to leave comments. Login now