Remove checkbox, update configuration description

This commit is contained in:
Julien Loir 2020-11-10 13:44:54 +01:00
parent 077448b4e5
commit 83348ee0e1
3 changed files with 2 additions and 16 deletions

View File

@ -26,9 +26,6 @@
<p class="modified"> <p class="modified">
<time :datetime="modified">{{ humanTime() }}</time> <time :datetime="modified">{{ humanTime() }}</time>
</p> </p>
<input v-if="user.singleClick" v-bind:checked="isSelected"
class="selection" type="checkbox" @click.stop="click">
</div> </div>
</div> </div>
</template> </template>
@ -174,7 +171,7 @@ export default {
action(overwrite, rename) action(overwrite, rename)
}, },
itemClick: function(event) { itemClick: function(event) {
if (this.user.singleClick) this.open() if (this.user.singleClick && !this.$store.state.multiple) this.open()
else this.click(event) else this.click(event)
}, },
click: function (event) { click: function (event) {

View File

@ -104,12 +104,6 @@
width: calc(100% - 5vw); width: calc(100% - 5vw);
} }
#listing.mosaic .item .selection {
position: absolute;
top: 16px;
right: 16px;
}
#listing.list { #listing.list {
flex-direction: column; flex-direction: column;
width: 100%; width: 100%;
@ -223,11 +217,6 @@
font-weight: bold; font-weight: bold;
} }
#listing.list .item .selection {
position: absolute;
right: 24px;
}
#listing #multiple-selection { #listing #multiple-selection {
position: fixed; position: fixed;
bottom: -4em; bottom: -4em;

View File

@ -173,7 +173,7 @@
"globalRules": "This is a global set of allow and disallow rules. They apply to every user. You can define specific rules on each user's settings to override this ones.", "globalRules": "This is a global set of allow and disallow rules. They apply to every user. You can define specific rules on each user's settings to override this ones.",
"allowSignup": "Allow users to signup", "allowSignup": "Allow users to signup",
"createUserDir": "Auto create user home dir while adding new user", "createUserDir": "Auto create user home dir while adding new user",
"singleClick": "Use only single click gestures on the interface", "singleClick": "Use single clicks to open folders",
"insertRegex": "Insert regex expression", "insertRegex": "Insert regex expression",
"insertPath": "Insert the path", "insertPath": "Insert the path",
"userUpdated": "User updated!", "userUpdated": "User updated!",