feat(ui/selectpackages): make the cursor a pointer shape ...

... when interacting with the selection box
This commit is contained in:
liushuyu 2022-04-01 18:54:34 -06:00
parent c61c068ed0
commit 79b799f655
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
2 changed files with 8 additions and 2 deletions

View File

@ -57,7 +57,7 @@
"repair": "Repair", "repair": "Repair",
"uninstall":"Uninstall", "uninstall":"Uninstall",
"view_local_files": "View local files", "view_local_files": "View local files",
"prompt_repair": "<b>WARNING:</b> All the files under <code>{path}</code> will be <b>deleted</b> as part of the repair process!<br>Do you wish to proceed?", "prompt_repair": "<b>WARNING:</b> All the files under <code>{path}</code> will be <b>deleted</b> as part of the repair process!<br>Do you wish to continue?",
"prompt_recover": "Installer data for {name} is corrupted.<br>A repair is required to restore the installation.", "prompt_recover": "Installer data for {name} is corrupted.<br>A repair is required to restore the installation.",
"prompt":"Are you sure you want to uninstall {name}?", "prompt":"Are you sure you want to uninstall {name}?",
"prompt_confirm":"Uninstall {name}" "prompt_confirm":"Uninstall {name}"

View File

@ -5,7 +5,7 @@
<!-- Build options --> <!-- Build options -->
<div class="tile is-ancestor"> <div class="tile is-ancestor">
<div class="tile is-parent" v-for="Lpackage in $root.$data.config.packages" :key="Lpackage.name" :index="Lpackage.name"> <div class="tile is-parent selection-box" v-for="Lpackage in $root.$data.config.packages" :key="Lpackage.name" :index="Lpackage.name">
<div class="tile is-child"> <div class="tile is-child">
<div class="box clickable-box" v-on:click.capture.stop="clicked_box(Lpackage)"> <div class="box clickable-box" v-on:click.capture.stop="clicked_box(Lpackage)">
<div class="ribbon" v-if="Lpackage.is_new"><span>New!</span></div> <div class="ribbon" v-if="Lpackage.is_new"><span>New!</span></div>
@ -197,3 +197,9 @@ export default {
} }
} }
</script> </script>
<style>
.selection-box {
cursor: pointer;
}
</style>