diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js index b6c2328ecf4fbff7ff58897e57e547cc47e4dc29..9201ae56aa28965612ec9bd09aea51fab13ba151 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js @@ -40,7 +40,7 @@ $.extend(DefaultProfile.prototype, { showLabNotebook : true, showInventory : true, showOrders : true, - showDrawingBoard : false, + showDrawingBoard : true, showSampleBrowser : true, showExports : true, showStorageManager : true, diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js index 0263201aa4e4af5e3835eb3f78cbea3eee6a54b4..85eb6f25c5e81af36e645663308426767d2fe647 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js @@ -541,13 +541,13 @@ var FormUtil = new function() { if(!isInline) { labelColumnClass = this.labelColumnClass; } - var $controlLabel = $('<label>', { class : 'control-label ' + labelColumnClass }).html(labelText); + var $controlLabel = $('<label>', { class : 'control-label' }).html(labelText); var controlColumnClass = "" if(!isInline) { controlColumnClass = this.controlColumnClass; } - var $controls = $('<div>', { class : 'controls ' + controlColumnClass }); + var $controls = $('<div>', { class : 'controls' }); $controlGroup.append($controlLabel); @@ -575,12 +575,14 @@ var FormUtil = new function() { var $controlGroup = $('<div>', {class : 'form-group'}); - var $controlLabel = $('<label>', {class : 'control-label ' + this.labelColumnClass}); + var $controlLabel = $('<label>', {class : 'control-label' }); + $controlLabel.css("margin-bottom","0px"); + if(label) { $controlLabel.text(label + ":"); } - var $controls = $('<div>', {class : 'controls ' + this.controlColumnClass }); + var $controls = $('<div>', {class : 'controls' }); $controlGroup.append($controlLabel); $controlGroup.append($controls); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/DataSetFormView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/DataSetFormView.js index ef5522f6a87b5ba3dd201fb608b59415f39dff30..0ec38f1d19dbbaa21ae7726c5003224ea1a84f94 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/DataSetFormView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/DataSetFormView.js @@ -23,7 +23,7 @@ function DataSetFormView(dataSetFormController, dataSetFormModel) { var _this = this; //Clean and prepare container - var $wrapper = $('<form>', { class : 'form-horizontal', 'id' : 'mainDataSetForm', 'role' : 'form'}); + var $wrapper = $('<form>', { 'id' : 'mainDataSetForm', 'role' : 'form'}); if(this._dataSetFormModel.isMini) { $wrapper.css('margin', '10px'); $wrapper.css('padding', '10px'); @@ -125,12 +125,12 @@ function DataSetFormView(dataSetFormController, dataSetFormModel) { _this.isFormDirty = true; }); - var $dataSetTypeDropDown = $('<div>', { class : 'form-group'}); + var $dataSetTypeDropDown = $('<div>', { class : 'form-group' }); if(!this._dataSetFormModel.isMini) { - $dataSetTypeDropDown.append($('<label>', {class: "control-label " + FormUtil.labelColumnClass}).html('Data Set Type (*):')); + $dataSetTypeDropDown.append($('<label>', {class: "control-label"}).html('Data Set Type (*):')); } - var $dataSetTypeDropDowContainer = $('<div>', {class: FormUtil.controlColumnClass}); + var $dataSetTypeDropDowContainer = $('<div>'); if(this._dataSetFormModel.isMini) { $dataSetTypeDropDowContainer.css('width', '100%'); } @@ -206,7 +206,7 @@ function DataSetFormView(dataSetFormController, dataSetFormModel) { var $submitButton = $('<fieldset>') .append($('<div>', { class : "form-group"})) - .append($('<div>', {class: FormUtil.controlColumnClass}) + .append($('<div>') .append($('<input>', { class : 'btn btn-primary', 'type' : 'submit', 'value' : btnText}))); $wrapper.append($submitButton); @@ -224,7 +224,7 @@ function DataSetFormView(dataSetFormController, dataSetFormModel) { var $autoUploadGroup = $('<fieldset>') .append($('<div>', { class : "form-group"})) - .append($('<div>', {class: FormUtil.controlColumnClass}) + .append($('<div>') .append($autoUploadCheck).append(" Auto upload on drop")); $wrapper.append($('<fieldset>').append($autoUploadGroup)); @@ -330,8 +330,8 @@ function DataSetFormView(dataSetFormController, dataSetFormModel) { var $folderName = $('<div>') .append($('<div>', { class : "form-group"}) - .append($('<label>', {class : 'control-label '+ FormUtil.labelColumnClass}).html('Folder Name (*):')) - .append($('<div>', {class: FormUtil.controlColumnClass}) + .append($('<label>', {class : 'control-label'}).html('Folder Name (*):')) + .append($('<div>') .append($textField)) ); $wrapper.append($folderName); @@ -343,8 +343,8 @@ function DataSetFormView(dataSetFormController, dataSetFormModel) { if(isZipDirectoryUpload === null) { var $fileFieldSetIsDirectory = $('<div>') .append($('<div>', { class : "form-group"}) - .append($('<label>', {class : 'control-label '+ FormUtil.labelColumnClass}).text('Uncompress before import:')) - .append($('<div>', {class: FormUtil.controlColumnClass}) + .append($('<label>', {class : 'control-label'}).text('Uncompress before import:')) + .append($('<div>') .append(FormUtil._getBooleanField('isZipDirectoryUpload', 'Uncompress before import:'))) ); $wrapper.append($fileFieldSetIsDirectory); @@ -359,8 +359,8 @@ function DataSetFormView(dataSetFormController, dataSetFormModel) { var $folderName = $('<div>', { "id" : "folderNameContainer"}) .append($('<div>', { class : "form-group"}) - .append($('<label>', {class : 'control-label '+ FormUtil.labelColumnClass}).html('Folder Name (*):')) - .append($('<div>', {class: FormUtil.controlColumnClass}) + .append($('<label>', {class : 'control-label' }).html('Folder Name (*):')) + .append($('<div>') .append($textField)) ); $("#fileOptionsContainer").append($folderName); @@ -448,8 +448,8 @@ function DataSetFormView(dataSetFormController, dataSetFormModel) { } else { var $controlGroup = $('<div>', {class : 'form-group'}); var requiredStar = (propertyType.mandatory)?" (*)":""; - var $controlLabel = $('<label>', {'class' : "control-label " + FormUtil.labelColumnClass}).html(propertyType.label + requiredStar + ":"); - var $controls = $('<div>', {class : FormUtil.controlColumnClass}); + var $controlLabel = $('<label>', {'class' : "control-label" }).html(propertyType.label + requiredStar + ":"); + var $controls = $('<div>'); $controlGroup.append($controlLabel); $controlGroup.append($controls); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ExperimentForm/ExperimentFormView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ExperimentForm/ExperimentFormView.js index 2c289152859c75fe9935888198d85c8030ef67fe..365e81ddf2f0c2a436f9508611b472c532c94c8c 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ExperimentForm/ExperimentFormView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ExperimentForm/ExperimentFormView.js @@ -24,8 +24,7 @@ function ExperimentFormView(experimentFormController, experimentFormModel) { var $form = $("<span>"); - var $formColumn = $("<form>", { - "class" : "form-horizontal form-panel-one", + var $formColumn = $("<form>", { 'role' : "form", 'action' : 'javascript:void(0);' }); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/Export/ExportTreeView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/Export/ExportTreeView.js index e0cd7b441fd37cb58184774aaa74d1d4e545c1c1..6cb21931bc1bda9ba51546d7ebc7cc531ab79236 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/Export/ExportTreeView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/Export/ExportTreeView.js @@ -22,7 +22,7 @@ function ExportTreeView(exportTreeController, exportTreeModel) { var $header = views.header; var $container = views.content; - var $form = $("<div>", { "class" : "form-horizontal"}); + var $form = $("<div>"); var $formColumn = $("<form>", { 'role' : "form", diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/Inventory/InventoryView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/Inventory/InventoryView.js index 96dee3ac740e45481c11922236a10a934f4f54c1..80aa1d94ba5c27dd49a98f7cd529f528ed1dc351 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/Inventory/InventoryView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/Inventory/InventoryView.js @@ -20,7 +20,7 @@ function InventoryView(inventoryController, inventoryView) { this.repaint = function(views) { - var $form = $("<div>", { "class" : "form-horizontal"}); + var $form = $("<div>"); var $formColumn = $("<div>"); $form.append($formColumn); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/LabNotebook/LabNotebookView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/LabNotebook/LabNotebookView.js index 8ce4cf7ff2dcaa97598ab49bf0aa270b4ba6ff11..7d0b4a0f71e864015b34de9b7f5906d13f740254 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/LabNotebook/LabNotebookView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/LabNotebook/LabNotebookView.js @@ -20,7 +20,7 @@ function LabNotebookView(labNotebookController, labNotebookView) { this.repaint = function(views) { - var $form = $("<div>", { "class" : "form-horizontal"}); + var $form = $("<div>"); var $formColumn = $("<div>"); $form.append($formColumn); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ProjectForm/ProjectFormView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ProjectForm/ProjectFormView.js index 25ff69d02e882a439c20bc0c9707bb40e31b808a..24eea719905eb4709bd3fd0e82759b614cd9c9c5 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ProjectForm/ProjectFormView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/ProjectForm/ProjectFormView.js @@ -25,7 +25,6 @@ function ProjectFormView(projectFormController, projectFormModel) { var $form = $("<div>"); var $formColumn = $("<form>", { - "class" : "form-horizontal", 'role' : "form", 'action' : 'javascript:void(0);' }); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/SampleFormView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/SampleFormView.js index d84160f04790f158bb49921a423879f72cb473f0..970fb8da80b2ff46de2c154e3419e136a29dbfa6 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/SampleFormView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/SampleFormView.js @@ -28,7 +28,6 @@ function SampleFormView(sampleFormController, sampleFormModel) { var $form = $("<span>"); var $formColumn = $("<form>", { - "class" : "form-horizontal form-panel-one", 'role' : "form", 'action' : 'javascript:void(0);' }); @@ -686,27 +685,24 @@ function SampleFormView(sampleFormController, sampleFormModel) { Util.blockUINoMessage(); var copyFunction = function(defaultCode) { - var component = "<div class='form-horizontal'>" + var component = "<div>" component += "<legend>Duplicate Entity</legend>"; - component += "<div class='form-inline'>"; - component += "<div class='form-group " + FormUtil.shortformColumClass + "'>"; - component += "<label class='control-label " + FormUtil.labelColumnClass + "'>Options </label>"; - component += "<div class='" + FormUtil.controlColumnClass + "'>"; + component += "<div>"; + component += "<div class='form-group'>"; + component += "<label class='control-label'>Options </label>"; + component += "<div class='controls'>"; component += "<span class='checkbox'><label><input type='checkbox' id='linkParentsOnCopy'> Link Parents </label></span>"; - component += " "; component += "<span class='checkbox'><label><input type='checkbox' id='copyChildrenOnCopy'> Copy Children </label></span>"; - component += " "; component += "<span class='checkbox'><label><input type='checkbox' id='copyCommentsLogOnCopy'> Copy Comments Log </label></span>"; component += "</div>"; component += "</div>"; component += "</div>"; - component += "<br /><br />"; - component += "<div class='form-group " + FormUtil.shortformColumClass + "'>"; - component += "<label class='control-label " + FormUtil.labelColumnClass+ "'>Code (*):</label>"; - component += "<div class='" + FormUtil.shortControlColumnClass + "'>"; + component += "<div class='form-group'>"; + component += "<label class='control-label'>Code (*):</label>"; + component += "<div>"; component += "<input type='text' class='form-control' placeholder='Code' id='newSampleCodeForCopy' pattern='[a-zA-Z0-9_\\-\\.]+' required>"; component += "</div>"; - component += "<div class='" + FormUtil.shortControlColumnClass + "'>"; + component += "<div>"; component += " (Allowed characters are: letters, numbers, '-', '_', '.')"; component += "</div>"; component += "</div>"; @@ -1020,7 +1016,7 @@ function SampleFormView(sampleFormController, sampleFormModel) { // Mounting the widget with the components var $childrenGenerator = $("<div>"); $childrenGenerator.append($("<div>", {"style" : "text-align:right;"}).append($cancelButton)); - $childrenGenerator.append($("<form>", { "class" : "form-horizontal" , "style" : "margin-left:20px; margin-right:20px;"}) + $childrenGenerator.append($("<form>") .append($("<h1>").append("Children Generator")) .append($parentsComponent) .append($childrenComponent) diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/DeleteEntityView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/DeleteEntityView.js index 31a89066db69b84db2663592becd02d7a18f4226..13f48793f15cdd090092e19a58682991799b9be2 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/DeleteEntityView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/DeleteEntityView.js @@ -20,7 +20,7 @@ function DeleteEntityView(deleteEntityController, deleteEntityModel) { this.repaint = function() { var _this = this; - var $window = $('<form>', { 'class' : 'form-horizontal', 'action' : 'javascript:void(0);' }); + var $window = $('<form>', { 'action' : 'javascript:void(0);' }); $window.submit(function() { _this._deleteEntityModel.deleteFunction(_this._deleteEntityModel.reason); Util.unblockUI(); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/LinksView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/LinksView.js index 8ab269380cf936a99b7f64d958f9d7248cf19bf4..fa9514b9385f3a2039b85391ff57ac4ebfe837fa 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/LinksView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/LinksView.js @@ -189,14 +189,14 @@ function LinksView(linksController, linksModel) { linksView.showCopyProtocolPopUp = function(callback) { Util.blockUINoMessage(); - var component = "<div class='form-horizontal'>" + var component = "<div>" component += "<legend>Copy Protocol</legend>"; - component += "<div class='form-group " + FormUtil.shortformColumClass + "'>"; - component += "<label class='control-label " + FormUtil.labelColumnClass+ "'>Code (*):</label>"; - component += "<div class='" + FormUtil.shortControlColumnClass + "'>"; + component += "<div class='form-group'>"; + component += "<label class='control-label'>Code (*):</label>"; + component += "<div>"; component += "<input type='text' class='form-control' placeholder='Code' id='newSampleCodeForCopy' pattern='[a-zA-Z0-9_\\-\\.]+' required>"; component += "</div>"; - component += "<div class='" + FormUtil.shortControlColumnClass + "'>"; + component += "<div>"; component += " (Allowed characters are: letters, numbers, '-', '_', '.')"; component += "</div>"; component += "</div>"; @@ -210,7 +210,7 @@ function LinksView(linksController, linksModel) { 'overflow' : 'auto' }; - Util.blockUI(component + "<br><br><br> <a class='btn btn-default' id='copyAccept'>Accept</a> <a class='btn btn-default' id='copyCancel'>Cancel</a>", css); + Util.blockUI(component + "<a class='btn btn-default' id='copyAccept'>Accept</a> <a class='btn btn-default' id='copyCancel'>Cancel</a>", css); $("#newSampleCodeForCopy").on("keyup", function(event) { $(this).val($(this).val().toUpperCase()); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/StorageListView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/StorageListView.js index 35602e94ee3fe4d69e167bf6c4959f83c7362427..753218ea8c2ca9f0a63849bb1a71d0bb347611ae 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/StorageListView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/StorageListView.js @@ -187,7 +187,7 @@ function StorageListView(storageListController, storageListModel) { 'height' : '90%' }; - var container = "<div class='row col-md-12 form-horizontal' id='storage-pop-up-container'></div>"; + var container = "<div id='storage-pop-up-container'></div>"; var containerButtons = "<a class='btn btn-default' id='storage-accept'>Accept</a> <a class='btn btn-default' id='storage-cancel'>Cancel</a>"; Util.blockUI(container, css); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleHierarchyTable/SampleHierarchyTableView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleHierarchyTable/SampleHierarchyTableView.js index 669104590b82fdfcbdd27471b14f1336afc7ddc5..7727ac081d608a3f12b872edef25803edc89ae02 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleHierarchyTable/SampleHierarchyTableView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleHierarchyTable/SampleHierarchyTableView.js @@ -24,8 +24,7 @@ function SampleHierarchyTableView(controller, model) { this.repaint = function(views) { var _this = this; - var $containerColumn = $("<form>", { - "class" : "form-horizontal", + var $containerColumn = $("<form>", { 'role' : "form", "action" : "javascript:void(0);", "onsubmit" : "" diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleTable/widgets/MoveSampleView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleTable/widgets/MoveSampleView.js index d5f3fe796bea5556e380c6b2bfa8d20ed7fc4619..9d52cab5568c95c755f21bb6a21b4e0acefd40cc 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleTable/widgets/MoveSampleView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleTable/widgets/MoveSampleView.js @@ -21,7 +21,7 @@ function MoveSampleView(moveSampleController, moveSampleModel) { this.repaint = function() { var _this = this; - var $window = $('<form>', { 'class' : 'form-horizontal', 'action' : 'javascript:void(0);' }); + var $window = $('<form>', { 'action' : 'javascript:void(0);' }); $window.submit(function() { Util.unblockUI(); _this._moveSampleController.move(); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleTable/widgets/TypeAndFileView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleTable/widgets/TypeAndFileView.js index 1bda87add28a7434a4ada79f513f183890f34c32..a8f2084e33115b5d2823df19be2f5cbeae2ccf37 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleTable/widgets/TypeAndFileView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleTable/widgets/TypeAndFileView.js @@ -22,7 +22,7 @@ function TypeAndFileView(typeAndFileController, typeAndFileModel) { this.repaint = function() { var _this = this; - var $window = $('<form>', { 'class' : 'form-horizontal', 'action' : 'javascript:void(0);' }); + var $window = $('<form>', { 'action' : 'javascript:void(0);' }); $window.submit(function() { Util.unblockUI(); _this._typeAndFileModel.actionFunction(_this._typeAndFileModel.sampleType, _this._typeAndFileModel.file); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SpaceForm/SpaceFormView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SpaceForm/SpaceFormView.js index d1dfae213d87019e2be3919771da1e47173a0618..1e5508e0b1df8b120711d78b776da8ab50608701 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SpaceForm/SpaceFormView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SpaceForm/SpaceFormView.js @@ -22,15 +22,12 @@ function SpaceFormView(spaceFormController, spaceFormModel) { var _this = this; var $container = views.content; - var $form = $("<div>", { "class" : "form-horizontal"}); + var $form = $("<div>"); var $formColumn = $("<div>"); $form.append($formColumn); var typeTitle = "Space: "; -// if(profile.isInventorySpace(this._spaceFormModel.space.code)) { -// typeTitle = ""; -// } var $formTitle = $("<h2>").append(typeTitle + this._spaceFormModel.space.code); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/StorageManager/StorageManagerView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/StorageManager/StorageManagerView.js index 7d231404bd2b23dfa0b616038bdacbbc88c183e8..175a274a611a594c6d25a75f89d17de706aa85f8 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/StorageManager/StorageManagerView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/StorageManager/StorageManagerView.js @@ -33,8 +33,7 @@ function StorageManagerView(storageManagerController, storageManagerModel, stora $header.append($("<h2>").append("Storage Manager")); $header.append(this._moveBtn); - var $containerColumn = $("<form>", { - "class" : "form-horizontal", + var $containerColumn = $("<form>", { 'role' : "form", "action" : "javascript:void(0);", "onsubmit" : "" diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/TrashManager/TrashManagerView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/TrashManager/TrashManagerView.js index cc89d48dd3a7bead6273f20185d9ef11f6d9bf16..7d02f7f9f8b15bfce36ea82f54c8b89bb49afa3a 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/TrashManager/TrashManagerView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/TrashManager/TrashManagerView.js @@ -41,8 +41,7 @@ function TrashManagerView(trashManagerController, trashManagerModel) { // // Form template // - var $containerColumn = $("<form>", { - "class" : "form-horizontal", + var $containerColumn = $("<form>", { 'role' : "form", "action" : "javascript:void(0);", "onsubmit" : "" diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/UserManager/UserManagerView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/UserManager/UserManagerView.js index c4abece555f4d743f2c8c0d4258d72be8f4daeaf..6cba6d0abeafa9936f4cbf7342944de090bee17e 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/UserManager/UserManagerView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/UserManager/UserManagerView.js @@ -26,8 +26,7 @@ function UserManagerView(userManagerController, userManagerModel) { // // Form template and title // - var $containerColumn = $("<form>", { - "class" : "form-horizontal", + var $containerColumn = $("<form>", { 'role' : "form", "action" : "javascript:void(0);", "onsubmit" : "" diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/UserManager/modal/CreateUserView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/UserManager/modal/CreateUserView.js index 576f0eccba0c2abc3e30875d93e417e2e5cb79c0..de4a510c2838a1ae0868932b40e71f1e6c109272 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/UserManager/modal/CreateUserView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/UserManager/modal/CreateUserView.js @@ -42,8 +42,7 @@ function CreateUserView(createUserController, createUserModel) { this.repaint = function() { var _this = this; - var $window = $('<form>', { - 'class' : 'form-horizontal', + var $window = $('<form>', { 'action' : 'javascript:void(0);' }); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/UserManager/modal/ResetPasswordView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/UserManager/modal/ResetPasswordView.js index 0700c224863340d6676df76e0a2fb48b51e692ba..af6cd9fbfb55482ec675dfaf895d85cbe1a91d4b 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/UserManager/modal/ResetPasswordView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/UserManager/modal/ResetPasswordView.js @@ -20,8 +20,7 @@ function ResetPasswordView(resetPasswordController, resetPasswordModel) { this.repaint = function() { var _this = this; - var $window = $('<form>', { - 'class' : 'form-horizontal', + var $window = $('<form>', { 'action' : 'javascript:void(0);' }); diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/VocabularyManager/VocabularyManagerView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/VocabularyManager/VocabularyManagerView.js index aec4f2cc4a1e890cb271ab68dd9c56dcb75d9795..12cddc7b2f588deb6fe29b795f3c03c5aa7f1397 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/VocabularyManager/VocabularyManagerView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/VocabularyManager/VocabularyManagerView.js @@ -25,8 +25,7 @@ function VocabularyManagerView(vocabularyManagerController, vocabularyManagerMod // // Form template and title // - var $containerColumn = $("<form>", { - "class" : "form-horizontal", + var $containerColumn = $("<form>", { 'role' : "form", "action" : "javascript:void(0);", "onsubmit" : ""