quartz_flow 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. data/etc/quartz.rb +1 -1
  2. data/lib/quartz_flow/home.rb +33 -0
  3. data/lib/quartz_flow/plugin.rb +69 -0
  4. data/lib/quartz_flow/server.rb +33 -4
  5. data/lib/quartz_flow/settings_helper.rb +22 -1
  6. data/lib/quartz_flow/torrent_manager.rb +53 -6
  7. data/lib/quartz_flow/wrappers.rb +1 -0
  8. data/public/bootstrap/css/bootstrap-theme.css +459 -0
  9. data/public/bootstrap/css/bootstrap-theme.min.css +9 -0
  10. data/public/bootstrap/css/bootstrap.css +4927 -3996
  11. data/public/bootstrap/css/bootstrap.min.css +6 -6
  12. data/public/bootstrap/js/bootstrap.js +1156 -1434
  13. data/public/bootstrap/js/bootstrap.min.js +8 -5
  14. data/public/{bootstrap → bootstrap-2.3.2}/css/bootstrap-responsive.css +0 -0
  15. data/public/{bootstrap → bootstrap-2.3.2}/css/bootstrap-responsive.min.css +0 -0
  16. data/public/bootstrap-2.3.2/css/bootstrap.css +6167 -0
  17. data/public/bootstrap-2.3.2/css/bootstrap.min.css +9 -0
  18. data/public/{bootstrap → bootstrap-2.3.2}/img/glyphicons-halflings-white.png +0 -0
  19. data/public/{bootstrap → bootstrap-2.3.2}/img/glyphicons-halflings.png +0 -0
  20. data/public/bootstrap-2.3.2/js/bootstrap.js +2280 -0
  21. data/public/bootstrap-2.3.2/js/bootstrap.min.js +6 -0
  22. data/public/bootstrap-3.0.2/css/bootstrap-theme.css +459 -0
  23. data/public/bootstrap-3.0.2/css/bootstrap-theme.min.css +9 -0
  24. data/public/bootstrap-3.0.2/css/bootstrap.css +7098 -0
  25. data/public/bootstrap-3.0.2/css/bootstrap.min.css +9 -0
  26. data/public/bootstrap-3.0.2/js/bootstrap.js +2002 -0
  27. data/public/bootstrap-3.0.2/js/bootstrap.min.js +9 -0
  28. data/public/js/quartz.js +118 -22
  29. data/public/style.css +24 -0
  30. data/views/config_partial.haml +18 -18
  31. data/views/index.haml +17 -1
  32. data/views/menu_partial.haml +9 -0
  33. data/views/torrent_detail_partial.haml +21 -17
  34. data/views/torrent_table_partial.haml +29 -27
  35. metadata +24 -10
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Bootstrap.js by @fat & @mdo
3
+ * Copyright 2013 Twitter, Inc.
4
+ * http://www.apache.org/licenses/LICENSE-2.0.txt
5
+ */
6
+ !function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(".dropdown-backdrop").remove(),e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||("ontouchstart"in document.documentElement&&e('<div class="dropdown-backdrop"/>').insertBefore(e(this)).on("click",r),s.toggleClass("open")),n.focus(),!1},keydown:function(n){var r,s,o,u,a,f;if(!/(38|40|27)/.test(n.keyCode))return;r=e(this),n.preventDefault(),n.stopPropagation();if(r.is(".disabled, :disabled"))return;u=i(r),a=u.hasClass("open");if(!a||a&&n.keyCode==27)return n.which==27&&u.find(t).focus(),r.click();s=e("[role=menu] li:not(.divider):visible a",u);if(!s.length)return;f=s.index(s.filter(":focus")),n.keyCode==38&&f>0&&f--,n.keyCode==40&&f<s.length-1&&f++,~f||(f=0),s.eq(f).focus()}};var s=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.dropdown.data-api",r).on("click.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout(function(){t.$element.off(e.support.transition.end),t.hideModal()},500);this.$element.one(e.support.transition.end,function(){clearTimeout(n),t.hideModal()})},hideModal:function(){var e=this;this.$element.hide(),this.backdrop(function(){e.removeBackdrop(),e.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&r;this.$backdrop=e('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in");if(!t)return;i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t):t()):t&&t()}};var n=e.fn.modal;e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s,o,u,a;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,o=this.options.trigger.split(" ");for(a=o.length;a--;)u=o[a],u=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):u!="manual"&&(i=u=="hover"?"mouseenter":"focus",s=u=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this)));this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,this.$element.data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e.fn[this.type].defaults,r={},i;this._options&&e.each(this._options,function(e,t){n[e]!=t&&(r[e]=t)},this),i=e(t.currentTarget)[this.type](r).data(this.type);if(!i.options.delay||!i.options.delay.show)return i.show();clearTimeout(this.timeout),i.hoverState="in",this.timeout=setTimeout(function(){i.hoverState=="in"&&i.show()},i.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var t,n,r,i,s,o,u=e.Event("show");if(this.hasContent()&&this.enabled){this.$element.trigger(u);if(u.isDefaultPrevented())return;t=this.tip(),this.setContent(),this.options.animation&&t.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,t.detach().css({top:0,left:0,display:"block"}),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),n=this.getPosition(),r=t[0].offsetWidth,i=t[0].offsetHeight;switch(s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}this.applyPlacement(o,s),this.$element.trigger("shown")}},applyPlacement:function(e,t){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,s,o,u,a;n.offset(e).addClass(t).addClass("in"),s=n[0].offsetWidth,o=n[0].offsetHeight,t=="top"&&o!=i&&(e.top=e.top+i-o,a=!0),t=="bottom"||t=="top"?(u=0,e.left<0&&(u=e.left*-2,e.left=0,n.offset(e),s=n[0].offsetWidth,o=n[0].offsetHeight),this.replaceArrow(u-r+s,s,"left")):this.replaceArrow(o-i,o,"top"),a&&n.offset(e)},replaceArrow:function(e,t,n){this.arrow().css(n,e?50*(1-e/t)+"%":"")},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function i(){var t=setTimeout(function(){n.off(e.support.transition.end).detach()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.detach()})}var t=this,n=this.tip(),r=e.Event("hide");this.$element.trigger(r);if(r.isDefaultPrevented())return;return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?i():n.detach(),this.$element.trigger("hidden"),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var t=this.$element[0];return e.extend({},typeof t.getBoundingClientRect=="function"?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(t){var n=t?e(t.currentTarget)[this.type](this._options).data(this.type):this;n.tip().hasClass("in")?n.hide():n.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=(typeof n.content=="function"?n.content.call(t[0]):n.content)||t.attr("data-content"),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}});var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var n=e(this),r=n.data("target")||n.attr("href"),i=/^#\w/.test(r)&&e(r);return i&&i.length&&[[i.position().top+(!e.isWindow(t.$scrollElement.get(0))&&t.$scrollElement.scrollTop()),r]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}};var n=e.fn.scrollspy;e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=n,this},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active:last a")[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}};var n=e.fn.tab;e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=n,this},e(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=e(this.options.menu),this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:t.top+t.height,left:t.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(n=e.isFunction(this.source)?this.source(this.query,e.proxy(this.process,this)):this.source,n?this.process(n):this)},process:function(t){var n=this;return t=e.grep(t,function(e){return n.matcher(e)}),t=this.sorter(t),t.length?this.render(t.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(e){return~e.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(e){var t=[],n=[],r=[],i;while(i=e.shift())i.toLowerCase().indexOf(this.query.toLowerCase())?~i.indexOf(this.query)?n.push(i):r.push(i):t.push(i);return t.concat(n,r)},highlighter:function(e){var t=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return e.replace(new RegExp("("+t+")","ig"),function(e,t){return"<strong>"+t+"</strong>"})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("focus",e.proxy(this.focus,this)).on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this)).on("mouseleave","li",e.proxy(this.mouseleave,this))},eventSupported:function(e){var t=e in this.$element;return t||(this.$element.setAttribute(e,"return;"),t=typeof this.$element[e]=="function"),t},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},focus:function(e){this.focused=!0},blur:function(e){this.focused=!1,!this.mousedover&&this.shown&&this.hide()},click:function(e){e.stopPropagation(),e.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(t){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")},mouseleave:function(e){this.mousedover=!1,!this.focused&&this.shown&&this.hide()}};var n=e.fn.typeahead;e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},e.fn.typeahead.Constructor=t,e.fn.typeahead.noConflict=function(){return e.fn.typeahead=n,this},e(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;n.typeahead(n.data())})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)).on("click.affix.data-api",e.proxy(function(){setTimeout(e.proxy(this.checkPosition,this),1)},this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))};var n=e.fn.affix;e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e.fn.affix.noConflict=function(){return e.fn.affix=n,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery);
@@ -0,0 +1,459 @@
1
+ /*!
2
+ * Bootstrap v3.0.2 by @fat and @mdo
3
+ * Copyright 2013 Twitter, Inc.
4
+ * Licensed under http://www.apache.org/licenses/LICENSE-2.0
5
+ *
6
+ * Designed and built with all the love in the world by @mdo and @fat.
7
+ */
8
+
9
+ .btn-default,
10
+ .btn-primary,
11
+ .btn-success,
12
+ .btn-info,
13
+ .btn-warning,
14
+ .btn-danger {
15
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
16
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
17
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
18
+ }
19
+
20
+ .btn-default:active,
21
+ .btn-primary:active,
22
+ .btn-success:active,
23
+ .btn-info:active,
24
+ .btn-warning:active,
25
+ .btn-danger:active,
26
+ .btn-default.active,
27
+ .btn-primary.active,
28
+ .btn-success.active,
29
+ .btn-info.active,
30
+ .btn-warning.active,
31
+ .btn-danger.active {
32
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
33
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
34
+ }
35
+
36
+ .btn:active,
37
+ .btn.active {
38
+ background-image: none;
39
+ }
40
+
41
+ .btn-default {
42
+ text-shadow: 0 1px 0 #fff;
43
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e0e0e0));
44
+ background-image: -webkit-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
45
+ background-image: -moz-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
46
+ background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
47
+ background-repeat: repeat-x;
48
+ border-color: #dbdbdb;
49
+ border-color: #ccc;
50
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
51
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
52
+ }
53
+
54
+ .btn-default:hover,
55
+ .btn-default:focus {
56
+ background-color: #e0e0e0;
57
+ background-position: 0 -15px;
58
+ }
59
+
60
+ .btn-default:active,
61
+ .btn-default.active {
62
+ background-color: #e0e0e0;
63
+ border-color: #dbdbdb;
64
+ }
65
+
66
+ .btn-primary {
67
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#2d6ca2));
68
+ background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
69
+ background-image: -moz-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
70
+ background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);
71
+ background-repeat: repeat-x;
72
+ border-color: #2b669a;
73
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);
74
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
75
+ }
76
+
77
+ .btn-primary:hover,
78
+ .btn-primary:focus {
79
+ background-color: #2d6ca2;
80
+ background-position: 0 -15px;
81
+ }
82
+
83
+ .btn-primary:active,
84
+ .btn-primary.active {
85
+ background-color: #2d6ca2;
86
+ border-color: #2b669a;
87
+ }
88
+
89
+ .btn-success {
90
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#419641));
91
+ background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
92
+ background-image: -moz-linear-gradient(top, #5cb85c 0%, #419641 100%);
93
+ background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
94
+ background-repeat: repeat-x;
95
+ border-color: #3e8f3e;
96
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
97
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
98
+ }
99
+
100
+ .btn-success:hover,
101
+ .btn-success:focus {
102
+ background-color: #419641;
103
+ background-position: 0 -15px;
104
+ }
105
+
106
+ .btn-success:active,
107
+ .btn-success.active {
108
+ background-color: #419641;
109
+ border-color: #3e8f3e;
110
+ }
111
+
112
+ .btn-warning {
113
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#eb9316));
114
+ background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
115
+ background-image: -moz-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
116
+ background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
117
+ background-repeat: repeat-x;
118
+ border-color: #e38d13;
119
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
120
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
121
+ }
122
+
123
+ .btn-warning:hover,
124
+ .btn-warning:focus {
125
+ background-color: #eb9316;
126
+ background-position: 0 -15px;
127
+ }
128
+
129
+ .btn-warning:active,
130
+ .btn-warning.active {
131
+ background-color: #eb9316;
132
+ border-color: #e38d13;
133
+ }
134
+
135
+ .btn-danger {
136
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c12e2a));
137
+ background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
138
+ background-image: -moz-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
139
+ background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
140
+ background-repeat: repeat-x;
141
+ border-color: #b92c28;
142
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
143
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
144
+ }
145
+
146
+ .btn-danger:hover,
147
+ .btn-danger:focus {
148
+ background-color: #c12e2a;
149
+ background-position: 0 -15px;
150
+ }
151
+
152
+ .btn-danger:active,
153
+ .btn-danger.active {
154
+ background-color: #c12e2a;
155
+ border-color: #b92c28;
156
+ }
157
+
158
+ .btn-info {
159
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#2aabd2));
160
+ background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
161
+ background-image: -moz-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
162
+ background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
163
+ background-repeat: repeat-x;
164
+ border-color: #28a4c9;
165
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
166
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
167
+ }
168
+
169
+ .btn-info:hover,
170
+ .btn-info:focus {
171
+ background-color: #2aabd2;
172
+ background-position: 0 -15px;
173
+ }
174
+
175
+ .btn-info:active,
176
+ .btn-info.active {
177
+ background-color: #2aabd2;
178
+ border-color: #28a4c9;
179
+ }
180
+
181
+ .thumbnail,
182
+ .img-thumbnail {
183
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
184
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
185
+ }
186
+
187
+ .dropdown-menu > li > a:hover,
188
+ .dropdown-menu > li > a:focus {
189
+ background-color: #e8e8e8;
190
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f5f5f5), to(#e8e8e8));
191
+ background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
192
+ background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
193
+ background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
194
+ background-repeat: repeat-x;
195
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
196
+ }
197
+
198
+ .dropdown-menu > .active > a,
199
+ .dropdown-menu > .active > a:hover,
200
+ .dropdown-menu > .active > a:focus {
201
+ background-color: #357ebd;
202
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd));
203
+ background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
204
+ background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
205
+ background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
206
+ background-repeat: repeat-x;
207
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
208
+ }
209
+
210
+ .navbar-default {
211
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#f8f8f8));
212
+ background-image: -webkit-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
213
+ background-image: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
214
+ background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
215
+ background-repeat: repeat-x;
216
+ border-radius: 4px;
217
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
218
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
219
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
220
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
221
+ }
222
+
223
+ .navbar-default .navbar-nav > .active > a {
224
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ebebeb), to(#f3f3f3));
225
+ background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
226
+ background-image: -moz-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
227
+ background-image: linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%);
228
+ background-repeat: repeat-x;
229
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);
230
+ -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
231
+ box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
232
+ }
233
+
234
+ .navbar-brand,
235
+ .navbar-nav > li > a {
236
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
237
+ }
238
+
239
+ .navbar-inverse {
240
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#3c3c3c), to(#222222));
241
+ background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222222 100%);
242
+ background-image: -moz-linear-gradient(top, #3c3c3c 0%, #222222 100%);
243
+ background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%);
244
+ background-repeat: repeat-x;
245
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
246
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
247
+ }
248
+
249
+ .navbar-inverse .navbar-nav > .active > a {
250
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#222222), to(#282828));
251
+ background-image: -webkit-linear-gradient(top, #222222 0%, #282828 100%);
252
+ background-image: -moz-linear-gradient(top, #222222 0%, #282828 100%);
253
+ background-image: linear-gradient(to bottom, #222222 0%, #282828 100%);
254
+ background-repeat: repeat-x;
255
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);
256
+ -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
257
+ box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
258
+ }
259
+
260
+ .navbar-inverse .navbar-brand,
261
+ .navbar-inverse .navbar-nav > li > a {
262
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
263
+ }
264
+
265
+ .navbar-static-top,
266
+ .navbar-fixed-top,
267
+ .navbar-fixed-bottom {
268
+ border-radius: 0;
269
+ }
270
+
271
+ .alert {
272
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
273
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
274
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
275
+ }
276
+
277
+ .alert-success {
278
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#c8e5bc));
279
+ background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
280
+ background-image: -moz-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
281
+ background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
282
+ background-repeat: repeat-x;
283
+ border-color: #b2dba1;
284
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
285
+ }
286
+
287
+ .alert-info {
288
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#b9def0));
289
+ background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
290
+ background-image: -moz-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
291
+ background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
292
+ background-repeat: repeat-x;
293
+ border-color: #9acfea;
294
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
295
+ }
296
+
297
+ .alert-warning {
298
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#f8efc0));
299
+ background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
300
+ background-image: -moz-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
301
+ background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
302
+ background-repeat: repeat-x;
303
+ border-color: #f5e79e;
304
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
305
+ }
306
+
307
+ .alert-danger {
308
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#e7c3c3));
309
+ background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
310
+ background-image: -moz-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
311
+ background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
312
+ background-repeat: repeat-x;
313
+ border-color: #dca7a7;
314
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
315
+ }
316
+
317
+ .progress {
318
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ebebeb), to(#f5f5f5));
319
+ background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
320
+ background-image: -moz-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
321
+ background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
322
+ background-repeat: repeat-x;
323
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
324
+ }
325
+
326
+ .progress-bar {
327
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9));
328
+ background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%);
329
+ background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%);
330
+ background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
331
+ background-repeat: repeat-x;
332
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
333
+ }
334
+
335
+ .progress-bar-success {
336
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44));
337
+ background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
338
+ background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%);
339
+ background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
340
+ background-repeat: repeat-x;
341
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
342
+ }
343
+
344
+ .progress-bar-info {
345
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#31b0d5));
346
+ background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
347
+ background-image: -moz-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
348
+ background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
349
+ background-repeat: repeat-x;
350
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
351
+ }
352
+
353
+ .progress-bar-warning {
354
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#ec971f));
355
+ background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
356
+ background-image: -moz-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
357
+ background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
358
+ background-repeat: repeat-x;
359
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
360
+ }
361
+
362
+ .progress-bar-danger {
363
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c));
364
+ background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
365
+ background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%);
366
+ background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
367
+ background-repeat: repeat-x;
368
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
369
+ }
370
+
371
+ .list-group {
372
+ border-radius: 4px;
373
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
374
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
375
+ }
376
+
377
+ .list-group-item.active,
378
+ .list-group-item.active:hover,
379
+ .list-group-item.active:focus {
380
+ text-shadow: 0 -1px 0 #3071a9;
381
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3278b3));
382
+ background-image: -webkit-linear-gradient(top, #428bca 0%, #3278b3 100%);
383
+ background-image: -moz-linear-gradient(top, #428bca 0%, #3278b3 100%);
384
+ background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
385
+ background-repeat: repeat-x;
386
+ border-color: #3278b3;
387
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
388
+ }
389
+
390
+ .panel {
391
+ -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
392
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
393
+ }
394
+
395
+ .panel-default > .panel-heading {
396
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f5f5f5), to(#e8e8e8));
397
+ background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
398
+ background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
399
+ background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
400
+ background-repeat: repeat-x;
401
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
402
+ }
403
+
404
+ .panel-primary > .panel-heading {
405
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd));
406
+ background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
407
+ background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
408
+ background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
409
+ background-repeat: repeat-x;
410
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
411
+ }
412
+
413
+ .panel-success > .panel-heading {
414
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#d0e9c6));
415
+ background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
416
+ background-image: -moz-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
417
+ background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
418
+ background-repeat: repeat-x;
419
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
420
+ }
421
+
422
+ .panel-info > .panel-heading {
423
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#c4e3f3));
424
+ background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
425
+ background-image: -moz-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
426
+ background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
427
+ background-repeat: repeat-x;
428
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
429
+ }
430
+
431
+ .panel-warning > .panel-heading {
432
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#faf2cc));
433
+ background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
434
+ background-image: -moz-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
435
+ background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
436
+ background-repeat: repeat-x;
437
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
438
+ }
439
+
440
+ .panel-danger > .panel-heading {
441
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#ebcccc));
442
+ background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
443
+ background-image: -moz-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
444
+ background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
445
+ background-repeat: repeat-x;
446
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
447
+ }
448
+
449
+ .well {
450
+ background-image: -webkit-gradient(linear, left 0%, left 100%, from(#e8e8e8), to(#f5f5f5));
451
+ background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
452
+ background-image: -moz-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
453
+ background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
454
+ background-repeat: repeat-x;
455
+ border-color: #dcdcdc;
456
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
457
+ -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
458
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
459
+ }