@@ -50,6 +50,7 @@ WualaDisplay.prototype.GetBrowsingPathElement = function(path, onBrowseChangeCB)
50
50
51
51
WualaDisplay . prototype . GetFilesListElement = function ( path ) {
52
52
var browse_div = document . createElement ( "table" ) ;
53
+ browse_div . style . tableLayout = "fixed" ;
53
54
browse_div . className = "footable twelve" ;
54
55
browsing . innerHTML = "" ;
55
56
this . thead = document . createElement ( "thead" ) ;
@@ -59,45 +60,47 @@ WualaDisplay.prototype.GetFilesListElement = function(path){
59
60
60
61
//For the mobile
61
62
var th = document . createElement ( "th" ) ;
62
- th . className = "mob" ;
63
+ th . className = "mob browse-plus " ;
63
64
tr . appendChild ( th ) ;
64
65
//File Type
65
66
th = document . createElement ( "th" ) ;
66
67
th . innerHTML = "#" ;
68
+ th . className = "browse-type" ;
67
69
tr . appendChild ( th ) ;
68
70
69
71
//FileName
70
72
th = document . createElement ( "th" ) ;
71
73
th . innerHTML = "Name" ;
74
+ th . className = "browse-name" ;
72
75
tr . appendChild ( th ) ;
73
76
74
77
//mob
75
78
th = document . createElement ( "th" ) ;
76
- th . className = "mob" ;
79
+ th . className = "mob browse-unknown " ;
77
80
tr . appendChild ( th ) ;
78
81
79
82
//Size
80
83
th = document . createElement ( "th" ) ;
81
84
th . innerHTML = "Size" ;
82
- th . className = "hide-for-small" ;
85
+ th . className = "hide-for-small browse-size " ;
83
86
tr . appendChild ( th ) ;
84
87
85
88
//Mdate
86
89
th = document . createElement ( "th" ) ;
87
90
th . innerHTML = "Change" ;
88
- th . className = "hide-for-small" ;
91
+ th . className = "hide-for-small browse-mdate " ;
89
92
tr . appendChild ( th ) ;
90
93
91
94
//kind
92
95
th = document . createElement ( "th" ) ;
93
96
th . innerHTML = "Kind" ;
94
- th . className = "hide-for-small" ;
97
+ th . className = "hide-for-small browse-kind " ;
95
98
tr . appendChild ( th ) ;
96
99
97
100
//Actions
98
101
th = document . createElement ( "th" ) ;
99
102
th . innerHTML = "Actions" ;
100
- th . className = "hide-for-small" ;
103
+ th . className = "hide-for-small browse-action " ;
101
104
tr . appendChild ( th ) ;
102
105
103
106
this . tbody = document . createElement ( "tbody" ) ;
@@ -220,7 +223,7 @@ WualaDisplay.prototype.AddElement = function(list, element, displayName, onBrows
220
223
mobtr . className = "hide" ;
221
224
mobtr . style . display = "none" ;
222
225
td = document . createElement ( "td" ) ;
223
- td . colSpan = "8 " ;
226
+ td . colSpan = "4 " ;
224
227
mobtr . appendChild ( td ) ;
225
228
226
229
if ( null != onDownloadCB && undefined != onDownloadCB ) {
0 commit comments