Skip to content

Commit

Permalink
feat!: Remove old frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Apr 15, 2022
1 parent de87190 commit 57d17de
Show file tree
Hide file tree
Showing 88 changed files with 0 additions and 14,958 deletions.
2 changes: 0 additions & 2 deletions backend/lib/webserver/WebServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ class WebServer {

this.app.use(express.static(path.join(__dirname, "../../..", "frontend/build")));

this.app.use("/old_frontend", express.static(path.join(__dirname, "../../..", "old_frontend/lib")));

this.app.get("/api/v2", (req, res) => {
let endpoints = listEndpoints(this.app);
let endpointsMap;
Expand Down
1 change: 0 additions & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"assets": [
"../.git/HEAD",
"../.git/refs/heads/master",
"../old_frontend/lib",
"../frontend/build",
"../package.json",
"../node_modules/swagger-ui-dist/swagger-ui.css",
Expand Down
12 changes: 0 additions & 12 deletions frontend/src/components/ValetudoAppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {
Power as PowerIcon,
SystemUpdateAlt as UpdaterIcon,
SettingsRemote as SettingsRemoteIcon,
Elderly as OldFrontendIcon,
GitHub as GithubIcon,
Favorite as DonateIcon,
MenuBook as DocsIcon,
Expand Down Expand Up @@ -400,17 +399,6 @@ const ValetudoAppBar: React.FunctionComponent<{ paletteMode: PaletteMode, setPal
</ListItemIcon>
<ListItemText primary="Swagger UI"/>
</ListItem>
<ListItem
button
component="a"
href="./old_frontend/"
target="_blank"
>
<ListItemIcon>
<OldFrontendIcon/>
</ListItemIcon>
<ListItemText primary="Old Frontend"/>
</ListItem>
<Divider/>
<ListItem
button
Expand Down
7 changes: 0 additions & 7 deletions old_frontend/.eslintignore

This file was deleted.

6 changes: 0 additions & 6 deletions old_frontend/.eslintrc

This file was deleted.

13 changes: 0 additions & 13 deletions old_frontend/jsconfig.json

This file was deleted.

3 changes: 0 additions & 3 deletions old_frontend/lib/Readme.md

This file was deleted.

25 changes: 0 additions & 25 deletions old_frontend/lib/about.html

This file was deleted.

Binary file removed old_frontend/lib/apple-touch-icon.png
Binary file not shown.
31 changes: 0 additions & 31 deletions old_frontend/lib/css/dark-onsen-css-components.min.css

This file was deleted.

40 changes: 0 additions & 40 deletions old_frontend/lib/css/dark-valetudo-map.css

This file was deleted.

4 changes: 0 additions & 4 deletions old_frontend/lib/css/font_awesome/css/font-awesome.min.css

This file was deleted.

Binary file not shown.
Binary file not shown.
2,671 changes: 0 additions & 2,671 deletions old_frontend/lib/css/font_awesome/fonts/fontawesome-webfont.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 0 additions & 11 deletions old_frontend/lib/css/ionicons/css/ionicons.min.css

This file was deleted.

Binary file removed old_frontend/lib/css/ionicons/fonts/ionicons.eot
Binary file not shown.
2,230 changes: 0 additions & 2,230 deletions old_frontend/lib/css/ionicons/fonts/ionicons.svg

This file was deleted.

Binary file removed old_frontend/lib/css/ionicons/fonts/ionicons.ttf
Binary file not shown.
Binary file removed old_frontend/lib/css/ionicons/fonts/ionicons.woff
Binary file not shown.
31 changes: 0 additions & 31 deletions old_frontend/lib/css/old-onsen-css-components.min.css

This file was deleted.

31 changes: 0 additions & 31 deletions old_frontend/lib/css/onsen-css-components.min.css

This file was deleted.

1 change: 0 additions & 1 deletion old_frontend/lib/css/onsenui-core.min.css

This file was deleted.

Loading

0 comments on commit 57d17de

Please sign in to comment.