This repository has been archived by the owner on May 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #317 from thevoiceofzeke/buckyMakeover
Materialize error pages and announcement modal
- Loading branch information
Showing
8 changed files
with
97 additions
and
104 deletions.
There are no files selected for viewing
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
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
27 changes: 27 additions & 0 deletions
27
uw-frame-components/portal/features/partials/features-dialog-template.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,27 @@ | ||
<md-dialog aria-label="new features"> | ||
<md-toolbar class="md-accent"> | ||
<div class="md-toolbar-tools"> | ||
<h1>{{ latestFeature.title }}</h1> | ||
<span flex></span> | ||
<md-button class="md-icon-button" ng-click="closeDialog('dismissed')" aria-label="close features dialog"> | ||
<md-icon>close</md-icon> | ||
</md-button> | ||
</div> | ||
</md-toolbar> | ||
<md-dialog-content> | ||
<div class="md-dialog-content features-popup" layout="column" layout-align="center center"> | ||
<img ng-src="{{ latestFeature.img }}" aria-describedby="featureContent" hide-xs> | ||
<p id="featureContent" class="sr-only" hide-xs>{{ latestFeature.description }}</p> | ||
<p hide-gt-xs>{{ latestFeature.description }}</p> | ||
</div> | ||
</md-dialog-content> | ||
<md-dialog-actions> | ||
<md-button class="md-default" | ||
ng-if="latestFeature.learnMoreURL" | ||
ng-click="closeDialog('closed')" | ||
ng-href="{{ latestFeature.learnMoreURL }}"> | ||
Learn more | ||
</md-button> | ||
<md-button class="md-primary" ng-click="closeDialog('closed')">{{ latestFeature.popup.buttonText }}</md-button> | ||
</md-dialog-actions> | ||
</md-dialog> |
15 changes: 0 additions & 15 deletions
15
uw-frame-components/portal/features/partials/features-modal-template.html
This file was deleted.
Oops, something went wrong.
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
16 changes: 9 additions & 7 deletions
16
uw-frame-components/portal/main/partials/access-denied.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,11 +1,13 @@ | ||
<frame-page app-title='{{NAMES.title}} - Access denied' white-background='true'> | ||
<h2 class='center'>Sorry, you're not authorized to access this.</h2> | ||
<p class='center'> | ||
<i class='fa fa-exclamation-triangle fa-3x warning-color'></i> | ||
<md-content layout-padding layout="column" layout-align="center center"> | ||
<h2 class="md-display-1">You are not allowed to access this content</h2> | ||
<p> | ||
<i class='fa fa-exclamation-triangle fa-3x warning-color'></i> | ||
<br/> | ||
<h4 class="md-subhead"><a href='{{MISC_URLS.myuwHome}}'>Back to the MyUW homepage</a></h4> | ||
<h4 class="md-subhead">If you continue to see this error, contact the <a href='{{MISC_URLS.helpdeskURL}}' target='_blank'>DoIT Help Desk</a></h4> | ||
<br/> | ||
<h4 class='center'>If you're here by accident, head back to MyUW <a href='{{MISC_URLS.myuwHome}}'>homepage</a>.</h4> | ||
<h4 class='center'>For help with authorization, contact the <a href='{{MISC_URLS.helpdeskURL}}' target='_blank'>DoIT Help Desk</a>.</h4> | ||
<br/> | ||
</p> | ||
</p> | ||
</md-content> | ||
</frame-page> | ||
|
18 changes: 10 additions & 8 deletions
18
uw-frame-components/portal/main/partials/file-not-found.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,10 +1,12 @@ | ||
<frame-page app-title='{{NAMES.title}} - File Not Found' white-background='true'> | ||
<h2 class='center'>We're sorry, the path you are looking for does not exist.</h2> | ||
<p class='center'> | ||
<i class='fa fa-exclamation-triangle fa-3x warning-color'></i> | ||
<br/> | ||
<h4 class='center'>You can try to head back to the MyUW <a href='{{MISC_URLS.myuwHome}}'>homepage</a>.</h4> | ||
<h4 class='center'>If you continue to see this error, contact the <a href='{{MISC_URLS.helpdeskURL}}' target='_blank'>DoIT Help Desk</a>.</h4> | ||
<br/> | ||
</p> | ||
<md-content layout-padding layout="column" layout-align="center center"> | ||
<h2 class="md-display-1">The path you are looking for does not exist</h2> | ||
<p> | ||
<i class='fa fa-exclamation-triangle fa-3x warning-color'></i> | ||
<br/> | ||
<h4 class="md-subhead"><a href='{{MISC_URLS.myuwHome}}'>Back to the MyUW homepage</a></h4> | ||
<h4 class="md-subhead">If you continue to see this error, contact the <a href='{{MISC_URLS.helpdeskURL}}' target='_blank'>DoIT Help Desk</a></h4> | ||
<br/> | ||
</p> | ||
</md-content> | ||
</frame-page> |
18 changes: 10 additions & 8 deletions
18
uw-frame-components/portal/main/partials/server-error.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,11 +1,13 @@ | ||
<frame-page app-title='{{NAMES.title}} - Service Unavailable' white-background='true'> | ||
<h2 class='center'>We're sorry, but there was a problem with your request.</h2> | ||
<p class='center'> | ||
<i class='fa fa-exclamation-triangle fa-3x warning-color'></i> | ||
<br/> | ||
<h4 class='center'>You can try to head back to the MyUW <a href='{{MISC_URLS.myuwHome}}'>homepage</a>.</h4> | ||
<h4 class='center'>If you continue to see this error, contact the <a href='{{MISC_URLS.helpdeskURL}}' target='_blank'>DoIT Help Desk</a>.</h4> | ||
<br/> | ||
</p> | ||
<md-content layout-padding layout="column" layout-align="center center"> | ||
<h2 class="md-display-1">There was a problem with your request</h2> | ||
<p> | ||
<i class='fa fa-exclamation-triangle fa-3x warning-color'></i> | ||
<br/> | ||
<h4 class="md-subhead"><a href='{{MISC_URLS.myuwHome}}'>Back to the MyUW homepage</a></h4> | ||
<h4 class="md-subhead">If you continue to see this error, contact the <a href='{{MISC_URLS.helpdeskURL}}' target='_blank'>DoIT Help Desk</a></h4> | ||
<br/> | ||
</p> | ||
</md-content> | ||
</frame-page> | ||
|