Single Nav Page, Only One File Need To Config
only for noobs~
- Design for simple home network nav
- Less files, MIT Licenses, Mod FREE
- For different levels
- Noobs
- modify
config.json
, maybe add some icons. - need basic HTTP service, or just python
python -m http.server 8000
- modify
- Geeks
- replace entire framework,and js template engine.
- Noobs
Document
git clone
git clone https://github.com/dolaCmeo/EasyNav.git
Download & Unzip
https://github.com/dolaCmeo/EasyNav/archive/refs/heads/main.zip
Modify config.json
Title
: page titlebrandTitle
: Inner page titlebrandLogo
: Inner page Logoavatar
: User Avatar(DEMO NOT USE)navLinks
: Shortcut linkslinkLabel
: Links labelitems
: Links items (Max Lv3)icon
: Icon class name (DEMO USED fontawesome)linkName
: Link display namelinkUri
: Link url (when isnull
,enableitems
for subs)
navLists
: Nav ZonenavName
: Nav group nameapps
: Nav appsname
: app name(first line)ps
: app remark(second line)icon
: static app iconassets/icon
+<名>+.png
addr
: app link addr (NOW only first in USED)
Any else icon in need, add to the path by yourself
/assets/icon
If there is any HTTP service in some folder, Copy & Paste.
If no where could deploy, use Python3
,In windows just execute py3_server.bat
.
─┬─
├──── index.html Main Page
├──── config.json Config file
├──── py3_server.bat py3-http win batch
├────┐/assets Static
│ ├───/js JavaScript
│ │ /template-web.min.js js template
│ │ /EasyNav.js js main code
│ ├───/css css styles
│ │ /styles.css css main code
│ ├───/icon icon images
│ │ /*.png png images
│ └───/temp template for js code
│ /list.art Nav apps template
│ /link.art Shortcut link template
│ /brand.art Inner Title & Logo
│ /mdfile.art Markdown template
├─────/pages Markdown files
│ /remark.md remark demo md file
│ /*.md md files
└────┐/vendors library
├───/jquery-* Jquery
├───/bootstrap-* Bootstrap
├───/fontawesome-* Fontawesome
└───/markdown-it-* Markdown-it
For reference only
- Coding page, have
Left Nav
Top Nav
Right Bottom Content
inside. - Analyze different parts for template
- Nav template
assets/temp/list.art
- Link template
assets/temp/link.art
- Brand template
assets/temp/brand.art
- Markdown template
assets/temp/mdfile.art
- Modify
assets/js/EasyNav.js
:makeEasyNav()
, if you changeid
uri
. - Could use
<a href="#!" onclick="showMdDoc()">Show Markdown</a>
to getmarkdwon
file display inContentZone
-
Bootstrap (MIT)
-
jQuery (MIT)
-
Font Awesome (GPL)
-
art-template (MIT)
-
markdown-it (MIT)
-
Start Bootstrap - SB Admin (MIT)
-
Icons (Free)
-
EasyNav (MIT)
https://github.com/dolaCmeo/EasyNav
For FREE,Star PLZ 👍
- Make your Config, DONE! No need Backends.
- Open source,libraries are MIT.
- I could Add, Modify, Anything U want.
- Maybe I well add some features, But not for sure.
- If U get some help, Star PLZ ⭐
issues
is open, welcome tofork