- Added widgets.css

- Better widgets HTML format
- Changed required attribute to udf-required
This commit is contained in:
Paolo
2017-07-21 15:02:04 +02:00
parent b9c846f18f
commit dab6515038
9 changed files with 213 additions and 142 deletions
+4
View File
@@ -13,6 +13,7 @@ isset($title) ? $title = 'VileSci - '.$title : $title = 'VileSci';
!isset($jsoneditor) ? $jsoneditor = false : $jsoneditor = $jsoneditor;
!isset($jsonforms) ? $jsonforms = false : $jsonforms = $jsonforms;
!isset($textile) ? $textile = false : $textile = $textile;
!isset($widgetsCSS) ? $widgetsCSS = false : $widgetsCSS = $widgetsCSS;
if ($tablesort || $jquery_checkboxes || $jquery_custom)
$jquery = true;
@@ -67,4 +68,7 @@ if ($tablesort || $jquery_checkboxes || $jquery_custom)
<link rel="stylesheet" type="text/css" href="<?php echo base_url('vendor/json-forms/dist/css/brutusin-json-forms.min.css'); ?>" />
<script type="text/javascript" src="<?php echo base_url('vendor/json-forms/dist/js/brutusin-json-forms.min.js'); ?>"></script>
<?php endif ?>
<?php if($widgetsCSS) : ?>
<link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/widgets.css'); ?>" />
<?php endif ?>
</head>