Skip to content

support configurable menu#292

Open
hackmod wants to merge 1 commit into
ethereumclassic:devfrom
EthersocialNetwork:configurable-menu
Open

support configurable menu#292
hackmod wants to merge 1 commit into
ethereumclassic:devfrom
EthersocialNetwork:configurable-menu

Conversation

@hackmod

@hackmod hackmod commented Mar 19, 2019

Copy link
Copy Markdown
Contributor

configurable menu items.

  • extract all menus from public/tpl/header.html to the config.example.json
  • tuning hr css style in a .dropdown-menu

example

//...
    "menu": {
//...
            "Misc": {
                "link":"",
                "items": [
                    {"title":"Gonsmine Explorer","link":"https://explorer.gonsmine.com", "iconClass":"icon-pin"},
                    {"title":"Sejun Explorer","link":"https://explorer.ethersocial.info", "iconClass":"icon-pin"},
                    {}, // hr separator
                    {"title":"Testnet","link":"https://test.ethersocial.org", "iconClass":"icon-pin"},
                    {},
                    {"title":"CoinMarketCap","link":"https://coinmarketcap.com/currencies/ethersocial", "iconClass":"icon-check"},
                    {"title":"WalletInvestor","link":"https://walletinvestor.com/currency/ethersocial", "iconClass":"icon-refresh"},
                    {"title":"CoinGecKo","link":"https://www.coingecko.com/en/coins/ethersocial", "iconClass":"icon-refresh"},
                    {},
                    {"title":"Verify Contract (N/A)","link":"", "iconClass":"icon-check"},
                    {"title":"Broadcast TXN (N/A)","link":"", "iconClass":"icon-refresh"}
                ]
            },
//...

image

@ghost

ghost commented Mar 25, 2019

Copy link
Copy Markdown

Rebase your PR!

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Config maximalism 😂

@hackmod
hackmod force-pushed the configurable-menu branch 2 times, most recently from ad03a70 to 7f39743 Compare October 4, 2019 18:42
@hackmod

hackmod commented Oct 4, 2019

Copy link
Copy Markdown
Contributor Author

rebased

@wkpark

wkpark commented Jan 14, 2020

Copy link
Copy Markdown

rebased

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants