Skip to content

Commit f14bc47

Browse files
authored
Merge pull request #209 from makermelissa/banner
Display message about USB workflow issue
2 parents 57eb2ed + 1740d80 commit f14bc47

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<body>
1313
<div id="blackout" class="body-blackout"></div>
1414
<div id="clickblock" class="body-blackout no-overlay"></div>
15-
1615
<div class="layout">
1716
<header id="site-header">
1817
<div class="wrapper">

js/script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ document.addEventListener('DOMContentLoaded', async (event) => {
588588
}
589589
}
590590
} else {
591+
await showMessage("USB Workflow is currently experiencing issues. See <a href=\"https://github.com/circuitpython/web-editor/issues/203\">GitHub issue #203</a> for more details. Please use Web Workflow.");
591592
await checkConnected();
592593
}
593594
});

sass/layout/_layout.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,15 @@
133133
}
134134
}
135135

136+
.popup-modal {
137+
#message {
138+
a {
139+
color: #0062c7;
140+
text-decoration: underline;
141+
}
142+
}
143+
}
144+
136145
.mode-button {
137146
display: inline-block;
138147
font-size: 1.1em;

0 commit comments

Comments
 (0)