|
| 1 | +<div id="footer" class=""> |
| 2 | + |
| 3 | + <div id="toolbar" class="hide-for-print"> |
| 4 | + <button id="print" onclick="window.print();" type="button"><i class="fa fa-print"></i>Print</button> |
| 5 | + <button id="reset"><i class="fa fa-refresh"></i>Reset</button> |
| 6 | + <a id="github" class="button" href="https://github.com/opensourcedesign/foss-contributors-checklist" target="_blank" title="fork on github"><i class="fa fa-github"></i>Fork</a> |
| 7 | + </div> |
| 8 | + |
| 9 | + <div id="credits">Created by <a href="https://github.com/{{ site.github_username }}" target="_blank" title="@{{ site.github_username }}">@{{ site.github_username }}</a>. Much thanks to the <a href="https://uxchecklist.github.io/">UX Checklist</a> |
| 10 | + </div> |
| 11 | + |
| 12 | +{% comment %} |
| 13 | + <div class="hide-for-print clearfix"> |
| 14 | +<!-- Begin MailChimp Signup Form --> |
| 15 | +<div id="mc_embed_signup"> |
| 16 | +<form action="//github.us9.list-manage.com/subscribe/post?u=08f46baa146402de6c0fd5ce1&id=fefa7a6868" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> |
| 17 | + <div id="mc_embed_signup_scroll"> |
| 18 | + <label for="mce-EMAIL">We are working to make this better. Sign up for updates!</label> |
| 19 | + <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required> |
| 20 | + <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--> |
| 21 | + <div style="position: absolute; left: -5000px;"><input type="text" name="b_08f46baa146402de6c0fd5ce1_fefa7a6868" tabindex="-1" value=""></div> |
| 22 | + <input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"> |
| 23 | + </div> |
| 24 | +</form> |
| 25 | +</div> |
| 26 | + |
| 27 | +<!--End mc_embed_signup--> |
| 28 | + </div> |
| 29 | + |
| 30 | + <div class="hide-for-print clearfix"> |
| 31 | + <a class="typeform-share button" href="https://sovesove.typeform.com/to/Ok2qWy" data-mode="1" target="_blank" title="give some feedback!"><i class="fa fa-comment-o"></i>Do you like that?</a> |
| 32 | + <script>(function(){var qs,js,q,s,d=document,gi=d.getElementById,ce=d.createElement,gt=d.getElementsByTagName,id='typef_orm',b='https://s3-eu-west-1.amazonaws.com/share.typeform.com/';if(!gi.call(d,id)){js=ce.call(d,'script');js.id=id;js.src=b+'share.js';q=gt.call(d,'script')[0];q.parentNode.insertBefore(js,q)}id=id+'_'; |
| 33 | + /*if(!gi.call(d,id)){qs=ce.call(d,'link');qs.rel='stylesheet';qs.id=id;qs.href=b+'share-button.css';s=gt.call(d,'head')[0];s.appendChild(qs,s)}*/})()</script> |
| 34 | + </div> |
| 35 | + <div id="inspiredby" class="hide-for-print clearfix"><a href="#friends" class="open-popup-link">Friends of this page</a></div> |
| 36 | + <div id="friends" class="white-popup mfp-hide"> |
| 37 | + <p> |
| 38 | + Special thanks to:</br> |
| 39 | + <a href="https://twitter.com/alefranz" target="_blank" title="@alefranz">@alefranz</a> for the technical magic.</br> |
| 40 | + </p> |
| 41 | + <p> |
| 42 | + Inspired by <a href="http://webdesignerschecklist.com/" target="_blank" title="webdesignerschecklist">this</a>, <a href="https://userium.com/" target="_blank" title="Usability checklist">this</a> and <a href="http://ixdchecklist.com/" target="_blank" title="ixdchecklist">this</a> |
| 43 | + </p> |
| 44 | + <p> |
| 45 | + Also thanks to:</br> |
| 46 | + <a href="http://mokreo.com/" target="_blank" title="mokreo.com">Mokreo</a> for the superb illustrated icons.</br> |
| 47 | + <a href="http://dimsemenov.com/plugins/magnific-popup/" target="_blank" title="Magnific Popup">Magnific Popup</a> for this responsive modal popup.</br> |
| 48 | + <a href="http://garlicjs.org/" target="_blank" title="GarlicJs">GarlicJs</a> for the garlic, which everyone knows helps you save digital things locally in your browser.</br> |
| 49 | + <a href="http://fntneves.github.io/jquery-labelauty/" target="_blank" title="Labelauty">Labelauty</a> for the checkbox beautifier.</br> |
| 50 | + <a href="http://fortawesome.github.io/Font-Awesome/" target="_blank" title="Font Awesome">Font Awesome</a> for the iconic font.</br> |
| 51 | + </p> |
| 52 | + </div> |
| 53 | + </div> |
| 54 | + |
| 55 | +{% endcomment %} |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> |
| 60 | + <!-- <script src="js/vendor/jquery.js"></script> --> |
| 61 | + <script> |
| 62 | + window.Modernizr || document.write('<script type="text/javascript" src="js/vendor/modernizr.js">\x3C/script>'); |
| 63 | + window.jQuery || document.write('<script type="text/javascript" src="js/vendor/jquery.js">\x3C/script>'); |
| 64 | + </script> |
| 65 | + |
| 66 | + <script src="js/garlic.js"></script> |
| 67 | + <script src="js/jquery-labelauty.js"></script> |
| 68 | + <script src="js/jquery.magnific-popup.min.js"></script> |
| 69 | + <script> |
| 70 | + $(document).ready(function(){ |
| 71 | + $(":checkbox").labelauty({ label: false }); |
| 72 | + $("#checklist-form").garlic(); |
| 73 | + |
| 74 | + $("#reset").on('click', function(){ |
| 75 | + $('input:checkbox').each(function() { |
| 76 | + $(this).prop('checked', false); |
| 77 | + }); |
| 78 | + $("#checklist-form").garlic('destroy'); |
| 79 | + }); |
| 80 | + $("#footer a").on('click', function(e){ |
| 81 | + var elm = e.currentTarget; |
| 82 | + ga('send', 'event', 'footer', $(elm).attr('title')); |
| 83 | + }); |
| 84 | + $("input:checkbox").on('change', function(e){ |
| 85 | + var cb = $(this); |
| 86 | + var id = cb.attr('id'); |
| 87 | + var isChecked = cb.is(':checked'); |
| 88 | + // ga('send', 'event', { |
| 89 | + // 'eventCategory': 'checkbox', |
| 90 | + // 'eventAction': isChecked ? 'set' : 'clear', |
| 91 | + // 'eventLabel': id |
| 92 | + // }); |
| 93 | + }); |
| 94 | + |
| 95 | + $('.open-popup-link').magnificPopup({ |
| 96 | + type:'inline', |
| 97 | + midClick: true // Allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source in href. |
| 98 | + }); |
| 99 | + }); |
| 100 | + |
| 101 | + //realtime api |
| 102 | + var checkboxes = {}; |
| 103 | + var view = null; |
| 104 | + var controller = null; |
| 105 | + |
| 106 | + // $().ready(function(){ |
| 107 | + // var isFn = function(id, e) { return $(e).is(':checked'); }; |
| 108 | + // var setFn = function(id, e, val) { |
| 109 | + // $(e).prop('checked', val); |
| 110 | + // $(e).garlic('persist'); |
| 111 | + // }; |
| 112 | + // $('input:checkbox').each(function() { |
| 113 | + // var id = $(this).attr('id'); |
| 114 | + // checkboxes[id] = new Realtime.Model.CheckBox(id, this, isFn, setFn); |
| 115 | + // }); |
| 116 | + // view = new Realtime.View(checkboxes); |
| 117 | + // var cb = view.checkboxes; |
| 118 | + // console.log(cb); |
| 119 | + // controller = new Realtime.Controller(view); |
| 120 | + |
| 121 | + // gapi.load("auth:client,drive-realtime,drive-share", function () { |
| 122 | + // controller.init(); |
| 123 | + // $('form').on('change', 'input:checkbox', function(ev){ |
| 124 | + // console.log(ev); |
| 125 | + // controller.onCheckBoxChange($(ev.target).attr('id')); |
| 126 | + // }); |
| 127 | + |
| 128 | + // var signinSuccess = function() { |
| 129 | + // $('#signin-do').hide(); |
| 130 | + // $('#signin-fail').hide(); |
| 131 | + // $('#signin-success').show(); |
| 132 | + // $("#reset").on('click', function(){ |
| 133 | + // controller.save(); |
| 134 | + // }); |
| 135 | + // }; |
| 136 | + |
| 137 | + // var signinFailed = function() { |
| 138 | + // $('#signin-fail').show(); |
| 139 | + // }; |
| 140 | + |
| 141 | + // controller.auth(true, |
| 142 | + // signinSuccess, |
| 143 | + // function(){$('#signin-do').show();} |
| 144 | + // ); |
| 145 | + |
| 146 | + // $('#signin').on('click', function(){ |
| 147 | + // controller.auth(false, signinSuccess, signinFailed); |
| 148 | + // }); |
| 149 | + // }); |
| 150 | + // }); |
| 151 | + </script> |
| 152 | + <!-- <script type="text/javascript" src="https://apis.google.com/js/api.js"></script> |
| 153 | + <script type="text/javascript" src="js/realtime.js"></script> --> |
0 commit comments