Added prev/next buttons in post upload form
This commit is contained in:
parent
740cc85775
commit
627a8db5f3
2 changed files with 10 additions and 2 deletions
|
@ -64,6 +64,8 @@ App.Presenters.PostUploadPresenter = function(
|
|||
$el.find('.remove').click(removeButtonClicked);
|
||||
$el.find('.move-up').click(moveUpButtonClicked);
|
||||
$el.find('.move-down').click(moveDownButtonClicked);
|
||||
$el.find('.previous').click(selectPrevPostTableRow);
|
||||
$el.find('.next').click(selectNextPostTableRow);
|
||||
$el.find('.upload').click(uploadButtonClicked);
|
||||
$el.find('.stop').click(stopButtonClicked);
|
||||
}
|
||||
|
|
|
@ -52,10 +52,16 @@
|
|||
<button class="post-table-op remove"><i class="fa fa-remove"></i> Remove</button>
|
||||
</li><!--
|
||||
--><li>
|
||||
<button class="post-table-op move-up"><i class="fa fa-chevron-up"></i> Move up</button>
|
||||
<button class="post-table-op previous"><i class="fa fa-chevron-up"></i> Previous</button>
|
||||
</li><!--
|
||||
--><li>
|
||||
<button class="post-table-op move-down"><i class="fa fa-chevron-down"></i> Move down</button>
|
||||
<button class="post-table-op next"><i class="fa fa-chevron-down"></i> Next</button>
|
||||
</li><!--
|
||||
--><li>
|
||||
<button class="post-table-op move-up"><i class="fa fa-arrow-up"></i> Move up</button>
|
||||
</li><!--
|
||||
--><li>
|
||||
<button class="post-table-op move-down"><i class="fa fa-arrow-down"></i> Move down</button>
|
||||
</li><!--
|
||||
--><li>
|
||||
<button class="upload highlight" type="submit"><i class="fa fa-upload"></i> Submit</button>
|
||||
|
|
Loading…
Reference in a new issue