{"id":16716276,"url":"https://github.com/rayluo/adminlte-web2py","last_synced_at":"2025-06-11T12:36:25.784Z","repository":{"id":30346176,"uuid":"33898599","full_name":"rayluo/AdminLTE-web2py","owner":"rayluo","description":"A web2py layout template based on AdminLTE. (NOTE: This repo is now replaced by its successor, the new web2py plugin_adminlte at https://github.com/rayluo/plugin_adminlte )","archived":false,"fork":false,"pushed_at":"2017-12-15T19:31:05.000Z","size":11,"stargazers_count":12,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-15T09:13:12.894Z","etag":null,"topics":["adminlte","layout-adminlte","web2py"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/rayluo.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}},"created_at":"2015-04-13T23:01:13.000Z","updated_at":"2018-03-20T14:30:46.000Z","dependencies_parsed_at":"2022-09-08T09:20:14.051Z","dependency_job_id":null,"html_url":"https://github.com/rayluo/AdminLTE-web2py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayluo%2FAdminLTE-web2py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayluo%2FAdminLTE-web2py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayluo%2FAdminLTE-web2py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayluo%2FAdminLTE-web2py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rayluo","download_url":"https://codeload.github.com/rayluo/AdminLTE-web2py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayluo%2FAdminLTE-web2py/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259265441,"owners_count":22831164,"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":["adminlte","layout-adminlte","web2py"],"created_at":"2024-10-12T21:12:41.115Z","updated_at":"2025-06-11T12:36:25.737Z","avatar_url":"https://github.com/rayluo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AdminLTE-web2py: A web2py layout using the AdminLTE template\n\n## Note: We've moved\n\nThis repo is now kept as an archive.\n\nIt has been reworked since, and the new development is carried on in its successor,\n[web2py plugin adminlte](https://github.com/rayluo/plugin_adminlte).\nIt would be easier to install/use. Please give it a try!\n\n## How to use it\n\n* Create a new web2py app. Let's call it `lte` for this example.\n* Open a terminal window and go to the web2py/applications directory. It should look something like this:\n\n````\n__init__.pyc    adminltest    welcome\n__init__.py    admin        examples    lte\n````\n\n* Change to the `static` directory for the new application (in this case named `lte`)\n\n````\n$ cd lte/static\n````\n\n### Download AdminLTE straight from Github\n\n* Download the [AdminLTE Dashboard \u0026 Control Panel Template](http://almsaeedstudio.com/preview). Assuming\nyou are still in the `web2py/applications/lte/static` directory, get it from Github like this:\n\nIf you don't have Curl yet, get it free from http://curl.haxx.se/download.html.\n\n````\n# Copy as a zip file from Github.\n# -C means resume transfer if interrupted\n# -L means follow any redirects\n# -O saves file to the current directory\n# -k relaxes security. Hey, it's Github.\n$ curl -C - -LOk https://github.com/almasaeed2010/AdminLTE/archive/master.zip\n````\n\n#### Warning\nAdminLTE carries a ton of demo code. It's a 6MB download. \n\n* Confirm the file `master.zip` has been copied down to your directory:\n\n````\n$ ls\n403.html\t500.html\timages\t\tmaster.zip\n404.html\tcss\t\tjs\n````\n\n* Now extract the .zip archive. \n\n\n````\n$ unzip master\n````\n\nThis will create a directory called AdminLTE-master:\n\n````\n$ ls\n403.html\t500.html\tcss\t\tjs\n404.html\tAdminLTE-master\timages\t\tmaster.zip\n````\n\n* You can delete `master.zip` if you wish.\n\n````\n$ rm master.zip\n````\n\n* Rename the unzipped directory `adminlte`. \nTo keep with convention and save typing, I simplified the directory name in \nthe 'layout_adminlte.html' file:\n\n````\n$ mv AdminLTE-master adminlte\n````\n\n### Look at the demo project and documentation pages\n\n* Try viewing some of the files. Here's how to do it from the command line. Again, \nstill assuming you're in the `web2py/applications/lte/static` directory.\n\n````\n# The two best demos:\n$ sudo open adminlte/index.html\n$ sudo open adminlte/index2.html\n\n# Show a minimal page--this is a good starting\n# point for your own AdminLTE templates.\n$ sudo open adminlte/starter.html\n\n# The documentation is pretty damn good\n# for an open source freebie.\n$ sudo open adminlte/documentation/index.html\n````\n\nOr if you have web2py's default Rocket server installed (replace the directory name `lte` with the name of your application):\n\nhttp://127.0.0.1:8000/adminlte/static/adminlte/index.html\n\nhttp://127.0.0.1:8000/adminlte/static/adminlte/index2.html\n\nhttp://127.0.0.1:8000/adminlte/static/adminlte/starter.html\n\nhttp://127.0.0.1:8000/adminlte/documentation/index.html\n\n## Get layout_adminlte.html from Github\n\nGo to the `../views` directory, then download the new layout file:\n\n````\n$ cd ../views\ncurl -C - -LOk  https://raw.githubusercontent.com/tomcam/AdminLTE-web2py/master/layout_adminlte.html\n````\n\n## Use the new layout in a web2py project\n\n* Fire up web2py and edit the view file `default/index.html`. Find this line (it's usually the first):\n\n````\n{{extend 'layout.html'}}\n````\n\n* Replace `layout.html` with `layout_adminlte.html` so it now looks like this:\n\n````\n{{extend 'layout_adminlte.html'}}\n````\n\nOK. Run your app and you'll see a stunningly new look.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayluo%2Fadminlte-web2py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayluo%2Fadminlte-web2py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayluo%2Fadminlte-web2py/lists"}