{"id":15024297,"url":"https://github.com/ehpc/bootstrap-waitingfor","last_synced_at":"2025-04-05T04:14:52.668Z","repository":{"id":17361919,"uuid":"20133630","full_name":"ehpc/bootstrap-waitingfor","owner":"ehpc","description":"\"Waiting for...\" modal dialog with progress bar for Bootstrap","archived":false,"fork":false,"pushed_at":"2023-04-15T19:58:41.000Z","size":419,"stargazers_count":138,"open_issues_count":13,"forks_count":80,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-29T03:11:50.981Z","etag":null,"topics":["bootstrap","javascript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ehpc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-05-24T16:09:07.000Z","updated_at":"2024-12-08T19:34:46.000Z","dependencies_parsed_at":"2024-06-19T00:03:39.000Z","dependency_job_id":"986c4a93-27d8-4a0b-80e6-b1711c2ee95e","html_url":"https://github.com/ehpc/bootstrap-waitingfor","commit_stats":{"total_commits":53,"total_committers":12,"mean_commits":4.416666666666667,"dds":"0.30188679245283023","last_synced_commit":"786ff67063e5a761252a511f87e2bf71219f1209"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehpc%2Fbootstrap-waitingfor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehpc%2Fbootstrap-waitingfor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehpc%2Fbootstrap-waitingfor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehpc%2Fbootstrap-waitingfor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehpc","download_url":"https://codeload.github.com/ehpc/bootstrap-waitingfor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284954,"owners_count":20913704,"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":["bootstrap","javascript"],"created_at":"2024-09-24T20:00:05.089Z","updated_at":"2025-04-05T04:14:52.634Z","avatar_url":"https://github.com/ehpc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bootstrap-waitingfor\n\n\"Waiting for...\" modal dialog with progress bar for Bootstrap.\n\nSee this plugin in action:rocket:: http://bootsnipp.com/snippets/featured/quotwaiting-forquot-modal-dialog\n\n## Features\n\n* AMD-compatible\n* Configurable\n\n## Installing\n\n### With bower\n\nYou can install this module with bower `bower install bootstrap-waitingfor` and include the files from `build` directory.\n\n### With npm\n\nYou can install this module with npm `npm install --save bootstrap-waitingfor` and include it as shown:\n\n```js\nconst waitingDialog = require('bootstrap-waitingfor');\n```\n\n## Using\n\nIn your javascript code write something like this:\n```js\nwaitingDialog.show('I\\'m waiting');\nsetTimeout(function () {\n  waitingDialog.hide();\n}, 1000);\n```\n\nIf you want to change the appearance of the modal, you can pass additional options:\n\n```js\nwaitingDialog.show('I\\'m waiting', {\n  dialogSize: 'm',\n  progressType: 'success'\n});\nsetTimeout(function () {\n  waitingDialog.hide();\n}, 1000);\n```\npossible options for `dialogSize` are \n* `sm` - small\n* `m` - normal\n* `lg` - large\n\npossible options for progressType are\n* `success`\n* `danger`\n* `warning`\n* `info`\n\n## Contributing\n\n:fire:Before:fire: making a pull request do the following steps:\n\n1. Run `gulp`\n2. Make sure `gulp` doesn't return any errors\n3. Open `test/run.html` in your favorite browser\n4. Make sure there are no errors in dev console\n5. Make sure all dialogs behave correctly\n\nSetting up the environment:\n\n1. Install `Node.js`\n2. Go to your project directory\n3. Run `npm install -g bower`\n4. Run `npm install -g gulp`\n5. Run `npm install`\n6. Run `bower install`\n\n:sunflower:You should only modify files inside `src` or `test` directories!:sunflower: Files in the `build` directory are generated **automatically** after running `gulp`.\n\n## Examples\n\nHTML page example:\n```html\n\u003chtml\u003e\n\u003chead\u003e\n  \u003cmeta charset=\"utf-8\"\u003e\n  \u003ctitle\u003eboostrap-waitingfor\u003c/title\u003e\n  \u003clink href=\"bower_components/bootstrap/dist/css/bootstrap.css\" rel=\"stylesheet\" /\u003e\n  \u003clink href=\"bower_components/bootstrap/dist/css/bootstrap-theme.css\" rel=\"stylesheet\" /\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n  \u003cscript src=\"../bower_components/jquery/dist/jquery.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"../bower_components/bootstrap/dist/js/bootstrap.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"../build/bootstrap-waitingfor.js\"\u003e\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehpc%2Fbootstrap-waitingfor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehpc%2Fbootstrap-waitingfor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehpc%2Fbootstrap-waitingfor/lists"}