many style fixes

This commit is contained in:
Rushabh Mehta
2012-02-08 12:33:13 +05:30
parent a685379d6b
commit b8d6497818
13 changed files with 102 additions and 94 deletions

View File

@@ -10,9 +10,9 @@ pscript.onload_blog = function(wrapper) {
render_row: function(parent, data) {
if(data.content.length==300) data.content += '...';
data.date = prettyDate(data.modified);
parent.innerHTML = repl('<h4><a href="#!%(name)s">%(title)s</a></h4>\
<div class="help">By %(first_name)s %(last_name)s on %(date)s</div>\
<p><div class="comment">%(content)s</div></p><br>', data);
parent.innerHTML = repl('<h3><a href="#!%(name)s">%(title)s</a></h3>\
<p><div class="help">By %(first_name)s %(last_name)s on %(date)s</div></p>\
<div class="comment">%(content)s</div><br>', data);
},
page_length: 10
});