From 6370bb46a7e47f308ee24f1a32ab8d8cf309dedf Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 12 Nov 2018 23:46:52 +0100 Subject: Support for vertical tabs. --- kvision-modules/kvision-bootstrap/build.gradle | 1 + .../src/main/kotlin/pl/treksoft/kvision/KVManagerBootstrap.kt | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'kvision-modules/kvision-bootstrap') 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) { + } } -- cgit