Project

General

Profile

1
<div id="contentWrapper"
2
     class="tm-main uk-section uk-section-default"
3
     uk-height-viewport="expand: true"
4
     style="box-sizing: border-box;" >
5

    
6
  <!-- MARGIN-TOP  -->
7
  <div class="uk-sticky-placeholder" style="height: 84px; margin: 0px;" aria-hidden="true"></div>
8

    
9
  <div>
10
    <div class="uk-container">
11
      <div class="uk-grid uk-grid-stack">
12
        <div class="uk-width-expand@m uk-first-column">
13
          <div class="gwt-HTML uk-margin-medium-bottom">
14
            <h1 class="uk-article-title">Metrics</h1>
15
          </div>
16
          <div>
17
            <div *ngIf="successMessage" class="uk-alert uk-alert-success">{{ successMessage }}</div>
18
            <div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
19
            <div *ngIf="loadingMessage" class="loading-big">
20
              <div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
21
                {{ loadingMessage }}
22
              </div>
23
              <div class="whiteFilm"></div>
24
            </div>
25
            <div *ngIf="repo">
26
              <div class="gwt-HTML">
27
                <h4>You don't have metrics enabled for this repository yet. Would you like to enable them?</h4>
28
                <p><img src="assets/imgs/metricsWorkflow-new.svg"
29
                    style="display:block; margin: 0 auto;"
30
                    width="50%"></p>
31
                <p>Once you select to enable metrics for your repository, the following steps need to be performed:</p>
32
                <p><i>On your side</i><br>
33
                          1. Download the tracking code for your repository platform<br>
34
                          2. Configure the tracking code according to the instructions<br>
35
                          3. Deploy the tracking code in your repository platform
36
                </p>
37
                <p><i>On the OpenAIRE's side</i><br>
38
                      4. Validate the installation of the tracking code and inform the repository manager accordingly<br>
39
                </p>
40
                <div class="uk-alert uk-alert-info">
41
                  For more details about the workflows and tools please consult the
42
                  <a target="_blank" href="http://beta.repomanager.openaire.eu/pdf/OpenAIRE_usage_stats_Guidelinesv1.pdf">
43
                    “Guidelines for Collecting Usage Events and Provision of Usage Statistics”
44
                  </a>
45
                  .
46
                </div>
47
                <button class="uk-button uk-button-primary" (click)="confirmEnabling()">Enable Metrics</button>
48
              </div>
49
            </div>
50
          </div>
51
        </div>
52
        <div class="tm-sidebar uk-width-1-4@m">
53
          <div class="gwt-HTML">
54
            <div class="uk-card uk-card-body uk-card-default sidemenu">
55
              <h3>Info</h3>
56
              <p>
57
                This page provides you with information about views and downloads of items in your datasource.
58
              </p>
59
              <p>
60
                The indicators are:
61
              </p>
62
              <ul>
63
                <li>
64
                  <strong>views</strong>
65
                  of your datasource items
66
                  <strong> in the OpenAIRE portal</strong>
67
                </li>
68
                <li>
69
                  <strong>views of items</strong>
70
                  tracked from your datasource
71
                </li>
72
                <li>
73
                  <strong>number of downloads</strong>
74
                  tracked from your datasource
75
                </li>
76
              </ul>
77
            </div>
78
          </div>
79
        </div>
80
      </div>
81
    </div>
82
  </div>
83
</div>
84

    
85
<confirmation-dialog #confirmEnablingModal [title]="modalTitle" [isModalShown]="isModalShown"
86
                     [confirmActionButton]="modalButton" (emmitObject)="confirmedEnabling($event)">
87
  Are you sure you want to enable metrics for this repository?
88
</confirmation-dialog>
(1-1/10)