diff --git a/src/_h5ai/client/css/inc/view.less b/src/_h5ai/client/css/inc/view.less
index ee71d8ea..85cde7ba 100644
--- a/src/_h5ai/client/css/inc/view.less
+++ b/src/_h5ai/client/css/inc/view.less
@@ -11,20 +11,21 @@
#selector {
position: absolute;
- left: 8px;
- top: 8px;
- width: 16px;
- height: 16px;
+ left: 0;
+ top: 0;
+ margin-top: -3px;
+ margin-left: -3px;
background-color: #fff;
border: 1px solid #555;
- border-radius: 100px;
- opacity: 0.7;
+ border-radius: 3px;
+ opacity: 0.6;
cursor: pointer;
+ .transition(all 0.2s ease-in-out);
.on-selected, .on-not-selected {
display: block;
- width: 16px;
- height: 16px;
+ width: 24px;
+ height: 24px;
}
&:hover {
diff --git a/src/_h5ai/client/js/inc/ext/select.js b/src/_h5ai/client/js/inc/ext/select.js
index f07e3906..c979df19 100644
--- a/src/_h5ai/client/js/inc/ext/select.js
+++ b/src/_h5ai/client/js/inc/ext/select.js
@@ -117,6 +117,8 @@ modulejs.define('ext/select', ['_', '$', 'core/settings', 'core/resource', 'core
item.$view.find('a')
.on('mouseenter', function () {
+ var $icon = item.$view.find('.icon');
+
$('#selector').remove();
$('
' +
'
 + ')
' +
@@ -126,7 +128,6 @@ modulejs.define('ext/select', ['_', '$', 'core/settings', 'core/resource', 'core
event.stopImmediatePropagation();
event.preventDefault();
- console.log('icon', event);
item.$view.toggleClass('selected');
publish();
@@ -135,6 +136,7 @@ modulejs.define('ext/select', ['_', '$', 'core/settings', 'core/resource', 'core
})
.on('mouseleave', function () {
+ item.$view.find('a').removeClass('hover');
$('#selector').remove();
});
}
@@ -142,7 +144,7 @@ modulejs.define('ext/select', ['_', '$', 'core/settings', 'core/resource', 'core
onLocationChanged = function (item) {
- // _.each(item.content, initItem);
+ _.each(item.content, initItem);
publish();
},
@@ -150,7 +152,7 @@ modulejs.define('ext/select', ['_', '$', 'core/settings', 'core/resource', 'core
var selectionChanged = false;
- // _.each(added, initItem);
+ _.each(added, initItem);
_.each(removed, function (item) {
if (item.$view && item.$view.hasClass('selected')) {
diff --git a/src/_h5ai/server/php/inc/Archive.php b/src/_h5ai/server/php/inc/Archive.php
index d441884b..92fd30f0 100644
--- a/src/_h5ai/server/php/inc/Archive.php
+++ b/src/_h5ai/server/php/inc/Archive.php
@@ -113,7 +113,7 @@ class Archive {
. str_repeat("\0", 100) // linkname [100]
. "ustar\0" // magic [6]
. "00" // version [2]
- . str_repeat("\0", 80) // uname, gname, defmajor, devminor [32 + 32 + 8 + 8] ?92?
+ . str_repeat("\0", 80) // uname, gname, defmajor, devminor [32 + 32 + 8 + 8]
. str_pad($prefix, 155, "\0") // filename [155]
. str_repeat("\0", 12); // fill [12]
assert(strlen($header) === 512);