sw2at-ui 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/Gemfile +21 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +19 -0
- data/Rakefile +51 -0
- data/VERSION +1 -0
- data/app/assets/images/swat/loading-green.gif +0 -0
- data/app/assets/javascripts/swat/.bowerrc +3 -0
- data/app/assets/javascripts/swat/app/app.coffee +38 -0
- data/app/assets/javascripts/swat/app/controllers/revision.coffee +25 -0
- data/app/assets/javascripts/swat/app/controllers/revisions.coffee +10 -0
- data/app/assets/javascripts/swat/app/controllers/root.coffee +8 -0
- data/app/assets/javascripts/swat/app/factories/response.coffee +9 -0
- data/app/assets/javascripts/swat/app/factories/revision_model.coffee +20 -0
- data/app/assets/javascripts/swat/app/services/revision.coffee +16 -0
- data/app/assets/javascripts/swat/app/services/test_case.coffee +8 -0
- data/app/assets/javascripts/swat/application.coffee +5 -0
- data/app/assets/javascripts/swat/bower.json +16 -0
- data/app/assets/javascripts/swat/bower_components/angular/angular-csp.css +21 -0
- data/app/assets/javascripts/swat/bower_components/angular/angular.js +28133 -0
- data/app/assets/javascripts/swat/bower_components/angular/angular.min.js +289 -0
- data/app/assets/javascripts/swat/bower_components/angular/index.js +2 -0
- data/app/assets/javascripts/swat/bower_components/angular-animate/angular-animate.js +2137 -0
- data/app/assets/javascripts/swat/bower_components/angular-animate/angular-animate.min.js +33 -0
- data/app/assets/javascripts/swat/bower_components/angular-aria/angular-aria.js +339 -0
- data/app/assets/javascripts/swat/bower_components/angular-aria/angular-aria.min.js +12 -0
- data/app/assets/javascripts/swat/bower_components/angular-bootstrap/ui-bootstrap-csp.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-bootstrap/ui-bootstrap-tpls.js +4840 -0
- data/app/assets/javascripts/swat/bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js +10 -0
- data/app/assets/javascripts/swat/bower_components/angular-bootstrap/ui-bootstrap.js +4461 -0
- data/app/assets/javascripts/swat/bower_components/angular-bootstrap/ui-bootstrap.min.js +9 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/LICENSE.txt +21 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/angular-material.css +6228 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/angular-material.js +8602 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/angular-material.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/angular-material.min.js +277 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/default-theme.css +394 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/backdrop/backdrop-default-theme.css +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/backdrop/backdrop.css +54 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/backdrop/backdrop.js +40 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet-default-theme.css +15 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet.css +161 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/bottomSheet/bottomSheet.js +263 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/button/button-default-theme.css +49 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/button/button.css +134 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/button/button.js +101 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/card/card-default-theme.css +10 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/card/card.css +26 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/card/card.js +60 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/checkbox/checkbox-default-theme.css +38 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/checkbox/checkbox.css +78 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/checkbox/checkbox.js +135 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/content/content-default-theme.css +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/content/content.css +24 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/content/content.js +87 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/core/core.css +2736 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/core/core.js +3090 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/core/default-theme.js +1 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/dialog/dialog-default-theme.css +11 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/dialog/dialog.css +75 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/dialog/dialog.js +500 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/divider/divider-default-theme.css +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/divider/divider.css +12 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/divider/divider.js +50 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/icon/icon.css +24 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/icon/icon.js +52 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/input/input-default-theme.css +39 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/input/input.css +113 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/input/input.js +355 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/list/list.css +56 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/list/list.js +96 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/menu/menu.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/menu/menu.js +29 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/progressCircular/progressCircular-default-theme.css +35 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/progressCircular/progressCircular.css +1395 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/progressCircular/progressCircular.js +129 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/progressLinear/progressLinear-default-theme.css +26 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/progressLinear/progressLinear.css +366 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/progressLinear/progressLinear.js +130 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/radioButton/radioButton-default-theme.css +39 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/radioButton/radioButton.css +66 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/radioButton/radioButton.js +302 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/sidenav/sidenav-default-theme.css +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/sidenav/sidenav.css +86 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/sidenav/sidenav.js +320 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/slider/slider-default-theme.css +55 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/slider/slider.css +210 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/slider/slider.js +391 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/sticky/sticky.css +20 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/sticky/sticky.js +314 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/subheader/subheader-default-theme.css +15 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/subheader/subheader.css +62 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/subheader/subheader.js +89 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/swipe/swipe.js +79 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/switch/switch-default-theme.css +29 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/switch/switch.css +81 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/switch/switch.js +171 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/tabs/tabs-default-theme.css +34 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/tabs/tabs.css +171 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/tabs/tabs.js +1009 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/textField/textField-default-theme.css +29 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/textField/textField.css +72 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/textField/textField.js +145 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/toast/toast-default-theme.css +17 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/toast/toast.css +110 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/toast/toast.js +236 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/toolbar/toolbar-default-theme.css +17 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/toolbar/toolbar.css +69 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/toolbar/toolbar.js +161 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/tooltip/tooltip-default-theme.css +10 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/tooltip/tooltip.css +133 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/tooltip/tooltip.js +199 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/whiteframe/whiteframe.css +20 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/closure/whiteframe/whiteframe.js +17 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/css/angular-material-layout.css +2582 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.css +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/backdrop-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/backdrop.css +54 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/backdrop.js +38 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/backdrop.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/backdrop.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/backdrop/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bottomSheet-default-theme.css +15 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bottomSheet-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.css +188 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.js +293 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bottomSheet.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/bottomSheet/bower.json +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/button-default-theme.css +42 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/button-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/button.css +132 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/button.js +94 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/button.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/button/button.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/card-default-theme.css +10 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/card-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/card.css +31 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/card.js +58 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/card.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/card/card.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/checkbox-default-theme.css +38 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/checkbox-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/checkbox.css +79 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/checkbox.js +133 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/checkbox.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/checkbox/checkbox.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/content-default-theme.css +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/content-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/content.css +24 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/content.js +60 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/content.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/content/content.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/core/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/core/core.css +3067 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/core/core.js +2780 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/core/core.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/core/core.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/core/default-theme.js +1 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/bower.json +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/dialog-default-theme.css +11 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/dialog-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/dialog.css +88 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/dialog.js +495 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/dialog.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/dialog/dialog.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/divider-default-theme.css +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/divider-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/divider.css +12 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/divider.js +48 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/divider.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/divider/divider.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/icon/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/icon/icon.css +24 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/icon/icon.js +50 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/icon/icon.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/icon/icon.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/input-default-theme.css +40 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/input-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/input.css +102 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/input.js +333 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/input.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/input/input.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/list/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/list/list.css +61 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/list/list.js +94 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/list/list.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/list/list.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/menu/bower.json +5 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/menu/menu.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/menu/menu.js +27 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/menu/menu.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/menu/menu.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/progressCircular-default-theme.css +35 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/progressCircular-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/progressCircular.css +1445 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/progressCircular.js +127 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/progressCircular.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressCircular/progressCircular.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/progressLinear-default-theme.css +28 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/progressLinear-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/progressLinear.css +368 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/progressLinear.js +128 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/progressLinear/progressLinear.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/radioButton-default-theme.css +39 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/radioButton-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/radioButton.css +67 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/radioButton.js +296 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/radioButton.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/radioButton/radioButton.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/bower.json +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/sidenav-default-theme.css +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/sidenav-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/sidenav.css +90 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/sidenav.js +302 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/sidenav.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sidenav/sidenav.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/slider-default-theme.css +55 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/slider-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/slider.css +218 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/slider.js +411 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/slider.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/slider/slider.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sticky/bower.json +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sticky/sticky.css +20 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sticky/sticky.js +309 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sticky/sticky.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/sticky/sticky.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/bower.json +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/subheader-default-theme.css +15 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/subheader-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/subheader.css +61 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/subheader.js +86 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/subheader.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/subheader/subheader.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/swipe/bower.json +5 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/swipe/swipe.js +213 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/swipe/swipe.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/bower.json +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/switch-default-theme.css +29 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/switch-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/switch.css +77 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/switch.js +144 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/switch.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/switch/switch.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/tabs-default-theme.css +34 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/tabs-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/tabs.css +181 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/tabs.js +992 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/tabs.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tabs/tabs.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/textField-default-theme.css +29 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/textField-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/textField.css +76 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/textField.js +143 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/textField.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/textField/textField.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/bower.json +9 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast-default-theme.css +17 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast.css +115 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast.js +235 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/bower.json +8 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar-default-theme.css +17 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar.css +78 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar.js +158 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/bower.json +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/tooltip-default-theme.css +10 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/tooltip-default-theme.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/tooltip.css +136 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/tooltip.js +197 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/tooltip.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/tooltip/tooltip.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/whiteframe/bower.json +5 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/whiteframe/whiteframe.css +20 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/whiteframe/whiteframe.js +15 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/whiteframe/whiteframe.min.css +6 -0
- data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/whiteframe/whiteframe.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-resource/angular-resource.js +668 -0
- data/app/assets/javascripts/swat/bower_components/angular-resource/angular-resource.min.js +13 -0
- data/app/assets/javascripts/swat/bower_components/angular-resource/index.js +2 -0
- data/app/assets/javascripts/swat/bower_components/angular-route/angular-route.js +991 -0
- data/app/assets/javascripts/swat/bower_components/angular-route/angular-route.min.js +15 -0
- data/app/assets/javascripts/swat/bower_components/angular-route/index.js +2 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/LICENSE.txt +21 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/api/angular-ui-router.d.ts +126 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/release/angular-ui-router.js +4370 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/release/angular-ui-router.min.js +7 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/common.js +292 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/resolve.js +252 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/state.js +1465 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/stateDirectives.js +285 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/stateFilters.js +39 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/templateFactory.js +110 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/urlMatcherFactory.js +1050 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/urlRouter.js +427 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/view.js +71 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/viewDirective.js +303 -0
- data/app/assets/javascripts/swat/bower_components/angular-ui-router/src/viewScroll.js +52 -0
- data/app/assets/javascripts/swat/bower_components/lodash/lodash.js +12235 -0
- data/app/assets/javascripts/swat/bower_components/lodash/lodash.min.js +98 -0
- data/app/assets/javascripts/swat/bower_components/ng-clip/.editorconfig +10 -0
- data/app/assets/javascripts/swat/bower_components/ng-clip/.gitignore +3 -0
- data/app/assets/javascripts/swat/bower_components/ng-clip/Gruntfile.js +96 -0
- data/app/assets/javascripts/swat/bower_components/ng-clip/dest/ng-clip.min.js +2 -0
- data/app/assets/javascripts/swat/bower_components/ng-clip/example/bootstrap-tooltip.html +49 -0
- data/app/assets/javascripts/swat/bower_components/ng-clip/example/index.html +68 -0
- data/app/assets/javascripts/swat/bower_components/ng-clip/example/ng-repeat.html +44 -0
- data/app/assets/javascripts/swat/bower_components/ng-clip/npm-debug.log +145 -0
- data/app/assets/javascripts/swat/bower_components/ng-clip/src/ngClip.js +84 -0
- data/app/assets/javascripts/swat/bower_components/zeroclipboard/dist/.jshintrc +70 -0
- data/app/assets/javascripts/swat/bower_components/zeroclipboard/dist/ZeroClipboard.Core.js +2017 -0
- data/app/assets/javascripts/swat/bower_components/zeroclipboard/dist/ZeroClipboard.Core.min.js +10 -0
- data/app/assets/javascripts/swat/bower_components/zeroclipboard/dist/ZeroClipboard.js +2581 -0
- data/app/assets/javascripts/swat/bower_components/zeroclipboard/dist/ZeroClipboard.min.js +10 -0
- data/app/assets/javascripts/swat/bower_components/zeroclipboard/dist/ZeroClipboard.swf +0 -0
- data/app/assets/javascripts/swat/bower_components.coffee +12 -0
- data/app/assets/stylesheets/swat/application.sass +59 -0
- data/app/assets/stylesheets/swat/default-theme.css +394 -0
- data/app/assets/stylesheets/swat/font-awesome.css +1801 -0
- data/app/assets/stylesheets/swat/fonts/FontAwesome.otf +0 -0
- data/app/assets/stylesheets/swat/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/stylesheets/swat/fonts/fontawesome-webfont.svg +565 -0
- data/app/assets/stylesheets/swat/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/stylesheets/swat/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/stylesheets/swat/fonts/fontawesome-webfont.woff2 +0 -0
- data/app/assets/stylesheets/swat/swat_theme.sass +177 -0
- data/app/controllers/swat/api/revisions_controller.rb +27 -0
- data/app/controllers/swat/api/test_cases_controller.rb +20 -0
- data/app/controllers/swat/application_controller.rb +4 -0
- data/app/controllers/swat/info/states_controller.rb +12 -0
- data/app/controllers/swat/pages/base_pages_controller.rb +7 -0
- data/app/controllers/swat/pages/revisions_controller.rb +8 -0
- data/app/controllers/swat/revisions_controller.rb +4 -0
- data/app/helpers/swat/application_helper.rb +4 -0
- data/app/models/concerns/root_revision_ext.rb +14 -0
- data/app/models/full_revision.rb +88 -0
- data/app/models/revision.rb +84 -0
- data/app/models/revision_status_calculator.rb +98 -0
- data/app/models/test_case.rb +25 -0
- data/app/views/layouts/swat/application.slim +36 -0
- data/app/views/layouts/swat/page.slim +2 -0
- data/app/views/swat/application/index.slim +0 -0
- data/app/views/swat/pages/revisions/index.slim +25 -0
- data/app/views/swat/pages/revisions/show.slim +43 -0
- data/app/views/swat/shared/_footer.slim +5 -0
- data/app/views/swat/shared/_header.slim +9 -0
- data/bin/rails +12 -0
- data/config/routes.rb +38 -0
- data/fixtures/firebase_collection.rb +97 -0
- data/lib/sw2at-ui.rb +19 -0
- data/lib/swat/engine.rb +5 -0
- data/lib/swat/ui/config.rb +28 -0
- data/lib/swat/ui/rspec_commands.rb +191 -0
- data/lib/swat/ui/rspec_setup.rb +42 -0
- data/lib/swat/ui/stats_collector.rb +90 -0
- data/lib/swat/ui/version.rb +5 -0
- data/lib/tasks/swat_tasks.rake +36 -0
- data/spec/lib/commands_spec.rb +88 -0
- data/spec/models/calculator_spec.rb +130 -0
- data/spec/models/full_revision_spec.rb +263 -0
- data/spec/models/revision_spec.rb +59 -0
- data/spec/models/testcase_spec.rb +94 -0
- data/spec/spec_helper.rb +45 -0
- data/sw2at-ui.gemspec +465 -0
- data/test/helper.rb +34 -0
- data/test/test_sw2at-ui.rb +7 -0
- metadata +628 -0
@@ -0,0 +1,235 @@
|
|
1
|
+
/*!
|
2
|
+
* Angular Material Design
|
3
|
+
* https://github.com/angular/material
|
4
|
+
* @license MIT
|
5
|
+
* v0.7.0-rc3
|
6
|
+
*/
|
7
|
+
(function() {
|
8
|
+
'use strict';
|
9
|
+
|
10
|
+
/**
|
11
|
+
* @ngdoc module
|
12
|
+
* @name material.components.toast
|
13
|
+
* @description
|
14
|
+
* Toast
|
15
|
+
*/
|
16
|
+
angular.module('material.components.toast', [
|
17
|
+
'material.core',
|
18
|
+
'material.components.swipe',
|
19
|
+
'material.components.button'
|
20
|
+
])
|
21
|
+
.directive('mdToast', MdToastDirective)
|
22
|
+
.provider('$mdToast', MdToastProvider);
|
23
|
+
|
24
|
+
function MdToastDirective() {
|
25
|
+
return {
|
26
|
+
restrict: 'E'
|
27
|
+
};
|
28
|
+
}
|
29
|
+
|
30
|
+
/**
|
31
|
+
* @ngdoc service
|
32
|
+
* @name $mdToast
|
33
|
+
* @module material.components.toast
|
34
|
+
*
|
35
|
+
* @description
|
36
|
+
* `$mdToast` is a service to build a toast nofication on any position
|
37
|
+
* on the screen with an optional duration, and provides a simple promise API.
|
38
|
+
*
|
39
|
+
*
|
40
|
+
* ### Restrictions on custom toasts
|
41
|
+
* - The toast's template must have an outer `<md-toast>` element.
|
42
|
+
* - For a toast action, use element with class `md-action`.
|
43
|
+
* - Add the class `md-capsule` for curved corners.
|
44
|
+
*
|
45
|
+
* @usage
|
46
|
+
* <hljs lang="html">
|
47
|
+
* <div ng-controller="MyController">
|
48
|
+
* <md-button ng-click="openToast()">
|
49
|
+
* Open a Toast!
|
50
|
+
* </md-button>
|
51
|
+
* </div>
|
52
|
+
* </hljs>
|
53
|
+
*
|
54
|
+
* <hljs lang="js">
|
55
|
+
* var app = angular.module('app', ['ngMaterial']);
|
56
|
+
* app.controller('MyController', function($scope, $mdToast) {
|
57
|
+
* $scope.openToast = function($event) {
|
58
|
+
* $mdToast.show($mdToast.simple().content('Hello!'));
|
59
|
+
* // Could also do $mdtoast.showSimple('Hello');
|
60
|
+
* };
|
61
|
+
* });
|
62
|
+
* </hljs>
|
63
|
+
*/
|
64
|
+
|
65
|
+
/**
|
66
|
+
* @ngdoc method
|
67
|
+
* @name $mdToast#showSimple
|
68
|
+
*
|
69
|
+
* @description
|
70
|
+
* Convenience method which builds and shows a simple toast.
|
71
|
+
*
|
72
|
+
* @returns {promise} A promise that can be resolved with `$mdToast.hide()` or
|
73
|
+
* rejected with `$mdToast.cancel()`.
|
74
|
+
*
|
75
|
+
*/
|
76
|
+
|
77
|
+
/**
|
78
|
+
* @ngdoc method
|
79
|
+
* @name $mdToast#simple
|
80
|
+
*
|
81
|
+
* @description
|
82
|
+
* Builds a preconfigured toast.
|
83
|
+
*
|
84
|
+
* @returns {obj} a `$mdToastPreset` with the chainable configuration methods:
|
85
|
+
*
|
86
|
+
* - $mdToastPreset#content(string) - sets toast content to string
|
87
|
+
* - $mdToastPreset#action(string) - adds an action button, which resolves the promise returned from `show()` if clicked.
|
88
|
+
* - $mdToastPreset#highlightAction(boolean) - sets action button to be highlighted
|
89
|
+
* - $mdToastPreset#capsule(boolean) - adds 'md-capsule' class to the toast (curved corners)
|
90
|
+
*/
|
91
|
+
|
92
|
+
/**
|
93
|
+
* @ngdoc method
|
94
|
+
* @name $mdToast#build
|
95
|
+
*
|
96
|
+
* @description
|
97
|
+
* Creates a custom `$mdToastPreset` that you can configure.
|
98
|
+
*
|
99
|
+
* @returns {obj} a `$mdToastPreset` with the chainable configuration methods for shows' options (see below).
|
100
|
+
*/
|
101
|
+
|
102
|
+
/**
|
103
|
+
* @ngdoc method
|
104
|
+
* @name $mdToast#show
|
105
|
+
*
|
106
|
+
* @description Shows the toast.
|
107
|
+
*
|
108
|
+
* @param {object} optionsOrPreset Either provide an `$mdToastPreset` returned from `simple()`
|
109
|
+
* and `build()`, or an options object with the following properties:
|
110
|
+
*
|
111
|
+
* - `templateUrl` - `{string=}`: The url of an html template file that will
|
112
|
+
* be used as the content of the toast. Restrictions: the template must
|
113
|
+
* have an outer `md-toast` element.
|
114
|
+
* - `template` - `{string=}`: Same as templateUrl, except this is an actual
|
115
|
+
* template string.
|
116
|
+
* - `hideDelay` - `{number=}`: How many milliseconds the toast should stay
|
117
|
+
* active before automatically closing. Set to 0 or false to have the toast stay open until
|
118
|
+
* closed manually. Default: 3000.
|
119
|
+
* - `position` - `{string=}`: Where to place the toast. Available: any combination
|
120
|
+
* of 'bottom', 'left', 'top', 'right', 'fit'. Default: 'bottom left'.
|
121
|
+
* - `controller` - `{string=}`: The controller to associate with this toast.
|
122
|
+
* The controller will be injected the local `$hideToast`, which is a function
|
123
|
+
* used to hide the toast.
|
124
|
+
* - `locals` - `{string=}`: An object containing key/value pairs. The keys will
|
125
|
+
* be used as names of values to inject into the controller. For example,
|
126
|
+
* `locals: {three: 3}` would inject `three` into the controller with the value
|
127
|
+
* of 3.
|
128
|
+
* - `resolve` - `{object=}`: Similar to locals, except it takes promises as values
|
129
|
+
* and the toast will not open until the promises resolve.
|
130
|
+
* - `controllerAs` - `{string=}`: An alias to assign the controller to on the scope.
|
131
|
+
* - `parent` - `{element=}`: The element to append the toast to. Defaults to appending
|
132
|
+
* to the root element of the application.
|
133
|
+
*
|
134
|
+
* @returns {promise} A promise that can be resolved with `$mdToast.hide()` or
|
135
|
+
* rejected with `$mdToast.cancel()`.
|
136
|
+
*/
|
137
|
+
|
138
|
+
/**
|
139
|
+
* @ngdoc method
|
140
|
+
* @name $mdToast#hide
|
141
|
+
*
|
142
|
+
* @description
|
143
|
+
* Hide an existing toast and resolve the promise returned from `$mdToast.show()`.
|
144
|
+
*
|
145
|
+
* @param {*=} response An argument for the resolved promise.
|
146
|
+
*
|
147
|
+
*/
|
148
|
+
|
149
|
+
/**
|
150
|
+
* @ngdoc method
|
151
|
+
* @name $mdToast#cancel
|
152
|
+
*
|
153
|
+
* @description
|
154
|
+
* Hide the existing toast and reject the promise returned from
|
155
|
+
* `$mdToast.show()`.
|
156
|
+
*
|
157
|
+
* @param {*=} response An argument for the rejected promise.
|
158
|
+
*
|
159
|
+
*/
|
160
|
+
|
161
|
+
function MdToastProvider($$interimElementProvider) {
|
162
|
+
|
163
|
+
toastDefaultOptions.$inject = ["$timeout", "$animate", "$mdSwipe", "$mdTheming", "$mdToast"];
|
164
|
+
return $$interimElementProvider('$mdToast')
|
165
|
+
.setDefaults({
|
166
|
+
methods: ['position', 'hideDelay', 'capsule'],
|
167
|
+
options: toastDefaultOptions
|
168
|
+
})
|
169
|
+
.addPreset('simple', {
|
170
|
+
argOption: 'content',
|
171
|
+
methods: ['content', 'action', 'highlightAction'],
|
172
|
+
options: /* @ngInject */ ["$mdToast", function($mdToast) {
|
173
|
+
return {
|
174
|
+
template: [
|
175
|
+
'<md-toast ng-class="{\'md-capsule\': toast.capsule}">',
|
176
|
+
'<span flex>{{ toast.content }}</span>',
|
177
|
+
'<md-button ng-if="toast.action" ng-click="toast.resolve()" ng-class="{\'md-action\': toast.highlightAction}">',
|
178
|
+
'{{ toast.action }}',
|
179
|
+
'</md-button>',
|
180
|
+
'</md-toast>'
|
181
|
+
].join(''),
|
182
|
+
controller: function mdToastCtrl() {
|
183
|
+
this.resolve = function() {
|
184
|
+
$mdToast.hide();
|
185
|
+
};
|
186
|
+
},
|
187
|
+
controllerAs: 'toast',
|
188
|
+
bindToController: true
|
189
|
+
};
|
190
|
+
}]
|
191
|
+
});
|
192
|
+
|
193
|
+
/* @ngInject */
|
194
|
+
function toastDefaultOptions($timeout, $animate, $mdSwipe, $mdTheming, $mdToast) {
|
195
|
+
return {
|
196
|
+
onShow: onShow,
|
197
|
+
onRemove: onRemove,
|
198
|
+
position: 'bottom left',
|
199
|
+
themable: true,
|
200
|
+
hideDelay: 3000
|
201
|
+
};
|
202
|
+
|
203
|
+
function onShow(scope, element, options) {
|
204
|
+
// 'top left' -> 'md-top md-left'
|
205
|
+
element.addClass(options.position.split(' ').map(function(pos) {
|
206
|
+
return 'md-' + pos;
|
207
|
+
}).join(' '));
|
208
|
+
options.parent.addClass(toastOpenClass(options.position));
|
209
|
+
|
210
|
+
var configureSwipe = $mdSwipe(scope, 'swipeleft swiperight');
|
211
|
+
options.detachSwipe = configureSwipe(element, function(ev) {
|
212
|
+
//Add swipeleft/swiperight class to element so it can animate correctly
|
213
|
+
element.addClass('md-' + ev.type);
|
214
|
+
$timeout($mdToast.cancel);
|
215
|
+
});
|
216
|
+
|
217
|
+
return $animate.enter(element, options.parent);
|
218
|
+
}
|
219
|
+
|
220
|
+
function onRemove(scope, element, options) {
|
221
|
+
options.detachSwipe();
|
222
|
+
options.parent.removeClass(toastOpenClass(options.position));
|
223
|
+
return $animate.leave(element);
|
224
|
+
}
|
225
|
+
|
226
|
+
function toastOpenClass(position) {
|
227
|
+
return 'md-toast-open-' +
|
228
|
+
(position.indexOf('top') > -1 ? 'top' : 'bottom');
|
229
|
+
}
|
230
|
+
}
|
231
|
+
|
232
|
+
}
|
233
|
+
MdToastProvider.$inject = ["$$interimElementProvider"];
|
234
|
+
|
235
|
+
})();
|
data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast.min.css
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Angular Material Design
|
3
|
+
* https://github.com/angular/material
|
4
|
+
* @license MIT
|
5
|
+
* v0.7.0-rc3
|
6
|
+
*/md-toast{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:absolute;box-sizing:border-box;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;min-height:48px;padding-left:24px;padding-right:24px;box-shadow:0 2px 5px 0 rgba(0,0,0,.26);border-radius:2px;font-size:14px;cursor:default;max-width:879px;max-height:40px;height:24px;z-index:90;opacity:1;-webkit-transform:translate3d(0,0,0) rotateZ(0deg);transform:translate3d(0,0,0) rotateZ(0deg);-webkit-transition:all .4s cubic-bezier(0.25,.8,.25,1);transition:all .4s cubic-bezier(0.25,.8,.25,1)}md-toast.md-capsule{border-radius:24px}md-toast.ng-leave-active{-webkit-transition:all .3s cubic-bezier(0.55,0,.55,.2);transition:all .3s cubic-bezier(0.55,0,.55,.2)}md-toast.md-swipedown,md-toast.md-swipeleft,md-toast.md-swiperight,md-toast.md-swipeup{-webkit-transition:all .4s cubic-bezier(0.25,.8,.25,1);transition:all .4s cubic-bezier(0.25,.8,.25,1)}md-toast.ng-enter{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);opacity:0}md-toast.ng-enter.md-top{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}md-toast.ng-enter.ng-enter-active{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}md-toast.ng-leave.ng-leave-active{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}md-toast.ng-leave.ng-leave-active.md-top{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}md-toast.ng-leave.ng-leave-active.md-swipeleft{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}md-toast.ng-leave.ng-leave-active.md-swiperight{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}md-toast .md-action{line-height:19px;padding-left:24px;cursor:pointer;text-transform:uppercase;float:right}@media (max-width:600px){md-toast{left:0;right:0;width:100%;max-width:100%;min-width:0;border-radius:0;bottom:0}md-toast.md-top{bottom:auto;top:0}}@media (min-width:600px){md-toast{min-width:288px}md-toast.md-bottom{bottom:8px}md-toast.md-left{left:8px}md-toast.md-right{right:8px}md-toast.md-top{top:8px}md-toast.ng-leave.ng-leave-active.md-swipeleft{-webkit-transform:translate3d(-100%,25%,0) rotateZ(-15deg);transform:translate3d(-100%,25%,0) rotateZ(-15deg)}md-toast.ng-leave.ng-leave-active.md-swiperight{-webkit-transform:translate3d(100%,25%,0) rotateZ(15deg);transform:translate3d(100%,25%,0) rotateZ(15deg)}md-toast.ng-leave.ng-leave-active.md-top.md-swipeleft{-webkit-transform:translate3d(-100%,0,0) rotateZ(-15deg);transform:translate3d(-100%,0,0) rotateZ(-15deg)}md-toast.ng-leave.ng-leave-active.md-top.md-swiperight{-webkit-transform:translate3d(100%,0,0) rotateZ(15deg);transform:translate3d(100%,0,0) rotateZ(15deg)}}
|
data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toast/toast.min.js
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
/*!
|
2
|
+
* Angular Material Design
|
3
|
+
* https://github.com/angular/material
|
4
|
+
* @license MIT
|
5
|
+
* v0.7.0-rc3
|
6
|
+
*/
|
7
|
+
!function(){"use strict";function t(){return{restrict:"E"}}function o(t){function o(t,o,n,e,i){function a(e,a,s){a.addClass(s.position.split(" ").map(function(t){return"md-"+t}).join(" ")),s.parent.addClass(r(s.position));var c=n(e,"swipeleft swiperight");return s.detachSwipe=c(a,function(o){a.addClass("md-"+o.type),t(i.cancel)}),o.enter(a,s.parent)}function s(t,n,e){return e.detachSwipe(),e.parent.removeClass(r(e.position)),o.leave(n)}function r(t){return"md-toast-open-"+(t.indexOf("top")>-1?"top":"bottom")}return{onShow:a,onRemove:s,position:"bottom left",themable:!0,hideDelay:3e3}}return o.$inject=["$timeout","$animate","$mdSwipe","$mdTheming","$mdToast"],t("$mdToast").setDefaults({methods:["position","hideDelay","capsule"],options:o}).addPreset("simple",{argOption:"content",methods:["content","action","highlightAction"],options:["$mdToast",function(t){return{template:["<md-toast ng-class=\"{'md-capsule': toast.capsule}\">","<span flex>{{ toast.content }}</span>",'<md-button ng-if="toast.action" ng-click="toast.resolve()" ng-class="{\'md-action\': toast.highlightAction}">',"{{ toast.action }}","</md-button>","</md-toast>"].join(""),controller:function(){this.resolve=function(){t.hide()}},controllerAs:"toast",bindToController:!0}}]})}angular.module("material.components.toast",["material.core","material.components.swipe","material.components.button"]).directive("mdToast",t).provider("$mdToast",o),o.$inject=["$$interimElementProvider"]}();
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/*!
|
2
|
+
* Angular Material Design
|
3
|
+
* https://github.com/angular/material
|
4
|
+
* @license MIT
|
5
|
+
* v0.7.0-rc3
|
6
|
+
*/
|
7
|
+
md-toolbar.md-THEME_NAME-theme {
|
8
|
+
background-color: '{{primary-color}}';
|
9
|
+
color: '{{primary-contrast}}'; }
|
10
|
+
md-toolbar.md-THEME_NAME-theme .md-button {
|
11
|
+
color: '{{primary-contrast}}'; }
|
12
|
+
md-toolbar.md-THEME_NAME-theme.md-accent {
|
13
|
+
background-color: '{{accent-color}}';
|
14
|
+
color: '{{accent-contrast}}'; }
|
15
|
+
md-toolbar.md-THEME_NAME-theme.md-warn {
|
16
|
+
background-color: '{{warn-color}}';
|
17
|
+
color: '{{warn-contrast}}'; }
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Angular Material Design
|
3
|
+
* https://github.com/angular/material
|
4
|
+
* @license MIT
|
5
|
+
* v0.7.0-rc3
|
6
|
+
*/md-toolbar.md-THEME_NAME-theme{background-color:'{{primary-color}}';color:'{{primary-contrast}}'}md-toolbar.md-THEME_NAME-theme .md-button{color:'{{primary-contrast}}'}md-toolbar.md-THEME_NAME-theme.md-accent{background-color:'{{accent-color}}';color:'{{accent-contrast}}'}md-toolbar.md-THEME_NAME-theme.md-warn{background-color:'{{warn-color}}';color:'{{warn-contrast}}'}
|
data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar.css
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
/*!
|
2
|
+
* Angular Material Design
|
3
|
+
* https://github.com/angular/material
|
4
|
+
* @license MIT
|
5
|
+
* v0.7.0-rc3
|
6
|
+
*/
|
7
|
+
md-toolbar {
|
8
|
+
display: -webkit-box;
|
9
|
+
display: -webkit-flex;
|
10
|
+
display: -ms-flexbox;
|
11
|
+
display: flex;
|
12
|
+
-webkit-box-orient: vertical;
|
13
|
+
-webkit-box-direction: normal;
|
14
|
+
-webkit-flex-direction: column;
|
15
|
+
-ms-flex-direction: column;
|
16
|
+
flex-direction: column;
|
17
|
+
position: relative;
|
18
|
+
z-index: 2;
|
19
|
+
font-size: 1.3em;
|
20
|
+
min-height: 64px;
|
21
|
+
width: 100%; }
|
22
|
+
md-toolbar.md-tall {
|
23
|
+
height: 128px;
|
24
|
+
min-height: 128px;
|
25
|
+
max-height: 128px; }
|
26
|
+
md-toolbar.md-medium-tall {
|
27
|
+
height: 88px;
|
28
|
+
min-height: 88px;
|
29
|
+
max-height: 88px; }
|
30
|
+
md-toolbar.md-medium-tall .md-toolbar-tools {
|
31
|
+
height: 48px;
|
32
|
+
min-height: 48px;
|
33
|
+
max-height: 48px; }
|
34
|
+
md-toolbar .md-indent {
|
35
|
+
margin-left: 64px; }
|
36
|
+
|
37
|
+
.md-toolbar-tools {
|
38
|
+
display: -webkit-box;
|
39
|
+
display: -webkit-flex;
|
40
|
+
display: -ms-flexbox;
|
41
|
+
display: flex;
|
42
|
+
-webkit-box-align: center;
|
43
|
+
-webkit-align-items: center;
|
44
|
+
-ms-flex-align: center;
|
45
|
+
align-items: center;
|
46
|
+
-webkit-box-orient: horizontal;
|
47
|
+
-webkit-box-direction: normal;
|
48
|
+
-webkit-flex-direction: row;
|
49
|
+
-ms-flex-direction: row;
|
50
|
+
flex-direction: row;
|
51
|
+
width: 100%;
|
52
|
+
height: 64px;
|
53
|
+
min-height: 100%;
|
54
|
+
max-height: 64px;
|
55
|
+
font-size: inherit;
|
56
|
+
font-weight: normal;
|
57
|
+
padding: 0 16px;
|
58
|
+
margin: 0; }
|
59
|
+
.md-toolbar-tools > * {
|
60
|
+
font-size: inherit; }
|
61
|
+
.md-toolbar-tools h2, .md-toolbar-tools h3 {
|
62
|
+
font-weight: normal; }
|
63
|
+
.md-toolbar-tools a {
|
64
|
+
color: inherit;
|
65
|
+
text-decoration: none; }
|
66
|
+
.md-toolbar-tools .fill-height {
|
67
|
+
display: -webkit-box;
|
68
|
+
display: -webkit-flex;
|
69
|
+
display: -ms-flexbox;
|
70
|
+
display: flex;
|
71
|
+
-webkit-box-align: center;
|
72
|
+
-webkit-align-items: center;
|
73
|
+
-ms-flex-align: center;
|
74
|
+
align-items: center; }
|
75
|
+
.md-toolbar-tools .md-tools {
|
76
|
+
margin-left: auto; }
|
77
|
+
.md-toolbar-tools .md-button {
|
78
|
+
font-size: 14px; }
|
data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar.js
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
/*!
|
2
|
+
* Angular Material Design
|
3
|
+
* https://github.com/angular/material
|
4
|
+
* @license MIT
|
5
|
+
* v0.7.0-rc3
|
6
|
+
*/
|
7
|
+
(function() {
|
8
|
+
'use strict';
|
9
|
+
|
10
|
+
/**
|
11
|
+
* @ngdoc module
|
12
|
+
* @name material.components.toolbar
|
13
|
+
*/
|
14
|
+
angular.module('material.components.toolbar', [
|
15
|
+
'material.core',
|
16
|
+
'material.components.content'
|
17
|
+
])
|
18
|
+
.directive('mdToolbar', mdToolbarDirective);
|
19
|
+
|
20
|
+
/**
|
21
|
+
* @ngdoc directive
|
22
|
+
* @name mdToolbar
|
23
|
+
* @module material.components.toolbar
|
24
|
+
* @restrict E
|
25
|
+
* @description
|
26
|
+
* `md-toolbar` is used to place a toolbar in your app.
|
27
|
+
*
|
28
|
+
* Toolbars are usually used above a content area to display the title of the
|
29
|
+
* current page, and show relevant action buttons for that page.
|
30
|
+
*
|
31
|
+
* You can change the height of the toolbar by adding either the
|
32
|
+
* `md-medium-tall` or `md-tall` class to the toolbar.
|
33
|
+
*
|
34
|
+
* @usage
|
35
|
+
* <hljs lang="html">
|
36
|
+
* <div layout="column" layout-fill>
|
37
|
+
* <md-toolbar>
|
38
|
+
*
|
39
|
+
* <div class="md-toolbar-tools">
|
40
|
+
* <span>My App's Title</span>
|
41
|
+
*
|
42
|
+
* <!-- fill up the space between left and right area -->
|
43
|
+
* <span flex></span>
|
44
|
+
*
|
45
|
+
* <md-button>
|
46
|
+
* Right Bar Button
|
47
|
+
* </md-button>
|
48
|
+
* </div>
|
49
|
+
*
|
50
|
+
* </md-toolbar>
|
51
|
+
* <md-content>
|
52
|
+
* Hello!
|
53
|
+
* </md-content>
|
54
|
+
* </div>
|
55
|
+
* </hljs>
|
56
|
+
*
|
57
|
+
* @param {boolean=} md-scroll-shrink Whether the header should shrink away as
|
58
|
+
* the user scrolls down, and reveal itself as the user scrolls up.
|
59
|
+
* Note: for scrollShrink to work, the toolbar must be a sibling of a
|
60
|
+
* `md-content` element, placed before it. See the scroll shrink demo.
|
61
|
+
*
|
62
|
+
*
|
63
|
+
* @param {number=} md-shrink-speed-factor How much to change the speed of the toolbar's
|
64
|
+
* shrinking by. For example, if 0.25 is given then the toolbar will shrink
|
65
|
+
* at one fourth the rate at which the user scrolls down. Default 0.5.
|
66
|
+
*/
|
67
|
+
function mdToolbarDirective($$rAF, $mdConstant, $mdUtil, $mdTheming) {
|
68
|
+
|
69
|
+
return {
|
70
|
+
restrict: 'E',
|
71
|
+
controller: angular.noop,
|
72
|
+
link: function(scope, element, attr) {
|
73
|
+
$mdTheming(element);
|
74
|
+
|
75
|
+
if (angular.isDefined(attr.mdScrollShrink)) {
|
76
|
+
setupScrollShrink();
|
77
|
+
}
|
78
|
+
|
79
|
+
function setupScrollShrink() {
|
80
|
+
// Current "y" position of scroll
|
81
|
+
var y = 0;
|
82
|
+
// Store the last scroll top position
|
83
|
+
var prevScrollTop = 0;
|
84
|
+
|
85
|
+
var shrinkSpeedFactor = attr.mdShrinkSpeedFactor || 0.5;
|
86
|
+
|
87
|
+
var toolbarHeight;
|
88
|
+
var contentElement;
|
89
|
+
|
90
|
+
var debouncedContentScroll = $$rAF.debounce(onContentScroll);
|
91
|
+
var debouncedUpdateHeight = $mdUtil.debounce(updateToolbarHeight, 5 * 1000);
|
92
|
+
|
93
|
+
// Wait for $mdContentLoaded event from mdContent directive.
|
94
|
+
// If the mdContent element is a sibling of our toolbar, hook it up
|
95
|
+
// to scroll events.
|
96
|
+
scope.$on('$mdContentLoaded', onMdContentLoad);
|
97
|
+
|
98
|
+
function onMdContentLoad($event, newContentEl) {
|
99
|
+
// Toolbar and content must be siblings
|
100
|
+
if (element.parent()[0] === newContentEl.parent()[0]) {
|
101
|
+
// unhook old content event listener if exists
|
102
|
+
if (contentElement) {
|
103
|
+
contentElement.off('scroll', debouncedContentScroll);
|
104
|
+
}
|
105
|
+
|
106
|
+
newContentEl.on('scroll', debouncedContentScroll);
|
107
|
+
newContentEl.attr('scroll-shrink', 'true');
|
108
|
+
|
109
|
+
contentElement = newContentEl;
|
110
|
+
$$rAF(updateToolbarHeight);
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
function updateToolbarHeight() {
|
115
|
+
toolbarHeight = element.prop('offsetHeight');
|
116
|
+
// Add a negative margin-top the size of the toolbar to the content el.
|
117
|
+
// The content will start transformed down the toolbarHeight amount,
|
118
|
+
// so everything looks normal.
|
119
|
+
//
|
120
|
+
// As the user scrolls down, the content will be transformed up slowly
|
121
|
+
// to put the content underneath where the toolbar was.
|
122
|
+
contentElement.css(
|
123
|
+
'margin-top',
|
124
|
+
(-toolbarHeight * shrinkSpeedFactor) + 'px'
|
125
|
+
);
|
126
|
+
onContentScroll();
|
127
|
+
}
|
128
|
+
|
129
|
+
function onContentScroll(e) {
|
130
|
+
var scrollTop = e ? e.target.scrollTop : prevScrollTop;
|
131
|
+
|
132
|
+
debouncedUpdateHeight();
|
133
|
+
|
134
|
+
y = Math.min(
|
135
|
+
toolbarHeight / shrinkSpeedFactor,
|
136
|
+
Math.max(0, y + scrollTop - prevScrollTop)
|
137
|
+
);
|
138
|
+
|
139
|
+
element.css(
|
140
|
+
$mdConstant.CSS.TRANSFORM,
|
141
|
+
'translate3d(0,' + (-y * shrinkSpeedFactor) + 'px,0)'
|
142
|
+
);
|
143
|
+
contentElement.css(
|
144
|
+
$mdConstant.CSS.TRANSFORM,
|
145
|
+
'translate3d(0,' + ((toolbarHeight - y) * shrinkSpeedFactor) + 'px,0)'
|
146
|
+
);
|
147
|
+
|
148
|
+
prevScrollTop = scrollTop;
|
149
|
+
}
|
150
|
+
|
151
|
+
}
|
152
|
+
|
153
|
+
}
|
154
|
+
};
|
155
|
+
|
156
|
+
}
|
157
|
+
mdToolbarDirective.$inject = ["$$rAF", "$mdConstant", "$mdUtil", "$mdTheming"];
|
158
|
+
})();
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Angular Material Design
|
3
|
+
* https://github.com/angular/material
|
4
|
+
* @license MIT
|
5
|
+
* v0.7.0-rc3
|
6
|
+
*/md-toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;position:relative;z-index:2;font-size:1.3em;min-height:64px;width:100%}md-toolbar.md-tall{height:128px;min-height:128px;max-height:128px}md-toolbar.md-medium-tall{height:88px;min-height:88px;max-height:88px}md-toolbar.md-medium-tall .md-toolbar-tools{height:48px;min-height:48px;max-height:48px}md-toolbar .md-indent{margin-left:64px}.md-toolbar-tools{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;width:100%;height:64px;min-height:100%;max-height:64px;font-size:inherit;font-weight:400;padding:0 16px;margin:0}.md-toolbar-tools>*{font-size:inherit}.md-toolbar-tools h2,.md-toolbar-tools h3{font-weight:400}.md-toolbar-tools a{color:inherit;text-decoration:none}.md-toolbar-tools .fill-height{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.md-toolbar-tools .md-tools{margin-left:auto}.md-toolbar-tools .md-button{font-size:14px}
|
data/app/assets/javascripts/swat/bower_components/angular-material/modules/js/toolbar/toolbar.min.js
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
/*!
|
2
|
+
* Angular Material Design
|
3
|
+
* https://github.com/angular/material
|
4
|
+
* @license MIT
|
5
|
+
* v0.7.0-rc3
|
6
|
+
*/
|
7
|
+
!function(){"use strict";function n(n,t,o,r){return{restrict:"E",controller:angular.noop,link:function(e,a,c){function i(){function r(t,o){a.parent()[0]===o.parent()[0]&&(d&&d.off("scroll",f),o.on("scroll",f),o.attr("scroll-shrink","true"),d=o,n(i))}function i(){s=a.prop("offsetHeight"),d.css("margin-top",-s*p+"px"),l()}function l(n){var o=n?n.target.scrollTop:u;S(),m=Math.min(s/p,Math.max(0,m+o-u)),a.css(t.CSS.TRANSFORM,"translate3d(0,"+-m*p+"px,0)"),d.css(t.CSS.TRANSFORM,"translate3d(0,"+(s-m)*p+"px,0)"),u=o}var s,d,m=0,u=0,p=c.mdShrinkSpeedFactor||.5,f=n.debounce(l),S=o.debounce(i,5e3);e.$on("$mdContentLoaded",r)}r(a),angular.isDefined(c.mdScrollShrink)&&i()}}}angular.module("material.components.toolbar",["material.core","material.components.content"]).directive("mdToolbar",n),n.$inject=["$$rAF","$mdConstant","$mdUtil","$mdTheming"]}();
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/*!
|
2
|
+
* Angular Material Design
|
3
|
+
* https://github.com/angular/material
|
4
|
+
* @license MIT
|
5
|
+
* v0.7.0-rc3
|
6
|
+
*/
|
7
|
+
md-tooltip.md-THEME_NAME-theme {
|
8
|
+
color: '{{background-A100}}'; }
|
9
|
+
md-tooltip.md-THEME_NAME-theme .md-background {
|
10
|
+
background-color: '{{foreground-2}}'; }
|