diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..677a6fc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.build* diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2b1f171 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: node_js +node_js: + - "0.10.29" +before_install: + - "curl -L http://git.io/ejPSng | /bin/sh" +env: + - TEST_COMMAND=meteor \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b3a6169 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 splendido + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..6de94de --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +[![Build Status](https://travis-ci.org/splendido/accounts-templates-bootstrap.svg?branch=master)](https://travis-ci.org/splendido/accounts-templates-bootstrap) +accounts-templates-bootstrap +============================ + +Meteor sign up and sign in templates (and much more!) styled for twitter Bootstrap + +This package depends on [accounts-templates-core](https://atmospherejs.com/package/accounts-templates-core) + +Learn more [here](http://accounts-templates.meteor.com) or have a look at a [live demo application](http://accounts-templates-bootstrap.meteor.com). + + +## Warning! + +Adding this package with `mrt add accounts-templates-bootstrap` does not add any other packages providing Bootstrap. This is to let you choose the flavour you prefer, being it compiled, less, sass, or from CDN! + +At the moment it is up to date with Bootstrap 3.2.0. + + +## Contributing + +Anyone is welcome to contribute. Fork, make your changes, and then submit a pull request. + +Thanks to all those who have contributed code changes to [this package](https://github.com/splendido/accounts-templates-bootstrap/graphs/contributors) as well as to the [core package](https://github.com/splendido/accounts-templates-core/graphs/contributors) and all who have helped by submitting bug reports and feature ideas. + +[![Support via Gittip](https://rawgithub.com/twolfson/gittip-badge/0.2.0/dist/gittip.png)](https://www.gittip.com/splendido/) \ No newline at end of file diff --git a/lib/at_error.html b/lib/at_error.html new file mode 100644 index 0000000..b46e6d9 --- /dev/null +++ b/lib/at_error.html @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/lib/at_error.js b/lib/at_error.js new file mode 100644 index 0000000..919f0f9 --- /dev/null +++ b/lib/at_error.js @@ -0,0 +1,2 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atError.helpers(AccountsTemplates.atErrorHelpers); diff --git a/lib/at_form.html b/lib/at_form.html new file mode 100644 index 0000000..524f131 --- /dev/null +++ b/lib/at_form.html @@ -0,0 +1,33 @@ + \ No newline at end of file diff --git a/lib/at_form.js b/lib/at_form.js new file mode 100644 index 0000000..faa145f --- /dev/null +++ b/lib/at_form.js @@ -0,0 +1,2 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atForm.helpers(AccountsTemplates.atFormHelpers); \ No newline at end of file diff --git a/lib/at_input.html b/lib/at_input.html new file mode 100644 index 0000000..6543165 --- /dev/null +++ b/lib/at_input.html @@ -0,0 +1,23 @@ + \ No newline at end of file diff --git a/lib/at_input.js b/lib/at_input.js new file mode 100644 index 0000000..3097c94 --- /dev/null +++ b/lib/at_input.js @@ -0,0 +1,5 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atInput.helpers(AccountsTemplates.atInputHelpers); + +// Simply 'inherites' events from AccountsTemplates +Template.atInput.events(AccountsTemplates.atInputEvents); diff --git a/lib/at_oauth.html b/lib/at_oauth.html new file mode 100644 index 0000000..557a396 --- /dev/null +++ b/lib/at_oauth.html @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/lib/at_oauth.js b/lib/at_oauth.js new file mode 100644 index 0000000..09198e0 --- /dev/null +++ b/lib/at_oauth.js @@ -0,0 +1,2 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atOauth.helpers(AccountsTemplates.atOauthHelpers); \ No newline at end of file diff --git a/lib/at_pwd_form.html b/lib/at_pwd_form.html new file mode 100644 index 0000000..f465717 --- /dev/null +++ b/lib/at_pwd_form.html @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/lib/at_pwd_form.js b/lib/at_pwd_form.js new file mode 100644 index 0000000..91f08d7 --- /dev/null +++ b/lib/at_pwd_form.js @@ -0,0 +1,5 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atPwdForm.helpers(AccountsTemplates.atPwdFormHelpers); + +// Simply 'inherites' events from AccountsTemplates +Template.atPwdForm.events(AccountsTemplates.atPwdFormEvents); \ No newline at end of file diff --git a/lib/at_pwd_form_btn.html b/lib/at_pwd_form_btn.html new file mode 100644 index 0000000..9225a6b --- /dev/null +++ b/lib/at_pwd_form_btn.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/lib/at_pwd_form_btn.js b/lib/at_pwd_form_btn.js new file mode 100644 index 0000000..7b24d52 --- /dev/null +++ b/lib/at_pwd_form_btn.js @@ -0,0 +1,2 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atPwdFormBtn.helpers(AccountsTemplates.atPwdFormBtnHelpers); \ No newline at end of file diff --git a/lib/at_pwd_link.html b/lib/at_pwd_link.html new file mode 100644 index 0000000..edab38d --- /dev/null +++ b/lib/at_pwd_link.html @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/lib/at_pwd_link.js b/lib/at_pwd_link.js new file mode 100644 index 0000000..b1e7c3e --- /dev/null +++ b/lib/at_pwd_link.js @@ -0,0 +1,5 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atPwdLink.helpers(AccountsTemplates.atPwdLinkHelpers); + +// Simply 'inherites' events from AccountsTemplates +Template.atPwdLink.events(AccountsTemplates.atPwdLinkEvents); \ No newline at end of file diff --git a/lib/at_result.html b/lib/at_result.html new file mode 100644 index 0000000..4f25317 --- /dev/null +++ b/lib/at_result.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/lib/at_result.js b/lib/at_result.js new file mode 100644 index 0000000..36d9e0c --- /dev/null +++ b/lib/at_result.js @@ -0,0 +1,2 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atResult.helpers(AccountsTemplates.atResultHelpers); \ No newline at end of file diff --git a/lib/at_sep.html b/lib/at_sep.html new file mode 100644 index 0000000..b33f115 --- /dev/null +++ b/lib/at_sep.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/lib/at_sep.js b/lib/at_sep.js new file mode 100644 index 0000000..450feba --- /dev/null +++ b/lib/at_sep.js @@ -0,0 +1,2 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atSep.helpers(AccountsTemplates.atSepHelpers); \ No newline at end of file diff --git a/lib/at_signin_link.html b/lib/at_signin_link.html new file mode 100644 index 0000000..2353c9b --- /dev/null +++ b/lib/at_signin_link.html @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/lib/at_signin_link.js b/lib/at_signin_link.js new file mode 100644 index 0000000..89251fd --- /dev/null +++ b/lib/at_signin_link.js @@ -0,0 +1,5 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atSigninLink.helpers(AccountsTemplates.atSigninLinkHelpers); + +// Simply 'inherites' events from AccountsTemplates +Template.atSigninLink.events(AccountsTemplates.atSigninLinkEvents); \ No newline at end of file diff --git a/lib/at_signup_link.html b/lib/at_signup_link.html new file mode 100644 index 0000000..ee1f21d --- /dev/null +++ b/lib/at_signup_link.html @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/lib/at_signup_link.js b/lib/at_signup_link.js new file mode 100644 index 0000000..c1b9771 --- /dev/null +++ b/lib/at_signup_link.js @@ -0,0 +1,5 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atSignupLink.helpers(AccountsTemplates.atSignupLinkHelpers); + +// Simply 'inherites' events from AccountsTemplates +Template.atSignupLink.events(AccountsTemplates.atSignupLinkEvents); \ No newline at end of file diff --git a/lib/at_social.html b/lib/at_social.html new file mode 100644 index 0000000..bbe532a --- /dev/null +++ b/lib/at_social.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/lib/at_social.js b/lib/at_social.js new file mode 100644 index 0000000..ed7b1c0 --- /dev/null +++ b/lib/at_social.js @@ -0,0 +1,5 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atSocial.helpers(AccountsTemplates.atSocialHelpers); + +// Simply 'inherites' events from AccountsTemplates +Template.atSocial.events(AccountsTemplates.atSocialEvents); \ No newline at end of file diff --git a/lib/at_terms_link.html b/lib/at_terms_link.html new file mode 100644 index 0000000..adda4f4 --- /dev/null +++ b/lib/at_terms_link.html @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/lib/at_terms_link.js b/lib/at_terms_link.js new file mode 100644 index 0000000..b1d4b69 --- /dev/null +++ b/lib/at_terms_link.js @@ -0,0 +1,5 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atTermsLink.helpers(AccountsTemplates.atTermsLinkHelpers); + +// Simply 'inherites' events from AccountsTemplates +Template.atTermsLink.events(AccountsTemplates.atTermsLinkEvents); \ No newline at end of file diff --git a/lib/at_title.html b/lib/at_title.html new file mode 100644 index 0000000..0c93abe --- /dev/null +++ b/lib/at_title.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/lib/at_title.js b/lib/at_title.js new file mode 100644 index 0000000..c1c8f3c --- /dev/null +++ b/lib/at_title.js @@ -0,0 +1,2 @@ +// Simply 'inherites' helpers from AccountsTemplates +Template.atTitle.helpers(AccountsTemplates.atTitleHelpers); \ No newline at end of file diff --git a/lib/at_unstyled.css b/lib/at_unstyled.css new file mode 100644 index 0000000..14050a6 --- /dev/null +++ b/lib/at_unstyled.css @@ -0,0 +1,55 @@ +button.at-social-btn#at-facebook { + background: #3B5998; + color: #fff; +} +button.at-social-btn#at-facebook.disabled { + color: #ddd; + background: #666666; +} +button.at-social-btn#at-facebook:hover { + background: #2C4780; +} +button.at-social-btn#at-linkedin { + background: #338AB0; + color: #fff; +} +button.at-social-btn#at-linkedin.disabled { + color: #ddd; + background: #666666; +} +button.at-social-btn#at-linkedin:hover { + background: #0571A6; +} +button.at-social-btn#at-twitter { + background: #4099FF; + color: #fff; +} +button.at-social-btn#at-twitter.disabled { + color: #ddd; + background: #666666; +} +button.at-social-btn#at-twitter:hover { + background: #3288EB; +} +button.at-social-btn#at-google { + background: #db5a3c; + color: #fff; +} +button.at-social-btn#at-google.disabled { + color: #ddd; + background: #666666; +} +button.at-social-btn#at-google:hover { + background: #CA4C2E; +} +button.at-social-btn#at-github { + background: #666; + color: #fff; +} +button.at-social-btn#at-github.disabled { + color: #ddd; + background: #666666; +} +button.at-social-btn#at-github:hover { + background: #555; +} \ No newline at end of file diff --git a/lib/full_page_at_form.html b/lib/full_page_at_form.html new file mode 100644 index 0000000..210d36c --- /dev/null +++ b/lib/full_page_at_form.html @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/package.js b/package.js new file mode 100644 index 0000000..c7d4722 --- /dev/null +++ b/package.js @@ -0,0 +1,70 @@ +Package.describe({ + summary: "Accounts Templates unstyled.", + version: "0.9.0", + name: "splendido:accounts-templates-unstyled", + git: "https://github.com/splendido/accounts-templates-unstyled.git", +}); + +Package.on_use(function(api, where) { + api.use([ + 'splendido:accounts-templates-core@0.9.0', + 'templating@1.0.6', + ], 'client'); + api.use([ + 'splendido:accounts-templates-core@0.9.0', + ], 'server'); + + api.imply([ + 'splendido:accounts-templates-core@0.9.0', + ], ['client', 'server']); + + api.add_files([ + 'lib/at_error.html', + 'lib/at_error.js', + 'lib/at_form.html', + 'lib/at_form.js', + 'lib/at_input.html', + 'lib/at_input.js', + 'lib/at_oauth.html', + 'lib/at_oauth.js', + 'lib/at_pwd_form.html', + 'lib/at_pwd_form.js', + 'lib/at_pwd_form_btn.html', + 'lib/at_pwd_form_btn.js', + 'lib/at_pwd_link.html', + 'lib/at_pwd_link.js', + 'lib/at_result.html', + 'lib/at_result.js', + 'lib/at_sep.html', + 'lib/at_sep.js', + 'lib/at_signin_link.html', + 'lib/at_signin_link.js', + 'lib/at_signup_link.html', + 'lib/at_signup_link.js', + 'lib/at_social.html', + 'lib/at_social.js', + 'lib/at_terms_link.html', + 'lib/at_terms_link.js', + 'lib/at_title.html', + 'lib/at_title.js', + 'lib/full_page_at_form.html', + 'lib/at_unstyled.css' + ], ['client']); +}); + +Package.on_test(function(api) { + api.use([ + 'splendido:accounts-templates-unstyled', + 'splendido:accounts-templates-core@0.9.0', + ]); + + api.use([ + 'accounts-password', + 'tinytest', + 'test-helpers' + ], ['client', 'server']); + + api.add_files([ + 'tests/tests.js' + ], ['client', 'server']); +}); diff --git a/tests/tests.js b/tests/tests.js new file mode 100644 index 0000000..b3dda86 --- /dev/null +++ b/tests/tests.js @@ -0,0 +1,2 @@ + +// TODO: write tests!!! \ No newline at end of file diff --git a/versions.json b/versions.json new file mode 100644 index 0000000..2dcc91f --- /dev/null +++ b/versions.json @@ -0,0 +1,203 @@ +{ + "dependencies": [ + [ + "accounts-base", + "1.1.0" + ], + [ + "application-configuration", + "1.0.2" + ], + [ + "base64", + "1.0.0" + ], + [ + "binary-heap", + "1.0.0" + ], + [ + "blaze", + "2.0.0" + ], + [ + "blaze-tools", + "1.0.0" + ], + [ + "boilerplate-generator", + "1.0.0" + ], + [ + "callback-hook", + "1.0.0" + ], + [ + "check", + "1.0.0" + ], + [ + "coffeescript", + "1.0.3" + ], + [ + "ddp", + "1.0.8" + ], + [ + "deps", + "1.0.3" + ], + [ + "ejson", + "1.0.2" + ], + [ + "follower-livedata", + "1.0.1" + ], + [ + "geojson-utils", + "1.0.0" + ], + [ + "html-tools", + "1.0.0" + ], + [ + "htmljs", + "1.0.1" + ], + [ + "id-map", + "1.0.0" + ], + [ + "iron:core", + "0.3.4" + ], + [ + "iron:dynamic-template", + "0.4.1" + ], + [ + "iron:layout", + "0.4.1" + ], + [ + "iron:router", + "0.9.3" + ], + [ + "jquery", + "1.0.0" + ], + [ + "json", + "1.0.0" + ], + [ + "localstorage", + "1.0.0" + ], + [ + "logging", + "1.0.3" + ], + [ + "meteor", + "1.1.0" + ], + [ + "minifiers", + "1.1.0" + ], + [ + "minimongo", + "1.0.3" + ], + [ + "mongo", + "1.0.5" + ], + [ + "observe-sequence", + "1.0.2" + ], + [ + "ordered-dict", + "1.0.0" + ], + [ + "random", + "1.0.0" + ], + [ + "reactive-dict", + "1.0.2" + ], + [ + "reactive-var", + "1.0.1" + ], + [ + "retry", + "1.0.0" + ], + [ + "routepolicy", + "1.0.1" + ], + [ + "service-configuration", + "1.0.1" + ], + [ + "sha", + "1.0.0" + ], + [ + "softwarerero:accounts-t9n", + "0.0.20" + ], + [ + "spacebars", + "1.0.1" + ], + [ + "spacebars-compiler", + "1.0.2" + ], + [ + "splendido:accounts-templates-core", + "0.9.0" + ], + [ + "templating", + "1.0.6" + ], + [ + "tracker", + "1.0.2" + ], + [ + "ui", + "1.0.2" + ], + [ + "underscore", + "1.0.0" + ], + [ + "webapp", + "1.1.1" + ], + [ + "webapp-hashing", + "1.0.0" + ] + ], + "pluginDependencies": [], + "toolVersion": "meteor-tool@1.0.31", + "format": "1.0" +} \ No newline at end of file