1 <!--environment detail page-->
3 <div class="content" style="overflow-x: scroll;">
4 <div style="display:flex;flex-direction:row;">
8 <h3> {{baseElementInfo.name}} -- Openrc
9 <button class="btn btn-default" style="float:right" ng-click="goNext()">Next</button>
10 <button class="btn btn-default" style="float:right;margin-right:10px;" ng-click="openDeleteEnv(1,'openrc')">Delete</button>
12 <!--<p>In this process, you can input your define openrc config or upload a openrc file</p>-->
18 <button style="display:inline;" class="btn btn-default" ng-click="addEnvironment()" ng-show="uuid==null">Add Name</button>
24 <div bs-tabs style="width:600px;">
25 <div data-title="Detail" bs-pane ng-if="openrcInfo.openrc!=null">
28 You have already set up the openrc parameters
31 <div ng-repeat="(key,value) in openrcInfo.openrc">
33 <font style="font-weight:600;font-size:14px;">{{key}} : </font>
34 <font style="font-size:14px;">{{value}}</font>
39 <div data-title="Update" bs-pane>
41 <div style="margin-top:20px;">
42 <button class="btn btn-default" ng-click="addInfo()" style="margin-bottom:20px;">Add</button>
43 <div style="height:300px;width:800px;display:flex;flex-direction:column;flex-wrap:wrap;margin-left:5px;">
44 <div ng-repeat="info in envInfo">
45 <!--<div> {{info.name}}</div>-->
47 <input class="edit-title" ng-model="info.name" ng-class="{'null-edit-title':info.name==null}" ng-attr-type="{{info.name.indexOf('PASSWORD')>-1 ? password : text}}" />
49 <div class="item-info">
50 <input class="form-control" type="text" ng-model="info.value" />
51 <!--<button class="delete-button" ng-click="deleteEnvItem($index)">delete</button>-->
52 <img src="images/close.png" ng-click="deleteEnvItem($index)" class="delete-img" />
59 <button class="btn btn-default" ng-click="submitOpenRcFile()" style="margin-bottom:20px;">
60 <div ng-if="!showloading">submit</div>
61 <img src="images/loading2.gif" width="25" height="25" ng-if="showloading" />
67 <div data-title="Upload File" bs-pane>
68 <div style="margin-top:20px;height:405px;">
69 <button class="btn btn-default" style="margin-bottom:20px;" ngf-select="uploadFiles($file, $invalidFiles)" ngf-max-size="5MB">
70 <div ng-show="!loadingOPENrc">Upload</div>
71 <img src="images/loading2.gif" width="25" height="25" ng-if="loadingOPENrc" />
74 <!--<div ng-show="displayOpenrcFile!=null || displayOpenrcFile!=undefined">
75 {{displayOpenrcFile.name}} last modified: {{filelastModified}}
89 <toaster-container></toaster-container>
99 background-color: #007ACC;
108 background-color: #ffffff;
114 border: 1px solid #e5e6e7;
138 background-color: #339933;
141 /* margin-left: 300px; */