From dda91fda105e690c40028809c9337e3239bf7d7a Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Tue, 10 Jun 2014 11:15:04 +0000 Subject: [PATCH] SSDM-312: Fix dropdown text and position. SVN: 31698 --- .../newbrowser/1/as/webapps/newbrowser/html/css/style.css | 2 +- .../1/as/webapps/newbrowser/html/js/views/SampleTable.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/css/style.css b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/css/style.css index 8382473e8bc..fcf5212e9fd 100644 --- a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/css/style.css +++ b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/css/style.css @@ -183,7 +183,7 @@ h1, h2, legend { .toolBox { float: right !important; - margin-right: 50px; + margin-right: 100px; } .toolBox a { diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/SampleTable.js b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/SampleTable.js index 45e1ee3a3e6..6a0412d3de8 100644 --- a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/SampleTable.js +++ b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/SampleTable.js @@ -529,8 +529,8 @@ function SampleTable(serverFacade, sampleTableId, profile, sampleTypeCode, inspe dropDownMenu += "<a href='#' data-toggle='dropdown' class='dropdown-toggle btn btn-default'>Options <b class='caret'></b></a>"; dropDownMenu += "<ul class='dropdown-menu' role='menu' aria-labelledby='sampleTableDropdown'>"; dropDownMenu += " <li role='presentation'><a class='' title='create a new sample' href=\"javascript:mainController.currentView.createNewSample();\">Create " + sampleTypeDisplayName + "</a></li>"; - dropDownMenu += " <li role='presentation'><input type='file' id='fileToRegister' style='display:none;' /><a class='' title='register new samples' href=\"javascript:mainController.currentView.registerSamples();\">Register " + sampleTypeDisplayName + "</a></li>"; - dropDownMenu += " <li role='presentation'><input type='file' id='fileToUpdate' style='display:none;' /><a class='' title='update existing samples'href=\"javascript:mainController.currentView.updateSamples();\">Update " + sampleTypeDisplayName + "</a></li>"; + dropDownMenu += " <li role='presentation'><input type='file' id='fileToRegister' style='display:none;' /><a class='' title='register new samples' href=\"javascript:mainController.currentView.registerSamples();\">Batch Register " + sampleTypeDisplayName + "</a></li>"; + dropDownMenu += " <li role='presentation'><input type='file' id='fileToUpdate' style='display:none;' /><a class='' title='update existing samples'href=\"javascript:mainController.currentView.updateSamples();\">Batch Update " + sampleTypeDisplayName + "</a></li>"; dropDownMenu += "</ul>"; dropDownMenu += "</div>"; -- GitLab