From 8a420a4f8583bf180b6eac4397d5c1e95bafc753 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sat, 20 Jun 2020 17:58:32 -0700 Subject: [PATCH 1/2] fix(menu): Reconfigured menu items --- src/components/admin-lte/configure/index.js | 5 +++++ src/components/admin-lte/index.js | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/admin-lte/configure/index.js b/src/components/admin-lte/configure/index.js index 38cbbbd..2f1ffa8 100644 --- a/src/components/admin-lte/configure/index.js +++ b/src/components/admin-lte/configure/index.js @@ -36,6 +36,11 @@ class Audit extends React.Component { Backup your wallet first. Updating the configuration will restart the app.

+

+ This is just a placeholder. This View will allow the user + to pick alternate back-end servers. The default will + be FullStack.cash +

diff --git a/src/components/admin-lte/index.js b/src/components/admin-lte/index.js index b895045..100eb13 100644 --- a/src/components/admin-lte/index.js +++ b/src/components/admin-lte/index.js @@ -2,7 +2,7 @@ import React from "react" import PropTypes from "prop-types" import Audit from "./audit" import Configure from "./configure" -import Icons from "./icons" +import Tokens from "./icons" import Wallet from "./wallet" import AdminLTE, { Sidebar } from "adminlte-2-react" @@ -35,7 +35,8 @@ class AdminLTEPage extends React.Component { sidebar = [ , - , + , + , , , @@ -45,7 +46,7 @@ class AdminLTEPage extends React.Component { , - , + ] render() { @@ -74,7 +75,7 @@ class AdminLTEPage extends React.Component { updateBalance={_this.props.updateBalance} /> )} - {_this.state.section === "Icons" && } + {_this.state.section === "Tokens" && } {_this.state.section === "Configure" && } {_this.state.section === "Audit" && } From 28626faa5ddf48ceb4b0c57f438960241fd41e11 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sat, 20 Jun 2020 18:00:20 -0700 Subject: [PATCH 2/2] Removing unneeded menu items --- src/components/admin-lte/index.js | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/components/admin-lte/index.js b/src/components/admin-lte/index.js index 100eb13..c1a9fc7 100644 --- a/src/components/admin-lte/index.js +++ b/src/components/admin-lte/index.js @@ -38,14 +38,7 @@ class AdminLTEPage extends React.Component { , , , - , - - - - - - - , + ] @@ -239,3 +232,16 @@ AdminLTEPage.propTypes = { } export default AdminLTEPage + +/* +CT 6/20/2020 storing code here for future reference + +, + + + + + + +, +*/