mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
[mobile] dir view, group: modification
This commit is contained in:
@@ -1038,6 +1038,11 @@ textarea:-moz-placeholder {/* for FF */
|
|||||||
-moz-transition: all 0.3s ease;
|
-moz-transition: all 0.3s ease;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
@media (max-width:400px) {
|
||||||
|
.right-side-panel {
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
.right-side-panel-hd {
|
.right-side-panel-hd {
|
||||||
background:#f8f8f8;
|
background:#f8f8f8;
|
||||||
padding:10px;
|
padding:10px;
|
||||||
@@ -1053,6 +1058,7 @@ textarea:-moz-placeholder {/* for FF */
|
|||||||
.right-side-panel-footer {
|
.right-side-panel-footer {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
bottom:0;
|
bottom:0;
|
||||||
|
width:100%;
|
||||||
}
|
}
|
||||||
/**** messages ****/
|
/**** messages ****/
|
||||||
.messages {
|
.messages {
|
||||||
@@ -1567,7 +1573,7 @@ button.sf-dropdown-toggle:focus {
|
|||||||
border-top: 1px solid #c9c9c9;
|
border-top: 1px solid #c9c9c9;
|
||||||
}
|
}
|
||||||
.msg-input {
|
.msg-input {
|
||||||
width:336px;
|
width:100%;
|
||||||
padding:3px 5px;
|
padding:3px 5px;
|
||||||
height:60px;
|
height:60px;
|
||||||
}
|
}
|
||||||
|
@@ -169,10 +169,24 @@ define([
|
|||||||
reset: function() {
|
reset: function() {
|
||||||
this.renderPath();
|
this.renderPath();
|
||||||
this.renderDirOpBar();
|
this.renderDirOpBar();
|
||||||
|
|
||||||
|
this.$el_con.show();
|
||||||
|
|
||||||
if (this.view_mode == 'list') {
|
if (this.view_mode == 'list') {
|
||||||
this.renderDirentsHd();
|
this.renderDirentsHd();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.$dirent_grid.empty();
|
||||||
|
this.$dirent_list_body.empty();
|
||||||
|
|
||||||
|
if (this.view_mode == 'list') {
|
||||||
|
this.$dirent_list.show();
|
||||||
|
this.$dirent_grid.hide();
|
||||||
|
} else {
|
||||||
|
this.$dirent_list.hide();
|
||||||
|
this.$dirent_grid.show();
|
||||||
|
}
|
||||||
|
|
||||||
// sort
|
// sort
|
||||||
Common.updateSortIconByMode({'context': this.$el});
|
Common.updateSortIconByMode({'context': this.$el});
|
||||||
this.sortDirents();
|
this.sortDirents();
|
||||||
@@ -343,18 +357,8 @@ define([
|
|||||||
renderDir: function() {
|
renderDir: function() {
|
||||||
this.$loading_tip.show();
|
this.$loading_tip.show();
|
||||||
this.$error.hide();
|
this.$error.hide();
|
||||||
this.$el_con.show();
|
this.$el_con.hide();
|
||||||
|
|
||||||
this.$dirent_grid.empty();
|
|
||||||
this.$dirent_list_body.empty();
|
|
||||||
|
|
||||||
if (this.view_mode == 'list') {
|
|
||||||
this.$dirent_list.show();
|
|
||||||
this.$dirent_grid.hide();
|
|
||||||
} else {
|
|
||||||
this.$dirent_list.hide();
|
|
||||||
this.$dirent_grid.show();
|
|
||||||
}
|
|
||||||
|
|
||||||
var _this = this;
|
var _this = this;
|
||||||
var thumbnail_size = app.pageOptions.thumbnail_default_size;
|
var thumbnail_size = app.pageOptions.thumbnail_default_size;
|
||||||
|
@@ -144,7 +144,7 @@ define([
|
|||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
var $form = $(this.transferTemplate());
|
var $form = $(this.transferTemplate());
|
||||||
$form.modal({focus:false});
|
$form.modal({focus:false, minWidth:268});
|
||||||
$('#simplemodal-container').css({'width':'auto', 'height':'auto'});
|
$('#simplemodal-container').css({'width':'auto', 'height':'auto'});
|
||||||
|
|
||||||
$('[name="email"]', $form).select2($.extend(
|
$('[name="email"]', $form).select2($.extend(
|
||||||
|
Reference in New Issue
Block a user