-
Notifications
You must be signed in to change notification settings - Fork 120
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 #861 from ubports/low-power
Add low power warning, resolves #27
- Loading branch information
Showing
5 changed files
with
22 additions
and
0 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
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,14 @@ | ||
#low-power-modal.modal.fade(tabindex='-1', data-backdrop='static', data-keyboard='false', role='dialog') | ||
.modal-dialog(role='document') | ||
.modal-content | ||
.modal-header | ||
button.close(type='button', data-dismiss='modal', aria-label='Close') | ||
span(aria-hidden='true') × | ||
h4#myModalLabel.modal-title Low Power | ||
.modal-body | ||
p | ||
| The battery of your device is critically low. This can cause severe Problems while flashing. | ||
b | ||
| Please let your device charge for a while and try again. | ||
.modal-footer | ||
button.btn.btn-default(type='button', data-dismiss='modal', onclick="location.reload()") Try again |
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