Project

General

Profile

« Previous | Next » 

Revision 59238

[Connect | Trunk]: Align message with from and to

View differences:

invite.component.html
2 2

  
3 3
<div *ngIf="longView == true" class="">
4 4
  <div class="uk-section uk-padding-remove-top tm-middle" id="tm-main">
5
    <breadcrumbs addClass="uk-margin-large-left uk-margin-remove-bottom uk-margin-small-top" [breadcrumbs]="breadcrumbs"></breadcrumbs>
5
    <breadcrumbs addClass="uk-margin-large-left uk-margin-remove-bottom uk-margin-small-top"
6
                 [breadcrumbs]="breadcrumbs"></breadcrumbs>
6 7

  
7 8
    <div class="uk-container  uk-margin-bottom">
8 9
      <helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
......
30 31
            </tr> -->
31 32
            <tr>
32 33
              <td for="from" class="uk-text-bold uk-width-1-4 uk-text-right">From <span
33
                class="uk-text-danger uk-text-bold">*</span> :
34
                  class="uk-text-danger uk-text-bold">*</span> :
34 35
              </td>
35 36
              <td class="uk-text-left uk-width-expand">
36 37
                <input placeholder="Type your name" type="text" (click)="resetMessages()"
......
42 43
            </tr>
43 44
            <tr>
44 45
              <td for="recipients" class="uk-text-bold uk-text-right">To <span
45
                class="uk-text-danger uk-text-bold">*</span> :
46
                  class="uk-text-danger uk-text-bold">*</span> :
46 47
              </td>
47 48
              <td class="uk-text-left">
48 49
                <input placeholder="email" type="text" (click)="resetMessages(); areValid=true"
......
63 64
            </tbody>
64 65
          </table>
65 66
          <div class="boundary-align uk-panel uk-placeholder">
66

  
67 67
            <table class="uk-table uk-align-center">
68 68
              <tbody>
69
              <!-- <tr>
70
                 <td class="uk-text-bold uk-width-1-4@xl uk-width-1-4@m uk-width-1-4@s uk-text-right"></td>
71
                 <td class="uk-text-left">
72
                      <{{body.salutation}}<br>-->
73
              <!-- <span *ngIf="body.fromName == ''" class="uk-text-muted">
74
                      <i>{{body.fromMessage}}...</i>
75
              </span>
76
              <span *ngIf="body.fromName !=''">
77
                      {{body.fromMessage}}
78
                      <b>{{body.fromName}}</b>
79
              </span>
80
         </td>
81
      </tr> -->
82 69
              <tr>
83
                <td for="email.body" class="uk-text-bold uk-text-right">Message:</td>
84
                <td *ngIf="allowEdit()" class="uk-text-left">
70
                <td for="email.body" class="uk-text-bold uk-width-1-4 uk-text-right">Message:</td>
71
                <td *ngIf="allowEdit()" class="uk-width-expand uk-text-left">
85 72
                  <ckeditor (click)="resetMessages()"
86 73
                            class="form-control" [(ngModel)]="body.paragraphs" id="message"
87 74
                            debounce="400"
......
132 119
              <td class="uk-text-right"></td>
133 120
              <td>
134 121
                <div
135
                  class="uk-grid-margin uk-first-column uk-align-center uk-text-left uk-padding uk-padding-remove-top uk-padding-remove-bottom">
122
                    class="uk-grid-margin uk-first-column uk-align-center uk-text-left uk-padding uk-padding-remove-top uk-padding-remove-bottom">
136 123
                  <button class="uk-button portal-button" (click)="invite()">Invite</button>
137 124
                </div>
138 125
              </td>
......
155 142
  </div>
156 143
</div>
157 144
<div *ngIf="!longView" class="uk-margin-small-top">
158
  <button [class]=" ((buttonSizeSmall)?'uk-button-small':'') + ' uk-button  portal-button uk-button-small uk-width-1-1'">
145
  <button
146
      [class]=" ((buttonSizeSmall)?'uk-button-small':'') + ' uk-button  portal-button uk-button-small uk-width-1-1'">
159 147
    <span class="uk-icon uk-flex uk-flex-middle">
160 148
      <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
161 149
        <path d="M0 0h24v24H0z" fill="none"></path>
162
        <path d="M8 10H5V7H3v3H0v2h3v3h2v-3h3v-2zm10 1c1.66 0 2.99-1.34 2.99-3S19.66 5 18 5c-.32 0-.63.05-.91.14.57.81.9 1.79.9 2.86s-.34 2.04-.9 2.86c.28.09.59.14.91.14zm-5 0c1.66 0 2.99-1.34 2.99-3S14.66 5 13 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm6.62 2.16c.83.73 1.38 1.66 1.38 2.84v2h3v-2c0-1.54-2.37-2.49-4.38-2.84zM13 13c-2 0-6 1-6 3v2h12v-2c0-2-4-3-6-3z"></path>
150
        <path
151
            d="M8 10H5V7H3v3H0v2h3v3h2v-3h3v-2zm10 1c1.66 0 2.99-1.34 2.99-3S19.66 5 18 5c-.32 0-.63.05-.91.14.57.81.9 1.79.9 2.86s-.34 2.04-.9 2.86c.28.09.59.14.91.14zm-5 0c1.66 0 2.99-1.34 2.99-3S14.66 5 13 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm6.62 2.16c.83.73 1.38 1.66 1.38 2.84v2h3v-2c0-1.54-2.37-2.49-4.38-2.84zM13 13c-2 0-6 1-6 3v2h12v-2c0-2-4-3-6-3z"></path>
163 152
      </svg>
164 153
      <span class="space">Invite users</span>
165 154
    </span>
......
188 177
           required>
189 178
    <div class="uk-width-medium uk-text-muted uk-text-small">separate with commas</div>
190 179
    <div class="uk-margin-small-top uk-text-center ">
191
      <button class=" uk-button portal-button ignoreCommunityPanelBackground uk-button-small " (click)="invite()">Invite</button>
180
      <button class=" uk-button portal-button ignoreCommunityPanelBackground uk-button-small " (click)="invite()">
181
        Invite
182
      </button>
192 183
      {{" "}}
193
      <a class=" uk-button uk-button-default uk-button-small ignoreCommunityPanelBackground " [queryParams]="communityIdParam"
184
      <a class=" uk-button uk-button-default uk-button-small ignoreCommunityPanelBackground "
185
         [queryParams]="communityIdParam"
194 186
         routerLinkActive="router-link-active" routerLink="/invite">
195 187
                        <span class="uk-margin-xsmall-left uk-icon">
196
                            <svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="cog"
188
                            <svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"
189
                                 icon="cog"
197 190
                                 ratio="0.8"><circle fill="none" stroke="#000" cx="9.997" cy="10" r="3.31"></circle><path
198
                              fill="none" stroke="#000"
199
                              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></svg>
191
                                fill="none" stroke="#000"
192
                                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></svg>
200 193

  
201 194
                          </span>
202 195
        Customize

Also available in: Unified diff