diff options
author | sebdet <sd378r@intl.att.com> | 2018-09-12 18:49:13 +0200 |
---|---|---|
committer | sebdet <sd378r@intl.att.com> | 2018-09-12 18:49:13 +0200 |
commit | 74533a8b7abb3f9181a175d80847e651dedda586 (patch) | |
tree | 55d02d15ff2115e8dd065f41f522239023c56ee0 /src | |
parent | 86bf8ee150a66ee4c389f3289412d418a83ada0f (diff) |
Remove useless code
Remove useless code in javascript for CLAMP UI
Issue-ID: CLAMP-220
Change-Id: Ie08799370079b9c9edaaff9a567458d81ef22eb4
Signed-off-by: sebdet <sd378r@intl.att.com>
Diffstat (limited to 'src')
5 files changed, 1 insertions, 159 deletions
diff --git a/src/main/resources/META-INF/resources/designer/menu_simplified.html b/src/main/resources/META-INF/resources/designer/menu_simplified.html index 0131015f..530ad61d 100644 --- a/src/main/resources/META-INF/resources/designer/menu_simplified.html +++ b/src/main/resources/META-INF/resources/designer/menu_simplified.html @@ -46,7 +46,7 @@ width="234px" style="display: inline-block; float: left"> <div class="navbar-brand logo" ng-href="" style="display: inline-block; float: left"> - <b>Closed Loop Definition</b> + <b>CLAMP</b> </div> </div> diff --git a/src/main/resources/META-INF/resources/designer/partials/menu.html b/src/main/resources/META-INF/resources/designer/partials/menu.html index 48544dfe..d3ffe386 100644 --- a/src/main/resources/META-INF/resources/designer/partials/menu.html +++ b/src/main/resources/META-INF/resources/designer/partials/menu.html @@ -60,35 +60,6 @@ .ThisLink a.blur:hover,.ThisLink a.blur:focus { color: #933; } - -.fileUpload { - position: relative; - overflow: hidden; - margin: 10px; -} - -.fileUpload input.upload { - position: absolute; - top: 0; - right: 0; - margin: 0; - padding: 0; - font-size: 20px; - cursor: pointer; - opacity: 0; - filter: alpha(opacity = 0); - float: left; -} - -.fileDisplay { - display: inline-block; - overflow: hidden; - float: right; - margin-left: 0px; - z-index: initial; - text-align: center; - margin-top: 17px; -} </style> <nav attribute-test="menu" class="navbar navbar-default navbar-fixed-top" role="navigation" diff --git a/src/main/resources/META-INF/resources/designer/partials/portfolios/Template_model.html b/src/main/resources/META-INF/resources/designer/partials/portfolios/Template_model.html index 53204f41..0ca4e7ca 100644 --- a/src/main/resources/META-INF/resources/designer/partials/portfolios/Template_model.html +++ b/src/main/resources/META-INF/resources/designer/partials/portfolios/Template_model.html @@ -21,39 +21,6 @@ --> -<style> - .fileUpload { - position: relative; - overflow: hidden; - margin: 10px; - } - .fileUpload input.upload { - position: absolute; - top: 0; - right: 0; - margin: 0; - padding: 0; - font-size: 20px; - cursor: pointer; - opacity: 0; - filter: alpha(opacity=0); - float:left; - } - .fileDisplay { - - display: inline-block; - overflow: hidden; - float: right; - margin-left: 0px; - z-index: initial; - text-align: center; - margin-top: 17px; - } - - -</style> - - <div attribute-test="templatemodel" id="configure-widgets" > <div attribute-test="templatemodelh" class="modal-header"> <button type="button" class="close" ng-click="close(false)" aria-hidden="true" style="margin-top: -3px">×</button> diff --git a/src/main/resources/META-INF/resources/designer/partials/portfolios/refresh_asdc.html b/src/main/resources/META-INF/resources/designer/partials/portfolios/refresh_asdc.html index 7f6e9e19..441766d4 100644 --- a/src/main/resources/META-INF/resources/designer/partials/portfolios/refresh_asdc.html +++ b/src/main/resources/META-INF/resources/designer/partials/portfolios/refresh_asdc.html @@ -22,56 +22,12 @@ --> <style> -.fileUpload { - position: relative; - overflow: hidden; - margin: 10px; -} #paramsWarnrefresh { display: none; } -.fileUpload input.upload { - position: absolute; - top: 0; - right: 0; - margin: 0; - padding: 0; - font-size: 20px; - cursor: pointer; - opacity: 0; - filter: alpha(opacity = 0); - float: left; -} - -.fileDisplay { - display: inline-block; - overflow: hidden; - float: right; - margin-left: 0px; - z-index: initial; - text-align: center; - margin-top: 17px; -} </style> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> -<script type="text/javascript"> - function disablefile() { - - document.getElementById("fileUpload").disabled = true; - - } - - function disableSVN() { - - document.getElementById("schemaLocation").disabled = true; - document.getElementById("userID").disabled = true; - document.getElementById("password").disabled = true; - - } -</script> - - <div attribute-test="refreshasdc" id="configure-widgets"> <div attribute-test="refreshasdch" class="modal-header"> <button type="button" class="close" ng-click="close(false)" diff --git a/src/main/resources/META-INF/resources/designer/partials/portfolios/tca_properties.html b/src/main/resources/META-INF/resources/designer/partials/portfolios/tca_properties.html index 8332e696..89b13fa1 100644 --- a/src/main/resources/META-INF/resources/designer/partials/portfolios/tca_properties.html +++ b/src/main/resources/META-INF/resources/designer/partials/portfolios/tca_properties.html @@ -33,35 +33,6 @@ background-color:#dddd; } -.fileUpload { - position: relative; - overflow: hidden; - margin: 10px; -} - -.fileUpload input.upload { - position: absolute; - top: 0; - right: 0; - margin: 0; - padding: 0; - font-size: 20px; - cursor: pointer; - opacity: 0; - filter: alpha(opacity = 0); - float: left; -} - -.fileDisplay { - display: inline-block; - overflow: hidden; - float: right; - margin-left: 0px; - z-index: initial; - text-align: center; - margin-top: 17px; -} - .form-group { margin-bottom:15px; display:-webkit-flex; @@ -127,29 +98,6 @@ </style> -<script type="text/javascript"> - function disablefile() { - - document.getElementById("fileUpload").disabled = true; - - } - - function disableSVN() { - var selectLength = document.querySelectorAll(".disabled-block-container .tab-close-popup"); - if(selectLength && selectLength.length>0){ - for(var i = 0; i< selectLength.length ; i++){ - selectLength[i].disabled = true; - } - } - - document.getElementById("schemaLocation").disabled = true; - document.getElementById("userID").disabled = true; - document.getElementById("password").disabled = true; - - } -</script> - - <div id="configure-widgets" class="disabled-block-container"> <div class="modal-header"> <button type="button" class="close" ng-click="close(false)" |