Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(devtools): adding firefox support (#44952)
* Updating manifest.json to new build structure * Adding doctype to pages to remove warnings PR Close #44952
- Loading branch information
1 parent
9f1bcc7
commit bc0b6fe
Showing
5 changed files
with
270 additions
and
277 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
115 changes: 59 additions & 56 deletions
115
devtools/projects/shell-browser/src/popups/not-angular.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,57 +1,60 @@ | ||
<html> | ||
<head> | ||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" /> | ||
<style> | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.header-text { | ||
margin: 0px; | ||
text-align: center; | ||
padding-bottom: 8px; | ||
} | ||
|
||
.modal-content { | ||
min-width: 300px; | ||
padding: 10px; | ||
} | ||
|
||
.icon { | ||
width: 20px; | ||
margin-right: 16px; | ||
} | ||
|
||
.message { | ||
display: flex; | ||
align-items: center; | ||
padding: 5px; | ||
} | ||
|
||
code { | ||
font-size: 1em; | ||
font-family: monospace; | ||
} | ||
|
||
p:not(:last-child) { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.material-icons { | ||
color: rgb(107, 107, 107); | ||
margin-right: 7px; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="modal-content"> | ||
<h4 class="header-text">Angular DevTools</h4> | ||
<div class="message"> | ||
<span class="material-icons md-48">cancel</span> | ||
<p>This page is not using Angular, or it has a strict extension policy.</p> | ||
</div> | ||
<!DOCTYPE html> | ||
|
||
<head> | ||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" /> | ||
<style> | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.header-text { | ||
margin: 0px; | ||
text-align: center; | ||
padding-bottom: 8px; | ||
} | ||
|
||
.modal-content { | ||
min-width: 300px; | ||
padding: 10px; | ||
} | ||
|
||
.icon { | ||
width: 20px; | ||
margin-right: 16px; | ||
} | ||
|
||
.message { | ||
display: flex; | ||
align-items: center; | ||
padding: 5px; | ||
} | ||
|
||
code { | ||
font-size: 1em; | ||
font-family: monospace; | ||
} | ||
|
||
p:not(:last-child) { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.material-icons { | ||
color: rgb(107, 107, 107); | ||
margin-right: 7px; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="modal-content"> | ||
<h4 class="header-text">Angular DevTools</h4> | ||
<div class="message"> | ||
<span class="material-icons md-48">cancel</span> | ||
<p>This page is not using Angular, or it has a strict extension policy. | ||
</p> | ||
</div> | ||
</body> | ||
</html> | ||
</div> | ||
</body> | ||
|
||
</html> |
122 changes: 63 additions & 59 deletions
122
devtools/projects/shell-browser/src/popups/production.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,62 +1,66 @@ | ||
<html> | ||
<head> | ||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" /> | ||
<style> | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
<!DOCTYPE html> | ||
|
||
.header-text { | ||
margin: 0px; | ||
text-align: center; | ||
padding-bottom: 8px; | ||
} | ||
<head> | ||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" /> | ||
<style> | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.header-text { | ||
margin: 0px; | ||
text-align: center; | ||
padding-bottom: 8px; | ||
} | ||
|
||
.modal-content { | ||
min-width: 300px; | ||
padding: 10px; | ||
} | ||
|
||
.icon { | ||
width: 20px; | ||
margin-right: 16px; | ||
} | ||
|
||
.message { | ||
display: flex; | ||
align-items: center; | ||
padding: 5px; | ||
} | ||
|
||
code { | ||
font-size: 1em; | ||
font-family: monospace; | ||
} | ||
|
||
p:not(:last-child) { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.material-icons { | ||
color: rgb(107, 107, 107); | ||
margin-right: 10px; | ||
} | ||
</style> | ||
</head> | ||
|
||
.modal-content { | ||
min-width: 300px; | ||
padding: 10px; | ||
} | ||
|
||
.icon { | ||
width: 20px; | ||
margin-right: 16px; | ||
} | ||
|
||
.message { | ||
display: flex; | ||
align-items: center; | ||
padding: 5px; | ||
} | ||
|
||
code { | ||
font-size: 1em; | ||
font-family: monospace; | ||
} | ||
|
||
p:not(:last-child) { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.material-icons { | ||
color: rgb(107, 107, 107); | ||
margin-right: 10px; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="modal-content"> | ||
<h4 class="header-text">Angular DevTools</h4> | ||
<div class="message"> | ||
<span class="material-icons md-48">settings</span> | ||
<section> | ||
<p> | ||
Angular application running in <a href="https://angular.io/api/core/enableProdMode">production mode</a>. | ||
</p> | ||
<p>We recommend using DevTools with apps in dev mode, running <code>ng serve</code>.</p> | ||
</section> | ||
</div> | ||
<body> | ||
<div class="modal-content"> | ||
<h4 class="header-text">Angular DevTools</h4> | ||
<div class="message"> | ||
<span class="material-icons md-48">settings</span> | ||
<section> | ||
<p> | ||
Angular application running in <a href="https://angular.io/api/core/enableProdMode">production | ||
mode</a>. | ||
</p> | ||
<p>We recommend using DevTools with apps in dev mode, running | ||
<code>ng serve</code>.</p> | ||
</section> | ||
</div> | ||
</body> | ||
</html> | ||
</div> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.