|
|
@@ -91,6 +91,29 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ <script>
|
|
|
+ // Bootstrap 3 Toggle Switch Snippet
|
|
|
+ // http://www.bootply.com/92189
|
|
|
+ $('.btn-toggle').click(function() {
|
|
|
+ $(this).find('.btn').toggleClass('active');
|
|
|
+
|
|
|
+ if ($(this).find('.btn-primary').length>0) {
|
|
|
+ $(this).find('.btn').toggleClass('btn-primary');
|
|
|
+ }
|
|
|
+ if ($(this).find('.btn-danger').length>0) {
|
|
|
+ $(this).find('.btn').toggleClass('btn-danger');
|
|
|
+ }
|
|
|
+ if ($(this).find('.btn-success').length>0) {
|
|
|
+ $(this).find('.btn').toggleClass('btn-success');
|
|
|
+ }
|
|
|
+ if ($(this).find('.btn-info').length>0) {
|
|
|
+ $(this).find('.btn').toggleClass('btn-info');
|
|
|
+ }
|
|
|
+
|
|
|
+ $(this).find('.btn').toggleClass('btn-default');
|
|
|
+ });
|
|
|
+ </script>
|
|
|
+
|
|
|
</div>
|
|
|
{% endblock content_main %}
|
|
|
|