{"id":15464945,"url":"https://github.com/blocknotes/administrate-bootstrap-theme","last_synced_at":"2025-07-01T22:33:35.781Z","repository":{"id":38399421,"uuid":"359203197","full_name":"blocknotes/administrate-bootstrap-theme","owner":"blocknotes","description":"A Bootstrap 5 theme for Administrate","archived":false,"fork":false,"pushed_at":"2024-07-07T20:41:05.000Z","size":3409,"stargazers_count":24,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T16:16:57.937Z","etag":null,"topics":["admin","bootstrap","rails","ruby","ruby-on-rails","theme"],"latest_commit_sha":null,"homepage":"","language":"SCSS","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/blocknotes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"MIT-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},"funding":{"github":["blocknotes"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2021-04-18T16:56:26.000Z","updated_at":"2025-01-15T07:25:01.000Z","dependencies_parsed_at":"2024-07-07T21:43:43.106Z","dependency_job_id":"2922875b-7f45-4569-8c1f-1bdcceee6fee","html_url":"https://github.com/blocknotes/administrate-bootstrap-theme","commit_stats":{"total_commits":87,"total_committers":4,"mean_commits":21.75,"dds":0.4252873563218391,"last_synced_commit":"40b684bcdac491201f03299e636a3936ad6bd0ae"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/blocknotes/administrate-bootstrap-theme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fadministrate-bootstrap-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fadministrate-bootstrap-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fadministrate-bootstrap-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fadministrate-bootstrap-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blocknotes","download_url":"https://codeload.github.com/blocknotes/administrate-bootstrap-theme/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blocknotes%2Fadministrate-bootstrap-theme/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263046864,"owners_count":23405277,"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","bootstrap","rails","ruby","ruby-on-rails","theme"],"created_at":"2024-10-02T00:44:00.708Z","updated_at":"2025-07-01T22:33:35.740Z","avatar_url":"https://github.com/blocknotes.png","language":"SCSS","readme":"# Administrate Bootstrap Theme\n[![gem version](https://badge.fury.io/rb/administrate-bootstrap-theme.svg)](https://badge.fury.io/rb/administrate-bootstrap-theme)\n[![gem downloads](https://badgen.net/rubygems/dt/administrate-bootstrap-theme)](https://rubygems.org/gems/administrate-bootstrap-theme) \n[![linters](https://github.com/blocknotes/administrate-bootstrap-theme/actions/workflows/linters.yml/badge.svg)](https://github.com/blocknotes/administrate-bootstrap-theme/actions/workflows/linters.yml)\n[![specs](https://github.com/blocknotes/administrate-bootstrap-theme/actions/workflows/specs.yml/badge.svg)](https://github.com/blocknotes/administrate-bootstrap-theme/actions/workflows/specs.yml)\n[![CodeQL](https://github.com/blocknotes/administrate-bootstrap-theme/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/blocknotes/administrate-bootstrap-theme/actions/workflows/codeql-analysis.yml)\n\nA Bootstrap 5 theme for [Administrate](https://github.com/thoughtbot/administrate).\n\nFeatures:\n- easy to install: just run the generator installer;\n- customizable via SASS variables;\n- allow to use *Bootstrap* components in the admin.\n\nSee some [screenshots](#screenshots).\n\nPlease :star: if you like it.\n\n## Installation\n\n- Add to *Gemfile* (of an Administrate project): `gem 'administrate-bootstrap-theme', '~\u003e 1.0'` (and execute `bundle`)\n- Run the installer: `bin/rails generate administrate_bootstrap_theme:install`\n\n## Customizations\n\nEdit the variables defined in *app/assets/stylesheets/administrate-bootstrap-theme.scss*:\n\n```scss\n$navigation-width: 250px;\n$navigation-bg: #055160;\n$navigation-bg-active: #d51;\n$navigation-fg: #eee;\n$primary: #0d6ecd;\n$secondary: #666;\n$main-content-bg: #f4f8fb;\n$main-content-fg: #222;\n\n@import 'administrate-bootstrap-theme/theme'; // required after the variables setup\n```\n\n### Extra improvements\n\nChoose a predefined color schema - *app/assets/stylesheets/administrate-bootstrap-theme.scss*:\n\n```scss\n@import 'administrate-bootstrap-theme/colors/default';\n// @import 'administrate-bootstrap-theme/colors/autumn';\n// @import 'administrate-bootstrap-theme/colors/forest';\n// @import 'administrate-bootstrap-theme/colors/industrial';\n// @import 'administrate-bootstrap-theme/colors/water';\n@import 'administrate-bootstrap-theme/theme';\n```\n\nSet a UI font:\n\n- you can of course import any font from Google fonts (or other providers);\n- to use a pre-configured one - *app/assets/stylesheets/administrate-bootstrap-theme.scss*:\n```scss\n@import 'administrate-bootstrap-theme/fonts/roboto';\n// @import 'administrate-bootstrap-theme/fonts/lato';\n// @import 'administrate-bootstrap-theme/fonts/montserrat';\n// @import 'administrate-bootstrap-theme/fonts/open_sans';\n// @import 'administrate-bootstrap-theme/fonts/source_sans_pro';\n@import 'administrate-bootstrap-theme/theme';\n```\n\nFor more improvements to the sidebar:\n\n- generate the navigation partial: `bin/rails generate administrate:views:navigation`\n- edit the partial *app/views/admin/application/_navigation.html.erb*\n- to change the _Back to app_ button to a title component: replace the classes for the first link (_back_to_app_) with `button--title`\n- update the translation button title editing *config/locales/en.yml*:\n```yml\nen:\n  administrate:\n    navigation:\n      back_to_app: 'MyAdmin'\n```\n- to add a copyright line at the bottom, update the links part with:\n```erb\n\u003cdiv class=\"mb-auto\"\u003e\n  \u003c% Administrate::Namespace.new(namespace).resources_with_index_route.each do |resource| %\u003e\n    ...\n  \u003c% end %\u003e\n\u003c/div\u003e\n\u003cdiv class=\"copy\"\u003eby Mat\u003c/div\u003e\n```\n\n## Screenshots\n\n- Index, show and edit pages: ![Administrate Bootstrap Theme sections](extra/screenshot_sections.png)\n- Index page with some customized colors: ![Administrate Bootstrap Theme index page customized](extra/screenshot_index_alt.png)\n- Color schemas (none, default, autumn, forest, water, industrial): ![Administrate Bootstrap Theme colors](extra/screenshot_colors.png)\n\n## Do you like it? Star it!\n\nIf you use this component just star it. A developer is more motivated to improve a project when there is some interest.\n\nOr consider offering me a coffee, it's a small thing but it is greatly appreciated: [about me](https://www.blocknot.es/about-me).\n\n## Contributors\n\n- [Mattia Roccoberton](https://blocknot.es/): author\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","funding_links":["https://github.com/sponsors/blocknotes"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocknotes%2Fadministrate-bootstrap-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblocknotes%2Fadministrate-bootstrap-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocknotes%2Fadministrate-bootstrap-theme/lists"}