Project

General

Profile

« Previous | Next » 

Revision 53968

Zenodo communities:
add link to zenodo communities in community dashboard
add link in the menu
minor changes in zenodo page

Update content page

Invite:move mini view to the right of the dashboard, minor layout changes

View differences:

invite.component.html
154 154

  
155 155
<div *ngIf="!longView">
156 156
        <div class="uk-width-large@m uk-width-1-1@s">
157
          <div class="uk-card uk-card-default uk-card-body">
158
            <div class="uk-text-center uk-text-large">
159
              <div> Invite users to subscribe </div>
160
              <div uk-grid>
161
                  <div class="uk-width-1-6">
162
                    <span class="uk-margin-small-right" uk-icon="social"></span>
157
          <div class="uk-card uk-card-default uk-card-body uk-padding-small">
158
              <div class="uk-text-center uk-text-large"  uk-toggle="target: #toggle-usage; animation: uk-animation-fade" style="cursor: pointer;">
159
                <span class="uk-margin-small-right uk-icon" >
160
                  <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="social" ratio="1">
161
                    <line fill="none" stroke="#000" stroke-width="1.1" x1="13.4" y1="14" x2="6.3" y2="10.7"></line><line fill="none" stroke="#000" stroke-width="1.1" x1="13.5" y1="5.5" x2="6.5" y2="8.8"></line><circle fill="none" stroke="#000" stroke-width="1.1" cx="15.5" cy="4.6" r="2.3"></circle><circle fill="none" stroke="#000" stroke-width="1.1" cx="15.5" cy="14.8" r="2.3"></circle><circle fill="none" stroke="#000" stroke-width="1.1" cx="4.5" cy="9.8" r="2.3"></circle></svg>
162
                </span>
163

  
164
                 Invite users</div>
165

  
166
              <div class="uk-form uk-margin-small" id="toggle-usage"  hidden="hidden">
167
                <input placeholder="Type e-mails" type="text"
168
                       class="form-control uk-input uk-form-small uk-form" [(ngModel)] = "recipients" id="recipients"
169
                       required >
170
                   <div class="uk-width-medium uk-text-muted uk-text-small">separate with commas</div>
171
                   <div class="uk-margin-small-top uk-text-center ">
172
                    <a class=" uk-button uk-button-default uk-button-small " [queryParams]="communityIdParam" routerLinkActive="router-link-active" routerLink="/invite">
173
                      <!-- <span class="uk-margin-small-left uk-icon" >
174
                        <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="cog" ratio="1"><circle fill="none" stroke="#000" cx="9.997" cy="10" r="3.31"></circle><path fill="none" stroke="#000" d="M18.488,12.285 L16.205,16.237 C15.322,15.496 14.185,15.281 13.303,15.791 C12.428,16.289 12.047,17.373 12.246,18.5 L7.735,18.5 C7.938,17.374 7.553,16.299 6.684,15.791 C5.801,15.27 4.655,15.492 3.773,16.237 L1.5,12.285 C2.573,11.871 3.317,10.999 3.317,9.991 C3.305,8.98 2.573,8.121 1.5,7.716 L3.765,3.784 C4.645,4.516 5.794,4.738 6.687,4.232 C7.555,3.722 7.939,2.637 7.735,1.5 L12.263,1.5 C12.072,2.637 12.441,3.71 13.314,4.22 C14.206,4.73 15.343,4.516 16.225,3.794 L18.487,7.714 C17.404,8.117 16.661,8.988 16.67,10.009 C16.672,11.018 17.415,11.88 18.488,12.285 L18.488,12.285 Z"></path>
175
                        </svg>
176
                      </span> -->
177
                      Customize
178
                    </a>
179
                    <button class=" uk-button uk-button-default uk-button-small " (click)="invite()">Invite</button>
163 180
                  </div>
164
                  <div class="uk-width-3-5">
165
                    <input placeholder="" type="text"
166
                           class="form-control uk-input" [(ngModel)] = "recipients" id="recipients"
167
                           required >
168
                  </div>
169
                  <div class="uk-width-1-6">
170
                    <button class="uk-button" (click)="invite()">Invite</button>
171
                  </div>
172 181
              </div>
173
              <div class="uk-width-medium uk-text-muted uk-text-small style=display:none">separate multiple emails with a comma</div>
174
              <div class="uk-text-right">
175
                <span class="uk-margin-small-left" uk-icon="cog"></span><span class="uk-margin-small-left uk-text-small">
176
                        <a [queryParams]="communityIdParam" routerLinkActive="router-link-active" routerLink="/invite">customise it</a>
177
                </span>
178
              </div>
179
            </div>
182

  
180 183
          </div>
181 184
        </div>
182 185
</div>

Also available in: Unified diff