-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1567 from /issues/1520
HfNotes Component optimization done
- Loading branch information
Showing
3 changed files
with
46 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<template> | ||
<p | ||
class="my-4 border rounded-lg p-2 modal-text" | ||
v-html="notes" | ||
:style="backroundThemeCss" | ||
> | ||
{{ notes }} | ||
</p> | ||
</template> | ||
|
||
<script> | ||
import config from "../../config" | ||
export default { | ||
props: { | ||
notes: String, | ||
}, | ||
computed:{ | ||
backroundThemeCss(){ | ||
return{ | ||
'--modal-bg-text': config.app.headerBGColor, | ||
} | ||
}, | ||
} | ||
}; | ||
</script> | ||
|
||
<style> | ||
.modal-text { | ||
font-size: 12px; | ||
background-color:var(--modal-bg-text); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const LOTTERY_NOTES=`<b>Lottery</b> is the process of selecting winners of an event. Upon | ||
clicking on "<b>Execute button</b>", the lottery process begins, which | ||
may take sometime and screen may freeze. Once done, you will get | ||
selected records in excel sheet. The winner selection is primarly based | ||
on their "<b>score</b>" unless checked "<b>randomly</b>".` | ||
|
||
module.exports={ | ||
LOTTERY_NOTES | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters