Revision 58281
Added by Stefania Martziou about 4 years ago
adminPg-registrations.component.html | ||
---|---|---|
27 | 27 |
|
28 | 28 |
</div> |
29 | 29 |
|
30 |
<div id="page_content_inner"> |
|
30 |
<div id="page_content_inner" class="whiteBackground uk-padding-remove-left uk-padding-remove-right">
|
|
31 | 31 |
|
32 |
<div class="uk-section uk-background-norepeat uk-background-contain uk-background-bottom-center" |
|
33 |
style="background-image: url('../../../assets/imgs/landing/abstract2.svg'); !important; min-height: calc(80vh);" uk-height-viewport="offset-top: true; offset-bottom: 20;"> |
|
32 | 34 |
|
35 |
<!-- TOP HELP CONTENT --> |
|
36 |
<help-content #topHelperContent [position]="'top'" |
|
37 |
[ngClass]="topHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'"> |
|
38 |
</help-content> |
|
33 | 39 |
|
34 |
<!-- TOP HELP CONTENT --> |
|
35 |
<help-content #topHelperContent [position]="'top'" |
|
36 |
[ngClass]="topHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'"> |
|
37 |
</help-content> |
|
40 |
<div class="uk-grid"> |
|
38 | 41 |
|
39 |
<div class="uk-grid"> |
|
42 |
<!-- LEFT HELP CONTENT --> |
|
43 |
<aside-help-content #leftHelperContent [position]="'left'" |
|
44 |
[ngClass]="leftHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'"> |
|
45 |
</aside-help-content> |
|
40 | 46 |
|
41 |
<!-- LEFT HELP CONTENT --> |
|
42 |
<aside-help-content #leftHelperContent [position]="'left'" |
|
43 |
[ngClass]="leftHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'"> |
|
44 |
</aside-help-content> |
|
47 |
<!-- MIDDLE --> |
|
48 |
<div class="uk-width-expand@m"> |
|
45 | 49 |
|
46 |
<!-- MIDDLE -->
|
|
47 |
<div class="uk-width-expand@m">
|
|
50 |
<div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
|
|
51 |
<div *ngIf="successMessage" class="uk-alert uk-alert-success">{{ successMessage }}</div>
|
|
48 | 52 |
|
49 |
<div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div> |
|
50 |
<div *ngIf="successMessage" class="uk-alert uk-alert-success">{{ successMessage }}</div> |
|
53 |
<div *ngIf="!errorMessage" class="uk-container"> |
|
51 | 54 |
|
52 |
<div *ngIf="!errorMessage" class="uk-container"> |
|
53 |
|
|
54 |
<div class=""> |
|
55 | 55 |
<div class=""> |
56 |
<div class=""> |
|
56 | 57 |
|
57 |
<div class="uk-margin-medium uk-margin-top repositoryAdminActions"> |
|
58 |
<form [formGroup]="dataForm" class="uk-form-horizontal uk-grid"> |
|
58 |
<div class="uk-margin-medium uk-margin-top repositoryAdminActions">
|
|
59 |
<form [formGroup]="dataForm" class="uk-form-horizontal uk-grid">
|
|
59 | 60 |
|
60 |
<div class="uk-inline"> |
|
61 |
<div class="uk-margin"> |
|
62 |
<label class="" for="size">Results per page </label> |
|
63 |
<div class="uk-inline"> |
|
64 |
<select class="uk-select" id="size" (change)="handleChangeAndResetPage()" formControlName="size"> |
|
65 |
<option value="10">10</option> |
|
66 |
<option value="25" selected>25</option> |
|
67 |
<option value="50">50</option> |
|
68 |
<option value="100">100</option> |
|
69 |
</select> |
|
61 |
<div class="uk-inline"> |
|
62 |
<div class="uk-margin"> |
|
63 |
<label class="" for="size">Results per page </label> |
|
64 |
<div class="uk-inline"> |
|
65 |
<select class="uk-select" id="size" (change)="handleChangeAndResetPage()" formControlName="size"> |
|
66 |
<option value="10">10</option> |
|
67 |
<option value="25" selected>25</option> |
|
68 |
<option value="50">50</option> |
|
69 |
<option value="100">100</option> |
|
70 |
</select> |
|
71 |
</div> |
|
70 | 72 |
</div> |
71 | 73 |
</div> |
72 |
</div> |
|
73 | 74 |
|
74 |
<div class="uk-inline"> |
|
75 |
<div class="uk-inline">
|
|
75 | 76 |
|
76 |
<div class="uk-inline uk-margin-right"> |
|
77 |
<label class="" for="orderBy">Order by </label> |
|
78 |
<div class="uk-inline"> |
|
79 |
<select class="uk-select" id="orderBy" (change)="handleChangeAndResetPage()" formControlName="order"> |
|
80 |
<option value="DESCENDING" selected>Descending</option> |
|
81 |
<option value="ASCENDING">Ascending</option> |
|
82 |
</select> |
|
77 |
<div class="uk-inline uk-margin-right"> |
|
78 |
<label class="" for="orderBy">Order by </label> |
|
79 |
<div class="uk-inline"> |
|
80 |
<select class="uk-select" id="orderBy" (change)="handleChangeAndResetPage()" formControlName="order"> |
|
81 |
<option value="DESCENDING" selected>Descending</option> |
|
82 |
<option value="ASCENDING">Ascending</option> |
|
83 |
</select> |
|
84 |
</div> |
|
83 | 85 |
</div> |
84 |
</div> |
|
85 | 86 |
|
86 |
<div class="uk-inline"> |
|
87 |
<label class="" for="sortBy">Sort by </label> |
|
88 | 87 |
<div class="uk-inline"> |
89 |
<select class="uk-select" id="sortBy" (change)="handleChangeAndResetPage()" formControlName="requestSortBy"> |
|
90 |
<option value="registrationdate" selected>Date</option> |
|
91 |
<option value="officialname">Name</option> |
|
92 |
</select> |
|
88 |
<label class="" for="sortBy">Sort by </label> |
|
89 |
<div class="uk-inline"> |
|
90 |
<select class="uk-select" id="sortBy" (change)="handleChangeAndResetPage()" formControlName="requestSortBy"> |
|
91 |
<option value="registrationdate" selected>Date</option> |
|
92 |
<option value="officialname">Name</option> |
|
93 |
</select> |
|
94 |
</div> |
|
93 | 95 |
</div> |
96 |
|
|
94 | 97 |
</div> |
95 | 98 |
|
96 |
</div> |
|
97 | 99 |
|
100 |
</form> |
|
101 |
</div> |
|
98 | 102 |
|
99 |
</form> |
|
100 |
</div> |
|
103 |
<div class="uk-width-1-1@m"> |
|
101 | 104 |
|
102 |
<div class="uk-width-1-1@m"> |
|
105 |
<ul class="uk-pagination uk-flex-right" uk-margin> |
|
106 |
<li><a (click)="previousPage()" class="pagination_arrow"><span uk-pagination-previous></span></a></li> |
|
107 |
<li class="uk-active"><span>{{+dataForm.get('page').value + 1}}</span></li> |
|
108 |
<li><a (click)="nextPage()" class="pagination_arrow"><span uk-pagination-next></span></a></li> |
|
109 |
</ul> |
|
103 | 110 |
|
104 |
<ul class="uk-pagination uk-flex-right" uk-margin> |
|
105 |
<li><a (click)="previousPage()"><span uk-pagination-previous></span></a></li> |
|
106 |
<li class="uk-active"><span>{{+dataForm.get('page').value + 1}}</span></li> |
|
107 |
<li><a (click)="nextPage()"><span uk-pagination-next></span></a></li> |
|
108 |
</ul> |
|
111 |
<hr class="adminResultsHeader"> |
|
109 | 112 |
|
110 |
<hr class="adminResultsHeader"> |
|
113 |
<div *ngIf="loadingMessage" class="loading-big"> |
|
114 |
<div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;"> |
|
115 |
{{ loadingMessage }} |
|
111 | 116 |
|
112 |
<div *ngIf="loadingMessage" class="loading-big">
|
|
113 |
<div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
|
|
114 |
{{ loadingMessage }}
|
|
117 |
</div>
|
|
118 |
<div class="transparentFilm"></div>
|
|
119 |
</div>
|
|
115 | 120 |
|
121 |
<!-- REPOSITORY CARD --> |
|
122 |
<div *ngFor="let res of repositorySnippet" class="md-card repositoryCard"> |
|
123 |
<div class="md-card-content large-padding"> |
|
124 |
<div class="uk-text-meta">{{res.typology.split('::')[0]}} {{res.typology.split('::')[1]}} {{res.typology.split('::')[2]}}</div> |
|
125 |
<div class="repositoryCardHeader uk-margin-bottom uk-margin-small-top"><a [routerLink]="['/repositoryAdmin/' + res.id]">{{res.officialname}}</a></div> |
|
126 |
<div class="uk-margin-small-bottom"><span class="uk-badge uk-badge-primary uk-badge-notification uk-margin-small-right">ID</span>{{res.id}}</div> |
|
127 |
<div class="uk-margin-small-bottom"><span class="uk-badge uk-badge-primary uk-badge-notification uk-margin-small-right">RM</span>{{res.registeredby}}</div> |
|
128 |
<div class="uk-margin-small-bottom"><span class="mute-title">Date: </span><span class="small-content">{{res.registrationdate}}</span></div> |
|
129 |
<div><span class="mute-title">Organization: </span><span *ngFor="let organization of res.organizations; let i=index" class="small-content"><span *ngIf="i>0">, </span>{{organization.legalname + ' (' + getCountryName(organization.country) + ')'}}</span></div> |
|
130 |
</div> |
|
116 | 131 |
</div> |
117 |
<div class="transparentFilm"></div> |
|
118 |
</div> |
|
119 | 132 |
|
120 |
<!-- REPOSITORY CARD --> |
|
121 |
<div *ngFor="let res of repositorySnippet" class="md-card repositoryCard"> |
|
122 |
<div class="md-card-content large-padding"> |
|
123 |
<div class="uk-text-meta">{{res.typology.split('::')[0]}} {{res.typology.split('::')[1]}} {{res.typology.split('::')[2]}}</div> |
|
124 |
<div class="repositoryCardHeader uk-margin-bottom uk-margin-small-top"><a [routerLink]="['/repositoryAdmin/' + res.id]">{{res.officialname}}</a></div> |
|
125 |
<div class="uk-margin-small-bottom"><span class="uk-badge uk-badge-primary uk-badge-notification uk-margin-small-right">ID</span>{{res.id}}</div> |
|
126 |
<div class="uk-margin-small-bottom"><span class="uk-badge uk-badge-primary uk-badge-notification uk-margin-small-right">RM</span>{{res.registeredby}}</div> |
|
127 |
<div class="uk-margin-small-bottom"><span class="mute-title">Date: </span><span class="small-content">{{res.registrationdate}}</span></div> |
|
128 |
<div><span class="mute-title">Organization: </span><span *ngFor="let organization of res.organizations; let i=index" class="small-content"><span *ngIf="i>0">, </span>{{organization.legalname + ' (' + getCountryName(organization.country) + ')'}}</span></div> |
|
129 |
</div> |
|
133 |
<ul class="uk-pagination uk-margin-top uk-flex-right" uk-margin> |
|
134 |
<li><a (click)="previousPage()" class="pagination_arrow"><span uk-pagination-previous></span></a></li> |
|
135 |
<li class="uk-active"><span>{{+dataForm.get('page').value + 1}}</span></li> |
|
136 |
<li><a (click)="nextPage()" class="pagination_arrow"><span uk-pagination-next></span></a></li> |
|
137 |
</ul> |
|
138 |
|
|
130 | 139 |
</div> |
131 | 140 |
|
132 |
<ul class="uk-pagination uk-margin-top uk-flex-right" uk-margin> |
|
133 |
<li><a (click)="previousPage()"><span uk-pagination-previous></span></a></li> |
|
134 |
<li class="uk-active"><span>{{+dataForm.get('page').value + 1}}</span></li> |
|
135 |
<li><a (click)="nextPage()"><span uk-pagination-next></span></a></li> |
|
136 |
</ul> |
|
137 |
|
|
138 | 141 |
</div> |
139 |
|
|
140 | 142 |
</div> |
141 | 143 |
</div> |
144 |
|
|
142 | 145 |
</div> |
143 | 146 |
|
147 |
<!-- RIGHT HELP CONTENT --> |
|
148 |
<aside-help-content #rightHelperContent [position]="'right'" |
|
149 |
[ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'"> |
|
150 |
</aside-help-content> |
|
151 |
|
|
144 | 152 |
</div> |
145 | 153 |
|
146 |
<!-- RIGHT HELP CONTENT --> |
|
147 |
<aside-help-content #rightHelperContent [position]="'right'" |
|
148 |
[ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'"> |
|
149 |
</aside-help-content> |
|
150 |
|
|
154 |
<!-- BOTTOM HELP CONTENT --> |
|
155 |
<help-content #bottomHelperContent [position]="'bottom'" |
|
156 |
[ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'"> |
|
157 |
</help-content> |
|
151 | 158 |
</div> |
152 | 159 |
|
153 |
<!-- BOTTOM HELP CONTENT --> |
|
154 |
<help-content #bottomHelperContent [position]="'bottom'" |
|
155 |
[ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'"> |
|
156 |
</help-content> |
|
157 |
|
|
158 | 160 |
</div> |
159 | 161 |
</div> |
160 | 162 |
|
Also available in: Unified diff
Almost final commit for the new UI