Skip to content

Commit

Permalink
Items & Rules list: Minor style & code improvements (#2826)
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 authored Oct 24, 2024
1 parent 785d8f6 commit 96f3810
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,17 @@
<f7-block class="block-narrow margin-top-half">
<f7-col>
<div>
<f7-block-footer class="no-margin-top" style="padding-left: 16px; padding-right: 16px">
<f7-block-footer class="no-margin-top margin-bottom" style="padding-left: 16px; padding-right: 16px">
Note: Item states are not updated in real-time. Click the refresh button to update.
</f7-block-footer>
</div>
</f7-col>

<!-- skeleton for not ready -->
<f7-col v-show="!ready">
<f7-block-title>&nbsp;Loading...</f7-block-title>
<f7-block-title class="no-margin-top">
&nbsp;Loading...
</f7-block-title>
<f7-list media-list class="col wide">
<f7-list-group>
<f7-list-item
Expand All @@ -64,7 +66,7 @@
</f7-col>

<f7-col v-show="ready && items.length > 0">
<f7-block-title class="searchbar-hide-on-search">
<f7-block-title class="no-margin-top searchbar-hide-on-search">
{{ items.length }} Items
</f7-block-title>
<f7-list
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<f7-page @page:afterin="onPageAfterIn" @page:afterout="onPageBeforeOut">
<f7-page @page:afterin="onPageAfterIn" @page:beforeout="onPageBeforeOut">
<f7-navbar :title="type" back-link="Settings" back-link-url="/settings/" back-link-force>
<f7-nav-right>
<developer-dock-icon />
Expand Down

0 comments on commit 96f3810

Please sign in to comment.