Skip to content

Latest commit

 

History

40 Commits

Folders and files

Repository files navigation

NahaAdmin

A calmer starting point for your next admin dashboard.

Soft colors. Consistent components. Plain HTML, CSS, and jQuery. Built with Bootstrap 5 — no build step required.

Bootstrap 5.3.8 MIT License

Website · Live demo · Documentation · Download

Recorded NahaAdmin tour through Workspace, Analytics, and Finance dashboards using sample data

Static preview · Open dashboard demo


Built to be edited

NahaAdmin gives internal tools, admin panels, and prototypes a consistent foundation without a frontend toolchain. Keep the pages you need, edit the markup, and connect your own backend.

Included What you get
Soft, shared theme Cool neutral surfaces, muted teal accents, Outfit typography, and restrained shadows
5 dashboards Default, Analytics, CRM, E-Commerce, and Finance with sample data
Grouped component examples Related variants and interactive states grouped in the demo sidebar
Application layouts Inbox, chat, kanban, and file manager examples
Essential pages Login, registration, password reset, profiles, error pages, and starter layouts
Shared navigation Active links, desktop sidebar persistence, mobile sidebar, and keyboard controls
Forms and data Native validation, advanced selects, editors, ECharts, DataTables, and Grid.js examples
Open source MIT licensed; no required npm install or build step

Bootstrap 5.3.8 powers the grid and components. Phosphor icons ship in six weights.

This is a frontend template, not a working admin application. Dashboards use sample data. Auth examples validate input locally; they do not sign users in, create accounts, or send email. Inbox, chat, file manager, and other app examples need your own backend for persistence and live data.


Quick start

# Clone the repository
git clone https://github.com/sepsu-dev/naha-admin.git
cd naha-admin

Open index.html directly in your browser, or double-click it in your file manager. Open demo/index.html for examples or docs/index.html for documentation. No local server, package installation, or build step is required. Keep the project folders together so relative asset paths work. Some examples load third-party assets from CDNs and need an internet connection.

The landing tour is a silent recording, not an interactive dashboard. It loads only after the page finishes loading and the banner is visible. Use its Play/Pause button; reduced-motion and data-saver preferences keep the static poster until Play is chosen. GitHub displays the GIF without playback controls; use the static preview to avoid motion.


Find your starting point

Need Open locally
Browse dashboards demo/index.html
Find a component Components menu in demo/index.html
Start with navigation demo/starter.html
Start with a minimal page demo/blank.html
Adjust theme and layout docs/theme-layout.html

Project structure

naha-admin/
├── assets/
│   ├── images/       # Logos, banners, user avatars, and UI graphics
│   ├── plugins/      # Third-party libraries (Bootstrap, Phosphor, NProgress, etc.)
│   ├── scripts/      # Shared layout script and custom.js page behavior
│   └── styles/       # Shared theme and custom.css page styles
├── demo/             # Static HTML pages and component examples
├── docs/             # Static documentation site
├── CONTRIBUTING.md   # Editing and validation workflow
├── CHANGELOG.md      # Unreleased changes
├── index.html        # Landing page
├── robots.txt        # Web crawler configuration
└── sitemap.xml       # Search engine sitemap

Make it yours

Start from demo/starter.html for the shared navbar/sidebar, or demo/blank.html for a minimal page. Keep relative asset paths valid if moving a page to another directory.

Edit page styles in assets/styles/custom.css and page behavior in assets/scripts/custom.js. Keep each page's <html data-page="..."> tokens: they scope styles and initializers. Load custom CSS after core/vendor CSS, and custom JS after its vendor dependencies and shared layout script. These two custom files have no .min copies.

Shared theme/layout changes belong in assets/styles/naha-admin.css and assets/scripts/naha-admin.js. After editing a shared source, copy its contents to the matching .min.css or .min.js file used by the examples.

These .min files are compatibility copies, not compressed builds. This avoids a required npm toolchain. Do not edit both copies separately. See contributing for browser checks.

Theme colors live in the shared CSS. Update --primary, its --nd-primary-rgb alias, and both interaction shades together when changing the brand color:

:root {
  --primary: #386b65;
  --nd-primary-rgb: 56, 107, 101;
  --nd-primary-light: #56877f;
  --nd-primary-dark: #2e5954;
}

Use the existing tokens for new components rather than adding page-specific colors. Typography, spacing, radius, focus rings, and shadows also live in the shared theme. The shipped theme is light-only; chart colors and vendor themes may need separate changes.

Component examples

Open /demo/index.html and use the Components sidebar groups. Related examples share one destination, with styles and states grouped into sections. Chat includes full app and compact conversation layouts, message bubbles, scrolling, and attachments. Inputs groups fields, textareas, labels, and input groups. Select, checks, panels, loading states, and navigation follow the same pattern. Tabs includes the combined project workspace. Complete forms show project requests, notification preferences, and delivery choices; submissions are checked locally, never sent or saved. AI Elements, Blocks, and community registries are outside this collection. This is Bootstrap HTML, not shadcn React API compatibility.

Component demos use assets/styles/custom.css and assets/scripts/custom.js, with components included in the <html data-page="..."> tokens. Reuse their markup and handlers together. Native controls cover validation, OTP paste, file selection, direction, and popovers; Bootstrap owns modal/offcanvas focus and dismissal. Modern browsers with the Popover API are required for the new popover/context-menu examples. Calendar and resizable panels include keyboard controls. Component behavior is not a promise of full feature parity with each upstream React primitive.

Attachments stay local (5 MB limit); chat replies and trace output are simulated. Questionnaire, profile, and project changes are in-memory and reset on reload. Message scrolling preserves reading position for incoming content and earlier history; full streaming/virtualized transcript infrastructure is not included.

Contribute

Found a layout issue or missing state? Include the page URL, browser, viewport width, and reproduction steps in your issue. Focused pull requests are welcome. See CONTRIBUTING.md for the editing workflow and browser checks. Report vulnerabilities privately using SECURITY.md, not public issues. Changes are recorded in CHANGELOG.md. GitHub Actions runs the documented Python stdlib checks and Node regression check; browser review remains manual.

Dependencies and network access

Bootstrap, jQuery, Phosphor, SimpleBar, NProgress, Animate.css, ECharts, Select2, SweetAlert2, and Tempus Dominus are bundled under assets/plugins/. Load jQuery before the shared layout script and jQuery plugins, and load vendors before page initializers.

Some examples use CDNs: DataTables, Grid.js, Quill, CKEditor, Summernote, Leaflet, Notyf, SortableJS, and flag icons. Google Fonts also requires a connection; system fonts are the fallback. For offline use, self-host the assets used by your chosen pages, pin versions, and retain vendor license notices. Map tiles and external images can require network access too. See THIRD_PARTY_NOTICES.md for versions, licenses, bundled notices, and service terms. The CKEditor 5 v41.0.0 example is GPL-2.0-or-later or commercially licensed; review compatibility before distributing an application that uses it.

Search indexing after deployment

  • Production URL: https://naha-admin.vercel.app. Each HTML page has an absolute canonical URL; the landing page uses /, while demo and documentation URLs keep .html. Keep internal links, canonical URLs, and sitemap URLs consistent if hosting changes. If your host serves directory aliases, redirect them to these canonical URLs when possible.
  • Submit https://naha-admin.vercel.app/sitemap.xml through Google Search Console and Bing Webmaster Tools after verifying site ownership. Use only the verification method and token supplied by those services; none is preconfigured in this template.
  • Inspect the homepage and representative demo/documentation URLs after deployment. Check HTTP status, crawl access, canonical selection, and image access; request indexing where appropriate. Search indexing and updates are not immediate or guaranteed.
  • The sitemap includes canonical, indexable pages only. Error examples, blank pages, and starter blueprints use noindex, follow and stay crawlable in robots.txt. Do not add invented lastmod dates or block pages whose noindex must be read.
  • Keep titles and descriptions specific to visible page content. The homepage uses WebSite microdata for NahaAdmin and its alternate name, Naha Admin. Social preview tags and a crawlable banner support sharing; Google chooses search titles, snippets, thumbnails, site names, and sitelinks. No metadata guarantees rankings or rich results.
  • When reusing this template for another product, replace production URLs, product names, descriptions, and social images before publishing. Do not point a different site at NahaAdmin's canonical URLs. Run the checks in CONTRIBUTING.md.

Production review

  • Confirm sitemap URLs return HTTP 200 without redirect chains, match their canonical URLs, and do not have noindex in HTML or X-Robots-Tag headers. A nonexistent URL must return HTTP 404; the intentionally published error demos may return 200 because they are examples marked noindex.
  • Test mobile performance with PageSpeed Insights. Separate Lighthouse lab results from real-user Core Web Vitals; a single local Chrome measurement does not establish a field-data pass. Optimize measured bottlenecks.
  • Add the website to GitHub's About section and link relevant releases or tutorials to the demo. Avoid purchased links and mass directory submissions.
  • Confirm ownership and redistribution rights for local images before republishing; review THIRD_PARTY_NOTICES.md, including CKEditor terms.
  • Review Search Console indexing, impressions, and actual search queries after crawling. Ownership verification, sitemap submission, and GitHub repository settings require access to the corresponding accounts; repository changes do not configure them.

License

Released under the MIT License. Personal, client, and commercial use is allowed. No visible UI attribution is required for NahaAdmin itself. Retain the copyright and license notice in copies or substantial portions. Third-party libraries retain their own licenses; review those for your application.