{"id":15009396,"url":"https://github.com/hygull/sbadmin","last_synced_at":"2025-04-09T17:24:44.852Z","repository":{"id":41925468,"uuid":"217700624","full_name":"hygull/sbadmin","owner":"hygull","description":"Django bootstrapped template integration for Admin ","archived":false,"fork":false,"pushed_at":"2023-04-21T20:39:07.000Z","size":6045,"stargazers_count":10,"open_issues_count":3,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T19:38:26.452Z","etag":null,"topics":["admin-panel","admin-panel-theme","admin-template","bootstrap-4","django2-2","python-3-6"],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hygull.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-26T11:44:30.000Z","updated_at":"2024-08-19T05:58:42.000Z","dependencies_parsed_at":"2024-10-12T09:21:54.479Z","dependency_job_id":"92aa8c17-67ac-44e4-a0bf-1ebfcdb7fb44","html_url":"https://github.com/hygull/sbadmin","commit_stats":{"total_commits":67,"total_committers":1,"mean_commits":67.0,"dds":0.0,"last_synced_commit":"d58e4e187fdef06db00ade4f17764ae1033f1db4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hygull%2Fsbadmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hygull%2Fsbadmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hygull%2Fsbadmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hygull%2Fsbadmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hygull","download_url":"https://codeload.github.com/hygull/sbadmin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248075668,"owners_count":21043631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin-panel","admin-panel-theme","admin-template","bootstrap-4","django2-2","python-3-6"],"created_at":"2024-09-24T19:24:52.947Z","updated_at":"2025-04-09T17:24:44.831Z","avatar_url":"https://github.com/hygull.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sbadmin (SB Admin 2, Django project with all pages integrated)\n\nAny of the following best fits to describe this project.\n\n+ A Django project with full integration of free Admin template named [Sb Admin 2](https://startbootstrap.com/themes/sb-admin-2/).\n\n+ A Django powered fully functional responsive bootstrapped template integration for Admin.\n\n+ A full integration of free Admin template available at [https://startbootstrap.com/themes/sb-admin-2/](https://startbootstrap.com/themes/sb-admin-2/) and named as [Sb Amdin 2](https://startbootstrap.com/themes/sb-admin-2/).\n\n## Table of contents\n\n+ [Tech stack](#tech-stack)\n+ [Features](#features)\n+ [Templates \u0026 static files directories](#template-and-static-files-directories)\n+ [How to run?](#how-to-run)\n\n\u003ch2 id=\"tech-stack\"\u003eTech stack\u003c/h2\u003e\n\n| Language/Framework | Version | End | \n| --- | --- | --- |\n| Python | 3.6.7 | Backend |\n| Django | 2.2.6 | Backend, Python's high level web framework |\n| Bootstrap | 4 | Frontend, CSS framework |\n\n\u003ch2 id=\"features\"\u003eFeatures\u003c/h2\u003e\n\n+ Django templating langauge (DTL) is used for template code re-structuring.\n+ Redundant code has been removed from [Sb Admin 2](https://startbootstrap.com/themes/sb-admin-2/) template pages.\n+ UI code is completely separate from backend code i.e. in [src/ui](src/ui).\n+ Urls defined in all pages are fully dynamic so changing url in **urls.py** will not force you to make change in templates. Just one change is enough. \n+ Almost all urls can be found at [src/users/urls.py](src/users/urls.py) which starts with `/users/`.\n+ Only the urls related to **Django admin site** (starts with `/admin/`) and **Index page** (`/`) is defined at [src/sbadmin/urls.py](src/sbadmin/urls.py).\n+ Views are defined at [src/users/views.py](src/users/views.py) , [src/sbadmin/views.py](src/sbadmin/views.py).\n+ Theme related code is separate from user implemented code. Also user can add his own template \u0026 static files separately.\n+ Navbar has been for login/register/forgot_passord pages (These 3 extends the same base_x.html).\n\n\u003ch2 id=\"template-and-static-files-directories\"\u003eTemplates \u0026 static files directories\u003c/h2\u003e\n\n+ Templates (HTML files) are under [src/ui/templates](src/ui/templates).\n\n+ All static files (JS, css, scss, images etc.) are under [src/ui/static/files](src/ui/static/files), which is further sub divided in 2 directories.\n\t+ **theme** which is [src/ui/static/files/theme](src/ui/static/files/theme) holds all static files related to [Sb Admin 2](https://startbootstrap.com/themes/sb-admin-2/) theme.\n\t+ **app/resource** which is [src/ui/static/files/app/resource](src/ui/static/files/app/resource) holds all static files created by developer. Under this, you can manage your files under **css**, **js**, **img**, **logos** directories. \n\n\t\u003e **Note:** Here the main intention of creating **resource** inside **app** directory is to get rid of conflicts when Django searchs for static files after looking into **STATICFILES_DIRS** setting variable's values (i.e. paths which points to directories where Django looks for static  files) in order \u0026 there are 2 files with same name in 2 different **js**/**css**/**img** etc. directories.\n\n\n\u003ch2 id=\"how-to-run\"\u003eHow to run?\u003c/h2\u003e\n\nMake sure you have \n\n+ Python3+ installed in your system\n+ **virtualenv** Python package is installed (It will allow you to run **virtualenv** command to create virtual environment)\n\nNow, just follow the below steps to run this project. \n\n+ **`git clone https://github.com/hygull/sbadmin.git`**\n+ **`virtualenv venv`** OR `python3 -m virtualenv venv`  OR `python3.6 -m virtualenv venv` etc.\n+ **`source venv/bin/activate`** on Linux/MAC OS X, **`.\\venv\\Scripts\\activate`** on Windows\n+ **`cd sbadmin`**\n+ **`pip install -r requirements.txt`**\n+ **`cd src`**\n+ **`python manage.py migrate`**\n+ **`python manage.py runserver`**\n\nNow, visit [http://127.0.0.1:8000](http://127.0.0.1:8000) and play. Later, you can write your own views and implement the functionality.\n\n\u003ch2 id=\"screenshots\"\u003eScreenshots\u003c/h2\u003e\n\nHere are few scrennshots related to the integrated theme.\n\n\u003e ### Register\n\n![Register](docs/screenshots/register.png)\n\n\u003e ### Login\n\n![Login](docs/screenshots/login.png)\n\n\u003e ### Forgot Password\n\n![Forgot Password](docs/screenshots/forgot_password.png)\n\n\u003e ### Dashboard\n\n![Dashboard](docs/screenshots/dashboard.png)\n\n\u003e ### Tables\n\n![Tables](docs/screenshots/tables.png)\n\n\u003e ### Colors \u0026 Notifications\n\n![Colors \u0026 Notifications](docs/screenshots/colors_notifications.png)\n\n\u003e ### Charts\n\n![Charts](docs/screenshots/charts.png)\n\n\nThanks for going through the documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhygull%2Fsbadmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhygull%2Fsbadmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhygull%2Fsbadmin/lists"}