{"id":19124135,"url":"https://github.com/efforg/petition-widget","last_synced_at":"2026-06-12T23:33:11.828Z","repository":{"id":19399842,"uuid":"22641424","full_name":"EFForg/petition-widget","owner":"EFForg","description":"Boilerplate code for embedding petitions","archived":false,"fork":false,"pushed_at":"2014-08-06T05:16:41.000Z","size":164,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-01-03T09:17:45.752Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EFForg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-05T11:42:52.000Z","updated_at":"2019-03-15T22:39:12.000Z","dependencies_parsed_at":"2022-09-02T14:31:50.462Z","dependency_job_id":null,"html_url":"https://github.com/EFForg/petition-widget","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/EFForg%2Fpetition-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFForg%2Fpetition-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFForg%2Fpetition-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFForg%2Fpetition-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EFForg","download_url":"https://codeload.github.com/EFForg/petition-widget/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240183761,"owners_count":19761439,"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":"2024-11-09T05:28:13.601Z","updated_at":"2026-06-05T20:30:15.465Z","avatar_url":"https://github.com/EFForg.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Call Widget\n\nThe call widget is a Javascript tool which allows developers to easily embed access to our [call congress tool](https://github.com/tfrce/call-congress). \n\nCheck out the \u003ca href=\"http://tfrce.github.io/call-widget/example/default.html\"\u003edemo!\u003c/a\u003e\n\n## Getting Started\n\n```html\n\u003clink href=\"//call-widget.taskforce.is/css/basic.min.css\" rel=\"stylesheet\"\u003e\n\u003cdiv id=\"tf-call-widget-container\"\u003e\n  \u003cdiv id=\"tf-call-widget-form\"\u003e\n    \u003ch5\u003eCall Your Legislators\u003c/h5\u003e\n    \u003cform method=\"get\" action=\"https://call-congress.taskforce.is/create\" id=\"tf-call-tool\" role=\"form\"\u003e\n        \u003clabel for=\"tf-zip-code\" id=\"tf-zip-code-label\"\u003eZip Code\u003c/label\u003e\n        \u003cinput type=\"text\" id=\"tf-zip-code\"\u003e\n        \u003clabel for=\"tf-phone-number\" id=\"tf-phone-number-label\"\u003ePhone Number\u003c/label\u003e\n        \u003cinput type=\"text\" id=\"tf-phone-number\"\u003e\n        \u003cinput id=\"tf-submit\" type=\"Submit\" data-waiting-text=\"Calling Now\" value=\"Call Now\"\u003e\n    \u003c/form\u003e\n  \u003c/div\u003e\n  \u003cdiv id=\"tf-call-widget-success\" style=\"display: none;\"\u003e\n    \u003ch5\u003eWhat to say\u003c/h5\u003e\n       \u003cp\u003eHi, I'm one of Representative/Senator _______'s constituents, and I'm calling  to oppose Fast Track for the Trans-Pacific Partnership agreement. Congress needs time to debate and amend trade agreements that affect all of us. Fast Tracking the TPP is undemocratic, and I expect my lawmakers to oppose it. I'll be watching this issue closely in 2014.\u003c/p\u003e\n      \u003cp\u003e\u003cstrong\u003eYou can press * at any time to hang up and call the next representative.\u003c/strong\u003e\u003c/p\u003e\n      \u003cp id=\"tf-reset\"\u003eCall didn't come through? Try again.\u003c/p\u003e\n    \u003c/div\u003e\n    \u003cspan id=\"tf-error-text\"\u003e\u003c/span\u003e\n  \u003c/div\u003e\n\u003cscript\u003e\n  var tforce_config = {\n    campaign: 'stop-fast-track'\n  };\n\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"//call-widget.taskforce.is/call-widget.min.js\"\u003e\u003c/script\u003e\n```\n\nSimply copy and paste that where you would like your form to appear. Make sure the **ids** are set but feel free to change the structure of the HTML/CSS to match your website's design.\n\nYou can view a basic example of the form on our [default.html](http://tfrce.github.io/call-widget/example/default.html).\n\nOn success the `div#tf-call-widget-success` will be shown and the form hidden. \n\nFeel free to remove the external style sheet, if you would like to add your own styles. Error messages are done in the css using `:after` pseudo class.\n\n\n## Direct API Access\n\nYou don't need to use our Javascript and can view the [full documentation](http://github.com/tfrce/call-congress) of the call-congress API or even run up your own call-congress server. Use Github issues to get in touch!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefforg%2Fpetition-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fefforg%2Fpetition-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefforg%2Fpetition-widget/lists"}