aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-11-12 23:46:52 +0100
committerRobert Jaros <rjaros@finn.pl>2018-11-12 23:46:52 +0100
commit6370bb46a7e47f308ee24f1a32ab8d8cf309dedf (patch)
tree4f1b751be21fc8c85ffb8a163185f614fa67c125 /kvision-modules
parent6ab03d05261a8121d3333dac1f7d1cfa978826fc (diff)
downloadkvision-6370bb46a7e47f308ee24f1a32ab8d8cf309dedf.tar.gz
kvision-6370bb46a7e47f308ee24f1a32ab8d8cf309dedf.tar.bz2
kvision-6370bb46a7e47f308ee24f1a32ab8d8cf309dedf.zip
Support for vertical tabs.
Diffstat (limited to 'kvision-modules')
-rw-r--r--kvision-modules/kvision-bootstrap/build.gradle1
-rw-r--r--kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/KVManagerBootstrap.kt4
2 files changed, 5 insertions, 0 deletions
diff --git a/kvision-modules/kvision-bootstrap/build.gradle b/kvision-modules/kvision-bootstrap/build.gradle
index 9dc6953c..e78941ee 100644
--- a/kvision-modules/kvision-bootstrap/build.gradle
+++ b/kvision-modules/kvision-bootstrap/build.gradle
@@ -8,6 +8,7 @@ kotlinFrontend {
dependency("font-awesome", "4.7.0")
dependency("font-awesome-webpack", "github:jarecsni/font-awesome-webpack")
dependency("awesome-bootstrap-checkbox", "0.3.7")
+ dependency("bootstrap-vertical-tabs", "1.2.2")
}
}
diff --git a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/KVManagerBootstrap.kt b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/KVManagerBootstrap.kt
index 552f8d42..105fa507 100644
--- a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/KVManagerBootstrap.kt
+++ b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/KVManagerBootstrap.kt
@@ -50,4 +50,8 @@ internal object KVManagerBootstrap {
require("awesome-bootstrap-checkbox")
} catch (e: Throwable) {
}
+ private val bootstrapVerticalTabsCss = try {
+ require("bootstrap-vertical-tabs")
+ } catch (e: Throwable) {
+ }
}