diff options
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/notes.tpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/view/tpl/notes.tpl b/view/tpl/notes.tpl new file mode 100644 index 000000000..7300779f4 --- /dev/null +++ b/view/tpl/notes.tpl @@ -0,0 +1,13 @@ +<div class="widget"> +<script> +function notePost() { + $('#note-rotator').spin('tiny'); + $.post('notes', { 'note_text' : $('#note-text').val() },function(data) { $('#note-rotator').spin(false); }); +} +</script> + +<h3>{{$banner}}</h3> +<textarea name="note_text" id="note-text">{{$text}}</textarea> +<input type="submit" name="submit" id="note-save" value="{{$save}}" onclick="notePost(); return true;"> +<div id="note-rotator"></div> +</div> |