-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add message on certain pages about mobile not being supported (#2914)
- Loading branch information
Showing
8 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...ge.Scripture/ClientApp/src/app/serval-administration/serval-administration.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<app-mobile-not-supported></app-mobile-not-supported> | ||
<h1>Serval Administration</h1> | ||
|
||
<app-serval-projects></app-serval-projects> |
3 changes: 2 additions & 1 deletion
3
...orge.Scripture/ClientApp/src/app/serval-administration/serval-administration.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import { Component } from '@angular/core'; | ||
import { MobileNotSupportedComponent } from '../shared/mobile-not-supported/mobile-not-supported.component'; | ||
import { ServalProjectsComponent } from './serval-projects.component'; | ||
|
||
@Component({ | ||
selector: 'app-serval-administration', | ||
templateUrl: './serval-administration.component.html', | ||
styleUrls: ['./serval-administration.component.scss'], | ||
standalone: true, | ||
imports: [ServalProjectsComponent] | ||
imports: [ServalProjectsComponent, MobileNotSupportedComponent] | ||
}) | ||
export class ServalAdministrationComponent {} |
2 changes: 2 additions & 0 deletions
2
...IL.XForge.Scripture/ClientApp/src/app/serval-administration/serval-project.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<app-mobile-not-supported></app-mobile-not-supported> | ||
|
||
@if (showProjectTitle) { | ||
<h1>{{ projectName }}</h1> | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...ripture/ClientApp/src/app/shared/mobile-not-supported/mobile-not-supported.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<app-notice class="hide-gt-md" type="warning" icon="warning" mode="fill-dark"> | ||
This page is not supported on mobile and may be broken. | ||
</app-notice> |
10 changes: 10 additions & 0 deletions
10
...Scripture/ClientApp/src/app/shared/mobile-not-supported/mobile-not-supported.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Component } from '@angular/core'; | ||
import { NoticeComponent } from '../notice/notice.component'; | ||
|
||
@Component({ | ||
selector: 'app-mobile-not-supported', | ||
standalone: true, | ||
imports: [NoticeComponent], | ||
templateUrl: './mobile-not-supported.component.html' | ||
}) | ||
export class MobileNotSupportedComponent {} |
1 change: 1 addition & 0 deletions
1
...re/ClientApp/src/xforge-common/system-administration/system-administration.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<app-mobile-not-supported></app-mobile-not-supported> | ||
<div class="body-content"> | ||
<h1>System Administration</h1> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters