Project

General

Profile

1 51118 myrto.kouk
<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
    <h1 class="uk-h2">Enrich Your Content - Browse Events</h1>
5
6
    <!-- TOP HELP CONTENT -->
7 51561 myrto.kouk
    <help-content #topHelperContent [position]="'top'"
8 51118 myrto.kouk
                  [ngClass]="topHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
9 51561 myrto.kouk
    </help-content>
10 51118 myrto.kouk
11
    <div class="uk-container uk-margin-medium-top uk-margin-medium-bottom">
12
      <div class="uk-grid">
13
14
        <!-- LEFT HELP CONTENT -->
15 51561 myrto.kouk
        <aside-help-content #leftHelperContent [position]="'left'"
16 51118 myrto.kouk
                            [ngClass]="leftHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
17 51561 myrto.kouk
        </aside-help-content>
18 51118 myrto.kouk
19
        <!-- MIDDLE -->
20
        <div class=" uk-width-expand@m">
21
22 51830 myrto.kouk
          <div>
23
            <div class="uk-width-1-1 uk-grid">
24
              <div class="uk-width-1-1 uk-first-column uk-margin-bottom">
25
                <div class="uk-float-right">
26
                  <a class="grid-view" [class.active]="tilesView" (click)="toggleTiles()">
27
                    <i class="fa fa-th"></i>
28
                  </a>
29
                  <a class="grid-view"  [class.active]="!tilesView" (click)="toggleTiles()">
30
                    <i class="fa fa-th-list"></i>
31
                  </a>
32
                </div>
33
              </div>
34
              <div class="uk-width-1-1">
35
                <div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
36
                <div *ngIf="noDatasourcesMessage" class="uk-alert uk-alert-warning">{{ noDatasourcesMessage }}</div>
37
                <div *ngIf="loadingMessage" class="loading-big">
38
                  <div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
39
                    {{ loadingMessage }}
40
                  </div>
41
                  <div class="whiteFilm"></div>
42
                </div>
43 51118 myrto.kouk
44 51830 myrto.kouk
                <!--TILES VIEW-->
45
                <div *ngIf="tilesView && datasourcesOfUser.length>0" class="uk-grid-large uk-grid-margin-large uk-grid repos-grid uk-height-1-1">
46
                  <div *ngFor="let repo of datasourcesOfUser" class="uk-width-expand@m uk-width-auto\@m uk-first-column uk-margin-bottom" style="min-width: 300px; max-width: 22%;">
47
                    <div class="uk-margin uk-grid-match uk-child-width-1-1 uk-grid-small uk-grid-divider uk-grid uk-scrollspy-inview uk-animation-slide-top-medium uk-grid-stack">
48
                      <div class="uk-first-column">
49
                        <div class="">
50
                          <a class="el-link uk-vertical-align-middle uk-height-1-1" [routerLink]="[repo['first']['value']]">
51
                            <div class="el-item uk-panel uk-scrollspy-inview uk-animation-slide-top-medium" uk-scrollspy-class="">
52
                              <div class="uk-child-width-expand uk-grid-medium uk-flex-middle uk-grid uk-grid-stack" uk-grid="">
53
                                <div class="uk-width-1-3@m uk-first-column" style="width: 90px;">
54
                                  <img *ngIf="!repo['second']" class="el-image uk-border-rounded" src="/assets/imgs/yourLogoHere.jpg" alt="">
55
                                  <img *ngIf="repo['second']" class="el-image uk-border-rounded" src="{{ repo['second'] }}" alt="">
56
                                </div>
57
                                <div class="uk-first-column">
58
                                  <h3 class="el-title uk-margin uk-h5 uk-margin-remove-adjacent uk-margin-small-bottom">{{ repo['first']['value'] }}</h3>
59
                                  <div class="el-meta uk-margin uk-text-meta">
60
                                    <span>({{ repo['first']['size'] }} events)</span>
61
                                  </div>
62
                                </div>
63
                              </div>
64
                            </div>
65
                          </a>
66
                        </div>
67
                      </div>
68
                    </div>
69
                  </div>
70
                </div>
71
72
                <!-- LIST VIEW -->
73
                <div *ngIf="!tilesView && datasourcesOfUser.length>0" class="uk-grid-large uk-grid-margin-large uk-grid repos-list">
74
                  <div class="uk-width-1-1@m uk-first-column">
75
                    <div class="uk-overflow-auto uk-scrollspy-inview uk-animation-slide-top-medium">
76
                      <div>
77
                        <table class="uk-table uk-table-striped uk-table-middle">
78
                          <thead>
79
                          <tr>
80
                            <th class="uk-text-nowrap">Logo</th>
81
                            <th class="uk-text-nowrap">Name</th>
82
                            <th class="uk-text-nowrap"># of Events</th>
83
                          </tr>
84
                          </thead>
85
                          <tbody>
86
                          <tr class="el-item" *ngFor="let repo of datasourcesOfUser">
87
                            <td class="uk-table-shrink">
88
                              <img *ngIf="repo['second']" class="el-image uk-preserve-width" src="{{ repo['second'] }}" style="height: 45px;">
89
                              <img *ngIf="!repo['second']" class="el-image uk-preserve-width" src="assets/imgs/yourLogoHere.jpg" alt="[Repo Logo]" style="height: 45px;">
90
                            </td>
91
                            <td class="uk-text-nowrap uk-table-shrink">
92
                              <a [routerLink]="[repo['first']['value']]">{{ repo['first']['value'] }}</a>
93
                            </td>
94
                            <td class="uk-text-nowrap uk-table-shrink">
95
                              {{ repo['first']['size'] }}
96
                            </td>
97
                          </tr>
98
                          </tbody>
99
                        </table>
100
                      </div>
101
                    </div>
102
                  </div>
103
                </div>
104
105
              </div>
106
107
            </div>
108
          </div>
109
110
111 51118 myrto.kouk
        </div>
112
113
        <!-- RIGHT HELP CONTENT -->
114 51561 myrto.kouk
        <aside-help-content #rightHelperContent [position]="'right'"
115 51118 myrto.kouk
                            [ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
116 51561 myrto.kouk
        </aside-help-content>
117 51118 myrto.kouk
118
      </div>
119
    </div>
120
121
122
    <!-- BOTTOM HELP CONTENT -->
123
    <help-content #bottomHelperContent [position]="'bottom'"
124
                  [ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
125
    </help-content>
126
127
128
  </div>
129
</div>