notes widget
This commit is contained in:
@@ -2985,4 +2985,11 @@ img.mail-list-sender-photo {
|
||||
.comment-edit-text-full {
|
||||
color: black;
|
||||
}
|
||||
.suggest-widget-more { margin-top: 10px; }
|
||||
.suggest-widget-more { margin-top: 10px; }
|
||||
|
||||
#note-text {
|
||||
width: 190px;
|
||||
max-width: 190px;
|
||||
height: 150px;
|
||||
}
|
||||
#note-save { margin-top: 10px; }
|
||||
13
view/tpl/notes.tpl
Normal file
13
view/tpl/notes.tpl
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user