|
|
|
@ -35,11 +35,11 @@
|
|
|
|
|
<meta name="msapplication-TileColor" content="#2d89ef">
|
|
|
|
|
<meta name="msapplication-TileImage" content="/mstile-144x144.png">
|
|
|
|
|
|
|
|
|
|
<!-- === javascript dependencies === -->
|
|
|
|
|
<script src="js/markdown.js"></script>
|
|
|
|
|
|
|
|
|
|
<!-- cosysnode dependencies -->
|
|
|
|
|
<script src="js/mustache.js"></script>
|
|
|
|
|
<script src="js/stacosys.js"></script>
|
|
|
|
|
<script src="js/page.js"></script>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
@ -92,7 +92,7 @@ instance d'ici peu.</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="comment">
|
|
|
|
|
<div id="submit-button">
|
|
|
|
|
<a class="button-success pure-button" href="javascript:showHide('comment-form',%20'submit-button');">Commenter</a>
|
|
|
|
|
<a class="button-success pure-button" href="javascript:show_hide('comment-form','submit-button');">Commenter</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="comment-form" style="display:none">
|
|
|
|
@ -124,13 +124,31 @@ instance d'ici peu.</p>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- ====================================================== -->
|
|
|
|
|
<!-- Begin section : display comments -->
|
|
|
|
|
<!-- ====================================================== -->
|
|
|
|
|
|
|
|
|
|
<p></p>
|
|
|
|
|
<div id="show-comments-button" style="display:none">
|
|
|
|
|
<a id="show-comment-label" class="button-success pure-button"
|
|
|
|
|
href="javascript:show_comments();">Voir le commentaire</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- stacosys comments container -->
|
|
|
|
|
<div id="stacosys-comments">Chargement...</div>
|
|
|
|
|
<div id="stacosys-comments" style="display:none">Chargement...</div>
|
|
|
|
|
|
|
|
|
|
<!-- stacosys comments template -->
|
|
|
|
|
<script id="stacosys-template" type="x-tmpl-mustache">
|
|
|
|
|
{{#data}}
|
|
|
|
|
<hr>
|
|
|
|
|
<div class="inline">
|
|
|
|
|
{{#site}}
|
|
|
|
|
<a href="{{site}}">
|
|
|
|
|
{{/site}}
|
|
|
|
|
<img src="http://www.gravatar.com/avatar/{{avatar}}.jpg" style="float:left; margin-right:10px" height="32" width="32">
|
|
|
|
|
{{#site}}
|
|
|
|
|
</a>
|
|
|
|
|
{{/site}}
|
|
|
|
|
<span class="title">{{author}}</span>
|
|
|
|
|
<span> - {{date}}</span>
|
|
|
|
|
</div>
|
|
|
|
@ -138,38 +156,11 @@ instance d'ici peu.</p>
|
|
|
|
|
{{/data}}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript"><!--
|
|
|
|
|
<!-- ====================================================== -->
|
|
|
|
|
<!-- End section : display comments -->
|
|
|
|
|
<!-- ====================================================== -->
|
|
|
|
|
|
|
|
|
|
function showHide(panel_id, button_id){
|
|
|
|
|
if (document.getElementById(panel_id).style.display == 'none'){
|
|
|
|
|
document.getElementById(panel_id).style.display = '';
|
|
|
|
|
document.getElementById(button_id).style.display = 'none';
|
|
|
|
|
} else {
|
|
|
|
|
document.getElementById(panel_id).style.display = 'none';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function get_action() {
|
|
|
|
|
return '/post_a_new_comment';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function preview_markdown() {
|
|
|
|
|
if (document.getElementById('preview-container').style.display == 'none'){
|
|
|
|
|
document.getElementById('preview-container').style.display = '';
|
|
|
|
|
}
|
|
|
|
|
var $ = function (id) { return document.getElementById(id); };
|
|
|
|
|
new Editor($("message"), $("preview"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function Editor(input, preview) {
|
|
|
|
|
this.update = function () {
|
|
|
|
|
preview.innerHTML = markdown.toHTML(input.value);
|
|
|
|
|
};
|
|
|
|
|
input.editor = this;
|
|
|
|
|
this.update();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
--></script> </div>
|
|
|
|
|
</div>
|
|
|
|
|
</article>
|
|
|
|
|
</section>
|
|
|
|
|
</div>
|
|
|
|
@ -203,6 +194,23 @@ function Editor(input, preview) {
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- ====================================================== -->
|
|
|
|
|
<!-- Begin section : page initialization -->
|
|
|
|
|
<!-- ====================================================== -->
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript"><!--
|
|
|
|
|
|
|
|
|
|
STACOSYS_URL = 'http://127.0.0.1:8000';
|
|
|
|
|
STACOSYS_TOKEN = '9fb3fc042c572cb831005fd16186126765140fa2bd9bb2d4a28e47a9457dc26c';
|
|
|
|
|
//STACOSYS_PAGE = 'blogduyax.madyanne.fr/mes-applications-pour-blackberry.html'
|
|
|
|
|
STACOSYS_PAGE = 'blogduyax.madyanne.fr/migration-du-blog-sous-pelican.html'
|
|
|
|
|
|
|
|
|
|
window.onload = stacosys_count();
|
|
|
|
|
|
|
|
|
|
--></script>
|
|
|
|
|
|
|
|
|
|
<!-- ====================================================== -->
|
|
|
|
|
<!-- End section : page initialization -->
|
|
|
|
|
<!-- ====================================================== -->
|
|
|
|
|
|
|
|
|
|
</body></html>
|
|
|
|
|