This repository has been archived by the owner on Feb 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
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 #300 from poorgeek/modals
Confirm session reset
- Loading branch information
Showing
11 changed files
with
290 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<h1>Session Reset</h1> | ||
<p>You are about to reset your session. Doing so will return you to the Select File and Validate page and you will need to resubmit your HMDA File for validation.</p> | ||
<p>Do you really want to reset your session?</p> | ||
|
||
<div class="dialog-buttons content-l"> | ||
<div class="content-l_col content-l_col-1-2"> | ||
<button type="button" class="btn btn__secondary" ng-click="closeThisDialog(0)">No, stay here</button> | ||
</div> | ||
<div class="content-l_col content-l_col-1-2"> | ||
<button type="button" class="btn btn__warning" ng-click="confirm('reset')">Yes, reset session</button> | ||
</div> | ||
</div> |
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
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
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,121 @@ | ||
@-webkit-keyframes ngdialog-flyin { | ||
0% { | ||
opacity: 0; | ||
-webkit-transform: translateY(-40px); | ||
transform: translateY(-40px); | ||
} | ||
|
||
100% { | ||
opacity: 1; | ||
-webkit-transform: translateY(0); | ||
transform: translateY(0); | ||
} | ||
} | ||
|
||
@keyframes ngdialog-flyin { | ||
0% { | ||
opacity: 0; | ||
-webkit-transform: translateY(-40px); | ||
-ms-transform: translateY(-40px); | ||
transform: translateY(-40px); | ||
} | ||
|
||
100% { | ||
opacity: 1; | ||
-webkit-transform: translateY(0); | ||
-ms-transform: translateY(0); | ||
transform: translateY(0); | ||
} | ||
} | ||
|
||
@-webkit-keyframes ngdialog-flyout { | ||
0% { | ||
opacity: 1; | ||
-webkit-transform: translateY(0); | ||
transform: translateY(0); | ||
} | ||
|
||
100% { | ||
opacity: 0; | ||
-webkit-transform: translateY(-40px); | ||
transform: translateY(-40px); | ||
} | ||
} | ||
|
||
@keyframes ngdialog-flyout { | ||
0% { | ||
opacity: 1; | ||
-webkit-transform: translateY(0); | ||
-ms-transform: translateY(0); | ||
transform: translateY(0); | ||
} | ||
|
||
100% { | ||
opacity: 0; | ||
-webkit-transform: translateY(-40px); | ||
-ms-transform: translateY(-40px); | ||
transform: translateY(-40px); | ||
} | ||
} | ||
|
||
.ngdialog.ngdialog-theme-default { | ||
padding-bottom: 160px; | ||
padding-top: 160px; | ||
|
||
&.ngdialog-closing .ngdialog-content { | ||
-webkit-animation: ngdialog-flyout .5s; | ||
animation: ngdialog-flyout .5s; | ||
} | ||
|
||
.ngdialog-content { | ||
-webkit-animation: ngdialog-flyin .5s; | ||
animation: ngdialog-flyin .5s; | ||
background: @white; | ||
border-radius: 5px; | ||
color: @black; | ||
margin: 0 auto; | ||
max-width: 100%; | ||
padding: 1em; | ||
position: relative; | ||
.u-w40pct; | ||
} | ||
|
||
.ngdialog-close { | ||
border-radius: 5px; | ||
cursor: pointer; | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
} | ||
|
||
.ngdialog-close:before { | ||
background: transparent; | ||
border-radius: 3px; | ||
color: @gray-50; | ||
content: '\00D7'; | ||
font-size: 26px; | ||
font-weight: 400; | ||
height: 30px; | ||
line-height: 26px; | ||
position: absolute; | ||
right: 3px; | ||
text-align: center; | ||
top: 3px; | ||
width: 30px; | ||
} | ||
|
||
.ngdialog-close:hover:before, | ||
.ngdialog-close:active:before { | ||
color: @gray; | ||
} | ||
|
||
.ngdialog-message { | ||
margin-bottom: .5em; | ||
} | ||
|
||
.dialog-buttons { | ||
div:nth-child(2) { | ||
text-align: right; | ||
} | ||
} | ||
} |
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
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
Oops, something went wrong.