Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ <h5>Chef Server Details for - RLChefServer</h5>
</ul>
<ul ng-show="targetType==='blueprint'">
<li ng-repeat="blueprint in chefBluePrintList">
<label class="checkbox check-list">
<label class="checkbox check-list" ng-if="blueprint.blueprintType === 'instance_launch'">
<input name="blueprint" ng-value="blueprint._id" type="radio" ng-model="blueprint._isBlueprintSelected" class="radiobutton-list blueprint-{{blueprint._isBlueprintSelected}}">{{blueprint.name}}
</label>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{ name:'Job Number',field:'buildNumber',cellTemplate:'<a target="_blank" title="Jenkins" ng-href="{{grid.appScope.task.taskConfig.jobURL}}/{{row.entity.buildNumber}}">{{row.entity.buildNumber}}</a>', sort:{ direction: 'desc'}, cellTooltip: true},
{ name:'Job Output',cellTemplate:'<span><a target="_blank" title="{{jobResultUrlName}}" class="fa fa-file-text bigger-120 btn cat-btn-update btn-sg tableactionbutton marginbottomright3" ng-repeat="jobResultUrlName in row.entity.jobResultURL" ng-href="{{jobResultUrlName}}"></a></span>',cellTooltip: true},
{ name:'Log Info',width: 90,cellTemplate:'<span title="Jenkins Log" class="fa fa-list bigger-120 btn cat-btn-update btn-sg tableactionbutton" ng-click="grid.appScope.historyLogs(row.entity);"></span>',cellTooltip: true},
{ name:'Status',field:'status',cellTemplate:'<div class="{{row.entity.status}}">{{row.entity.status}}</div>'},
{ name:'Status',field:'status',cellTemplate:'<div class="{{row.entity.status.toUpperCase()}}">{{row.entity.status.toUpperCase()}}</div>'},
{ name:'Start Time',field:'timestampStarted',cellTemplate:'<span title="{{row.entity.timestampStarted | timestampToLocaleTime}}">{{row.entity.timestampStarted | timestampToLocaleTime}}</span>',cellTooltip: true},
{ name:'End Time',field:'timestampEnded',cellTemplate:'<span title="{{row.entity.timestampEnded | timestampToLocaleTime}}">{{row.entity.timestampEnded | timestampToLocaleTime}}</span>',cellTooltip: true}
];
Expand Down
12 changes: 6 additions & 6 deletions client/htmls/private/ajax/Settings/CreateProviders.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ <h4 class="widget-margin" style="color: black;"><span id="spnprovider"></span></
<select id="providertype" name="providerType" unique="true" uniqueconditionedby="orgname" class="chooseOrganization width-100" style="vertical-align: central" cat-validation="required" cdata="catalyst" skiprowid="yes" onchange="UtilityMethods.providerChanged($(this).val());">
<option value="">Select Provider</option>
<option value="AWS">AWS</option>
<option value="OPENSTACK">OpenStack</option>
<option value="VMWARE">VMware</option>
<option value="AZURE">Azure</option>
<option value="OPENSTACK">OPENSTACK</option>
<option value="VMWARE">VMWARE</option>
<option value="AZURE">AZURE</option>
</select>
</div>
<div class="col-lg-6 col-md-6">
<label for="">Name:<span style="color: Red;" class="control-label">&nbsp;*</span></label>
<input name="providerName" placeholder="Enter Name of the Provider" id="name" class="form-control" type="text" cdata="catalyst" cat-validation="required" cat-validation-openstack="required" cat-validation-azure="required" cat-validation-vmware="required">
<input name="providerName" placeholder="Enter Name of the Provider" id="name" class="form-control" type="text" cdata="catalyst" cat-validation="required,max15,nospace" cat-validation-openstack="required,max15,nospace" cat-validation-azure="required,max15,nospace" cat-validation-vmware="required,max15,nospace">
</div>
</div>
<div class="row foraws">
Expand Down Expand Up @@ -187,7 +187,7 @@ <h4 class="widget-margin" style="color: black;"><span id="spnprovider"></span></
<div class="row forazure azureBlock">
<div class="col-lg-6 col-md-6 margintop20">
<label for="">Enter Subscription Id:<span style="color: Red;" class="control-label">&nbsp;*</span></label>
<input name="azureSubscriptionId" id="azureSubscriptionId" class="form-control" type="text" cdata="catalyst" cat-validation-azure="required" placeholder="Enter the Subscription Id">
<input name="azureSubscriptionId" id="azureSubscriptionId" class="form-control secretInfo" type="text" cdata="catalyst" cat-validation-azure="required" placeholder="Enter the Subscription Id">
</div>
<div class="col-lg-6 col-md-6 margintop20">
<label for="">Enter Client Id:<span style="color: Red;" class="control-label">&nbsp;*</span></label>
Expand Down Expand Up @@ -663,7 +663,7 @@ <h4 class="widget-margin" style="color: black;"><span id="spnprovider"></span></
$vmwareInputs.attr('cat-validation-vmware', 'required');
$azureInputs.attr('cat-validation-azure', 'required');
$openStack.attr('cat-validation-openstack', 'required');

// loadKeyPair(null, null, false, region, providerId);
} else {

$secretInfo.attr('disabled', 'disabled');
Expand Down
2 changes: 1 addition & 1 deletion client/htmls/private/ajax/Settings/DashboardSettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ <h4 class="modal-title">
"pagingType": "full_numbers",
"bInfo": false,
"bLengthChange": false,
"paging": false,
"paging": true,
"bFilter": false,
"aoColumns": [{
"bSortable": false
Expand Down
2 changes: 1 addition & 1 deletion client/htmls/private/ajax/Settings/ImagesList.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="widget-box">
<div class="widget-header">
<h5 class="widget-title" style="color:#4e5964;">
<strong>Images</strong>
<strong>VM Images</strong>
</h5>
<div class="widget-toolbar no-border">
<div>
Expand Down
13 changes: 13 additions & 0 deletions client/htmls/private/ajax/Settings/NexusServerList.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,16 @@ <h5 class="widget-title" style="color:#4e5964;">


</script>
<div class="col-md-5">
</div>
</div>
</div>
<div class="widget-toolbox padding-8 clearfix dataTables_wrapper">
<div id="tableFooterLeft" class="pull-left"></div>
<div id="tableFooterRight" class="pull-right"></div>
</div>
</div>
</div>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion client/htmls/private/ajax/Settings/cmdbList.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h5 class="widget-title" style="color:#4e5964;">
"pagingType": "full_numbers",
"bInfo": false,
"bLengthChange": false,
"paging": false,
"paging": true,
"bFilter": false,
"aoColumns": [{
"bSortable": false
Expand Down
226 changes: 115 additions & 111 deletions client/htmls/private/ajax/Settings/videos.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
width: 20px;
height: 20px;
}
.row{
margin-top: 25px;
}


.play-overlay {
display: none;
Expand Down Expand Up @@ -174,116 +172,122 @@

</style>
<div class="row">
<div class="col-md-12">
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/Gkopvq56s7Y" frameborder="0" allowfullscreen></iframe>
</div>
<div class="content">
<h3 class="header">Autoscale</h3>
<div class="description">
This video demonstrates launching autoscale group in CFT using catalyst and basic behavior.
</div>
</div>
</div>
</div>
<!-- Start Video Object --> <!--azure Windows-->
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/iEsat5kBEjw" frameborder="0" allowfullscreen></iframe>
</div>
<div class="content">
<h3 class="header">Azure Windows</h3>
<div class="description">
This video demonstrates integration of Azure as provider with Catalyst.
</div>
</div>
</div>
</div>
<!--azure windows ends here-->

<!--Hp helion starts here-->
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/8dbVIJUQV0U" frameborder="0" allowfullscreen></iframe>
</div>
<div class="content">
<h3 class="header">Hp Helion</h3>
<div class="description">
This video demonstrates integration of HPHelion as provider with Catalyst.
</div>
</div>
</div>
</div>
</div>
</div>
<!--Hp helion ends here-->
<div class="row">
<div class="col-lg-12 col-md-12">
<!--new design starts here-->
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/LhaCdYZU9H0" frameborder="0" allowfullscreen></iframe>
</div>
<div class="content">
<h3 class="header">New Design</h3>
<div class="description">
This video demonstrates the new design for Blueprint creation page.
</div>
</div>
</div>
</div>
<!--new design ends here-->




<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/KrNN9eMIg2Q" frameborder="0" allowfullscreen></iframe>
<div class="col-md-12">
<div class="widget-box">
<div class="widget-header">
<h5 class="widget-title widgetColor">
<strong>List of Videos</strong>
</h5>
</div>
<div class="widget-body">
<div class="widget-main widgetHeight">
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/Gkopvq56s7Y" frameborder="0" allowfullscreen></iframe>
</div>
<div class="content">
<h3 class="header">Autoscale</h3>
<div class="description">
This video demonstrates launching autoscale group in CFT using catalyst and basic behavior.
</div>
</div>
</div>
</div>
<!-- Start Video Object --> <!--azure Windows-->
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/iEsat5kBEjw" frameborder="0" allowfullscreen></iframe>
</div>
<div class="content">
<h3 class="header">Azure Windows</h3>
<div class="description">
This video demonstrates integration of Azure as provider with Catalyst.
</div>
</div>
</div>
</div>
<!--azure windows ends here-->
<!--Hp helion starts here-->
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/8dbVIJUQV0U" frameborder="0" allowfullscreen></iframe>
</div>
<div class="content">
<h3 class="header">Hp Helion</h3>
<div class="description">
This video demonstrates integration of HPHelion as provider with Catalyst.
</div>
</div>
</div>
</div>
</div>
<div class="content">
<h3 class="header">OpenStack</h3>
<div class="description">
This video demonstrates integration of OpenStack as provider with Catalyst.
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/u0jVcCmFBBg" frameborder="0" allowfullscreen></iframe>
</div>
<div class="content">
<h3 class="header">VMware</h3>
<div class="description">
This video demonstrates integration of VMware as provider with Catalyst.
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/kzqlbbHS86U" frameborder="0" allowfullscreen></iframe>
</div>
<!--Hp helion ends here-->
<div class="row">
<div class="col-lg-12 col-md-12">
<!--new design starts here-->
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/LhaCdYZU9H0" frameborder="0" allowfullscreen></iframe>
</div>
<div class="content">
<h3 class="header">New Design</h3>
<div class="description">
This video demonstrates the new design for Blueprint creation page.
</div>
</div>
</div>
</div>
<!--new design ends here-->
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/KrNN9eMIg2Q" frameborder="0" allowfullscreen></iframe>
</div>
<div class="content">
<h3 class="header">OpenStack</h3>
<div class="description">
This video demonstrates integration of OpenStack as provider with Catalyst.
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/u0jVcCmFBBg" frameborder="0" allowfullscreen></iframe>
</div>
<div class="content">
<h3 class="header">VMware</h3>
<div class="description">
This video demonstrates integration of VMware as provider with Catalyst.
</div>
</div>
</div>
</div>
</div>
<div class="content">
<h3 class="header">Upgrade</h3>
<div class="description">
This video demonstrates application deployment flow in catalyst.
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="col-lg-4 col-md-4">
<div class="ui card video-clip">
<div class="video">
<iframe width="334" height="250" src="https://www.youtube.com/embed/kzqlbbHS86U" frameborder="0" allowfullscreen></iframe>
</div>
<div class="content">
<h3 class="header">Upgrade</h3>
<div class="description">
This video demonstrates application deployment flow in catalyst.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
1 change: 1 addition & 0 deletions client/htmls/public/css/Dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
z-index: 10;
background: rgba(0, 0, 0, 0.1);
text-decoration: none;
cursor: pointer;
}
.small-box > .small-box-footer:hover {
color: #fff;
Expand Down
4 changes: 2 additions & 2 deletions client/htmls/public/dashing.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<html>
<head>
<title>Cost Dashboard of AWS</title>
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.0.min.js"></script>
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.0.min.js"></script>
<script src="js/jquery.gridster.js" charset="utf-8" ></script>
<link rel="stylesheet" type="text/css" href="css/jquery.gridster.min.css">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<style>
.noTrackItems {
margin-top: 50px;
Expand Down
4 changes: 2 additions & 2 deletions server/app/routes/v1.0/routes_provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ module.exports.setRoutes = function(app, sessionVerificationFunc) {
var vmwarehost = req.body.vmwarehost;
var vmwaredc = req.body.vmwaredc;
var providerName = req.body.providerName;
var providerType = req.body.providerType.toLowerCase();
var providerType = req.body.providerType;
var pemFileName = null;
if(req.files && req.files.azurepem)
pemFileName = req.files.azurepem.originalFilename;
Expand Down Expand Up @@ -1153,7 +1153,7 @@ module.exports.setRoutes = function(app, sessionVerificationFunc) {
var azureTenantId = req.body.azureTenantId;

var providerName = req.body.providerName;
var providerType = req.body.providerType.toLowerCase();
var providerType = req.body.providerType;
var pemFileName = null;
if(req.files && req.files.azurepem)
pemFileName = req.files.azurepem.originalFilename;
Expand Down