Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support configurable menu #292

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

hackmod
Copy link
Contributor

@hackmod hackmod commented Mar 19, 2019

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
Copy link

ghost commented Mar 25, 2019

Rebase your PR!

Copy link

@ghost ghost left a comment

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
Copy link
Contributor Author

hackmod commented Oct 4, 2019

rebased

@wkpark
Copy link

wkpark commented Jan 14, 2020

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.

None yet

2 participants