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