[mobile] Change display Collaboration icons
This commit is contained in:
parent
de847a5726
commit
d9f90692d8
|
@ -55,7 +55,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if(phone) {%>
|
||||
<% if(width < 360) {%>
|
||||
<li>
|
||||
<div id="settings-collaboration" class="item-content" style="display: none;">
|
||||
<div class="item-media">
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<i class="icon icon-search"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
<% if (!phone) { %>
|
||||
<% if (width >= 360) { %>
|
||||
<a href="#" id="toolbar-collaboration" class="link icon-only disabled" style="display: none;">
|
||||
<i class="icon icon-collaboration"></i>
|
||||
</a>
|
||||
|
|
|
@ -90,7 +90,8 @@ define([
|
|||
android : Common.SharedSettings.get('android'),
|
||||
phone : Common.SharedSettings.get('phone'),
|
||||
orthography: Common.SharedSettings.get('sailfish'),
|
||||
scope : this
|
||||
scope : this,
|
||||
width : $(window).width()
|
||||
}));
|
||||
|
||||
return this;
|
||||
|
|
|
@ -90,7 +90,8 @@ define([
|
|||
android : Common.SharedSettings.get('android'),
|
||||
phone : Common.SharedSettings.get('phone'),
|
||||
backTitle : Common.SharedSettings.get('android') ? '' : me.textBack,
|
||||
scope : me
|
||||
scope : me,
|
||||
width : $(window).width()
|
||||
}));
|
||||
|
||||
$('.view-main .navbar').on('addClass removeClass', _.bind(me.onDisplayMainNavbar, me));
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if(phone) {%>
|
||||
<% if(width < 390) {%>
|
||||
<li>
|
||||
<div id="settings-collaboration" class="item-content" style="display: none;">
|
||||
<div class="item-media">
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<i class="icon icon-search"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
<% if (!phone) { %>
|
||||
<% if (width >= 390) { %>
|
||||
<a href="#" id="toolbar-collaboration" class="link icon-only disabled" style="display: none;">
|
||||
<i class="icon icon-collaboration"></i>
|
||||
</a>
|
||||
|
|
|
@ -91,7 +91,8 @@ define([
|
|||
this.layout = $('<div/>').append(this.template({
|
||||
android: Common.SharedSettings.get('android'),
|
||||
phone: Common.SharedSettings.get('phone'),
|
||||
scope: this
|
||||
scope: this,
|
||||
width: $(window).width()
|
||||
}));
|
||||
|
||||
return this;
|
||||
|
|
|
@ -91,7 +91,8 @@ define([
|
|||
android : Common.SharedSettings.get('android'),
|
||||
phone : Common.SharedSettings.get('phone'),
|
||||
backTitle : Common.SharedSettings.get('android') ? '' : me.textBack,
|
||||
scope : me
|
||||
scope : me,
|
||||
width : $(window).width()
|
||||
}));
|
||||
|
||||
$('.view-main .navbar').on('addClass removeClass', _.bind(me.onDisplayMainNavbar, me));
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if(phone) {%>
|
||||
<% if(width < 360) {%>
|
||||
<li>
|
||||
<div id="settings-collaboration" class="item-content" style="display: none;">
|
||||
<div class="item-media">
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<i class="icon icon-search"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
<% if (!phone) { %>
|
||||
<% if (width >= 360) { %>
|
||||
<a href="#" id="toolbar-collaboration" class="link icon-only disabled" style="display: none;">
|
||||
<i class="icon icon-collaboration"></i>
|
||||
</a>
|
||||
|
|
|
@ -100,7 +100,8 @@ define([
|
|||
csv: Asc.c_oAscFileType.CSV,
|
||||
xltx: Asc.c_oAscFileType.XLTX,
|
||||
ots: Asc.c_oAscFileType.OTS
|
||||
}
|
||||
},
|
||||
width : $(window).width()
|
||||
}));
|
||||
|
||||
return this;
|
||||
|
|
|
@ -80,7 +80,8 @@ define([
|
|||
$el.prepend(me.template({
|
||||
android : Common.SharedSettings.get('android'),
|
||||
phone : Common.SharedSettings.get('phone'),
|
||||
backTitle : Common.SharedSettings.get('android') ? '' : me.textBack
|
||||
backTitle : Common.SharedSettings.get('android') ? '' : me.textBack,
|
||||
width : $(window).width()
|
||||
}));
|
||||
|
||||
$('.view-main .navbar').on('addClass removeClass', _.bind(me.onDisplayMainNavbar, me));
|
||||
|
|
Loading…
Reference in a new issue