{"id":24292332,"url":"https://github.com/leslitech/lesliview","last_synced_at":"2025-09-25T17:31:05.385Z","repository":{"id":272202655,"uuid":"915813123","full_name":"LesliTech/LesliView","owner":"LesliTech","description":"Reusable View Components for The Lesli Framework","archived":false,"fork":false,"pushed_at":"2025-01-12T21:48:56.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T22:30:52.673Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/LesliTech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2025-01-12T21:33:00.000Z","updated_at":"2025-01-12T21:49:00.000Z","dependencies_parsed_at":"2025-01-12T22:31:17.460Z","dependency_job_id":"1a14ae88-245e-4ed9-82c4-284ece335ae6","html_url":"https://github.com/LesliTech/LesliView","commit_stats":null,"previous_names":["leslitech/lesliview"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LesliTech%2FLesliView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LesliTech%2FLesliView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LesliTech%2FLesliView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LesliTech%2FLesliView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LesliTech","download_url":"https://codeload.github.com/LesliTech/LesliView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234224510,"owners_count":18798844,"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":[],"created_at":"2025-01-16T15:29:33.443Z","updated_at":"2025-09-25T17:31:00.070Z","avatar_url":"https://github.com/LesliTech.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align=\"center\"\u003e\n    \u003cimg width=\"100\" alt=\"LesliView logo\" src=\"./docs/view-logo.svg\" /\u003e\n    \u003ch3 align=\"center\"\u003eView elements \u0026 components for The Lesli Framework.\u003c/h3\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\u003chr/\u003e\n\n\u003cp align=\"center\" class=\"is-flex is-justify-content-center\"\u003e\n    \u003ca target=\"blank\" href=\"https://rubygems.org/gems/lesli\"\u003e\n        \u003cimg height=\"22\" alt=\"Gem Version\" src=\"https://badge.fury.io/rb/lesli.svg\"/\u003e\n    \u003c/a\u003e\n    \u003ca class=\"mx-2\" href=\"https://codecov.io/github/LesliTech/Lesli\"\u003e \n        \u003cimg height=\"22\" src=\"https://codecov.io/github/LesliTech/Lesli/graph/badge.svg?token=2O12NENK5Y\"/\u003e \n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/github/LesliTech/LesliBabel\"\u003e \n        \u003cimg height=\"22\" src=\"https://sonarcloud.io/api/project_badges/measure?project=LesliTech_LesliBabel\u0026metric=sqale_rating\"/\u003e \n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003chr/\u003e\n\u003cbr /\u003e\n\n### Quick start\n\n```shell\n# Add LesliAdmin engine gem\nbundle add lesli_view\n```\n\n```erb\n\u003c%# index.html.erb %\u003e\n\u003c%= render LesliView::Layout::Container.new(\"shield-sessions\") do %\u003e\n    \u003c%= render LesliView::Element::Header.new(title: \"Sessions\", back: true) do %\u003e\n        \u003c%= render(LesliView::Element::Button.new(icon: \"add\", solid:true)) do %\u003e\n            Add new\n        \u003c% end %\u003e\n        \u003c%= render(LesliView::Element::Button.new(icon: \"refresh\")) do %\u003e\n            Reload\n        \u003c% end %\u003e\n    \u003c% end %\u003e\n    \u003c%= render LesliView::Element::Toolbar.new() %\u003e\n    \u003c%= render(LesliView::Element::Table.new(\n        columns: columns,\n        records: @sessions[:records]\n    )) %\u003e\n\u003c% end %\u003e \n```\n\n```erb\n\u003c%# single component %\u003e\n\u003c%= render(LesliView::Element::Button.new(icon: \"refresh\")) do %\u003e\n    Reload\n\u003c% end %\u003e\n```\n\n### Documentation\n* [website](https://www.lesli.dev/)\n* [database](./docs/database.md)\n* [documentation](https://www.lesli.dev/gems/view/)\n\n\n### Get in touch with Lesli\n\n* [Email: hello@lesli.tech](hello@lesli.tech)\n* [Website: https://www.lesli.tech](https://www.lesli.tech)\n* [Twitter: @LesliTech](https://twitter.com/LesliTech)\n\n\n### License\n-------\nCopyright (c) 2025, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\n\u003chr /\u003e\n\u003cbr /\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg width=\"200\" alt=\"Lesli logo\" src=\"https://cdn.lesli.tech/lesli/brand/app-logo.svg\" /\u003e\n    \u003ch4 align=\"center\"\u003eRuby on Rails SaaS Development Framework.\u003c/h4\u003e\n\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleslitech%2Flesliview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleslitech%2Flesliview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleslitech%2Flesliview/lists"}