adding read page and side calendar
This commit is contained in:
@@ -1,14 +1,22 @@
|
||||
<p class="date">Thoughts on #date#.</p>
|
||||
<div class="read round_right">
|
||||
<!-- [PART] THOUGHT [START] -->
|
||||
<div class="thought">
|
||||
<div class="time">At #time#</div>
|
||||
<div class="paragraphs">
|
||||
<!-- [PART] THOUGHT_PARA [START] -->
|
||||
<p>#thought_paragraph#</p>
|
||||
<!-- [PART] THOUGHT_PARA [END] -->
|
||||
<p style="text-align:center;text-indent:0;font-family:Comic sans MS;">* * *</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- [PART] THOUGHT [END] -->
|
||||
<div id="read">
|
||||
<div class="header date"></div>
|
||||
<div class="body"></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
oMyThoughts.pageInit = function(asHash, bFirstPage)
|
||||
{
|
||||
Tools.ajax(
|
||||
'load',
|
||||
function(asData){
|
||||
var $Read = $('#read');
|
||||
$Read.find('.header').append('Thoughts on '+asData.created_f);
|
||||
$Read.find('.body').html(Tools.quill2Html(asData.ops));
|
||||
},
|
||||
{id: asHash.items[0]},
|
||||
);
|
||||
}
|
||||
|
||||
oMyThoughts.onSamePageMove = function(asHash) {
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user