[IMP] web_editor: 'Media Dialog' library navigation btns design
This commit is contained in:
@@ -471,8 +471,8 @@ var ImageDialog = Widget.extend({
|
||||
|
||||
this.$('.existing-attachments').replaceWith(QWeb.render('web_editor.dialog.image.existing.content', {rows: rows}));
|
||||
this.parent.$('.pager')
|
||||
.find('li.previous').toggleClass('disabled', (from === 0)).end()
|
||||
.find('li.next').toggleClass('disabled', (from + per_screen >= records.length));
|
||||
.find('li.previous a').toggleClass('disabled', (from === 0)).end()
|
||||
.find('li.next a').toggleClass('disabled', (from + per_screen >= records.length));
|
||||
|
||||
this.$el.find('.o_image').each(function () {
|
||||
var $div = $(this);
|
||||
|
||||
@@ -215,16 +215,15 @@ body .modal {
|
||||
width: 80%;
|
||||
|
||||
.modal-body {
|
||||
.nav-tabs .active > a:not([href="#editor-media-icon"]) {
|
||||
background-color: @o-we-color-paper;
|
||||
}
|
||||
|
||||
li.search {
|
||||
float: right;
|
||||
|
||||
ul.pager {
|
||||
margin: 0;
|
||||
> li > a {
|
||||
border-radius: 0px;
|
||||
margin-left: 2px;
|
||||
padding: 6px 14px;
|
||||
}
|
||||
ul.pager li:last-child{
|
||||
margin-left: 2px;
|
||||
}
|
||||
.form-group {
|
||||
position: relative;
|
||||
|
||||
@@ -53,11 +53,11 @@
|
||||
<li><a href="#editor-media-video" data-toggle="tab">Video</a></li>
|
||||
<li class="search">
|
||||
<ul class="pager mb0 mt0">
|
||||
<li class="previous disabled">
|
||||
<a href="#">← Previous</a>
|
||||
<li class="previous">
|
||||
<a class="btn btn-default disabled" href="#"><i class="fa fa-angle-left"/> Previous</a>
|
||||
</li>
|
||||
<li class="next disabled">
|
||||
<a href="#">Next →</a>
|
||||
<li class="next">
|
||||
<a class="btn btn-default disabled" href="#">Next <i class="fa fa-angle-right"/></a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user