Used AI to generate more inspirational quotes.
This commit is contained in:
parent
96c996e0b9
commit
4da2eb3136
|
@ -189,12 +189,35 @@
|
||||||
"and one more thing, The only difference between who you are and who you want to be, is what you do. ",
|
"and one more thing, The only difference between who you are and who you want to be, is what you do. ",
|
||||||
"and one more thing, Every strike brings me closer to the next home run. ",
|
"and one more thing, Every strike brings me closer to the next home run. ",
|
||||||
"and one more thing, Defining thepurpose is the starting point of all achievement. ",
|
"and one more thing, Defining thepurpose is the starting point of all achievement. ",
|
||||||
"and one more thing, Life is not about getting and having, it's about giving and being. ",
|
"and one more thing, Life is not about getting and having, its about giving and being. ",
|
||||||
"and one more thing, We become what we think about. ",
|
"and one more thing, We become what we think about. ",
|
||||||
"and one more thing, Be the change that you wish to see in the world. ",
|
"and one more thing, Be the change that you wish to see in the world. ",
|
||||||
"and one more thing, A wise man changes his mind but a fool never will. ",
|
"and one more thing, A wise man changes his mind but a fool never will. ",
|
||||||
|
"and one more thing, Life is short. Smile while you still have teeth.",
|
||||||
"and one more thing, Change is inevitable. Growth is optional. ",
|
"and one more thing, Change is inevitable. Growth is optional. ",
|
||||||
"and one more thing, dont worry, be happy. ",
|
"and one more thing, dont worry, be happy. ",
|
||||||
|
"and one more thing, Every mountain top is within reach if you just keep climbing.",
|
||||||
|
"and one more thing, Being positive in a negative situation is not naïve; its leadership.",
|
||||||
|
"and one more thing, What you get by achieving your goals is not as important as what you become by achieving your goals.",
|
||||||
|
"and one more thing, If you want to achieve greatness, stop asking for permission.",
|
||||||
|
"and one more thing, To live a creative life, we must lose our fear of being wrong.",
|
||||||
|
"and one more thing, If you are not willing to risk the usual, you will have to settle for the ordinary.",
|
||||||
|
"and one more thing, Trust because you are willing to accept the risk, not because its safe or certain.",
|
||||||
|
"and one more thing, All our dreams can come true if we have the courage to pursue them.",
|
||||||
|
"and one more thing, Good things come to people who wait, but better things come to those who go out and get them.",
|
||||||
|
"and one more thing, If you do what you always did, you will get what you always got.",
|
||||||
|
"and one more thing, Success is the sum of small efforts, repeated day in and day out.",
|
||||||
|
"and one more thing, Only put off until tomorrow what you are willing to die having left undone.",
|
||||||
|
"and one more thing, People who are crazy enough to think they can change the world, are the ones who do.",
|
||||||
|
"and one more thing, Just when the caterpillar thought the world was ending, it turned into a butterfly.",
|
||||||
|
"and one more thing, Successful entrepreneurs are givers and not takers of positive energy.",
|
||||||
|
"and one more thing, Whenever you see a successful person you only see the public glories, never the private sacrifices to reach them.",
|
||||||
|
"and one more thing, Opportunities dont happen, you create them.",
|
||||||
|
"and one more thing, Start by doing whats necessary; then do whats possible; and suddenly you are doing the impossible.",
|
||||||
|
"and one more thing, Some people dream of great accomplishments, while others stay awake and do them.",
|
||||||
|
"and one more thing, The distance between insanity and genius is measured only by success.",
|
||||||
|
"and one more thing, It does not matter how slowly you go as long as you do not stop.",
|
||||||
|
"and one more thing, Positive thinking will let you do everything better than negative thinking will.",
|
||||||
"and one more thing, Trust the process. ",
|
"and one more thing, Trust the process. ",
|
||||||
"and one more thing, There are far better things ahead of us than behind us. ",
|
"and one more thing, There are far better things ahead of us than behind us. ",
|
||||||
"and one more thing, If you want to go fast, go alone but if you want to go far, go with others. ",
|
"and one more thing, If you want to go fast, go alone but if you want to go far, go with others. ",
|
||||||
|
|
|
@ -55,17 +55,26 @@ class SearchCard extends ct.LitElement {
|
||||||
return ct.LitHtml `
|
return ct.LitHtml `
|
||||||
<ha-card>
|
<ha-card>
|
||||||
<div id="searchContainer">
|
<div id="searchContainer">
|
||||||
<paper-input id="searchText"
|
<div id="searchTextFieldContainer">
|
||||||
@value-changed="${this._valueChanged}"
|
<ha-textfield
|
||||||
|
id="searchText"
|
||||||
|
@input="${this._valueChanged}"
|
||||||
no-label-float type="text" autocomplete="off"
|
no-label-float type="text" autocomplete="off"
|
||||||
label="${this.search_text}">
|
icon iconTrailing
|
||||||
<ha-icon icon="mdi:magnify" id="searchIcon"
|
label="${this.search_text}"
|
||||||
slot="prefix"></ha-icon>
|
>
|
||||||
<ha-icon-button slot="suffix"
|
<ha-icon icon="mdi:magnify" id="searchIcon" slot="leadingIcon"></ha-icon>
|
||||||
|
<ha-icon-button
|
||||||
|
slot="trailingIcon"
|
||||||
@click="${this._clearInput}"
|
@click="${this._clearInput}"
|
||||||
alt="Clear"
|
alt="Clear"
|
||||||
title="Clear"><ha-icon icon="mdi:close"></ha-icon></ha-icon-button>
|
title="Clear"
|
||||||
</paper-input>
|
>
|
||||||
|
<ha-icon icon="mdi:close"></ha-icon>
|
||||||
|
</ha-icon-button>
|
||||||
|
</ha-textfield>
|
||||||
|
</div>
|
||||||
|
|
||||||
${results.length > 0 ?
|
${results.length > 0 ?
|
||||||
ct.LitHtml `<div id="count">Showing ${results.length} of ${this.results.length} results</div>`
|
ct.LitHtml `<div id="count">Showing ${results.length} of ${this.results.length} results</div>`
|
||||||
: ''}
|
: ''}
|
||||||
|
@ -106,12 +115,15 @@ class SearchCard extends ct.LitElement {
|
||||||
_clearInput()
|
_clearInput()
|
||||||
{
|
{
|
||||||
this.shadowRoot.getElementById('searchText').value = '';
|
this.shadowRoot.getElementById('searchText').value = '';
|
||||||
super.update()
|
this._updateSearchResults('');
|
||||||
}
|
}
|
||||||
|
|
||||||
_valueChanged(ev) {
|
_valueChanged(ev) {
|
||||||
var searchText = ev.target.value;
|
var searchText = ev.target.value;
|
||||||
|
this._updateSearchResults(searchText);
|
||||||
|
}
|
||||||
|
|
||||||
|
_updateSearchResults(searchText) {
|
||||||
this.results = [];
|
this.results = [];
|
||||||
this.active_actions = [];
|
this.active_actions = [];
|
||||||
|
|
||||||
|
@ -175,6 +187,14 @@ class SearchCard extends ct.LitElement {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
#searchTextFieldContainer {
|
||||||
|
display: flex;
|
||||||
|
padding-top: 5px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
|
#searchText {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
#count {
|
#count {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
@ -187,9 +207,6 @@ class SearchCard extends ct.LitElement {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
#searchIcon {
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue