From 4da2eb31366149bfe92558f6355d6461a12fd2dc Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Thu, 9 Nov 2023 14:35:39 +0000 Subject: [PATCH] Used AI to generate more inspirational quotes. --- config/templates/speech/briefing.yaml | 25 ++++++++- .../www/community/search-card/search-card.js | 49 ++++++++++++------ .../community/search-card/search-card.js.gz | Bin 1985 -> 2040 bytes 3 files changed, 57 insertions(+), 17 deletions(-) mode change 100755 => 100644 config/www/community/search-card/search-card.js mode change 100755 => 100644 config/www/community/search-card/search-card.js.gz diff --git a/config/templates/speech/briefing.yaml b/config/templates/speech/briefing.yaml index f7b7363d..6885d0ac 100755 --- a/config/templates/speech/briefing.yaml +++ b/config/templates/speech/briefing.yaml @@ -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, 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, 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, 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, Life is short. Smile while you still have teeth.", "and one more thing, Change is inevitable. Growth is optional. ", "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, 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. ", diff --git a/config/www/community/search-card/search-card.js b/config/www/community/search-card/search-card.js old mode 100755 new mode 100644 index 21a6bd88..226ecbb4 --- a/config/www/community/search-card/search-card.js +++ b/config/www/community/search-card/search-card.js @@ -55,17 +55,26 @@ class SearchCard extends ct.LitElement { return ct.LitHtml `
- - - - +
+ + + + + + +
+ ${results.length > 0 ? ct.LitHtml `
Showing ${results.length} of ${this.results.length} results
` : ''} @@ -106,12 +115,15 @@ class SearchCard extends ct.LitElement { _clearInput() { this.shadowRoot.getElementById('searchText').value = ''; - super.update() + this._updateSearchResults(''); } _valueChanged(ev) { var searchText = ev.target.value; + this._updateSearchResults(searchText); + } + _updateSearchResults(searchText) { this.results = []; this.active_actions = []; @@ -175,6 +187,14 @@ class SearchCard extends ct.LitElement { margin-left: auto; margin-right: auto; } + #searchTextFieldContainer { + display: flex; + padding-top: 5px; + padding-bottom: 5px; + } + #searchText { + flex-grow: 1; + } #count { text-align: right; font-style: italic; @@ -187,9 +207,6 @@ class SearchCard extends ct.LitElement { margin-left: auto; margin-right: auto; } - #searchIcon { - padding: 10px; - } `; } } @@ -211,4 +228,4 @@ window.customCards.push({ name: "Search Card", preview: true, description: "Card to search entities" -}); +}); \ No newline at end of file diff --git a/config/www/community/search-card/search-card.js.gz b/config/www/community/search-card/search-card.js.gz old mode 100755 new mode 100644 index 680fd76bf660250c5a947fab96a8b7ae708ceb71..d9cede3b77cd2d9fd98f908ed8a36c62ae66660f GIT binary patch literal 2040 zcmVeuAPZ>Pdc3flaPoBNpJ{Ame1k;ev1zhAgS27<{>h%-;3SF4~UOku>2+? zIVl8>9#T^LO7^rMN#Mu0N+yD_jQe3EfD!~DS}f7i=!7d23$#FSSNuRkS8P5S#jM~0 z{qnEd59`}McJEi~+du!f1JTV0fhGk1axCJM@EP*|69hRv6hzFTAHpv|^uxa+!Kw;$ z!*}@FA1nR>=LDGFCkYY^tt(vcoN`WCVHhab1cp4Jv$A4`if}$j*h7&qoER2PsuPW+ z8sW%CI7xQKVwZ83V1Z}GVT241h(BG|zFMp$e?8i^A*-<77s*FbW;iAgav;cAjGK5( zE)m+Z3I#Hy6nLg{_<7s#L>Va#B89a#Z$e{TDgj3M6IEJw;6M534G6wLe(kpwHgpR+ zAiYAUBH~yTN@_l;!N&}9j_wGq;&cT&hJZkdgu}i@AE+=}3MN683oK}iV0RJZvm}+E zga?g3Mst%I2!2lwkg9rYR#LEJziaK0R7=E4F$Y?v4KSq~BICzQa9JqZxn0(rvhvg) z^N}UtSkM#M$sfpnUogk#oz>~+>QKIXLDy3)WktD4(yqz7BkEE>)LTE6MAoEUkD|!y zJE%SDb%RtFV-dKj8)i_uk-KQs&?3%`2}yPd%P}qb;q=K)4#@dg$pKl}Znq1zUlz(8 z{V(b7{f{jZbVWj{mX46D>t5c?XT&pTtYA7GY)}|+R*4{-yE@o|RM5!gxC{a)P%0jG zG*PXjwCv)FU_m}AwvX(=;pwQedvT$5wD$8r>w86(TF;y5c8t!O>#bF5a-sX@cadl4 zlcBs#@kCC=rTK=Hgq{#h7M`vYXafNmCzWSe225+Hvfn7llFQuMj4Z{yWa>~*PmR~3 z{!EMVC>Gx9CmrqyXGgM1ad99?-DfV?B*XV4o9tnp3M8QB7oN21A$$}pW_g(r0c&i( z@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