Skip to content

Commit d428fec

Browse files
committed
push lock icon next to title
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
1 parent 9349092 commit d428fec

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

bundles/org.openhab.ui/web/src/pages/developer/widgets/widget-list.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@
8686
<template #media>
8787
<span class="item-initial">{{ widget.uid[0].toUpperCase() }}</span>
8888
</template>
89+
<template #after>
90+
<!-- This is here to push the after-title icon so it would appear immediately after the title
91+
for consistency with Things, Items, and other lists that have the lock icon for non-editable entries -->
92+
</template>
8993
<template #after-title>
9094
<f7-icon v-if="widget.editable === false" f7="lock_fill" size="1rem" color="gray" />
9195
</template>

bundles/org.openhab.ui/web/src/pages/settings/pages/pages-list.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@
121121
</div>
122122
</template>
123123
<!-- <span class="item-initial">{{page.config.label[0].toUpperCase()}}</span> -->
124+
<template #after>
125+
<!-- This is here to push the after-title icon so it would appear immediately after the title
126+
for consistency with Things, Items, and other lists that have the lock icon for non-editable entries -->
127+
</template>
124128
<template #after-title>
125129
<f7-icon v-if="page.editable === false" f7="lock_fill" size="1rem" color="gray" />
126130
</template>

0 commit comments

Comments
 (0)