1
|
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid="">
|
2
|
<div class="uk-width-1-1@m uk-first-column">
|
3
|
|
4
|
<!-- TOP HELP CONTENT -->
|
5
|
<help-content #topHelperContent [position]="'top'"
|
6
|
[ngClass]="topHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
|
7
|
</help-content>
|
8
|
|
9
|
<div class="uk-container uk-container-large uk-margin-medium-top uk-margin-medium-bottom">
|
10
|
<div class="uk-grid">
|
11
|
|
12
|
<!-- LEFT HELP CONTENT -->
|
13
|
<aside-help-content #leftHelperContent [position]="'left'"
|
14
|
[ngClass]="leftHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
|
15
|
</aside-help-content>
|
16
|
|
17
|
<!-- MIDDLE -->
|
18
|
<div class=" uk-width-expand@m">
|
19
|
|
20
|
<div *ngIf="loadingMessage" class="loading-big">
|
21
|
<div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
|
22
|
{{ loadingMessage }}
|
23
|
</div>
|
24
|
<div class="whiteFilm"></div>
|
25
|
</div>
|
26
|
<div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
|
27
|
<div *ngIf="!loadingMessage && (repo !== null)" class="uk-margin-medium-bottom">
|
28
|
<h1 class="uk-article-title">
|
29
|
<a id="updateLogoURL" (click)="updateLogoUrl(repo.logoUrl)">
|
30
|
<img *ngIf="!logoURL" src="../../../assets/imgs/yourLogoHere.jpg" style="margin-right: 15px; margin-top:-8px" width="60">
|
31
|
<img *ngIf="logoURL" src="{{ logoURL }}" style="margin-right: 15px; margin-top:-8px" width="60">
|
32
|
</a>
|
33
|
{{ repo.officialName }}
|
34
|
</h1>
|
35
|
</div>
|
36
|
<div *ngIf="!loadingMessage && (repo !== null) && (repoInterfaces !== null)">
|
37
|
<div>
|
38
|
<ul class="uk-margin el-nav uk-tab" uk-switcher="connect: .uk-switcher">
|
39
|
<li routerLinkActive="uk-active">
|
40
|
<a href="#">Update Information</a>
|
41
|
</li>
|
42
|
<li routerLinkActive="uk-active">
|
43
|
<a href="#">Update Interfaces</a>
|
44
|
</li>
|
45
|
</ul>
|
46
|
<ul class="uk-switcher">
|
47
|
<li class="el-item">
|
48
|
<div>
|
49
|
<datasource-update-form #datasourceUpdateForm
|
50
|
[selectedRepo]="repo"
|
51
|
[showButton]=true
|
52
|
(emittedUrl)="getNewLogoUrl($event)"></datasource-update-form>
|
53
|
</div>
|
54
|
</li>
|
55
|
<li class="el-item">
|
56
|
<div *ngIf="repo && repoInterfaces && !loadingMessage" class="uk-grid uk-child-width-1-2">
|
57
|
<div *ngFor="let inter of dataForInterfaceComp"
|
58
|
class="interfacesForm el-item uk-card uk-card-default uk-card-body uk-scrollspy-inview uk-animation-fade uk-margin">
|
59
|
<app-repository-interface-form #interfacesArray
|
60
|
[data]="inter"
|
61
|
(emitDeleteInterface)="removeInterfaceFromList($event)">
|
62
|
</app-repository-interface-form>
|
63
|
</div>
|
64
|
<div class="el-item uk-card uk-card-default uk-card-body uk-scrollspy-inview uk-animation-fade uk-margin">
|
65
|
<div class="interface-box new" style="text-align: center">
|
66
|
<a class="add-new-element add-new-group" (click)="addInterfaceToList()">
|
67
|
<i class="far fa-plus-square" aria-hidden="true"></i>
|
68
|
<span class="info">Add New Interface</span>
|
69
|
</a>
|
70
|
</div>
|
71
|
</div>
|
72
|
</div>
|
73
|
</li>
|
74
|
</ul>
|
75
|
</div>
|
76
|
</div>
|
77
|
|
78
|
</div>
|
79
|
|
80
|
<!-- RIGHT HELP CONTENT -->
|
81
|
<aside-help-content #rightHelperContent [position]="'right'"
|
82
|
[ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
|
83
|
</aside-help-content>
|
84
|
|
85
|
</div>
|
86
|
</div>
|
87
|
|
88
|
|
89
|
<!-- BOTTOM HELP CONTENT -->
|
90
|
<help-content #bottomHelperContent [position]="'bottom'"
|
91
|
[ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
|
92
|
</help-content>
|
93
|
|
94
|
|
95
|
</div>
|
96
|
</div>
|
97
|
|
98
|
|
99
|
<confirmation-dialog #updateLogoUrlModal [title]="'Update Logo URL'" [isModalShown]="isModalShown"
|
100
|
[confirmActionButton]="'Update'" (emitObject)="updatedLogoUrl($event)">
|
101
|
<input type="text" name="logoUrl" placeholder="Logo URL" class="form-control" value="{{ logoURL }}" (change)="getNewLogoUrl($event)" >
|
102
|
</confirmation-dialog>
|
103
|
|
104
|
|