{"id":28460952,"url":"https://github.com/docs-plus/ep_mobile_view","last_synced_at":"2026-01-30T05:35:20.699Z","repository":{"id":39857994,"uuid":"467072437","full_name":"docs-plus/ep_mobile_view","owner":"docs-plus","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-01T16:19:34.000Z","size":307,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T00:36:43.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docs-plus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-07T11:51:34.000Z","updated_at":"2022-08-17T13:47:58.000Z","dependencies_parsed_at":"2022-09-09T07:01:33.250Z","dependency_job_id":null,"html_url":"https://github.com/docs-plus/ep_mobile_view","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/docs-plus/ep_mobile_view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docs-plus%2Fep_mobile_view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docs-plus%2Fep_mobile_view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docs-plus%2Fep_mobile_view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docs-plus%2Fep_mobile_view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docs-plus","download_url":"https://codeload.github.com/docs-plus/ep_mobile_view/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docs-plus%2Fep_mobile_view/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28906158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T04:02:34.702Z","status":"ssl_error","status_checked_at":"2026-01-30T04:02:33.562Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-06-07T02:40:01.336Z","updated_at":"2026-01-30T05:35:20.691Z","avatar_url":"https://github.com/docs-plus.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Mobile view for Docs.plus\nThis plugin brings a completely custom \"adoptive mobile view\" to the [docs.plus](https://github.com/nwspk/docs.plus).\n\nThe plugin detects the client-side request and then provides a custom `pad.html` with a custom function if the request is from a mobile device.\n\n\n\n# Prebuild Modal\nIn order to have your own custom modal plugin wrapper, we suggest you create and have this pre-made modal.\n\n| Options  | Value | Description |\n|---|---|---|\n| Position  |  \"left\" or \"bottom\" | Medal position that will be pop up |\n| \"height\" or \"width\"  |  \"h50\", \"h25\", \"h75\" or \"h90\", \"w75\", \"w90\" | Content wrapper size by position |\n| CustomButtoms | Html content | Custom HTML content to be added, like toolbar buttons |\n| HtmlContent | Html content | Custom HTML content to be added, content of plugin |\n\n```html\n  \u003cdiv id=\"{modalId}\" class=\"ndModal {position} {height|width}\"\u003e\n    \u003cdiv class=\"wrapper\"\u003e\n      \u003cdiv class=\"header\"\u003e\n        \u003cdiv class=\"title\"\u003etable of Contents\u003c/div\u003e\n        \u003cdiv class=\"menue\"\u003e\n          {CustomButtoms}\n        \u003c/div\u003e\n      \u003c/div\u003e\n      \u003cdiv class=\"content\"\u003e\n        {HtmlContent}\n      \u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n```\n\n\u003e Note: The `{ModalId}` must be unique and CSS styles must be included in the plugin.\n\n\u003e Note: We dynamically add the modal close button to `.header\u003e .menu`,  Take a look at this [function](https://github.com/HMarzban/ep_mobile_view/blob/36f8ffa66a4de71f2d347499e37d09df979bb212/static/js/index.js#L6-L34)\n\n### Preserved modaIDs\n\n* tableOfContentsModal\n* filterHeadersModal\n* chatModal\n* _*your modal Id_\n\nFeel free and add your modal then start your journey\n\n### Example:\n```html\n  \u003c!--ep_table_of_contents--\u003e\n  \u003cdiv id=\"tableOfContentsModal\" class=\"ndModal left w90\"\u003e\n    \u003cdiv class=\"wrapper\"\u003e\n      \u003cdiv class=\"header\"\u003e\n        \u003cdiv class=\"title\"\u003eTable of Contents\u003c/div\u003e\n        \u003cdiv class=\"menue\"\u003e\u003c/div\u003e\n      \u003c/div\u003e\n      \u003cdiv class=\"content\"\u003e\u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\n  \u003c!--ep_headerview--\u003e\n  \u003cdiv id=\"filterHeadersModal\" class=\"ndModal bottom h75\"\u003e\n    \u003cdiv class=\"wrapper\"\u003e\n      \u003cdiv class=\"header\"\u003e\n        \u003cdiv class=\"title\"\u003eFilters\u003c/div\u003e\n        \u003cdiv class=\"menue\"\u003e\u003c/div\u003e\n      \u003c/div\u003e\n      \u003cdiv class=\"content\"\u003e\u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocs-plus%2Fep_mobile_view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocs-plus%2Fep_mobile_view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocs-plus%2Fep_mobile_view/lists"}