Project

General

Profile

« Previous | Next » 

Revision 49992

changes in layout for deposit, claiming, menu, logos, autocomplete for projects search also for grant id, labels in results

View differences:

dataset.component.html
8 8
    <div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger  uk-margin-large-top" role="alert">{{errorMessage}}</div>
9 9
    <div [style.display]="showLoading ? 'inline' : 'none'" class="uk-animation-fade uk-margin-large-top  uk-width-1-1" role="alert"><img src="./assets/loading.gif" class="uk-align-center" alt="Loading"></div>
10 10

  
11
    <div *ngIf="datasetInfo != null" uk-grid>
11
    <div *ngIf="datasetInfo != null" uk-grid class="uk-grid-large">
12 12
        <div class="uk-width-3-4@l uk-width-3-4@xl uk-width-3-4@m uk-width-1-1@s">
13 13
            <showTitle   [title]="datasetInfo.title"></showTitle>
14
            <span *ngIf="datasetInfo.types.length > 0"class="uk-label custom-label label-blue label-dataset " title="Type">{{datasetInfo.types.join(", ")}}</span>
15
            <span *ngIf="datasetInfo.title && datasetInfo.title.accessMode" [class]="'uk-label custom-label label-green label-'+ datasetInfo.title.accessMode " >{{datasetInfo.title.accessMode}}</span>
16
            <span *ngIf="datasetInfo.underCurationMessage" class="uk-label custom-label label-yellow "  >
14
            <span *ngIf="datasetInfo.types.length > 0"class="uk-label custom-label label-dataset " title="Type">{{datasetInfo.types.join(", ")}}</span>
15
            <span *ngIf="datasetInfo.title && datasetInfo.title.accessMode" [class]="'uk-label custom-label   label-'+ datasetInfo.title.accessMode " >{{datasetInfo.title.accessMode}}</span>
16
            <span *ngIf="datasetInfo.underCurationMessage" class="uk-label custom-label label-underCuration "  >
17 17
              <span uk-tooltip="pos:right; delay:10"
18 18
                  title="{{buildCurationTooltip()}}">
19 19
              <i>Record in preview</i>
......
51 51
              {{datasetInfo.description}}
52 52
            </div>
53 53

  
54
            <div class="uk-clearfix"><div class="uk-button-group uk-float-right  uk-margin-top">
55
                <button class="uk-button uk-button-small uk-button-action">
56
                  <span class="uk-icon"   >
57
                         <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="link" ratio="1"><path fill="none" stroke="#000" stroke-width="1.1" d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M7.925,11.875 L11.925,7.975"></path></svg></span>
58
                  Link this research data to
59
                </button>
54
            <!-- <div class="uk-clearfix"><div class="uk-float-right  uk-margin-top">
60 55
                <div class="uk-inline">
61 56
                    <button class="uk-button uk-button-small uk-button-action" type="button">
57
                      <span class="uk-icon"   ><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="link" ratio="1"><path fill="none" stroke="#000" stroke-width="1.1" d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M7.925,11.875 L11.925,7.975"></path></svg></span>
58
                      Link this research data to
62 59
                      <span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="triangle-down" ratio="1"><polygon points="5 7 15 7 10 12"></polygon></svg></span>
63 60
                    </button>
64 61
                    <div uk-dropdown="mode: click; boundary: ! .uk-button-group; boundary-align: true;"
......
74 71

  
75 72
                    </div>
76 73
                </div>
77
            </div></div>
74
            </div></div> -->
78 75

  
79 76

  
80 77
            <ul class="uk-tab uk-visible@m" uk-tab="connect: #tab-content">
......
187 184
        </div>
188 185

  
189 186
        <div class="uk-width-1-4@l uk-width-1-4@xl uk-width-1-4@m uk-width-1-1@s">
187
          <div class="uk-card uk-card-default uk-padding-small">
190 188
          <div  >
191 189
            Share - Bookmark
192 190
            <addThis></addThis>
......
269 267

  
270 268
                </li>
271 269

  
272
                <li><citeThis [result]="datasetInfo" [id]="datasetId" type="research data"></citeThis></li>
270
                <li>
271
                  <ul uk-accordion class="uk-padding-remove">
272
                      <li>
273
                        <div class=" uk-accordion-title cite-this-button uk-width-1-1" type="button">
274
                          Cite this reasearch data
275
                        </div>
276
                          <div class="uk-accordion-content">
277
                            <citeThis [result]="datasetInfo" [id]="datasetId" type="research data"></citeThis>
278
                          </div>
279
                      </li>
280
                  </ul>
281
                </li>
282
                <li>
283
                  <ul uk-accordion class="uk-padding-remove">
284
                      <li>
285
                        <button class="uk-button uk-button-primary uk-accordion-title link-to-button  uk-width-1-1" type="button">
286
                          <span class="uk-icon" >
287
                                 <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="link" ratio="1"><path fill="none" stroke="#000" stroke-width="1.1" d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M7.925,11.875 L11.925,7.975"></path></svg></span>
288
                          <span>Link this research data to</span>
289
                        </button>
290
                          <div class="uk-accordion-content">
291
                            <ul class="uk-nav uk-dropdown-nav uk-padding-small" >
292
                                <li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','project'])"   routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
293
                                   Projects</a></li>
294
                                <li><a  class="uk-width-1-1"[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','context'])"   routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
295
                                   Communities</a></li>
296
                                <li><a   class="uk-width-1-1"  [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','result'])"   routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
297
                                  Other research results</a></li>
298
                            </ul>
299
                          </div>
300
                      </li>
301
                  </ul>
302

  
303
                </li>
304

  
305

  
273 306
                <li *ngIf="datasetInfo.collectedFrom && datasetInfo.collectedFrom.length > 0">
274 307
                    <dl class="uk-description-list-line">
275 308
                        <dt>Collected from</dt>
......
319 352
                    </div>
320 353
               </div>
321 354
            </div-->
322

  
323 355
        </div>
356
      </div>
324 357
    </div>
325 358
</div>
326 359
</div>

Also available in: Unified diff