Skip to content

Commit bb339aa

Browse files
author
Zohaib Hassan
committed
1 parent b7f1e39 commit bb339aa

File tree

2 files changed

+35
-41
lines changed

2 files changed

+35
-41
lines changed

src/main/resources/static/dist/css/openbaton.css

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -847,20 +847,6 @@ td p {
847847
.glyphicon-refresh-animate { -animation: spin .7s infinite linear; -webkit-animation: spin2 .7s infinite linear; }
848848
@-webkit-keyframes spin2 { from { -webkit-transform: rotate(0deg);} to { -webkit-transform: rotate(360deg);} }
849849
@keyframes spin { from { transform: scale(1) rotate(0deg);} to { transform: scale(1) rotate(360deg);} }
850-
#vduTabletable textarea.form-control {
851-
height: 34px;
852-
border-radius: 0px;
853-
}
854-
#vduTabletable td {
855-
padding: 0px !important;
856-
border: none !important;
857-
}
858-
859-
#vduTabletable .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{
860-
background-color: white;
861-
}
862-
.padding10{
863-
padding-top: 10px;
864-
padding-left: 10px;
865-
padding-right: 10px;
850+
#vduTabletable .form-control[disabled], fieldset[disabled] .form-control {
851+
cursor: default;
866852
}

src/main/resources/static/pages/nsdescriptors/nsdescriptors.html

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,40 +1502,48 @@ <h4 class="modal-title">{{nsdToSend.name}}</h4>
15021502
</div>
15031503
</div>
15041504
</div>
1505-
<div class="table-responsive">
1506-
<table class="table" id="vduTabletable">
1505+
<table style="margin-bottom: 0px;" class="table table-responsive table-bordered table-striped table-hover" id="vduTabletable">
15071506
<thead>
15081507
<tr style="text-align: center">
1509-
<th> Configuration key</th>
1510-
<th> Configuration value</th>
1511-
<th>Description</th>
1512-
<th></th>
1508+
<th style="width: 50%;"> &nbsp; Configuration key</th>
1509+
<th> &nbsp;Configuration value</th>
15131510
</tr>
15141511
</thead>
1512+
</table>
1513+
<table class="table table-bordered table-striped table-hover" id="vduTabletable">
15151514
<tbody>
15161515
<tr ng-repeat="conf in launchConfiguration.configurations[vnfdname].configurationParameters track by $index">
1517-
<td><input style="font-weight: bold;" ng-disabled="conf.id.length > 0" type="text" class="form-control"
1518-
id="Configuration Name" ng-model="conf.confKey"
1519-
/></td>
1520-
<td><input type="text" class="form-control" id="Configuration Name"
1521-
ng-model="conf.value"
1522-
/></td>
1523-
1524-
<td><textarea ng-disabled="conf.id.length > 0"
1525-
style="width:100%; resize:vertical;" name="Description"
1526-
ng-model="conf.description" id="conf.description"
1527-
title="Here you can put a human readable description"
1528-
class="form-control">
1529-
</textarea></td>
1530-
<td style="padding-left: 5px;"><a ng-disabled="conf.id.length > 0"
1531-
ng-hide="conf.id.length > 0" type="button"
1532-
ng-click="removeConf($index, vnfdname)">
1533-
<i class="fa fa-trash-o fa-lg padding10 text-danger"
1534-
aria-hidden="true"></i></a></td>
1516+
<td>
1517+
<table class="col-md-12">
1518+
<tr>
1519+
<td style="border: none !important;"> <input placeholder="Configuration Key" ng-disabled="conf.id.length > 0" type="text" class="form-control"
1520+
id="Configuration Name" ng-model="conf.confKey"
1521+
/></td>
1522+
<td style="border: none !important;"><input placeholder="Configuration Key Value" type="text" class="form-control" id="Configuration Name"
1523+
ng-model="conf.value"
1524+
/>
1525+
</td>
1526+
</tr>
1527+
<tr>
1528+
<td style="border: none !important;" colspan="2">
1529+
<textarea ng-disabled="conf.id.length > 0"
1530+
style="width:100%; resize:vertical;" name="Description"
1531+
ng-model="conf.description" id="conf.description"
1532+
placeholder="Description"
1533+
class="form-control">
1534+
</textarea>
1535+
<br ng-hide="conf.id.length > 0">
1536+
<button class="btn btn-danger" ng-disabled="conf.id.length > 0"
1537+
ng-hide="conf.id.length > 0" type="button"
1538+
ng-click="removeConf($index, vnfdname)">
1539+
Delete</button>
1540+
</td>
1541+
</tr>
1542+
</table>
1543+
</td>
15351544
</tr>
15361545
</tbody>
15371546
</table>
1538-
</div>
15391547
<a type="button" class="btn btn-primary" ng-click="addConftoLaunch(vnfdname)">Add
15401548
Parameter</a>
15411549
</tab>

0 commit comments

Comments
 (0)