express_admin 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -1
- data/app/assets/images/express_admin/appexpress_logo_dark.png +0 -0
- data/app/assets/javascripts/express_admin.js +1 -4
- data/app/assets/javascripts/express_admin/admin.js +0 -2
- data/app/assets/javascripts/express_admin/scrollTableBody.js +127 -0
- data/app/assets/stylesheets/express_admin.css +1 -1
- data/app/assets/stylesheets/express_admin/components/_main_menu.sass +5 -0
- data/app/assets/stylesheets/express_admin/components/_megadropdown.sass +0 -5
- data/app/assets/stylesheets/express_admin/components/_module_sidebar.sass +9 -0
- data/app/assets/stylesheets/express_admin/components/_pane.sass +9 -0
- data/app/assets/stylesheets/express_admin/components/_widget_box.sass +10 -0
- data/app/assets/stylesheets/express_admin/globals/_foundation_overrides.sass +612 -0
- data/app/assets/stylesheets/express_admin/globals/_mixins.sass +9 -0
- data/app/assets/stylesheets/express_admin/globals/_typography.sass +8 -16
- data/app/assets/stylesheets/express_admin/globals/_variables.sass +18 -12
- data/app/assets/stylesheets/express_admin/screen.sass +16 -9
- data/app/assets/stylesheets/express_admin/sections/_header.sass +8 -94
- data/app/assets/stylesheets/express_admin/sections/_main_content.sass +3 -61
- data/app/assets/stylesheets/express_admin/sections/_main_region.sass +9 -0
- data/app/assets/stylesheets/express_admin/sections/_page_body.sass +6 -0
- data/app/assets/stylesheets/express_admin/sections/_page_sidebar.sass +5 -0
- data/app/assets/stylesheets/express_admin/sections/_sidebar_region.sass +7 -0
- data/app/assets/stylesheets/express_admin/shared/_buttons.sass +2 -31
- data/app/assets/stylesheets/express_admin/shared/_forms.sass +3 -97
- data/app/assets/stylesheets/express_admin/shared/_layout_components.sass +60 -0
- data/app/assets/stylesheets/express_admin/shared/_messages.sass +1 -1
- data/app/assets/stylesheets/express_admin/shared/_tables.sass +12 -67
- data/app/assets/stylesheets/express_admin/shared/_trees.sass +27 -0
- data/app/components/express_admin/addon_sidebar_component.rb +5 -9
- data/app/components/express_admin/h_box.rb +16 -0
- data/app/components/express_admin/layout_component.rb +14 -0
- data/app/components/express_admin/main_region.rb +1 -1
- data/app/components/express_admin/pane.rb +37 -0
- data/app/components/express_admin/sidebar_region.rb +2 -4
- data/app/components/express_admin/smart_form.rb +63 -27
- data/app/components/express_admin/smart_table.rb +131 -41
- data/app/components/express_admin/v_box.rb +16 -0
- data/app/components/express_admin/widget_box.rb +2 -2
- data/app/helpers/express_admin/admin_helper.rb +14 -9
- data/app/views/layouts/express_admin/admin.html.et +7 -11
- data/app/views/shared/express_admin/_navigation_bar.html.et +17 -13
- data/app/views/shared/express_admin/_navigation_bar_profile.html.et +0 -2
- data/app/views/shared/express_admin/_title.html.et +6 -8
- data/lib/express_admin/engine.rb +1 -1
- data/lib/express_admin/menu.rb +7 -2
- data/lib/express_admin/version.rb +1 -1
- data/lib/generators/express_admin/install/install_generator.rb +4 -4
- data/lib/generators/express_admin/install/templates/controllers/admin_controller.rb.erb +1 -1
- data/lib/generators/express_admin/scaffold/scaffold_generator.rb +10 -2
- data/lib/generators/express_admin/scaffold/templates/index.html.et.erb +1 -1
- data/test/dummy/app/controllers/admin/categories_controller.rb +12 -0
- data/test/dummy/app/controllers/admin/widgets_controller.rb +12 -0
- data/test/dummy/app/models/category.rb +3 -0
- data/test/dummy/app/models/tag.rb +4 -0
- data/test/dummy/app/models/widget.rb +7 -0
- data/test/dummy/app/models/widget_tag.rb +4 -0
- data/test/dummy/app/views/admin/categories/index.html.et +10 -0
- data/test/dummy/app/views/admin/widgets/index.html.et +10 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20150525221206_create_widgets.rb +15 -0
- data/test/dummy/db/migrate/20150525221228_create_categories.rb +9 -0
- data/test/dummy/db/migrate/20150610081108_create_tags.rb +7 -0
- data/test/dummy/db/migrate/20150610081204_create_widget_tags.rb +8 -0
- data/test/dummy/db/schema.rb +26 -5
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +35 -0
- data/test/dummy/log/test.log +33428 -0
- data/test/dummy/test/components/smart_form_test.rb +93 -0
- data/test/dummy/test/components/smart_table_test.rb +137 -0
- data/test/dummy/test/fixtures/categories.yml +8 -0
- data/test/dummy/test/fixtures/tags.yml +14 -0
- data/test/dummy/test/fixtures/widget_tags.yml +10 -0
- data/test/dummy/test/fixtures/widgets.yml +20 -0
- data/test/dummy/test/models/category_test.rb +13 -0
- data/test/dummy/test/models/tag_test.rb +13 -0
- data/test/dummy/test/models/widget_tag_test.rb +13 -0
- data/test/dummy/test/models/widget_test.rb +13 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0fNukwCUjSC_GRsVIMtSMVdZkd5bq5eShMcGCrCVolc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1c4REJHKdQH9bwZhZ7Ixshmy_1jAzXc3-9OiDCDyRlk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1rKHSaJsgLcnfIJRWYdYy7IimMCKcdI-I_ABekUargk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2kMk5s4FKAOWE1z_MvFIKHmdvNDzyoknoi39xL7KwJw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2oGeKB_QtwWpX3sJNHocsJiBZT60x_cwV_nSGh_HS-A.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2rQDWRzFxOlBnczJ1BLfE2yCPVvrhgLGfAI7VSM54wk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3S9nnUmEIG4-hDY6cVc82GFUUWicNxtpFfWwJAmJSkI.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4WErFdugnc8uWYwUE9vVfw4xxCgknECdpWhn8teZbLk.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4a7epNa5R1jeKCtFsJKTdVqMEQm5p0clABRPIiKegMo.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/57pjjkzReNE1L9yodewGebfd0AwnfQb33rtJjSTNpLc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7vpDV8GyXVfyuFIkRrrkOwUXyIaCmf22tBPDpvhCUUc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Cpj6WyqdggDUkeQl_Ut3P9sUtPHPXXwkmZ92TfIJGJ8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DwepgSdLiEklsJWIJItEY_ZW-nOjjeHqcdQwBtu0mus.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FOJpwMQCx9V9wfhJQKFa2f7BjfP7vyS7M3o6VX0nAI0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GStmpiXE4g01i-UTlSKq8B9yS69WpAp0YH7vWyESBwI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/H53ZZ50FwJjYUOMH60F7cpINgkh9tOF4R3L6ANoH6tU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HY86Fwn8VPlIysY56uV-wu90bISxrXeiCtwDXg94Glg.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IcNDN_pmsAcLAMv6CST75OwOucmYm3q2099jn4tB0H8.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/JpdfSFVzivQn6TFSivlys3nV3VzD8cT0ET8uqbptxV4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KYe0_GIi-cNX0eRteBB0aixVATrVRo7Z3BaWFCgc7yg.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LsiO4sLQfM0GvyEYhaC2E54rCurTkewg7YJX-sWBctI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/NDViKg4-yspkY1tX9IQWnh1-LkiKqIohBqtRlYZZQcs.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/OXsmreTQ3MNzGsrV1eEoW72VZQ52hQ0HiuTr0ImnqHA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PuMvTyv89E8wfRqbWNMhTH3PAE61uCCHgpEsgdOzMXQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Pvp8CVIKYjspNrgzEvgleujifrrdfATzWbwALDzQNE4.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PzcOUndLc-O-VBR2SDM2rFkiqh-iqknTEgEAXDLKfdc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QbX1HRM7KX85_PeVHcd6VJM6sqzUCWXEEYZX7CAG0eA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UDHqQKrYSSvXfCbiJjXzmJh2Q6T5hLO80aaPvs9n-74.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UFtISk01WwcjjWcPLyjeHX3bgBqZHGQcb0Z4KFNmduA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UWvG-0WgVYHVxrtLU32uumROQuSjJv_M_svW1B8YxhY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UruI7_ZpuzDnmNir9hzUa_r8oiuuIfVTco19ACdxwRw.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VQ2-2HlkGd1XVIHlwRGcgDsjto3oE-50-4E3HGdt8uU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VezioHwyk87G6TWkkYX88tBHC6QToVGOU5geZ54Ts5A.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WfQ-xKbnwqaKy-UQa8spczc9qocIL_jZE4cyRZftjfA.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XPpCqlT8yHTnQNHKRxjnilUBvAs6klpgWXneFU15U78.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XXTM8o6vkSxhxxm8P_orbeCZvxb8nMk7cjdwvUNL1io.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XyRQXY_oj8GLw9z8lj2dknGu45jbX5lK8ko7TePosPE.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YDMOayx363vI7odbkHMVI-_RxkOoVP2Hb7FX0mFVFE0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Z88gJS67lNABJgUB18JzXrnGkVbYfXQvjqm7mSJIv3o.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_k4X14Cc-2Y4gc47s7PaWtAaG_zcq1ICJInTYNp6bI4.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_kr_dP4VVnM8s8ZMdiNBSpuPqkQVx46FUdCTDH4XR70.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_y-BPEZTh3iXcaPJkcP9-krjw-V8LMhop4VGxUEUDsY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/afi__XQzjsqMT3svcCGlVD_YrHEWQZAEbJt4CgYaCkw.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bdqS7lHa0nBN-mqdSomfMK-S6ct2TAn0z9kVzFBwQPM.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/csH89NDps1_QU4E0p0HHZti2XLd_etKYDqM9cPsNpps.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ePtEu-AuU0iZ2J02ZafF9yOJVd8VVdV2KSheiJYlXzA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/eTRff0YXBw-Tx9VEMxb-Es8NwqjHCXiaosBLxijl3I8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fRkrxaDYzRDIvxEUGZBFbW5ocAlmDQNg8_LRcOJJOzI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/goVFgqSk0CBOXpbwLNd-enc31BvXm1S8cMSJ3zbxRYI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hPH6lLkPX0EzSG_eBprMMUnmFs9y89AOarfyhGoAFGc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hgfrt0FmGrYD5SJVJhlsUPtL9usJvw3vZrW4dqQq16Y.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hiZg7FLw7SFa7S-BQ8CKWdAqFVUZy2HVb2chmQijM-g.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/iKb8yzw0EdFpNkayUbc16U7olK7iwE2xIs_6b_xIEtI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/iY03Ztj2YhBWadK8LHOKR3Hj1W7PLss0v85Q6Nj7E3Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ipLhCJrCCVwH7l_p1quUi2xS6POFlVHfZCqIymk8CoI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ipTot5AshDPhFtCBNfXROxutQlCrYkvsXsy3fcVT0Nw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/j5CxYBAeuD-bGDZUBh-pA0mEPCSVFDZsJm3x7QED4g0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jr4uhEONyFYm0QhfEOMqv05S-BeUP7gw1gQl3GIFyAI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kGO7_IQtBwpe93nSTKj6cCWGm0fZ_NoXltdw8E_74CQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/le9WohG3eSGbBMySdKkdvkHXW8yipO8w4iQZCCCQb3M.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mtmR_XlvnlYbOPmP1EkOj96q2Z5OQNv4HkeFj9DwEXQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/nU1obIDVHUhN-3yRA6B9U5aO8wsd6zh1tyVtSROJewk.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oZ6SMNNft5SCbvNtWXkGQwKQPVwXoJRMV7VUJfWHc2k.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oygs10cGTBBo7Mj97CjFRTrSrFR7Qi3MnHNR_WQvIps.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/p0Gnpai0VYzEsAXH_5t9huZ3dO0v6JKRH0PIH--q-XA.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pu9xM8T2O07hU3PafxbOLjg2vJxbbHE3qnIK9JHqVhA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qEHftZrJ-Da_nsvX4UOaALyIt0mwnOuE2TdtBPGAWEw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rtdpq5fxIYMKM43QyOIluEECg2NP5OA-7Zi8yuowZSI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ujFa5Hu76zd1O6nO2G7WcgnOWZyTOMKLajazyMXAL_I.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uovLHiJZBoVnD7CXYj2WZYmAbBcqGLQOzu4Voz5Fx8c.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uyHm0KHsHpJhn-wv69exuuyU4kyJtW3DDQLP7tCD7e4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/v50nc5cuqpLxjepk7XsBmomcmFARYlHQRtq8yOv8AY0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vAh5eTPxI929yxRCyXgbKTWat5cZiVSOyX0UeTveXGE.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vKiuNu1fQitE151bh0Tr2Ufkc80jWzchPjxaHkpjQL8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/x-3lyh5i4qS-Q9E3X2uj2LthTOxsndFTrFXBsPPo6hI.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/x3xQgAyjbrGTXy2FX2UzGG77agJgt_xsyNBuofrvY_E.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xQqBwKYWFPxZm5tidxsRKk23Z3q-OLRmKQUlMjRev_c.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yZNo-6dzWGUNCJDnmqm7X5YB5FOxjYp_l8aKS6KaZOg.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zV58Nou0R2EJG875wLND6wF9ES4diVi1fP7B_B6eCzw.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zxPFYKpkfNJtui1ekitdNMaGAo39fefm-oJCnILEEQ8.cache +1 -0
- data/test/fixtures/widgets.yml +20 -0
- data/test/lib/express_admin/menu_test.rb +1 -1
- data/test/{fixtures/express_admin → support}/test_menu.yml +0 -0
- data/test/test_helper.rb +25 -5
- data/vendor/gems/express_templates/Gemfile +16 -0
- data/vendor/gems/express_templates/Gemfile.lock +153 -0
- data/vendor/gems/express_templates/LICENSE +21 -0
- data/vendor/gems/express_templates/README.md +152 -0
- data/vendor/gems/express_templates/Rakefile +32 -0
- data/vendor/gems/express_templates/diagrams/diagram.graffle +2404 -0
- data/vendor/gems/express_templates/diagrams/diagram_express_templates.png +0 -0
- data/vendor/gems/express_templates/diagrams/diagram_haml_erb.png +0 -0
- data/vendor/gems/express_templates/express_templates-0.5.0.gem +0 -0
- data/vendor/gems/express_templates/express_templates.gemspec +29 -0
- data/vendor/gems/express_templates/lib/core_extensions/proc.rb +90 -0
- data/vendor/gems/express_templates/lib/core_extensions/string.rb +25 -0
- data/vendor/gems/express_templates/lib/express_templates.rb +19 -0
- data/vendor/gems/express_templates/lib/express_templates/compiler.rb +36 -0
- data/vendor/gems/express_templates/lib/express_templates/components.rb +18 -0
- data/vendor/gems/express_templates/lib/express_templates/components/base.rb +54 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/adoptable.rb +20 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/building.rb +14 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/conditionality.rb +54 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/configurable.rb +90 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/iterating.rb +75 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/parenting.rb +72 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/rendering.rb +30 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/resourceful.rb +135 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/templating.rb +198 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/wrapping.rb +84 -0
- data/vendor/gems/express_templates/lib/express_templates/components/column.rb +13 -0
- data/vendor/gems/express_templates/lib/express_templates/components/container.rb +7 -0
- data/vendor/gems/express_templates/lib/express_templates/components/content_for.rb +42 -0
- data/vendor/gems/express_templates/lib/express_templates/components/for_each.rb +30 -0
- data/vendor/gems/express_templates/lib/express_templates/components/form_rails_support.rb +22 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms.rb +17 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/basic_fields.rb +53 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/checkbox.rb +37 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/express_form.rb +57 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/form_component.rb +64 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/form_support.rb +13 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/option_support.rb +65 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/radio.rb +84 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/select.rb +105 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/select_collection.rb +57 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/submit.rb +26 -0
- data/vendor/gems/express_templates/lib/express_templates/components/null_wrap.rb +41 -0
- data/vendor/gems/express_templates/lib/express_templates/components/row.rb +28 -0
- data/vendor/gems/express_templates/lib/express_templates/components/table_for.rb +163 -0
- data/vendor/gems/express_templates/lib/express_templates/components/tree_for.rb +86 -0
- data/vendor/gems/express_templates/lib/express_templates/components/unless_block.rb +40 -0
- data/vendor/gems/express_templates/lib/express_templates/expander.rb +140 -0
- data/vendor/gems/express_templates/lib/express_templates/indenter.rb +47 -0
- data/vendor/gems/express_templates/lib/express_templates/interpolator.rb +36 -0
- data/vendor/gems/express_templates/lib/express_templates/macro.rb +45 -0
- data/vendor/gems/express_templates/lib/express_templates/markup.rb +9 -0
- data/vendor/gems/express_templates/lib/express_templates/markup/html_tag.rb +62 -0
- data/vendor/gems/express_templates/lib/express_templates/markup/tag.rb +150 -0
- data/vendor/gems/express_templates/lib/express_templates/markup/wrapper.rb +94 -0
- data/vendor/gems/express_templates/lib/express_templates/markup/yielder.rb +21 -0
- data/vendor/gems/express_templates/lib/express_templates/renderer.rb +11 -0
- data/vendor/gems/express_templates/lib/express_templates/template/handler.rb +15 -0
- data/vendor/gems/express_templates/lib/express_templates/version.rb +3 -0
- data/vendor/gems/express_templates/lib/tasks/express_templates.rake +4 -0
- data/vendor/gems/express_templates/test/compiler_test.rb +9 -0
- data/vendor/gems/express_templates/test/components/base_test.rb +44 -0
- data/vendor/gems/express_templates/test/components/capabilities/resourceful_test.rb +63 -0
- data/vendor/gems/express_templates/test/components/column_test.rb +11 -0
- data/vendor/gems/express_templates/test/components/conditionality_test.rb +37 -0
- data/vendor/gems/express_templates/test/components/configurable_test.rb +43 -0
- data/vendor/gems/express_templates/test/components/container_test.rb +66 -0
- data/vendor/gems/express_templates/test/components/content_for_test.rb +60 -0
- data/vendor/gems/express_templates/test/components/forms/basic_fields_test.rb +52 -0
- data/vendor/gems/express_templates/test/components/forms/checkbox_test.rb +44 -0
- data/vendor/gems/express_templates/test/components/forms/express_form_test.rb +108 -0
- data/vendor/gems/express_templates/test/components/forms/radio_test.rb +96 -0
- data/vendor/gems/express_templates/test/components/forms/select_test.rb +146 -0
- data/vendor/gems/express_templates/test/components/forms/submit_test.rb +12 -0
- data/vendor/gems/express_templates/test/components/iterating_test.rb +127 -0
- data/vendor/gems/express_templates/test/components/null_wrap_test.rb +28 -0
- data/vendor/gems/express_templates/test/components/row_test.rb +16 -0
- data/vendor/gems/express_templates/test/components/table_for_test.rb +211 -0
- data/vendor/gems/express_templates/test/components/tree_for_test.rb +103 -0
- data/vendor/gems/express_templates/test/core_extensions/proc_test.rb +71 -0
- data/vendor/gems/express_templates/test/core_extensions/string_test.rb +20 -0
- data/vendor/gems/express_templates/test/dummy/Rakefile +6 -0
- data/vendor/gems/express_templates/test/dummy/app/assets/javascripts/application.js +13 -0
- data/vendor/gems/express_templates/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/vendor/gems/express_templates/test/dummy/app/controllers/application_controller.rb +5 -0
- data/vendor/gems/express_templates/test/dummy/app/controllers/hello_controller.rb +5 -0
- data/vendor/gems/express_templates/test/dummy/app/helpers/application_helper.rb +2 -0
- data/vendor/gems/express_templates/test/dummy/app/views/hello/show.html.et +5 -0
- data/vendor/gems/express_templates/test/dummy/app/views/layouts/application.html.et +15 -0
- data/vendor/gems/express_templates/test/dummy/bin/bundle +3 -0
- data/vendor/gems/express_templates/test/dummy/bin/rails +4 -0
- data/vendor/gems/express_templates/test/dummy/bin/rake +4 -0
- data/vendor/gems/express_templates/test/dummy/config.ru +4 -0
- data/vendor/gems/express_templates/test/dummy/config/application.rb +26 -0
- data/vendor/gems/express_templates/test/dummy/config/boot.rb +5 -0
- data/vendor/gems/express_templates/test/dummy/config/environment.rb +5 -0
- data/vendor/gems/express_templates/test/dummy/config/environments/development.rb +37 -0
- data/vendor/gems/express_templates/test/dummy/config/environments/production.rb +82 -0
- data/vendor/gems/express_templates/test/dummy/config/environments/test.rb +40 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/assets.rb +8 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/inflections.rb +16 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/mime_types.rb +4 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/session_store.rb +3 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/vendor/gems/express_templates/test/dummy/config/locales/en.yml +23 -0
- data/vendor/gems/express_templates/test/dummy/config/routes.rb +4 -0
- data/vendor/gems/express_templates/test/dummy/config/secrets.yml +22 -0
- data/vendor/gems/express_templates/test/dummy/log/test.log +15987 -0
- data/vendor/gems/express_templates/test/dummy/public/404.html +67 -0
- data/vendor/gems/express_templates/test/dummy/public/422.html +67 -0
- data/vendor/gems/express_templates/test/dummy/public/500.html +66 -0
- data/vendor/gems/express_templates/test/dummy/public/favicon.ico +0 -0
- data/vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb +14 -0
- data/vendor/gems/express_templates/test/dummy/test/helpers/hello_helper_test.rb +4 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-1ax0k6FO5drSUN6jbogg4G0JliUHLffvQUvzSePKxA.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-cDLO4NJHMndDHchOLz8KLD7QBc68WtaAbYxK2r6GsU.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0t68EIwZ96sAqQSxFka9MQyIk4viw8ZIoREMCGiJRx0.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/28LzLLDYjhr3jmu0GxjZ-ms5Bol6JilDRXpg8Zgbjqs.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2zt1IbQCnmzGyeZS_I4sYQzrgneSCKIJBRxcffVHlWY.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5AeGDyXQbv_BTj3PD4MJpNnGVwUxLsA8H1VcwB69_wE.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/B0RgtiEmqwrCQuw4AnDa3fdENtJeBtO_TqtGJuWOeNs.cache +3 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/D-tMNp19G2zWOPPhnQRUm4K8DPa8SpKPfGALkkofTeE.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EDVlXrcn_wEfaZ5nc_4QJBT7lPiIBcX96jBo7PBz-vc.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Eso3tkb79hXQ1XdQgjbV03KyQwSeZFAHxVHImsjQ-HQ.cache +2 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/I8LhheC1OlOyvp_qY8kWpqKcZFiqv_BO-l5bExvDEi0.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Kf4VrP5sW-qzziYSN-m7p4nETjLiEwwwRfwUOm7rOr0.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Pd5YOD1DAL7QtTnwETZYBCabg5DkCFgbjt4iuBOcSoY.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QJ0Z8hROMfWpY6f5Chb7GSuDHE4gpabKVQTr9BCZe9s.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/T1pSAx767vY7X1UDN0vdF7YGEkI5wMSVUKopsdvp7kI.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VlSPFPDK05c7ImadRiRVKzsaa6e15RwX77QR3NYabME.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Y7_BbgB9jgJIWYjDCsASySd26DTfPADAu_3DDnLlFog.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bSfZQxeyghTF4WIVnzGavxlg9afmSNuqcW6bA1Bm1OA.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fvD_ZNFRzd8Sc4PoTjyHPnkg4f7WMietFunnKqNjlvc.cache +2 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/g2xQygPqA5kMmp5L3wVGWaUIhdVsxFmOel9FF6M0Fuw.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hKbgrf5CbMO8pe9fCHc-rI5mp1ejAhivBfvfDxBNhQA.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kaif59owjUr3HBharCH5GUxU6KoW_zXD9a9JiTjIYPY.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kpvKX5UlhhoLJv-faeq7Ibv2KQh4ROjTiarh13gHuWI.cache +2 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lfyrNtbNtwuTXAWlmPCKTS-D3FHoPTY6h53wnUN36-A.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lyDRhWNhfDw_YCCSbxQw_iOIV3eTfeAoX6mTREuVZSA.cache +3 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/p17lC0HAHCtk1ds_NHl9xhEyMtRjfQInw1c6fmFWguc.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/p1cwnBd8RQBm9x5HzDmiiU7RhvnxhPX8VTfi0tTElJY.cache +3 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qT6_0ti_v6fAjS3wETXqvTkr6W0LP4PB942uLYQzWK8.cache +3 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qzU7DVwQZ7z6i6pYUpssYsAj0y33GN83B4O1bLvkW_4.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/r56eI1z7iFKeySym_9zw5hVOPjb0d6IQPn5pAYTKk04.cache +2 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rGWvoeLyiyqb813IXgfDpDxks23JQoLLZOa69bzKPE8.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/y8T65xpx0s3RgT_YiqWEEXIaBsgK4woCNSuZ1zjQZBk.cache +2 -0
- data/vendor/gems/express_templates/test/expander_stack_test.rb +41 -0
- data/vendor/gems/express_templates/test/expander_test.rb +99 -0
- data/vendor/gems/express_templates/test/express_templates_test.rb +19 -0
- data/vendor/gems/express_templates/test/handler_test.rb +122 -0
- data/vendor/gems/express_templates/test/indenter_test.rb +27 -0
- data/vendor/gems/express_templates/test/interpolator_test.rb +80 -0
- data/vendor/gems/express_templates/test/markup/tag_test.rb +149 -0
- data/vendor/gems/express_templates/test/markup/wrapper_test.rb +42 -0
- data/vendor/gems/express_templates/test/markup/yielder_test.rb +9 -0
- data/vendor/gems/express_templates/test/performance_test.rb +93 -0
- data/vendor/gems/express_templates/test/test_helper.rb +28 -0
- data/vendor/gems/foundation_apps_styles/Gemfile +4 -0
- data/vendor/gems/foundation_apps_styles/LICENSE.txt +21 -0
- data/vendor/gems/foundation_apps_styles/README.md +41 -0
- data/vendor/gems/foundation_apps_styles/Rakefile +13 -0
- data/vendor/gems/foundation_apps_styles/bin/console +14 -0
- data/vendor/gems/foundation_apps_styles/bin/setup +7 -0
- data/vendor/gems/foundation_apps_styles/foundation_apps_styles.gemspec +24 -0
- data/vendor/gems/foundation_apps_styles/lib/foundation_apps_styles.rb +6 -0
- data/vendor/gems/foundation_apps_styles/lib/foundation_apps_styles/version.rb +3 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/account.svg +44 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/action.svg +38 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/ban.svg +17 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/bell.svg +22 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/bookmark.svg +14 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/cart.svg +35 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/chevron.svg +28 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/circle-check.svg +25 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/circle-x.svg +25 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/cog.svg +17 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/comment-square.svg +14 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/dashboard.svg +38 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/document.svg +28 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/envelope.svg +44 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/flag.svg +24 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/home.svg +28 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/lock.svg +55 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/magnifying-glass.svg +26 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/person.svg +62 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/reload.svg +19 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/share-boxed.svg +17 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/star.svg +14 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/thumb.svg +38 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/zoom.svg +56 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/_global.scss +131 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/_includes.scss +33 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/_settings.scss +614 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_accordion.scss +72 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_action-sheet.scss +265 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_block-list.scss +360 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_button-group.scss +197 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_button.scss +205 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_card.scss +93 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_extras.scss +54 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_forms.scss +460 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_grid.scss +422 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_iconic.scss +95 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_label.scss +134 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_list.scss +19 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_menu-bar.scss +382 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_modal.scss +129 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_motion.scss +525 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_notification.scss +207 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_off-canvas.scss +169 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_panel.scss +134 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_popup.scss +68 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_switch.scss +134 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_tabs.scss +100 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_title-bar.scss +135 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_typography.scss +345 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_utilities.scss +160 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/foundation-apps.css +6146 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/foundation.scss +50 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_breakpoints.scss +154 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_functions.scss +343 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_images.scss +19 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_mixins.scss +123 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/vendor/_normalize.scss +424 -0
- metadata +512 -36
- data/app/assets/stylesheets/express_admin/foundation_and_overrides.scss +0 -1443
- data/app/assets/stylesheets/express_admin/sections/_devise.sass +0 -42
- data/app/assets/stylesheets/express_admin/sections/_sidebar.sass +0 -42
- data/app/assets/stylesheets/express_admin/shared/_labels.sass +0 -16
- data/app/assets/stylesheets/express_admin/shared/_navigation.sass +0 -20
- data/lib/generators/express_admin/scaffold/templates/show.html.et.erb +0 -10
@@ -0,0 +1,93 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'haml'
|
3
|
+
|
4
|
+
class PerformanceTest < ActiveSupport::TestCase
|
5
|
+
|
6
|
+
GARA_EXAMPLE =<<-RUBY
|
7
|
+
html(lang: "en") {
|
8
|
+
head {
|
9
|
+
meta charset: 'utf-8'
|
10
|
+
meta name: 'viewport', content: "width=device-width, initial-scale=1.0"
|
11
|
+
stylesheet_link_tag "application", media: 'all', 'data-turbolinks-track' => true
|
12
|
+
csrf_meta_tags
|
13
|
+
}
|
14
|
+
body {
|
15
|
+
h1 "Hello"
|
16
|
+
p "Some text"
|
17
|
+
javascript_include_tag "application"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
RUBY
|
21
|
+
|
22
|
+
ERB_EXAMPLE = <<-ERB
|
23
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
24
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
25
|
+
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
26
|
+
<meta charset="utf-8" />
|
27
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
28
|
+
<%= stylesheet_link_tag 'application' %>
|
29
|
+
<%= csrf_meta_tags %>
|
30
|
+
</head>
|
31
|
+
<body>
|
32
|
+
<h1>Hello</h1>
|
33
|
+
<p>Some text</p>
|
34
|
+
<%= javascript_include_tag 'application' %>
|
35
|
+
</body>
|
36
|
+
</html>
|
37
|
+
ERB
|
38
|
+
|
39
|
+
HAML_EXAMPLE = <<-HAML
|
40
|
+
%html{:xmlns => "http://www.w3.org/1999/xhtml", :lang => "en", 'xml:lang' => "en"}
|
41
|
+
%head
|
42
|
+
%meta{'http-equiv' => "Content-Type", 'content' => "text/html; charset=UTF-8"}
|
43
|
+
%meta{ 'charset' => 'utf-8'}
|
44
|
+
%meta{'name' => 'viewport', 'content' => 'width=device-width, initial-scale=1.0'}
|
45
|
+
= stylesheet_link_tag 'application'
|
46
|
+
= csrf_meta_tags
|
47
|
+
%body
|
48
|
+
%h1 Hello
|
49
|
+
%p Some text
|
50
|
+
= javascript_include_tag 'application'
|
51
|
+
HAML
|
52
|
+
# class Context
|
53
|
+
def javascript_include_tag(name, *args)
|
54
|
+
%Q(<script data-turbolinks-track="true" src="/assets/#{name}.js"></script>)
|
55
|
+
end
|
56
|
+
|
57
|
+
def stylesheet_link_tag(name, *args)
|
58
|
+
%Q(<link data-turbolinks-track="true" href="/assets/#{name}.css" media="all" rel="stylesheet" />)
|
59
|
+
end
|
60
|
+
def csrf_meta_tags
|
61
|
+
%Q(<meta content="authenticity_token" name="csrf-param" />
|
62
|
+
<meta content="NF7iiBSErALM5A24Iw07wMH9e8rzxehE50Sv6iPYo98=" name="csrf-token" />
|
63
|
+
)
|
64
|
+
end
|
65
|
+
# end
|
66
|
+
|
67
|
+
def time(count)
|
68
|
+
start_time = Time.now
|
69
|
+
1.upto(100) { yield }
|
70
|
+
end_time = Time.now
|
71
|
+
return end_time - start_time
|
72
|
+
end
|
73
|
+
|
74
|
+
# test "performance is okay" do
|
75
|
+
# duration = time(100) { ExpressTemplates.render(self, "#{GARA_EXAMPLE}") }
|
76
|
+
# assert_operator 1.0, :>, duration
|
77
|
+
# end
|
78
|
+
|
79
|
+
# test "performance no more than 3.5x slower than erubis" do
|
80
|
+
# eruby = Erubis::Eruby.new
|
81
|
+
# duration_erb = time(100) { eval(eruby.convert(ERB_EXAMPLE)) }
|
82
|
+
# duration_express_templates = time(100) { ExpressTemplates.render(self, "#{GARA_EXAMPLE}") }
|
83
|
+
# assert_operator 4.0, :>, (duration_express_templates/duration_erb)
|
84
|
+
# end
|
85
|
+
|
86
|
+
# test "performance better than haml" do
|
87
|
+
# duration_haml = time(100) { Haml::Engine.new(HAML_EXAMPLE).render(self) }
|
88
|
+
# duration_express_templates = time(100) { ExpressTemplates.render(self, "#{GARA_EXAMPLE}") }
|
89
|
+
# assert_operator 0.5, :>, (duration_express_templates/duration_haml)
|
90
|
+
# end
|
91
|
+
|
92
|
+
end
|
93
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
require 'pry'
|
8
|
+
require 'minitest/reporters'
|
9
|
+
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
|
10
|
+
|
11
|
+
Rails.backtrace_cleaner.remove_silencers!
|
12
|
+
|
13
|
+
# Load support files
|
14
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
15
|
+
|
16
|
+
# Load fixtures from the engine
|
17
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
18
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
19
|
+
end
|
20
|
+
|
21
|
+
ECB = ExpressTemplates::Components::Base
|
22
|
+
ETC = ExpressTemplates::Components
|
23
|
+
ET = ExpressTemplates
|
24
|
+
Interpolator = ExpressTemplates::Interpolator
|
25
|
+
|
26
|
+
Tag = ExpressTemplates::Markup::Tag
|
27
|
+
|
28
|
+
ENV["ET_NO_INDENT_MARKUP"] = 'true'
|
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Eumir Gaspar
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# Foundation::Apps::Styles
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/foundation/apps/styles`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'foundation_apps_styles'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install foundation_apps_styles
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/foundation_apps_styles.
|
36
|
+
|
37
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
|
3
|
+
desc 'Download latest foundation-apps styles and assets'
|
4
|
+
task :update do
|
5
|
+
FileUtils.mkdir_p 'tmp'
|
6
|
+
system 'git clone https://github.com/zurb/foundation-apps.git tmp'
|
7
|
+
FileUtils.rm_rf ['scss', 'iconic', 'docs']
|
8
|
+
FileUtils.cp_r 'tmp/scss', '.'
|
9
|
+
FileUtils.cp_r 'tmp/iconic', '.'
|
10
|
+
FileUtils.cp_r 'tmp/docs', '.'
|
11
|
+
|
12
|
+
FileUtils.rm_rf 'tmp'
|
13
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "foundation_apps_styles"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'foundation_apps_styles/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "foundation_apps_styles"
|
8
|
+
spec.version = FoundationAppsStyles::VERSION
|
9
|
+
spec.authors = ["Steve Talcott Smith and Eumir Gaspar"]
|
10
|
+
spec.email = ["steve+eumir@aelogica.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Foundation for Apps without the JS}
|
13
|
+
spec.description = %q{Foundation for Apps without the JS}
|
14
|
+
spec.homepage = "https://github.com/aelogica/foundation_apps_styles"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.bindir = "exe"
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
23
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" data-icon="account" width="128" height="128" class="iconic iconic-account" viewBox="0 0 128 128">
|
2
|
+
<g><title>Sign In & Out</title></g>
|
3
|
+
<g data-width="128" data-height="128" class="iconic-lg iconic-container" display="inline">
|
4
|
+
<g class="iconic-account-login">
|
5
|
+
<path stroke="#000" stroke-width="8" stroke-linecap="square" stroke-miterlimit="10" class="iconic-account-login-entrance iconic-property-accent iconic-property-stroke" d="M46 4h78v120h-78" fill="none"/>
|
6
|
+
<path stroke="#000" stroke-width="8" stroke-linecap="square" stroke-miterlimit="10" class="iconic-account-login-arrow iconic-account-login-arrow-line iconic-property-stroke" d="M4 64h76" fill="none"/>
|
7
|
+
<path d="M90.7 63.2l-21.4-12.4c-.7-.4-1.3-.1-1.3.7v25c0 .8.6 1.2 1.3.7l21.4-12.5c.7-.4.7-1 0-1.5z" class="iconic-account-login-arrow iconic-account-login-arrow-head iconic-property-fill"/>
|
8
|
+
</g>
|
9
|
+
<g class="iconic-account-logout" display="none">
|
10
|
+
<path stroke="#000" stroke-width="8" stroke-linecap="square" stroke-miterlimit="10" class="iconic-account-logout-entrance iconic-property-accent iconic-property-stroke" d="M46 4h78v120h-78" fill="none"/>
|
11
|
+
<path stroke="#000" stroke-width="8" stroke-linecap="square" stroke-miterlimit="10" class="iconic-account-logout-arrow iconic-account-logout-arrow-line iconic-property-stroke" d="M88 64h-76" fill="none"/>
|
12
|
+
<path d="M1.3 64.8l21.4 12.5c.7.4 1.3.1 1.3-.7v-25c0-.8-.6-1.2-1.3-.7l-21.4 12.3c-.7.5-.7 1.1 0 1.6z" class="iconic-account-logout-arrow iconic-account-logout-arrow-head iconic-property-fill"/>
|
13
|
+
</g>
|
14
|
+
</g>
|
15
|
+
<g data-width="32" data-height="31" class="iconic-md iconic-container" display="none" transform="scale(4)">
|
16
|
+
<g class="iconic-account-login">
|
17
|
+
<path stroke="#000" stroke-width="3" stroke-linecap="square" stroke-miterlimit="10" class="iconic-account-login-entrance iconic-property-accent iconic-property-stroke" d="M12.5 1.5h18v28h-18" fill="none"/>
|
18
|
+
<path stroke="#000" stroke-width="3" stroke-linecap="square" stroke-miterlimit="10" class="iconic-account-login-arrow iconic-account-login-arrow-line iconic-property-stroke" d="M1.5 15.5h14.5" fill="none"/>
|
19
|
+
<path d="M20.6 15.8l-5.2 3.9c-.2.2-.4.1-.4-.2v-8c0-.3.2-.4.4-.2l5.2 3.9c.2.2.2.4 0 .6z" class="iconic-account-login-arrow iconic-account-login-arrow-head iconic-property-fill"/>
|
20
|
+
</g>
|
21
|
+
<g class="iconic-account-logout" display="none">
|
22
|
+
<path stroke="#000" stroke-width="3" stroke-linecap="square" stroke-miterlimit="10" class="iconic-account-logout-entrance iconic-property-accent iconic-property-stroke" d="M12.5 1.5h18v28h-18" fill="none"/>
|
23
|
+
<path stroke="#000" stroke-width="3" stroke-linecap="square" stroke-miterlimit="10" class="iconic-account-logout-arrow iconic-account-logout-arrow-line iconic-property-stroke" d="M19.5 15.5h-14.5" fill="none"/>
|
24
|
+
<path d="M.4 15.2l5.2-3.9c.2-.2.4-.1.4.2v8c0 .3-.2.4-.4.2l-5.2-3.9c-.2-.2-.2-.4 0-.6z" class="iconic-account-logout-arrow iconic-account-logout-arrow-head iconic-property-fill"/>
|
25
|
+
</g>
|
26
|
+
</g>
|
27
|
+
<g data-width="16" data-height="16" class="iconic-sm iconic-container" display="none" transform="scale(8)">
|
28
|
+
<g class="iconic-account-login">
|
29
|
+
<path stroke="#000" stroke-width="2" stroke-linecap="square" stroke-miterlimit="10" class="iconic-account-login-entrance iconic-property-accent iconic-property-stroke" d="M7 1h8v14h-8" fill="none"/>
|
30
|
+
<path stroke="#000" stroke-width="2" stroke-linecap="square" stroke-miterlimit="10" class="iconic-account-login-arrow iconic-account-login-arrow-line iconic-property-stroke" d="M1 8h9" fill="none"/>
|
31
|
+
<path class="iconic-account-login-arrow iconic-account-login-arrow-head iconic-property-fill" d="M12 8l-4-4v8z"/>
|
32
|
+
</g>
|
33
|
+
<g class="iconic-account-logout" display="none">
|
34
|
+
<path stroke="#000" stroke-width="2" stroke-linecap="square" stroke-miterlimit="10" class="iconic-account-logout-entrance iconic-property-accent iconic-property-stroke" d="M7 1h8v14h-8" fill="none"/>
|
35
|
+
<path stroke="#000" stroke-width="2" stroke-linecap="square" stroke-miterlimit="10" class="iconic-account-logout-arrow iconic-account-logout-arrow-line iconic-property-stroke" d="M11 8h-9" fill="none"/>
|
36
|
+
<path class="iconic-account-logout-arrow iconic-account-logout-arrow-head iconic-property-fill" d="M0 8l4 4v-8z"/>
|
37
|
+
</g>
|
38
|
+
</g>
|
39
|
+
<script class="iconic-api" type="application/ecmascript">
|
40
|
+
//<![CDATA[
|
41
|
+
var iconicApis=window._Iconic?window._Iconic.smartIconApis:{};iconicApis["account"]=iconicApis["account"]||function(t){var i=function(i){t.setAttribute("data-state",i);var e,n=t.querySelectorAll(".iconic-account-login"),o=t.querySelectorAll(".iconic-account-logout");if("logout"===i){for(e=0;e<n.length;e++)n[e].setAttribute("display","none");for(e=0;e<o.length;e++)o[e].setAttribute("display","inline")}else{for(e=0;e<n.length;e++)n[e].setAttribute("display","inline");for(e=0;e<o.length;e++)o[e].setAttribute("display","none")}},e=function(){var e=t.getAttribute("data-state");e&&i(e)};return{update:e,setState:i}};
|
42
|
+
//]]>
|
43
|
+
</script>
|
44
|
+
</svg>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" data-icon="action" width="128" height="128" class="iconic iconic-action" viewBox="0 0 128 128">
|
2
|
+
<g><title>Action</title></g>
|
3
|
+
<g data-width="128" data-height="96" class="iconic-lg iconic-container" display="inline" transform="translate(0 16)">
|
4
|
+
<g class="iconic-action-undo">
|
5
|
+
<path d="M30 59c0-27.1 21.9-49 49-49s49 21.9 49 49c0-32.6-26.4-59-59-59s-59 26.4-59 59v11h20v-11z" class="iconic-action-undo-stem iconic-property-fill"/>
|
6
|
+
<path d="M19.2 94.7l-18.4-29.4c-.4-.7-.1-1.3.7-1.3h37c.8 0 1.1.6.7 1.3l-18.4 29.4c-.4.7-1.2.7-1.6 0z" class="iconic-action-undo-arrowhead iconic-property-fill"/>
|
7
|
+
</g>
|
8
|
+
<g class="iconic-action-redo" display="none">
|
9
|
+
<path d="M98 59c0-27.1-21.9-49-49-49s-49 21.9-49 49c0-32.6 26.4-59 59-59s59 26.4 59 59v11h-20v-11z" class="iconic-action-redo-stem iconic-property-fill"/>
|
10
|
+
<path d="M108.8 94.7l18.4-29.5c.4-.7.1-1.3-.7-1.3h-37c-.8 0-1.1.6-.7 1.3l18.4 29.5c.4.7 1.2.7 1.6 0z" class="iconic-action-redo-arrowhead iconic-property-fill"/>
|
11
|
+
</g>
|
12
|
+
</g>
|
13
|
+
<g data-width="32" data-height="24" class="iconic-md iconic-container" display="none" transform="scale(4) translate(0 4)">
|
14
|
+
<g class="iconic-action-undo">
|
15
|
+
<path d="M9 14.5c0-6.4 5.1-11.5 11.5-11.5 6 0 10.9 4.7 11.4 10.5-.6-7.5-6.8-13.5-14.4-13.5-8 0-14.5 6.5-14.5 14.5v2.5h6v-2.5z" class="iconic-action-undo-stem iconic-property-fill"/>
|
16
|
+
<path d="M6.3 23.6l5.4-7.2c.2-.2.1-.4-.2-.4h-11c-.3 0-.4.2-.2.4l5.4 7.2c.2.2.4.2.6 0z" class="iconic-action-undo-arrowhead iconic-property-fill"/>
|
17
|
+
</g>
|
18
|
+
<g class="iconic-action-redo" display="none">
|
19
|
+
<path d="M23 14.5c0-6.4-5.1-11.5-11.5-11.5-6 0-10.9 4.7-11.5 10.5.6-7.5 6.9-13.5 14.5-13.5 8 0 14.5 6.5 14.5 14.5v2.5h-6v-2.5z" class="iconic-action-redo-stem iconic-property-fill"/>
|
20
|
+
<path d="M25.7 23.6l-5.4-7.2c-.2-.2-.1-.4.2-.4h11c.3 0 .4.2.2.4l-5.4 7.2c-.2.2-.4.2-.6 0z" class="iconic-action-redo-arrowhead iconic-property-fill"/>
|
21
|
+
</g>
|
22
|
+
</g>
|
23
|
+
<g data-width="16" data-height="12" class="iconic-sm iconic-container" display="none" transform="scale(8) translate(0 2)">
|
24
|
+
<g class="iconic-action-undo">
|
25
|
+
<path d="M2 9v-2c0-3.9 3.1-7 7-7s7 3.1 7 7c0-2.8-2.2-5-5-5s-5 2.2-5 5v2h-4z" class="iconic-action-undo-stem iconic-property-fill"/>
|
26
|
+
<path class="iconic-action-undo-arrowhead iconic-property-fill" d="M0 8l4 4 4-4z"/>
|
27
|
+
</g>
|
28
|
+
<g class="iconic-action-redo" display="none">
|
29
|
+
<path d="M10 9v-2c0-2.8-2.2-5-5-5s-5 2.2-5 5c0-3.9 3.1-7 7-7s7 3.1 7 7v2h-4z" class="iconic-action-redo-stem iconic-property-fill"/>
|
30
|
+
<path class="iconic-action-redo-arrowhead iconic-property-fill" d="M8 8l4 4 4-4z"/>
|
31
|
+
</g>
|
32
|
+
</g>
|
33
|
+
<script class="iconic-api" type="application/ecmascript">
|
34
|
+
//<![CDATA[
|
35
|
+
var iconicApis=window._Iconic?window._Iconic.smartIconApis:{};iconicApis["action"]=iconicApis["action"]||function(t){var i=function(i){t.setAttribute("data-state",i);var n,e,o=t.querySelectorAll(".iconic-action-undo"),c=t.querySelectorAll(".iconic-action-redo");n=e="none","redo"===i?e="inline":n="inline";for(var a=0;a<o.length;a++)o[a].setAttribute("display",n),c[a].setAttribute("display",e)},n=function(){var n=t.getAttribute("data-state");n&&i(n)};return{update:n,setState:i}};
|
36
|
+
//]]>
|
37
|
+
</script>
|
38
|
+
</svg>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="iconic iconic-ban" width="128" height="128" viewBox="0 0 128 128">
|
2
|
+
<g class="iconic-metadata">
|
3
|
+
<title>Ban</title>
|
4
|
+
</g>
|
5
|
+
<g class="iconic-ban-lg iconic-container iconic-lg" data-width="128" data-height="128" display="inline">
|
6
|
+
<path stroke="#000" stroke-width="8" class="iconic-ban-strike iconic-property-accent iconic-property-stroke" d="M107.841 20.159l-87.674 87.674" fill="none" />
|
7
|
+
<circle stroke="#000" stroke-width="8" cx="64" cy="64" r="60" class="iconic-ban-circle iconic-property-stroke" fill="none" />
|
8
|
+
</g>
|
9
|
+
<g class="iconic-ban-md iconic-container iconic-md" data-width="32" data-height="32" display="none" transform="scale(4)">
|
10
|
+
<path stroke="#000" stroke-width="3" class="iconic-ban-strike iconic-property-accent iconic-property-stroke" d="M26.59 5.41l-21.197 21.197" fill="none" />
|
11
|
+
<circle stroke="#000" stroke-width="3" cx="16" cy="16" r="14.5" class="iconic-ban-circle iconic-property-stroke" fill="none" />
|
12
|
+
</g>
|
13
|
+
<g class="iconic-ban-sm iconic-container iconic-sm" data-width="16" data-height="16" display="none" transform="scale(8)">
|
14
|
+
<path stroke="#000" stroke-width="2" stroke-linejoin="round" class="iconic-ban-strike iconic-property-accent iconic-property-stroke" d="M13 3l-10 10" fill="none" />
|
15
|
+
<circle stroke="#000" stroke-width="2" stroke-linejoin="round" cx="8" cy="8" r="7" class="iconic-ban-circle iconic-property-stroke" fill="none" />
|
16
|
+
</g>
|
17
|
+
</svg>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="iconic iconic-bell" width="128" height="128" viewBox="0 0 128 128">
|
2
|
+
<g class="iconic-metadata">
|
3
|
+
<title>Bell</title>
|
4
|
+
</g>
|
5
|
+
<g class="iconic-bell-lg iconic-container iconic-lg" data-width="112" data-height="128" display="inline" transform="translate(8)">
|
6
|
+
<circle cx="56" cy="6" r="6" class="iconic-bell-crown iconic-property-fill" />
|
7
|
+
<path d="M100 82.033c-14.828-10.22-16-24.339-16-39.934v-4.098c0-15.464-12.536-28-28-28s-28 12.536-28 28v4.098c0 15.595-1.172 29.714-16 39.934-7.414 5.11-12 12.169-12 19.967v2h112v-2c0-7.798-4.586-14.857-12-19.967z" class="iconic-bell-body iconic-property-fill"
|
8
|
+
/>
|
9
|
+
<path d="M41.174 106c-.751 1.854-1.174 3.877-1.174 6 0 8.836 7.163 16 16 16s16-7.163 16-16c0-2.123-.423-4.146-1.174-6h-29.652z" class="iconic-bell-clapper iconic-property-accent iconic-property-fill" />
|
10
|
+
</g>
|
11
|
+
<g class="iconic-bell-md iconic-container iconic-md" data-width="28" data-height="32" display="none" transform="scale(4) translate(2)">
|
12
|
+
<path d="M10 28c0 2.209 1.791 4 4 4s4-1.791 4-4h-8z" class="iconic-bell-clapper iconic-property-force-fill iconic-property-accent iconic-property-fill" />
|
13
|
+
<circle cx="14" cy="2" r="2" class="iconic-bell-crown iconic-property-force-fill iconic-property-fill" />
|
14
|
+
<path d="M27.972 25.622c-.139-1.798-1.24-3.42-2.972-4.614-3.707-2.555-4-6.085-4-9.984v-1.025c0-3.866-3.134-7-7-7s-7 3.134-7 7v1.025c0 3.899-.293 7.429-4 9.984-1.732 1.194-2.834 2.816-2.972 4.614h-.007v.094c-.005.095-.021.188-.021.284h.021v1h27.979v-1.378h-.028z"
|
15
|
+
class="iconic-bell-body iconic-property-fill" />
|
16
|
+
</g>
|
17
|
+
<g class="iconic-bell-sm iconic-container iconic-sm" data-width="14" data-height="16" display="none" transform="scale(8) translate(1)">
|
18
|
+
<path d="M5 14c0 1.105.895 2 2 2s2-.895 2-2h-4z" class="iconic-bell-clapper iconic-property-force-fill iconic-property-accent iconic-property-fill" />
|
19
|
+
<circle cx="7" cy="1" r="1" class="iconic-bell-crown iconic-property-force-fill iconic-property-fill" />
|
20
|
+
<path d="M0 13c0-1.04.509-1.981 1.333-2.662 1.648-1.363 1.667-3.245 1.667-5.325v-.013c0-2.209 1.791-4 4-4s4 1.791 4 4v.013c0 2.079.019 3.962 1.667 5.325.824.681 1.333 1.623 1.333 2.662h-14z" class="iconic-bell-body iconic-property-fill" />
|
21
|
+
</g>
|
22
|
+
</svg>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="iconic iconic-bookmark" width="128" height="128" viewBox="0 0 128 128">
|
2
|
+
<g class="iconic-metadata">
|
3
|
+
<title>Bookmark</title>
|
4
|
+
</g>
|
5
|
+
<g class="iconic-bookmark-lg iconic-container iconic-lg" data-width="44" data-height="128" display="inline" transform="translate(42)">
|
6
|
+
<path class="iconic-property-fill" d="M0 0v128l22-14.247 22 14.247v-128z" />
|
7
|
+
</g>
|
8
|
+
<g class="iconic-bookmark-md iconic-container iconic-md" data-width="14" data-height="32" display="none" transform="scale(4) translate(9)">
|
9
|
+
<path d="M0 .5v31c0 .276.182.37.407.209l6.186-4.419c.225-.161.589-.161.814 0l6.186 4.419c.225.161.407.067.407-.209v-31c0-.276-.224-.5-.5-.5h-13c-.276 0-.5.224-.5.5z" class="iconic-property-fill" />
|
10
|
+
</g>
|
11
|
+
<g class="iconic-bookmark-sm iconic-container iconic-sm" data-width="8" data-height="16" display="none" transform="scale(8) translate(4)">
|
12
|
+
<path d="M0 .25v15.5c0 .138.079.171.177.073l3.646-3.646c.098-.098.256-.098.354 0l3.646 3.646c.098.098.177.065.177-.073v-15.5c0-.138-.112-.25-.25-.25h-7.5c-.138 0-.25.112-.25.25z" class="iconic-property-fill" />
|
13
|
+
</g>
|
14
|
+
</svg>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="iconic iconic-cart" width="128" height="128" viewBox="0 0 128 128">
|
2
|
+
<g class="iconic-metadata">
|
3
|
+
<title>Cart</title>
|
4
|
+
</g>
|
5
|
+
<defs>
|
6
|
+
<clipPath id="iconic-size-lg-cart-clip-0">
|
7
|
+
<path d="M0 0v106h22.695c-2.835-1.992-4.695-5.28-4.695-9 0-6.065 4.935-11 11-11s11 4.935 11 11c0 3.72-1.861 7.008-4.695 9h61.391c-2.835-1.992-4.695-5.28-4.695-9 0-6.065 4.935-11 11-11s11 4.935 11 11c0 3.72-1.861 7.008-4.695 9h18.695v-106h-128z" />
|
8
|
+
</clipPath>
|
9
|
+
<clipPath id="iconic-size-md-cart-clip-0">
|
10
|
+
<path d="M0 0v28h5.058c-.651-.636-1.058-1.52-1.058-2.5 0-1.93 1.57-3.5 3.5-3.5s3.5 1.57 3.5 3.5c0 .98-.407 1.864-1.058 2.5h14.116c-.651-.636-1.058-1.52-1.058-2.5 0-1.93 1.57-3.5 3.5-3.5s3.5 1.57 3.5 3.5c0 .98-.407 1.864-1.058 2.5h3.058v-28h-32z" />
|
11
|
+
</clipPath>
|
12
|
+
</defs>
|
13
|
+
<g class="iconic-cart-lg iconic-container iconic-lg" data-width="128" data-height="106" display="inline" transform="translate(0 11)">
|
14
|
+
<path d="M31.176 65.115l-14.352-50.231c-.455-1.593.519-2.885 2.176-2.885h106c1.657 0 2.719 1.313 2.371 2.933l-10.743 50.133c-.347 1.62-1.972 2.933-3.629 2.933h-78c-1.657 0-3.369-1.291-3.824-2.885z" class="iconic-cart-basket iconic-property-fill" />
|
15
|
+
<circle cx="29" cy="97" r="9" class="iconic-cart-wheel iconic-cart-wheel-back iconic-property-fill" />
|
16
|
+
<circle cx="103" cy="97" r="9" class="iconic-cart-wheel iconic-cart-wheel-front iconic-property-fill" />
|
17
|
+
<path clip-path="url(#iconic-size-lg-cart-clip-0)" stroke="#000" stroke-width="4" d="M106 92h-81.25c-.414 0-.621-.31-.462-.692l9.423-22.615c.159-.382.196-1.015.081-1.413l-18.585-64.559c-.115-.398-.543-.721-.957-.721h-11.25" class="iconic-cart-body iconic-property-stroke"
|
18
|
+
fill="none" />
|
19
|
+
<circle cx="3" cy="3" r="3" class="iconic-cart-handle iconic-property-fill" />
|
20
|
+
</g>
|
21
|
+
<g class="iconic-cart-md iconic-container iconic-md" data-width="32" data-height="28" display="none" transform="scale(4) translate(0 2)">
|
22
|
+
<path d="M8.742 17.034l-3.485-13.068c-.142-.534.19-.966.742-.966h25c.552 0 .912.439.804.981l-2.608 13.039c-.108.542-.644.981-1.196.981h-18c-.552 0-1.115-.433-1.258-.966z" class="iconic-cart-basket iconic-property-fill" />
|
23
|
+
<circle cx="7.5" cy="25.5" r="2.5" class="iconic-cart-wheel iconic-cart-wheel-back iconic-property-fill" />
|
24
|
+
<circle cx="26.5" cy="25.5" r="2.5" class="iconic-cart-wheel iconic-cart-wheel-front iconic-property-fill" />
|
25
|
+
<path clip-path="url(#iconic-size-md-cart-clip-0)" stroke="#000" d="M27 24.5h-20c-.276 0-.42-.209-.321-.467l2.141-5.567c.099-.258.124-.683.055-.951l-4.251-16.531c-.069-.267-.348-.484-.625-.484h-3" class="iconic-cart-body iconic-property-stroke" fill="none"
|
26
|
+
/>
|
27
|
+
<circle cx="1" cy="1" r="1" class="iconic-cart-handle iconic-property-fill" />
|
28
|
+
</g>
|
29
|
+
<g class="iconic-cart-sm iconic-container iconic-sm" data-width="16" data-height="14" display="none" transform="scale(8) translate(0 1)">
|
30
|
+
<circle cx="3.5" cy="12.5" r="1.5" class="iconic-cart-wheel iconic-cart-wheel-back iconic-property-fill" />
|
31
|
+
<circle cx="13.5" cy="12.5" r="1.5" class="iconic-cart-wheel iconic-cart-wheel-front iconic-property-fill" />
|
32
|
+
<path d="M3.929 8.505l-.858-6.005c-.039-.273.153-.495.429-.495l12-.004c.276 0 .468.221.429.495l-.859 6.01c-.039.273-.295.495-.571.495h-10c-.276 0-.532-.222-.571-.495z" class="iconic-cart-basket iconic-property-fill" />
|
33
|
+
<path stroke="#000" stroke-linecap="square" d="M.5.5h2.25c.138 0 .274.109.302.244l1.395 6.511c.029.135.03.354.003.49l-.902 4.51c-.027.135.063.245.201.245h9.75" class="iconic-cart-body iconic-property-stroke" fill="none" />
|
34
|
+
</g>
|
35
|
+
</svg>
|