Skip to content

Commit bfc6a44

Browse files
authored
Merge pull request #2437 from crazyserver/MOBILE-3456
MOBILE-3456 login: Some login button styles
2 parents c8c51a6 + f82e39f commit bfc6a44

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/assets/lang/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1557,6 +1557,7 @@
15571557
"core.errorsomedatanotdownloaded": "If you downloaded this activity, please notice that some data isn't downloaded during the download process for performance and data usage reasons.",
15581558
"core.errorsync": "An error occurred while synchronising. Please try again.",
15591559
"core.errorsyncblocked": "This {{$a}} cannot be synchronised right now because of an ongoing process. Please try again later. If the problem persists, try restarting the app.",
1560+
"core.errorurlschemeinvalidsite": "This site URL cannot be opened in this app.",
15601561
"core.explanationdigitalminor": "This information is required to determine if your age is over the digital age of consent. This is the age when an individual can consent to terms and conditions and their data being legally stored and processed.",
15611562
"core.favourites": "Starred",
15621563
"core.filename": "Filename",
@@ -1913,6 +1914,7 @@
19131914
"core.openmodinbrowser": "Open {{$a}} in browser",
19141915
"core.othergroups": "Other groups",
19151916
"core.pagea": "Page {{$a}}",
1917+
"core.parentlanguage": "",
19161918
"core.paymentinstant": "Use the button below to pay and be enrolled within minutes!",
19171919
"core.percentagenumber": "{{$a}}%",
19181920
"core.phone": "Phone",

src/core/login/pages/credentials/credentials.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ <h3 *ngIf="siteName" padding class="core-sitename"><core-format-text [text]="sit
3737

3838
<ng-container *ngIf="showScanQR">
3939
<div class="core-login-site-qrcode-separator">{{ 'core.login.or' | translate }}</div>
40-
<ion-item class="core-login-site-qrcode">
41-
<a ion-button block color="light" margin-top icon-start (click)="showInstructionsAndScanQR()">
40+
<ion-item class="core-login-site-qrcode" no-lines>
41+
<a ion-button block color="light" margin-top icon-start text-wrap (click)="showInstructionsAndScanQR()">
4242
<core-icon name="fa-qrcode" aria-hidden="true"></core-icon>
4343
{{ 'core.scanqr' | translate }}
4444
</a>

src/core/login/pages/site/site.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ <h2 text-wrap>{{site.name}}<ng-container *ngIf="site.alias"> ({{site.alias}})</n
6565
</ion-select>
6666
</ion-item>
6767

68-
<button *ngIf="(fixedSites && siteSelector == 'select') || (!fixedSites && siteSelector == 'url')" ion-button block [disabled]="!siteForm.valid">{{ 'core.login.connect' | translate }}</button>
68+
<ion-item *ngIf="(fixedSites && siteSelector == 'select') || (!fixedSites && siteSelector == 'url')" no-lines>
69+
<button ion-button block [disabled]="!siteForm.valid" text-wrap>{{ 'core.login.connect' | translate }}</button>
70+
</ion-item>
6971
</form>
7072

7173
<ng-container *ngIf="fixedSites">
@@ -88,8 +90,8 @@ <h2>{{site.name}}</h2>
8890

8991
<ng-container *ngIf="showScanQR && !hasSites && !enteredSiteUrl">
9092
<div class="core-login-site-qrcode-separator">{{ 'core.login.or' | translate }}</div>
91-
<ion-item class="core-login-site-qrcode">
92-
<a ion-button block color="light" margin-top icon-start (click)="showInstructionsAndScanQR()">
93+
<ion-item class="core-login-site-qrcode" no-lines>
94+
<a ion-button block color="light" margin-top icon-start (click)="showInstructionsAndScanQR()" text-wrap>
9395
<core-icon name="fa-qrcode" aria-hidden="true"></core-icon>
9496
{{ 'core.scanqr' | translate }}
9597
</a>

0 commit comments

Comments
 (0)