{"id":21258504,"url":"https://github.com/ubc/mednet-block-patterns","last_synced_at":"2026-04-01T18:25:47.812Z","repository":{"id":40252439,"uuid":"489069878","full_name":"ubc/mednet-block-patterns","owner":"ubc","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-22T01:28:17.000Z","size":1605,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-28T00:37:17.290Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Hack","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ubc.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":"2022-05-05T17:38:44.000Z","updated_at":"2024-08-20T21:44:47.000Z","dependencies_parsed_at":"2023-01-30T05:16:06.274Z","dependency_job_id":null,"html_url":"https://github.com/ubc/mednet-block-patterns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ubc/mednet-block-patterns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubc%2Fmednet-block-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubc%2Fmednet-block-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubc%2Fmednet-block-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubc%2Fmednet-block-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ubc","download_url":"https://codeload.github.com/ubc/mednet-block-patterns/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubc%2Fmednet-block-patterns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: 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":"2024-11-21T04:09:10.593Z","updated_at":"2026-04-01T18:25:47.793Z","avatar_url":"https://github.com/ubc.png","language":"Hack","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mednet-block-patterns\n\n# Purpose\nThis plugin will provide block patterns for the UBC Faculty of Medicine to use on the UBC CMS platform. The FoM is moving a portion of it's intranet, MedNet, from SharePoint to CMS. These layouts will be used exclusively on the MedNet website.\n\n# Requirements\nDesign implementation will extend the CLF when possible.\n\nPatterns will use core blocks and existing ones from UBC\n\nAccess can be provided for these blocks:\n- https://github.com/ubc/ubc-tabs-block\n- https://github.com/ubc/ubc-wiki-embed-block\n- https://repo.code.ubc.ca/ctlt-plugins/advanced-table-block\n- https://wordpress.org/plugins/accordion-blocks/\n\n## Example of a block pattern implementation at UBC\n\nhttps://repo.code.ubc.ca/ctlt-plugins/ubc-block-patterns\n\n\n# Design Resources\n__As of May 17 2022__\nUBC MedNet Styles, Specs, and Components:\nhttps://xd.adobe.com/view/5c0081c8-3bec-44ce-9840-957600ca0e82-0953/grid\n\nPage designs:\nhttps://xd.adobe.com/view/421d1120-ee14-4971-8996-b2f4e1ecbd1b-174e/grid\n\n# Test site\nhttps://med-fom-powershifter-22.sites.olt.ubc.ca/ \nThis site can be used to test layouts inside of the UBC CMS. The content of a pattern can be copy and pasted from code view.\n\n# Resources:\nRead about CMS\nhttps://cms.ubc.ca/\nCMS Features\nhttps://cms.ubc.ca/features/\nManual and support available at\nhttps://support.cms.ubc.ca/\n\n# CMS Theme\n\nBuilt with Bootstrap 2\nDesigned with the UBC Common Look and Feel (CLF)\nhttps://clf.ubc.ca/\nIncludes a google powered search input.\nGet the CLF. The theme used on CMS is not the same as below. That is only available on the staging environment.\n\n\n# Concerns\n\n## Plugins\n\nCMS does not add plugins. The only plugin that can be added is one that the Faculty of Medicine agrees to support long term.\nThe Faculty of Medicine does not have a dedicated support resource for CMS development. Any customization needs to be lightweight.\nCustom plugin will need to adhere to normal WordPress coding standards, https://developer.wordpress.org/coding-standards/wordpress-coding-standards/.\nIf a plugin causes a security breach, there's no appointed team or the access to fix such issue. \nWe have got tickets from clients saying they get spam emails from their website forms but we can't add more layers of security to the form.\n\n## Files\n\nCMS has a maximum filesize limit of 19mb.\nThe media library does not have any organizational features. No folders or file access restrictions.\nAll files in the media library are indexed by search engines.\nFiles that do not work on CMS will need to be identified and solved for. \n\n## Customization limitations\n\nThe server cannot be customized in any way outside of WordPress.\nThe theme cannot be customized in any way.\nThe robots file cannot be edited.\nContent security policies cannot be implemented.\nContent needs to be behind SSL\nCORS policies cannot be created or edited.\n\n## Design criteria\n\nDesign and layouts must as a minimum use responsive design following the CLF standards, https://clf.ubc.ca/design-specifications/. The layouts will need to perform on all popular devices and in the last two major versions of the following browsers:\niOS Safari\nwindows Chrome\nAndroid Chrome\nMac Chrome\nMac Safari\nWindows Edge\niOS Chrome\nWindows Firefox\nContent needs to utilize ARIA and semantic markup.\nWCAG AA compliant.\n\n## External resource usage\n\nDo not use external resources. Libraries cannot be used that are hosted from an external CDN. The libraries will need to be added to the site or page they are being used.\n\n## Coding\n\nAny javascript implemented on a page must be documented and have a comment that links to the comment.\nSASS can be used but the current theme uses LESS. The preference is to avoid the useage of preprocessors for writing CSS.\nAny styles needed for the layout of blocks should be enqued for the user\nWork must use GIT version control. If a plugin is created it will need to live inside of the CTLT organization at UBC.\n\n## Multi User installation\n\nCMS is a WordPress MU. The impact of this needs to be considered with any implementations.\nSite performance\n\nAny asset used must be optimized for the web. This includes referencing the item in an appropriate way. As an example with images it would mean using the srcset attribute and with script tags it would mean using the async attribute.\nContent must be optimized for web delivery using standard and available tools. Additional cache or content policies cannot be added to the server.\n\n## CMS Environments\n\n### Production\n\nMultiple servers behind a load balancer managed by CTLT.\nNo database access.\n\n### Development\n\nNo database access.\nOnly accessible on the UBC VPN\nAccess needs to be provisioned.\n\n### Test environments\n\nWebsites for testing are created by request on the production environment.\nDevelopment sites can be made on cms by the FoM Dean's Office or Digital Solutions.\nPlugin repositories cannot be shared with external organizations. Local environments will not have the same configuration and plugins.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubc%2Fmednet-block-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fubc%2Fmednet-block-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubc%2Fmednet-block-patterns/lists"}