Project

General

Profile

« Previous | Next » 

Revision 58098

Second commit for the new layout provided by the UX team

View differences:

metrics-enable.component.html
1
<div id="page_content">
2
  <div id="page_content_inner">
3
    <h2 class="heading_b uk-margin-bottom">Metrics for {{repo.officialName}}</h2>
1
<div id="page_content_inner">
2
  <!--<h2 class="heading_b uk-margin-bottom">Metrics for repository....</h2>-->
3
  <h2 *ngIf="repo" class="heading_b uk-margin-bottom">Metrics for {{repo.officialName}}</h2>
4 4

  
5
    <!-- TOP HELP CONTENT -->
6
    <help-content #topHelperContent [position]="'top'"
7
                  [ngClass]="topHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
8
    </help-content>
5
  <!-- TOP HELP CONTENT -->
6
  <help-content #topHelperContent [position]="'top'"
7
                [ngClass]="topHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
8
  </help-content>
9 9

  
10
    <div class="uk-grid">
10
  <div class="uk-grid">
11 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>
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 16

  
17
      <!-- MIDDLE -->
18
      <div class=" uk-width-expand@m">
17
    <!-- MIDDLE -->
18
    <div class=" uk-width-expand@m">
19 19

  
20
        <div>
21
          <div *ngIf="successMessage" class="uk-alert uk-alert-success">{{ successMessage }}</div>
22
          <div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
23
          <div *ngIf="loadingMessage" class="loading-big">
24
            <div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
25
              {{ loadingMessage }}
26
            </div>
27
            <div class="transparentFilm"></div>
20
      <div>
21
        <div *ngIf="successMessage" class="uk-alert uk-alert-success">{{ successMessage }}</div>
22
        <div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
23
        <div *ngIf="loadingMessage" class="loading-big">
24
          <div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
25
            {{ loadingMessage }}
28 26
          </div>
29
          <div *ngIf="repo && !loadingMessage">
27
          <div class="transparentFilm"></div>
28
        </div>
29
        <div *ngIf="repo && !loadingMessage">
30 30

  
31
            <div class="md-card">
32
              <div class="md-card-content large-padding">
33
                <div class="uk-article">
31
          <div class="md-card">
32
            <div class="md-card-content large-padding">
33
              <div class="uk-article">
34 34

  
35
                  <p class="uk-article-lead uk-margin-bottom">You don't have metrics enabled for this repository yet. Would you like to enable them?</p>
35
                <p class="uk-article-lead uk-margin-bottom">You don't have metrics enabled for this repository yet. Would you like to enable them?</p>
36 36

  
37
                  <div class="uk-grid uk-margin-medium-top uk-margin-medium-bottom">
38
                    <figure class="uk-width-1-3 uk-first-column">
39
                      <img src="../../../assets/imgs/metricsWorkflow-new.svg" alt="" data-dense-cap="2" class="dense-image dense-ready">
40
                      <figcaption class="uk-thumbnail-caption">Usage stats enable workflow</figcaption>
41
                    </figure>
37
                <div class="uk-grid uk-margin-medium-top uk-margin-medium-bottom">
38
                  <figure class="uk-width-1-3 uk-first-column">
39
                    <img src="../../../../assets/imgs/metricsWorkflow-new.svg" alt="" data-dense-cap="2" class="dense-image dense-ready">
40
                    <figcaption class="uk-thumbnail-caption">Usage stats enable workflow</figcaption>
41
                  </figure>
42 42

  
43
                    <div class="info uk-width-2-3">
44
                      <p>Once you select to enable metrics for your repository, the following steps need to be performed:</p>
45
                      <p><i>On your side</i><br>
46
                        1. Download the tracking code for your repository platform<br>
47
                        2. Configure the tracking code according to the instructions<br>
48
                        3. Deploy the tracking code in your repository platform
49
                      </p>
50
                      <p><i>On the OpenAIRE's side</i><br>
51
                        4. Validate the installation of the tracking code and inform the repository manager accordingly<br>
52
                      </p>
53
                    </div>
43
                  <div class="info uk-width-2-3">
44
                    <p>Once you select to enable metrics for your repository, the following steps need to be performed:</p>
45
                    <p><i>On your side</i><br>
46
                      1. Download the tracking code for your repository platform<br>
47
                      2. Configure the tracking code according to the instructions<br>
48
                      3. Deploy the tracking code in your repository platform
49
                    </p>
50
                    <p><i>On the OpenAIRE's side</i><br>
51
                      4. Validate the installation of the tracking code and inform the repository manager accordingly<br>
52
                    </p>
54 53
                  </div>
54
                </div>
55 55

  
56
                  <blockquote>
57
                    For more details about the workflows and tools please consult the
58
                    <a target="_blank" href="https://openaire.github.io/usage-statistics-guidelines/">
59
                      “Guidelines for Collecting Usage Events and Provision of Usage Statistics”
60
                    </a>
61
                    .
62
                  </blockquote>
56
                <blockquote>
57
                  For more details about the workflows and tools please consult the
58
                  <a target="_blank" href="https://openaire.github.io/usage-statistics-guidelines/">
59
                    “Guidelines for Collecting Usage Events and Provision of Usage Statistics”
60
                  </a>
61
                  .
62
                </blockquote>
63 63

  
64
                  <button class="uk-button uk-button-primary uk-margin-top" (click)="confirmEnabling()">Enable Metrics</button>
64
                <button class="uk-button uk-button-primary uk-margin-top" (click)="confirmEnabling()">Enable Metrics</button>
65 65

  
66
                </div>
67 66
              </div>
68 67
            </div>
68
          </div>
69 69

  
70
          </div>
71 70
        </div>
72

  
73 71
      </div>
74 72

  
75
      <!-- RIGHT HELP CONTENT -->
76
      <aside-help-content #rightHelperContent [position]="'right'"
77
                          [ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
78
      </aside-help-content>
79

  
80 73
    </div>
81 74

  
82
    <!-- BOTTOM HELP CONTENT -->
83
    <help-content #bottomHelperContent [position]="'bottom'"
84
                  [ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
85
    </help-content>
75
    <!-- RIGHT HELP CONTENT -->
76
    <aside-help-content #rightHelperContent [position]="'right'"
77
                        [ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
78
    </aside-help-content>
86 79

  
87 80
  </div>
81

  
82
  <!-- BOTTOM HELP CONTENT -->
83
  <help-content #bottomHelperContent [position]="'bottom'"
84
                [ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
85
  </help-content>
86

  
88 87
</div>
89 88

  
90 89
<confirmation-dialog #confirmEnablingModal [title]="modalTitle" [isModalShown]="isModalShown"

Also available in: Unified diff