aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-bootstrap/src/main
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-10-06 13:52:41 +0200
committerRobert Jaros <rjaros@finn.pl>2019-10-06 13:52:41 +0200
commit4e6528d5a88182b06ebdcb9961fe210efa2cd61f (patch)
treece819a0e338b662c7261e8258ce07d6264daa0a6 /kvision-modules/kvision-bootstrap/src/main
parent298ee2ba79c8512bc050790422c90883e65ef4d6 (diff)
downloadkvision-4e6528d5a88182b06ebdcb9961fe210efa2cd61f.tar.gz
kvision-4e6528d5a88182b06ebdcb9961fe210efa2cd61f.tar.bz2
kvision-4e6528d5a88182b06ebdcb9961fe210efa2cd61f.zip
Font awesome icons in modals.
Diffstat (limited to 'kvision-modules/kvision-bootstrap/src/main')
-rw-r--r--kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt2
-rw-r--r--kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Confirm.kt6
2 files changed, 4 insertions, 4 deletions
diff --git a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt
index 5f5a1a80..4c5b222e 100644
--- a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt
+++ b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt
@@ -76,7 +76,7 @@ open class Alert(
init {
body.add(contentTag)
- val okButton = Button("OK", "ok", ButtonStyle.PRIMARY)
+ val okButton = Button("OK", "fas fa-check", ButtonStyle.PRIMARY)
okButton.setEventListener {
click = {
hide()
diff --git a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Confirm.kt b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Confirm.kt
index e16ca87e..058ca7bc 100644
--- a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Confirm.kt
+++ b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Confirm.kt
@@ -108,9 +108,9 @@ open class Confirm(
}
private val contentTag = Tag(TAG.DIV, text, rich, align)
- private val cancelButton = Button(cancelTitle, "remove")
- private val noButton = Button(noTitle, "ban-circle")
- private val yesButton = Button(yesTitle, "ok", ButtonStyle.PRIMARY)
+ private val cancelButton = Button(cancelTitle, "fas fa-times")
+ private val noButton = Button(noTitle, "fas fa-ban")
+ private val yesButton = Button(yesTitle, "fas fa-check", ButtonStyle.PRIMARY)
init {
body.add(contentTag)