2023-01-15 20:48:50 +01:00

2 lines
2.2 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{15:function(n,t,i){"use strict";i.r(t),t.default={data:function(){return this.$route.context},methods:{addSkin:function(n){this.$app.methods.skins.add(n.target.dataset.url),this.$setState(this.$route.context)},removeSkin:function(n){this.$app.methods.skins.remove(n.target.dataset.url),this.$setState(this.$route.context)}},id:"74a8f0e30d",render:function(){return'\n<div class="page">\n <div class="navbar">\n <div class="navbar-inner sliding">\n <div class="left">\n <a href="#" class="link back">\n <i class="icon icon-back"></i>\n <span class="ios-only">Back</span>\n </a>\n </div>\n <div class="title">'.concat(this.name,'</div>\n <div class="title-large">\n <div class="title-large-text">').concat(this.name,'</div>\n </div>\n </div>\n </div>\n <div class="page-content">\n <div class="lazy lazy-fade-in banner" data-background="').concat(this.banner,'"></div>\n <div class="block-title block-title-medium">Description</div>\n <div class="block">\n <p>').concat(this.description,'</p>\n </div>\n <div class="block-title block-title-medium">Skins</div>\n <div class="list">\n <ul>\n ').concat(this.skins.map((function(n){return'\n <li>\n <div class="item-content">\n <div class="item-media">\n <img src="'.concat(n.icon,'" onerror="this.src=\'static/img/default-cover.png\'">\n </div>\n <div class="item-inner">\n <div class="item-title">').concat(n.name,'</div>\n <div class="item-after">\n ').concat(-1<JSON.parse(localStorage.getItem("skins")).indexOf(n.link)?'<button data-url="'.concat(n.link,'" @click="removeSkin" class="col button button-fill button-round color-white text-color-red">REMOVE</button>'):'<button data-url="'.concat(n.link,'" @click="addSkin" class="col button button-fill button-round">ADD</button>')," \n </div>\n </div>\n </div>\n </li>\n ")})).join(""),"\n </ul>\n </div>\n </div>\n</div>\n")},styleScoped:!1}}}]);
//# sourceMappingURL=23.app.js.map