diff options
author | Robert Jaros <rjaros@finn.pl> | 2020-05-27 23:16:14 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2020-05-27 23:16:14 +0200 |
commit | 7d505bd76eedaf21ef05cfdef7758443f0bad5fc (patch) | |
tree | f0007274f6727c2a881dfb15553a53b5514c69e5 /kvision-modules/kvision-bootstrap/src/main | |
parent | dfaac1a5e7dadf5ff2f0830a60c1448af3d5c09a (diff) | |
download | kvision-7d505bd76eedaf21ef05cfdef7758443f0bad5fc.tar.gz kvision-7d505bd76eedaf21ef05cfdef7758443f0bad5fc.tar.bz2 kvision-7d505bd76eedaf21ef05cfdef7758443f0bad5fc.zip |
Fix progress bar styles (#155)
Diffstat (limited to 'kvision-modules/kvision-bootstrap/src/main')
-rw-r--r-- | kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/progress/ProgressIndicator.kt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/progress/ProgressIndicator.kt b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/progress/ProgressIndicator.kt index 256d15d7..056cb95f 100644 --- a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/progress/ProgressIndicator.kt +++ b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/progress/ProgressIndicator.kt @@ -31,10 +31,10 @@ import pl.treksoft.kvision.utils.perc * Progress bar styles. */ enum class ProgressBarStyle(internal val className: String) { - SUCCESS("progress-bar-success"), - INFO("progress-bar-info"), - WARNING("progress-bar-warning"), - DANGER("progress-bar-danger") + SUCCESS("bg-success"), + INFO("bg-info"), + WARNING("bg-warning"), + DANGER("bg-danger") } internal const val DEFAULT_MIN = 0 @@ -110,7 +110,7 @@ internal class ProgressIndicator( cl.add("progress-bar-striped" to true) } if (animated) { - cl.add("active" to true) + cl.add("progress-bar-animated" to true) } return cl } |