Skip to content

Commit ebb8adb

Browse files
authored
Add a new interactive Local Shell extension (#2378)
The companion to nerves-hub/nerves_hub_link#349 This PR adds a new interactive Local Shell UI, similar to the IEx console, but instead connected to the busybox shell. <img width="2986" height="914" alt="image" src="https://github.com/user-attachments/assets/96116132-c2a4-4ab7-9feb-2224b801aab9" />
1 parent 9ed0e7b commit ebb8adb

File tree

22 files changed

+594
-483
lines changed

22 files changed

+594
-483
lines changed

assets/css/_console.scss

Lines changed: 0 additions & 107 deletions
This file was deleted.

assets/css/app.scss

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,28 @@
1-
$fa-font-path: '~@fortawesome/fontawesome-free/webfonts';
2-
@import '~@fortawesome/fontawesome-free/scss/fontawesome';
3-
@import '~@fortawesome/fontawesome-free/scss/solid';
4-
@import '~@fortawesome/fontawesome-free/scss/regular';
5-
@import '~@fortawesome/fontawesome-free/scss/brands';
6-
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');
7-
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;700&display=block');
8-
9-
@import '_animate.css';
10-
@import 'audit_log_feed';
11-
@import 'console';
12-
@import 'layout';
13-
@import 'colors';
14-
@import 'typography';
15-
@import 'buttons';
16-
@import 'form';
17-
@import 'navigation';
18-
@import 'sidebar';
19-
@import 'home';
20-
@import 'custom';
21-
@import 'footer';
22-
@import 'table';
23-
@import 'modal';
24-
@import 'import';
25-
@import '~bootstrap/scss/bootstrap';
26-
@import 'metrics';
1+
$fa-font-path: "~@fortawesome/fontawesome-free/webfonts";
2+
@import "~@fortawesome/fontawesome-free/scss/fontawesome";
3+
@import "~@fortawesome/fontawesome-free/scss/solid";
4+
@import "~@fortawesome/fontawesome-free/scss/regular";
5+
@import "~@fortawesome/fontawesome-free/scss/brands";
6+
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap");
7+
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;700&display=block");
8+
9+
@import "_animate.css";
10+
@import "audit_log_feed";
11+
@import "layout";
12+
@import "colors";
13+
@import "typography";
14+
@import "buttons";
15+
@import "form";
16+
@import "navigation";
17+
@import "sidebar";
18+
@import "home";
19+
@import "custom";
20+
@import "footer";
21+
@import "table";
22+
@import "modal";
23+
@import "import";
24+
@import "~bootstrap/scss/bootstrap";
25+
@import "metrics";
2726

2827
html {
2928
margin: 0;
@@ -37,7 +36,7 @@ html {
3736
}
3837

3938
html body {
40-
font-family: 'Montserrat', sans-serif;
39+
font-family: "Montserrat", sans-serif;
4140

4241
.normal-wrapper {
4342
background-color: var(--background);
@@ -92,7 +91,7 @@ html body {
9291
&.firmware-penalty-box {
9392
background-color: rgba(202, 138, 4, 0.5);
9493
padding-right: 2.5rem;
95-
background-image: url('/images/icons/firmware-penalty-box.svg');
94+
background-image: url("/images/icons/firmware-penalty-box.svg");
9695
background-position: right 0.5rem center;
9796
background-repeat: no-repeat;
9897
background-size: 1.1rem;
@@ -105,7 +104,7 @@ html body {
105104

106105
&.firmware-disabled {
107106
padding-right: 2.5rem;
108-
background-image: url('/images/icons/firmware-disabled.svg');
107+
background-image: url("/images/icons/firmware-disabled.svg");
109108
background-position: right 0.5rem center;
110109
background-repeat: no-repeat;
111110
background-size: 1.1rem;
@@ -117,7 +116,7 @@ html body {
117116

118117
&.active:after {
119118
display: block;
120-
content: '';
119+
content: "";
121120
position: absolute;
122121
bottom: 0;
123122
height: 2px;
@@ -132,7 +131,7 @@ html body {
132131
}
133132

134133
.firmware-penalty-box {
135-
background-image: url('/images/icons/error.svg');
134+
background-image: url("/images/icons/error.svg");
136135
background-size: 1.5rem;
137136
background-repeat: no-repeat;
138137
background-position: right 0.5rem center;
@@ -254,7 +253,7 @@ html body {
254253
flex-grow: 1;
255254
}
256255

257-
.current-alarms>.callout {
256+
.current-alarms > .callout {
258257
width: 100%;
259258
}
260259

0 commit comments

Comments
 (0)