<% imgs = {} %> <% Dir.glob("#{MagicStylez::Rails::Engine.root}/vendor/assets/images/**/*").each do |ff| %> <% img_path = ff.gsub("#{MagicStylez::Rails::Engine.root}/vendor/assets/images/", "") %> <% imgs[img_path] = asset_path(img_path) if img_path.match(/\.png$/) || img_path.match(/\.jpg$/) || img_path.match(/\.jpeg$/) || img_path.match(/\.gif$/) %> <% end %> appImages = <%= imgs.to_json %> @assetPath = (path) -> # "/assets/angular/app/views/#{path}.html" appImages["#{path}"] @rootPath = -> # if App.Environment == "production" if window.location.hostname == "berlinmagic.github.io" return "/magic_stylez/" else return "/" @glyphicons = ["asterisk", "plus", "euro", "minus", "cloud", "envelope", "pencil", "glass", "music", "search", "heart", "star", "star-empty", "user", "film", "th-large", "th", "th-list", "ok", "remove", "zoom-in", "zoom-out", "off", "signal", "cog", "trash", "home", "file", "time", "road", "download-alt", "download", "upload", "inbox", "play-circle", "repeat", "refresh", "list-alt", "lock", "flag", "headphones", "volume-off", "volume-down", "volume-up", "qrcode", "barcode", "tag", "tags", "book", "bookmark", "print", "camera", "font", "bold", "italic", "text-height", "text-width", "align-left", "align-center", "align-right", "align-justify", "list", "indent-left", "indent-right", "facetime-video", "picture", "map-marker", "adjust", "tint", "edit", "share", "check", "move", "step-backward", "fast-backward", "backward", "play", "pause", "stop", "forward", "fast-forward", "step-forward", "eject", "chevron-left", "chevron-right", "plus-sign", "minus-sign", "remove-sign", "ok-sign", "question-sign", "info-sign", "screenshot", "remove-circle", "ok-circle", "ban-circle", "arrow-left", "arrow-right", "arrow-up", "arrow-down", "share-alt", "resize-full", "resize-small", "exclamation-sign", "gift", "leaf", "fire", "eye-open", "eye-close", "warning-sign", "plane", "calendar", "random", "comment", "magnet", "chevron-up", "chevron-down", "retweet", "shopping-cart", "folder-close", "folder-open", "resize-vertical", "resize-horizontal", "hdd", "bullhorn", "bell", "certificate", "thumbs-up", "thumbs-down", "hand-right", "hand-left", "hand-up", "hand-down", "circle-arrow-right", "circle-arrow-left", "circle-arrow-up", "circle-arrow-down", "globe", "wrench", "tasks", "filter", "briefcase", "fullscreen", "dashboard", "paperclip", "heart-empty", "link", "phone", "pushpin", "usd", "gbp", "sort", "sort-by-alphabet", "sort-by-alphabet-alt", "sort-by-order", "sort-by-order-alt", "sort-by-attributes", "sort-by-attributes-alt", "unchecked", "expand", "collapse-down", "collapse-up", "log-in", "flash", "log-out", "new-window", "record", "save", "open", "saved", "import", "export", "send", "floppy-disk", "floppy-saved", "floppy-remove", "floppy-save", "floppy-open", "credit-card", "transfer", "cutlery", "header", "compressed", "earphone", "phone-alt", "tower", "stats", "sd-video", "hd-video", "subtitles", "sound-stereo", "sound-dolby", "sound-5-1", "sound-6-1", "sound-7-1", "copyright-mark", "registration-mark", "cloud-download", "cloud-upload", "tree-conifer", "tree-deciduous"] @icomoons = ["home", "home2", "home3", "office", "newspaper", "pencil", "pencil2", "quill", "pen", "blog", "droplet", "paint-format", "image", "image2", "images", "camera", "music", "headphones", "play", "film", "camera2", "dice", "pacman", "spades", "clubs", "diamonds", "pawn", "bullhorn", "connection", "podcast", "feed", "book", "books", "library", "file", "profile", "file2", "file3", "file4", "copy", "copy2", "copy3", "paste", "paste2", "paste3", "stack", "folder", "folder-open", "tag", "tags", "barcode", "qrcode", "ticket", "cart", "cart2", "cart3", "coin", "credit", "calculate", "support", "phone", "phone-hang-up", "address-book", "notebook", "envelope", "pushpin", "location", "location2", "compass", "map", "map2", "history", "clock", "clock2", "alarm", "alarm2", "bell", "stopwatch", "calendar", "calendar2", "print", "keyboard", "screen", "laptop", "mobile", "mobile2", "tablet", "tv", "cabinet", "drawer", "drawer2", "drawer3", "box-add", "box-remove", "download", "upload", "disk", "storage", "undo", "redo", "flip", "flip2", "undo2", "redo2", "forward", "reply", "bubble", "bubbles", "bubbles2", "bubble2", "bubbles3", "bubbles4", "user", "users", "user2", "users2", "user3", "user4", "quotes-left", "busy", "spinner", "spinner2", "spinner3", "spinner4", "spinner5", "spinner6", "binoculars", "search", "zoomin", "zoomout", "expand", "contract", "expand2", "contract2", "key", "key2", "lock", "lock2", "unlocked", "wrench", "settings", "equalizer", "cog", "cogs", "cog2", "hammer", "wand", "aid", "bug", "pie", "stats", "bars", "bars2", "gift", "trophy", "glass", "mug", "food", "leaf", "rocket", "meter", "meter2", "dashboard", "hammer2", "fire", "lab", "magnet", "remove", "remove2", "briefcase", "airplane", "truck", "road", "accessibility", "target", "shield", "lightning", "switch", "powercord", "signup", "list", "list2", "numbered-list", "menu", "menu2", "tree", "cloud", "cloud-download", "cloud-upload", "download2", "upload2", "download3", "upload3", "globe", "earth", "link", "flag", "attachment", "eye", "eye-blocked", "eye2", "bookmark", "bookmarks", "brightness-medium", "brightness-contrast", "contrast", "star", "star2", "star3", "heart", "heart2", "heart-broken", "thumbs-up", "thumbs-up2", "happy", "happy2", "smiley", "smiley2", "tongue", "tongue2", "sad", "sad2", "wink", "wink2", "grin", "grin2", "cool", "cool2", "angry", "angry2", "evil", "evil2", "shocked", "shocked2", "confused", "confused2", "neutral", "neutral2", "wondering", "wondering2", "point-up", "point-right", "point-down", "point-left", "warning", "notification", "question", "info", "info2", "blocked", "cancel-circle", "checkmark-circle", "spam", "close", "checkmark", "checkmark2", "spell-check", "minus", "plus", "enter", "exit", "play2", "pause", "stop", "backward", "forward2", "play3", "pause2", "stop2", "backward2", "forward3", "first", "last", "previous", "next", "eject", "volume-high", "volume-medium", "volume-low", "volume-mute", "volume-mute2", "volume-increase", "volume-decrease", "loop", "loop2", "loop3", "shuffle", "arrow-up-left", "arrow-up", "arrow-up-right", "arrow-right", "arrow-down-right", "arrow-down", "arrow-down-left", "arrow-left", "arrow-up-left2", "arrow-up2", "arrow-up-right2", "arrow-right2", "arrow-down-right2", "arrow-down2", "arrow-down-left2", "arrow-left2", "arrow-up-left3", "arrow-up3", "arrow-up-right3", "arrow-right3", "arrow-down-right3", "arrow-down3", "arrow-down-left3", "arrow-left3", "tab", "checkbox-checked", "checkbox-unchecked", "checkbox-partial", "radio-checked", "radio-unchecked", "crop", "scissors", "filter", "filter2", "font", "text-height", "text-width", "bold", "underline", "italic", "strikethrough", "omega", "sigma", "table", "table2", "insert-template", "pilcrow", "lefttoright", "righttoleft", "paragraph-left", "paragraph-center", "paragraph-right", "paragraph-justify", "paragraph-left2", "paragraph-center2", "paragraph-right2", "paragraph-justify2", "indent-increase", "indent-decrease", "newtab", "embed", "code", "console", "share", "mail", "mail2", "mail3", "mail4", "google", "googleplus", "googleplus2", "googleplus3", "googleplus4", "google-drive", "facebook", "facebook2", "facebook3", "instagram", "twitter", "twitter2", "twitter3", "feed2", "feed3", "feed4", "youtube", "youtube2", "vimeo", "vimeo2", "vimeo3", "lanyrd", "flickr", "flickr2", "flickr3", "flickr4", "picassa", "picassa2", "dribbble", "dribbble2", "dribbble3", "forrst", "forrst2", "deviantart", "deviantart2", "steam", "steam2", "github", "github2", "github3", "github4", "github5", "wordpress", "wordpress2", "joomla", "blogger", "blogger2", "tumblr", "tumblr2", "yahoo", "tux", "apple", "finder", "android", "windows", "windows8", "soundcloud", "soundcloud2", "skype", "reddit", "linkedin", "lastfm", "lastfm2", "delicious", "stumbleupon", "stumbleupon2", "stackoverflow", "pinterest", "pinterest2", "xing", "xing2", "flattr", "foursquare", "foursquare2", "paypal", "paypal2", "paypal3", "yelp", "libreoffice", "file-pdf", "file-openoffice", "file-word", "file-excel", "file-zip", "file-powerpoint", "file-xml", "file-css", "html5", "html52", "css3", "chrome", "firefox", "IE", "opera", "safari", "IcoMoon"] @magicons = ["close-round", "ok-round", "minus-round", "plus-round", "ban-circle", "attention-round", "info-round", "question-round", "arrow-up", "arrow-right", "arrow-down", "arrow-left", "fat-arrow-up", "fat-arrow-right", "fat-arrow-down", "fat-arrow-left", "chevron-round-up", "chevron-round-right", "chevron-round-down", "chevron-round-left", "caret-up", "caret-right", "caret-down", "caret-left", "hand-up", "hand-right", "hand-down", "hand-left", "hand-fuck", "hand-rock-back", "hand-rock", "thumb-up", "thumb-right", "thumb-down", "thumb-left", "handflat-left", "handflat-both", "handflat-right", "heart-round", "heart-empty", "comment", "comment-round", "comment-empty", "comments-round", "comments-empty", "bookmark", "bookmark-empty", "envelope", "envelope-alt", "envelope-open", "envelope-open-alt", "envelope-filled", "envelope-filled-alt", "envelope-inlay-open", "envelope-inlay-open-alt", "envelope-inlay-filled", "envelope-inlay-filled-alt", "tag", "tags", "star-round", "star-empty", "star-half-round", "star-half-empty", "user-male-round", "user-female-round", "user-group-round", "user-group-alt", "user-group-big", "search-round", "zoom-in", "zoom-out", "lock-round", "unlock-round", "wrench-round", "cog-round", "cog-alt", "cogs", "trash-round", "key", "key-alt", "pushpin-round", "map-marker-round", "time-round", "time-alt", "move", "resize-horizontal", "resize-vertical", "retweet", "reload", "random", "refresh", "adjust", "asterisk", "screenshot", "target-round", "volume-one", "volume-two", "volume-three", "sort-round", "sort-round-down", "sort-round-up", "signin", "signout", "sitemap", "signal", "download", "upload", "facebook", "twitter", "github", "github-alt", "pinterest", "linkedin", "google-plus", "flickr", "picasa", "rss", "firefox", "ie", "opera", "chrome", "safari", "phone", "phone-pickup", "phone-hangup", "pencil-round", "pencil-alt", "ballpen", "briefcase", "briefcase-alt", "inbox-round", "dashboard", "folder-close", "folder-open", "folder-alt", "book", "book-marked", "book-marked-alt", "address-book", "address-book-marked", "address-book-marked-alt", "book-open-round", "book-open-alt", "book-open-filled", "tasks", "reorder", "bar-chart-round", "clipboard-tasks", "clipboard-check", "clipboard-tasks-edge", "clipboard-check-edge", "pile-list-marked", "pile-check-marked-edge", "ringbinder-month", "ringbinder-day", "ringbinder-list", "ringbinder-month-edge", "ringbinder-day-edge", "ringbinder-list-edge", "picture-round", "picture-alt", "pictures", "external-link", "share", "edit", "check", "check-empty", "credit-card", "qrcode", "shopping-cart", "shopping-cart-alt", "shopping-cart-in", "shopping-cart-in-alt", "money", "money-euro-round", "money-dollar", "barcode", "barcode-alt", "globe-round", "globe-alt", "home", "truck", "plane", "road", "compass-round", "file", "files", "file-text", "file-alt", "file-edge", "file-black", "cut", "paste", "save", "paper-clip", "link", "link-alt", "undo", "repeat", "undo-alt", "repeat-alt", "text-height", "text-width", "align-left", "align-center", "align-right", "align-justify", "indent-left", "indent-right", "font", "bold", "italic", "strikethrough", "underline", "columns", "table", "th-large", "th", "th-list", "list-round", "list-ol", "list-ul", "list-alt", "staple", "staple-alt", "music", "power-round", "facetime-video", "film", "bullhorn", "camera-round", "camera-retro", "print-round", "print-alt", "hdd", "headphones", "play", "play-circle", "pause", "stop", "backward", "forward", "fast-backward", "fast-forward", "step-backward", "step-forward", "eject", "fullscreen", "resize-full", "resize-small", "trophy", "umbrella-round", "gift", "flag", "flag-alt", "certificate", "glass", "tint", "tints", "leaf", "legal", "cloud", "beaker", "lemon", "magic", "magic-alt", "bolt", "bolt-alt", "magnet", "thermometer", "bell", "filter", "hammer", "plug-round", "shirt", "steering-wheel", "triangle", "hands-up", "clock", "chart", "chart-open", "vitro", "vitro-bubble", "vitro-bubbles", "moon-round", "moon-empty", "moon-full", "sun-round", "sun-alt", "micro-round", "equalizer-round", "knots", "crop", "lectern", "html", "graph", "graph-alt", "transmit", "graduation-hat", "star-alt-round", "cog-more", "close-sign-round", "ok-sign-round", "plus-sign-round", "minus-sign-round", "attention-sign-round", "question-sign-round", "info-sign-round", "caret-up-sign", "caret-right-sign", "caret-down-sign", "caret-left-sign", "edit-sign", "user-minus", "user-plus", "user-unknown", "user-ok", "hand-high5", "hand-high5-back", "hand-shake", "hand-card", "compass", "globe", "inbox-empty", "inbox", "task-list", "user", "mail-empty", "mail", "cog", "chevron-cut-right", "chevron-cut-down", "chevron-cut-left", "chevron-up", "chevron-right", "chevron-down", "chevron-left", "lock", "unlock", "search", "visible", "unvisible", "pencil", "trash", "sort-down", "sort-up", "sort", "plus-sign", "minus-sign","ok-sign","close-sign","question-sign","info-sign","attention-sign","plus","minus","ok","close","question","info","attention","work", "private","picture","pushpin","heart","map-marker","user-group","time","star-alt","book-open","calendar", "calendar-invert", "target","umbrella","equalizer","list","star","star-half","money-euro","tag-alt", "print","message", "comment","comments","camera","description", "bar-chart","wrench","user-male","user-female","user-male-alt", "user-female-alt", "company", "sun","moon","inside", "outside", "wlan", "beamer", "micro","plug","internet", "power","wheelchair", "smoking-sign", "smoking", "no-smoking", "parking-sign", "parking-meter", "elevator", "toilette", "coffee", "water", "pizza", "burger", "softdrink", "fastfood", "catering", "wine", "plates", "kitchen", "layout-round-table", "layout-classroom", "layout-banquet", "layout-theater", "layout-u-table", "layout-workspace"] @olicons = ["market", "projects-empty", "projects-full", "tasks-empty", "tasks-full", "settings", "overview", "contacts", "message-empty", "message-full", "basket-empty", "basket-full", "bell", "notify", "about-me", "portfolio", "portfolio-alt", "general-informations", "contact-data", "career", "skills", "view-list", "view-tile", "view-cards", "view-map", "state-active", "state-inactive", "edit", "view-map-2", "search", "zoom-in", "zoom-out", "comment", "share", "like", "lock", "lock-open", "chevron-up", "chevron-right", "chevron-down", "chevron-left", "chevron-2-up", "chevron-2-right", "chevron-2-down", "chevron-2-left", "plus", "minus", "ok", "close", "plus-sign", "minus-sign", "ok-sign", "close-sign", "show-sb", "hide-sb", "filter", "preview", "hide-filter", "female", "male", "sex", "sort-down", "sort-up", "sort", "product", "object", "question-answer", "secure", "analytics", "inquiry", "orders", "environmentally-friendly", "waterproof", "delivery", "bright", "dark", "indoor", "outdoor", "accessible", "smoker", "non-smoker", "parking", "parking-meter", "elevator", "max-people", "wlan", "beamer", "microphone", "sockets", "internet", "electricity", "coffee", "water", "pizza", "burger", "drinks", "fast-food", "waiter", "wine", "dishes", "stove", "conference", "classroom", "banquet", "theatre", "u-shape", "workspace", "men", "woman", "company", "store", "bar", "restaurant", "men-investor", "men-work", "men-business", "men-normal", "men-business2", "men-dev", "men-html", "plus-contact", "plus-picture", "plus-company", "plus-company-contact", "ruby", "html5", "facebook", "facebook-block", "google", "google-block", "google-cut", "google-cut-block", "twitter", "twitter-block", "linkedin", "linkedin-block", "xing", "xing-block", "qr-code", "barcode", "cash", "gift", "auge", "inventar", "analytics-alt", "settings-alt", "slidebar", "info-circle", "product-circle", "pos-circle", "user", "calendar", "glass", "trash", "resize", "product-alt", "circle-plus", "circle-times", "circle-minus", "circle-ok", "auge-alt", "inventar-alt", "analytics-alt", "euro-circle", "reports", "tasks", "vcard", "catalog", "flyer", "euro"]