|
@@ -45,12 +45,8 @@ ${ commonheader(_("Metastore"), app_name, user, request) | n,unicode }
|
|
|
<script src="${ static('desktop/ext/js/jquery/plugins/jquery.mousewheel.min.js') }"></script>
|
|
<script src="${ static('desktop/ext/js/jquery/plugins/jquery.mousewheel.min.js') }"></script>
|
|
|
<script src="${ static('desktop/ext/js/selectize.min.js') }"></script>
|
|
<script src="${ static('desktop/ext/js/selectize.min.js') }"></script>
|
|
|
<script src="${ static('desktop/ext/js/knockout-sortable.min.js') }"></script>
|
|
<script src="${ static('desktop/ext/js/knockout-sortable.min.js') }"></script>
|
|
|
-<script src="${ static('desktop/js/ko.editable.js') }"></script>
|
|
|
|
|
<script src="${ static('desktop/ext/js/bootstrap-editable.min.js') }"></script>
|
|
<script src="${ static('desktop/ext/js/bootstrap-editable.min.js') }"></script>
|
|
|
-<script src="${ static('desktop/ext/js/wysihtml5-0.3.0.min.js') }"></script>
|
|
|
|
|
-<script src="${ static('desktop/js/bootstrap-wysihtml5-0.0.2.js') }"></script>
|
|
|
|
|
-<script src="${ static('desktop/ext/js/bootstrap-editable.wysihtml5.js') }"></script>
|
|
|
|
|
-<script src="${ static('beeswax/js/stats.utils.js') }"></script>
|
|
|
|
|
|
|
+<script src="${ static('desktop/js/ko.editable.js') }"></script>
|
|
|
|
|
|
|
|
${ assist.assistJSModels() }
|
|
${ assist.assistJSModels() }
|
|
|
|
|
|
|
@@ -69,6 +65,11 @@ ${ assist.assistJSModels() }
|
|
|
${ assist.assistPanel() }
|
|
${ assist.assistPanel() }
|
|
|
% endif
|
|
% endif
|
|
|
|
|
|
|
|
|
|
+<script src="${ static('desktop/ext/js/wysihtml5-0.3.0.min.js') }"></script>
|
|
|
|
|
+<script src="${ static('desktop/js/bootstrap-wysihtml5-0.0.2.js') }"></script>
|
|
|
|
|
+<script src="${ static('desktop/ext/js/bootstrap-editable.wysihtml5.js') }"></script>
|
|
|
|
|
+<script src="${ static('beeswax/js/stats.utils.js') }"></script>
|
|
|
|
|
+
|
|
|
<link rel="stylesheet" href="${ static('desktop/ext/css/bootstrap-editable.css') }">
|
|
<link rel="stylesheet" href="${ static('desktop/ext/css/bootstrap-editable.css') }">
|
|
|
<link rel="stylesheet" href="${ static('desktop/ext/css/bootstrap-wysihtml5-0.0.2.css') }">
|
|
<link rel="stylesheet" href="${ static('desktop/ext/css/bootstrap-wysihtml5-0.0.2.css') }">
|
|
|
<link rel="stylesheet" href="${ static('notebook/css/notebook.css') }">
|
|
<link rel="stylesheet" href="${ static('notebook/css/notebook.css') }">
|
|
@@ -157,7 +158,7 @@ ${ components.menubar(is_embeddable) }
|
|
|
<!-- ko ifnot: table.isView() -->
|
|
<!-- ko ifnot: table.isView() -->
|
|
|
<div class="show-inactive-on-hover">
|
|
<div class="show-inactive-on-hover">
|
|
|
<a class="inactive-action pointer toggle-editable" title="${ _('Edit the comment') }"><i class="fa fa-pencil"></i></a>
|
|
<a class="inactive-action pointer toggle-editable" title="${ _('Edit the comment') }"><i class="fa fa-pencil"></i></a>
|
|
|
- <span data-bind="editable: comment, editableOptions: {enabled: true, type: 'wysihtml5', toggle: 'manual', skipNewLines: true, toggleElement: '.toggle-editable', placement: 'left', placeholder: '${ _ko('Add a comment...') }', emptytext: '${ _ko('Add a comment...') }', inputclass: 'input-xlarge'}">
|
|
|
|
|
|
|
+ <span data-bind="editable: comment, editableOptions: { escape: true, enabled: true, type: 'wysihtml5', toggle: 'manual', skipNewLines: true, toggleElement: '.toggle-editable', placement: 'left', placeholder: '${ _ko('Add a comment...') }', emptytext: '${ _ko('Add a comment...') }', inputclass: 'input-xlarge'}">
|
|
|
${ _('Add a comment...') }</span>
|
|
${ _('Add a comment...') }</span>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- /ko -->
|
|
<!-- /ko -->
|
|
@@ -894,7 +895,7 @@ ${ components.menubar(is_embeddable) }
|
|
|
<div style="position: relative;" class="show-inactive-on-hover">
|
|
<div style="position: relative;" class="show-inactive-on-hover">
|
|
|
<div style="position:absolute; left: 10px; top: 2px;"><a class="inactive-action pointer toggle-editable" title="${ _('Edit the description') }"><i class="fa fa-pencil vertical-align-top"></i></a></div>
|
|
<div style="position:absolute; left: 10px; top: 2px;"><a class="inactive-action pointer toggle-editable" title="${ _('Edit the description') }"><i class="fa fa-pencil vertical-align-top"></i></a></div>
|
|
|
<div style="margin-left: 25px;" data-bind="toggleOverflow: { height: 24 }">
|
|
<div style="margin-left: 25px;" data-bind="toggleOverflow: { height: 24 }">
|
|
|
- <div style="height: inherit" data-bind="editable: comment, editableOptions: { enabled: true, type: 'wysihtml5', toggle: 'manual', toggleElement: '.toggle-editable', placement: 'bottom', forcePlacement: true, placeholder: '${ _ko('Add a description...') }', emptytext: '${ _ko('No description available') }', inputclass:'input-xlarge', rows: 10 }" class="inline-block">
|
|
|
|
|
|
|
+ <div style="height: inherit" data-bind="editable: comment, editableOptions: { escape: true, enabled: true, type: 'wysihtml5', toggle: 'manual', toggleElement: '.toggle-editable', placement: 'bottom', forcePlacement: true, placeholder: '${ _ko('Add a description...') }', emptytext: '${ _ko('No description available') }', inputclass:'input-xlarge', rows: 10 }" class="inline-block">
|
|
|
${ _('Add a description...') }
|
|
${ _('Add a description...') }
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|