Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gui/js/comp/ControlItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState, useEffect } from "react";
import PropTypes from "prop-types";

import { Button } from "./UiComponents";
import { Upload } from "react-feather";
import { FiUpload as Upload } from "react-icons/fi";

import Dash from "../dashboard.json";
import { binsize } from "./../functions/configHelpers";
Expand Down
2 changes: 1 addition & 1 deletion gui/js/comp/FileListing.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PropTypes from "prop-types";
import styled from "styled-components";

import { Fetch, Flex, RedButton, Button, buttonStyle, cPrimary, Alert, Spinner } from "./UiComponents";
import { File, Trash2, Download } from "react-feather";
import { FiFile as File, FiTrash2 as Trash2, FiDownload as Download } from "react-icons/fi";

import Config from "./../configuration.json";
let loc;
Expand Down
2 changes: 1 addition & 1 deletion gui/js/comp/FirmwarePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import styled from "styled-components";

import { FileListing } from "./FileListing";
import { Card, Flex, cSecondary, Button, DisabledButton, Confirmation, Alert, Spinner} from "./UiComponents";
import { Zap, Power } from "react-feather";
import { FiZap as Zap, FiPower as Power } from "react-icons/fi";

import Config from "./../configuration.json";
let loc;
Expand Down
2 changes: 1 addition & 1 deletion gui/js/comp/UiComponents.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import styled, { createGlobalStyle, css } from "styled-components";
import { normalize } from "styled-normalize";
import { Loader, Menu as MenuIcon } from "react-feather";
import { FiLoader as Loader, FiMenu as MenuIcon } from "react-icons/fi";
import PropTypes from "prop-types";

export const cPrimary = "#0055ff";
Expand Down
2 changes: 1 addition & 1 deletion gui/js/comp/WifiPage.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState, useEffect } from "react";

import { Form, Button, Spinner, Confirmation } from "./UiComponents";
import { Wifi, Lock, Server, CornerDownRight } from "react-feather";
import { FiWifi as Wifi, FiLock as Lock, FiServer as Server, FiCornerDownRight as CornerDownRight } from "react-icons/fi";

import Config from "./../configuration.json";
let loc;
Expand Down
4 changes: 2 additions & 2 deletions gui/js/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState, useEffect } from "react";
import ReactDOM from "react-dom";
import {BrowserRouter, Switch, Route, NavLink} from "react-router-dom";
import { Box } from "react-feather";
import { FiBox as HeaderIcon } from "react-icons/fi";

import {GlobalStyle, Menu, Header, Page, Hamburger} from "./comp/UiComponents";
import { WifiPage } from "./comp/WifiPage";
Expand Down Expand Up @@ -71,7 +71,7 @@ function Root() {
<BrowserRouter>

<Header>
<h1><Box style={{verticalAlign:"-0.1em"}} /> {projectName} {projectVersion}</h1>
<h1><HeaderIcon style={{verticalAlign:"-0.1em"}} /> {projectName} {projectVersion}</h1>

<Hamburger onClick={() => setMenu(!menu)} />
<Menu className={menu ? "" : "menuHidden"}>
Expand Down
55 changes: 36 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"history": "^4.10.1",
"preact": "^10.4.0",
"prop-types": "^15.7.2",
"react-feather": "^2.0.4",
"react-icons": "^4.2.0",
"react-router-dom": "^5.1.2",
"react-vis": "^1.11.7",
"styled-components": "^5.1.0",
Expand Down
Loading