Skip to content

Commit

Permalink
Link and button updates
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
  • Loading branch information
JustinGeorgi committed Oct 23, 2023
1 parent 668900f commit c791f31
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,13 @@
background #232323 !important
.add-button-icon
color: blue
color: #2196f3
.link-item-icon
color: #4cd964
.chevron-icon
color: blue
color: #2196f3
.faq-title .item-title
white-space: normal !important
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"link": "/settings/addons",
"title": "Addon-Store",
"text": "Left panel > Settings > Add-on Store or click here"
"text": "Left panel > Settings > Add-on Store or click here <i class=\"f7-icons size-22 add-button-icon\">arrow_right</i>"
},
{
"title": "Install",
Expand All @@ -24,7 +24,7 @@
{
"link": "/settings/things/inbox",
"title": "Thing Inbox",
"text": "Left panel > Settings > Things > Inbox or click here"
"text": "Left panel > Settings > Things > Inbox or click here <i class=\"f7-icons size-22 add-button-icon\">arrow_right</i>"
},
{
"title": "New Thing",
Expand All @@ -36,7 +36,7 @@
},
{
"title": "Scan",
"text": "Click the <span style=\"background: blue; border-radius: 3px; color: white; padding: 0 5px 0 5px\">Scan</span> button to automatically search for related devices"
"text": "Click the <span style=\"background: #2196f3; border-radius: 3px; color: white; padding: 0 5px 0 5px\">Scan</span> button to automatically search for related devices"
},
{
"title": "Add Thing",
Expand All @@ -54,7 +54,7 @@
{
"link": "/settings/things/",
"title": "Thing List",
"text": "Left panel > Settings > Things or click here"
"text": "Left panel > Settings > Things or click here <i class=\"f7-icons size-22 add-button-icon\">arrow_right</i>"
},
{
"title": "Select Thing",
Expand All @@ -76,7 +76,7 @@
{
"link": "/settings/things/",
"title": "Thing List",
"text": "Left panel > Settings > Things or click here"
"text": "Left panel > Settings > Things or click here <i class=\"f7-icons size-22 add-button-icon\">arrow_right</i>"
},
{
"title": "Select Thing",
Expand All @@ -88,7 +88,7 @@
},
{
"title": "Select Channel",
"text": "Click to expand the Channel you will control and then click Add Link to Item"
"text": "Click to expand the Channel you will control and then click <i class=\"f7-icons size-22 link-item-icon\">plus_circle_fill</i> Add Link to Item"
},
{
"title": "New Item",
Expand All @@ -110,7 +110,7 @@
{
"link": "/settings/pages/layout/overview",
"title": "Select Page from Page List",
"text": "Left panel > Settings > Pages > Overview or click here"
"text": "Left panel > Settings > Pages > Overview or click here <i class=\"f7-icons size-22 add-button-icon\">arrow_right</i>"
},
{
"title": "Add Block, Row, and Column",
Expand All @@ -135,7 +135,7 @@
{
"link": "/",
"title": "View Home Page",
"text": "Click here to return to the Home Overview Page"
"text": "Click here to return to the Home Overview Page <i class=\"f7-icons size-22 add-button-icon\">arrow_right</i>"
}
],
"button": {
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.openhab.ui/web/src/pages/home/overview-tab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<component :is="overviewPage.component" v-if="overviewPage" v-show="!inChatSession" :context="overviewPageContext" :class="{notready: !ready}" @command="onCommand" />
<div class="empty-overview" v-else-if="!inChatSession">
<empty-state-placeholder icon="house" title="overview.title" text="overview.text" />
<f7-row class="display-flex justify-content-center">
<f7-row v-if="windowWidth < 1280" class="display-flex justify-content-center">
<f7-button large fill color="blue" external href="https://openhab.org/link/docs" target="_blank" v-t="'home.overview.button.documentation'" />
<span style="width: 8px" />
<f7-button large color="blue" external href="https://openhab.org/link/tutorial" target="_blank" v-t="'home.overview.button.tutorial'" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

<f7-block v-if="ready && !items.length" class="service-config block-narrow">
<empty-state-placeholder icon="square_on_circle" title="items.title" text="items.text" />
<f7-row class="display-flex justify-content-center">
<f7-row v-if="windowWidth < 1280" class="display-flex justify-content-center">
<f7-button large fill color="blue" external :href="documentationLink" target="_blank" v-t="'home.overview.button.documentation'" />
</f7-row>
</f7-block>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<empty-state-placeholder v-if="showScripts" icon="doc_plaintext" title="scripts.title" text="scripts.text" />
<empty-state-placeholder v-else-if="showScenes" icon="film" title="scenes.title" text="scenes.text" />
<empty-state-placeholder v-else icon="wand_stars" title="rules.title" text="rules.text" />
<f7-row class="display-flex justify-content-center">
<f7-row v-if="windowWidth < 1280" class="display-flex justify-content-center">
<f7-button large fill color="blue" external :href="documentationLink" target="_blank" v-t="'home.overview.button.documentation'" />
</f7-row>
</f7-block>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@

<f7-block v-if="ready && !things.length" class="block-narrow">
<empty-state-placeholder icon="lightbulb" title="things.title" text="things.text" />
<f7-row class="display-flex justify-content-center">
<f7-row v-if="windowWidth < 1280" class="display-flex justify-content-center">
<f7-button large fill color="blue" external :href="documentationLink" target="_blank" v-t="'home.overview.button.documentation'" />
</f7-row>
</f7-block>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@

<f7-block v-if="ready && !transformations.length" class="service-config block-narrow">
<empty-state-placeholder icon="arrow_2_squarepath" title="transformations.title" text="transformations.text" />
<f7-row class="display-flex justify-content-center">
<f7-row v-if="windowWidth < 1280" class="display-flex justify-content-center">
<f7-button large fill color="blue" external :href="documentationLink" target="_blank" v-t="'home.overview.button.documentation'" />
</f7-row>
</f7-block>
Expand Down

0 comments on commit c791f31

Please sign in to comment.