Translationsupport for JSON Forms & Bootstrap Switches (#188)

* Example JSON Form Example with General setting

I have created a new Category "General" with several Settings for
Hyperion.
For now the Submit Button only console.log's the values.

Known Bug: For some reason it seems to do not load the bootstrap
correctly or maybe the Lib isn't compatible with the newest version of
bootstrap.

* Translationsupport for JSON Forms

* Hotfix

* Added Bootstrap Switches for all checkboxes

All checkboxes will be converted to Switches
This commit is contained in:
b1rdhous3
2016-08-20 16:36:01 +02:00
committed by brindosch
parent 85e3f154d6
commit 63a410cb04
6 changed files with 99 additions and 9 deletions

View File

@@ -7,16 +7,13 @@
</div>
<hr>
<div class="col-lg-12">
<form></form>
<form id="generalConfForm"></form>
</div>
</div>
</div>
</div>
<script type="text/javascript">
</script>
<script>
$(document).ready( function() {
@@ -64,12 +61,16 @@
enableFormTranslation("generalConfForm", "generalConfForm");
$("[type='checkbox']").bootstrapSwitch();
}
});
});
</script>