[Automatic] Updated UI files

This commit is contained in:
Fabio Manganiello 2024-07-17 23:04:48 +00:00
parent 4441461354
commit 3fddf67949
Signed by untrusted user: blacklight
GPG key ID: AD6D273C08B82EC9
25 changed files with 27 additions and 27 deletions

View file

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" src="/static/js/chunk-vendors.525de538.js"></script><script defer="defer" src="/static/js/app.b5b6f306.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.34a0a3ba.css" rel="stylesheet"><link rel="icon" type="image/svg+xml" href="/img/icons/favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Platypush"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#ffffff"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" src="/static/js/chunk-vendors.525de538.js"></script><script defer="defer" src="/static/js/app.660c585f.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.34a0a3ba.css" rel="stylesheet"><link rel="icon" type="image/svg+xml" href="/img/icons/favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Platypush"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#ffffff"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8179],{8179:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return x}});var i=t(6252);const o={class:"plugin"};function a(e,n,t,a,d,r){const s=(0,i.up)("Loading");return(0,i.wg)(),(0,i.iD)("div",o,[d.loading?((0,i.wg)(),(0,i.j4)(s,{key:0})):d.component?((0,i.wg)(),(0,i.j4)((0,i.LL)(d.component),{key:1,config:d.config},null,8,["config"])):(0,i.kq)("",!0)])}var d=t(8637),r=t(6791),s=t(2262),c={name:"Plugin",components:{Loading:r.Z},mixins:[d.Z],props:{pluginName:{type:String,required:!0}},data(){return{loading:!1,component:null,config:{}}},computed:{componentName(){return this.pluginName.split(".").map((e=>e[0].toUpperCase()+e.slice(1))).join("")}},methods:{refresh:async function(){this.loading=!0;try{this.component=(0,s.XI)((0,i.RC)((()=>t(3379)(`./${this.componentName}/Index`)))),this.$options.components[this.componentName]=this.component,this.config=(await this.request("config.get_plugins"))?.[this.pluginName]||{}}finally{this.loading=!1}}},mounted:function(){this.refresh()}},u=t(3744);const p=(0,u.Z)(c,[["render",a],["__scopeId","data-v-69b17daa"]]);var x=p},3379:function(e,n,t){var i={"./Alarm/Index":[1949,7651,5933,9549,2844,6016,2992,735,6281,58,1807,9381,8224,1949],"./Camera/Index":[5324,8039,5324],"./CameraAndroidIpcam/Index":[3924,3924],"./CameraCv/Index":[6148,8039,6148],"./CameraFfmpeg/Index":[9334,8039,9334],"./CameraGstreamer/Index":[813,8039,813],"./CameraIrMlx90640/Index":[7381,8039,7381],"./CameraPi/Index":[5214,8039,8895],"./CameraPiLegacy/Index":[1512,8039,1512],"./Entities/Index":[7878,5933,9549,2992,669,2154,8224,7878],"./Execute/Index":[4221,5933,735,1807,5197],"./Extensions/Index":[2018,5933,735,58,2924,6217,2018,3862],"./Light/Index":[9751,7651,2844,9751],"./LightHue/Index":[2976,7651,2844,9751,2976],"./Media/Index":[3033,7651,5933,9549,906,2582,6016,2577,182,3033],"./Media/Providers/YouTube/Index":[2200,2200],"./MediaMplayer/Index":[3518,7651,5933,9549,906,2582,6016,2577,182,3033,3518],"./MediaMpv/Index":[4765,7651,5933,9549,906,2582,6016,2577,182,3033,4765],"./MediaOmxplayer/Index":[7819,7651,5933,9549,906,2582,6016,2577,182,3033,7819],"./MediaVlc/Index":[2614,7651,5933,9549,906,2582,6016,2577,182,3033,2614],"./Music/Index":[288,7651,5933,9549,906,2582,288],"./MusicMopidy/Index":[3400,7651,5933,9549,906,2582,288,3400],"./MusicMpd/Index":[3083,7651,5933,9549,906,2582,288,3083],"./MusicSnapcast/Index":[5285,7651,2844,5285],"./MusicSpotify/Index":[4053,7651,5933,9549,906,2582,288,4053],"./Rtorrent/Index":[2183,5933,9549,2577,6429,2183],"./Settings/Index":[4084,5933,9549,6281,2924,4084],"./Sound/Index":[746,746],"./Torrent/Index":[8784,5933,9549,2577,6429,8784],"./Tts/Index":[3732,8069,3732],"./TtsGoogle/Index":[7605,8069,2853],"./TtsPicovoice/Index":[7089,8069,7089],"./TvSamsungWs/Index":[4589,4589],"./ZigbeeMqtt/Index":[1259,7651,5933,9549,2844,1259],"./Zwave/Index":[2732,7651,5933,9549,2844,7880,2732],"./ZwaveMqtt/Index":[1088,7651,5933,9549,2844,7880,1088]};function o(e){if(!t.o(i,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=i[e],o=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(o)}))}o.keys=function(){return Object.keys(i)},o.id=3379,e.exports=o}}]);
//# sourceMappingURL=8179.3fb18c22.js.map
(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8179],{8179:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return x}});var i=t(6252);const o={class:"plugin"};function a(e,n,t,a,d,r){const s=(0,i.up)("Loading");return(0,i.wg)(),(0,i.iD)("div",o,[d.loading?((0,i.wg)(),(0,i.j4)(s,{key:0})):d.component?((0,i.wg)(),(0,i.j4)((0,i.LL)(d.component),{key:1,config:d.config},null,8,["config"])):(0,i.kq)("",!0)])}var d=t(8637),r=t(6791),s=t(2262),c={name:"Plugin",components:{Loading:r.Z},mixins:[d.Z],props:{pluginName:{type:String,required:!0}},data(){return{loading:!1,component:null,config:{}}},computed:{componentName(){return this.pluginName.split(".").map((e=>e[0].toUpperCase()+e.slice(1))).join("")}},methods:{refresh:async function(){this.loading=!0;try{this.component=(0,s.XI)((0,i.RC)((()=>t(3379)(`./${this.componentName}/Index`)))),this.$options.components[this.componentName]=this.component,this.config=(await this.request("config.get_plugins"))?.[this.pluginName]||{}}finally{this.loading=!1}}},mounted:function(){this.refresh()}},u=t(3744);const p=(0,u.Z)(c,[["render",a],["__scopeId","data-v-69b17daa"]]);var x=p},3379:function(e,n,t){var i={"./Alarm/Index":[1949,7651,5933,9549,2844,6016,2992,735,6281,58,1807,9381,8224,1949],"./Camera/Index":[5324,8039,5324],"./CameraAndroidIpcam/Index":[3924,3924],"./CameraCv/Index":[6148,8039,6148],"./CameraFfmpeg/Index":[9334,8039,9334],"./CameraGstreamer/Index":[813,8039,813],"./CameraIrMlx90640/Index":[7381,8039,7381],"./CameraPi/Index":[5214,8039,8895],"./CameraPiLegacy/Index":[1512,8039,1512],"./Entities/Index":[7878,5933,9549,2992,669,2154,8224,7878],"./Execute/Index":[4221,5933,735,1807,5197],"./Extensions/Index":[2018,5933,735,58,2924,6217,2018,3862],"./Light/Index":[9751,7651,2844,9751],"./LightHue/Index":[2976,7651,2844,9751,2976],"./Media/Index":[3033,7651,5933,9549,906,2582,6016,2577,182,3033],"./Media/Providers/YouTube/Index":[2200,2200],"./MediaMplayer/Index":[3518,7651,5933,9549,906,2582,6016,2577,182,3033,3518],"./MediaMpv/Index":[4765,7651,5933,9549,906,2582,6016,2577,182,3033,4765],"./MediaOmxplayer/Index":[7819,7651,5933,9549,906,2582,6016,2577,182,3033,7819],"./MediaVlc/Index":[2614,7651,5933,9549,906,2582,6016,2577,182,3033,2614],"./Music/Index":[288,7651,5933,9549,906,2582,288],"./MusicMopidy/Index":[3400,7651,5933,9549,906,2582,288,3400],"./MusicMpd/Index":[3083,7651,5933,9549,906,2582,288,3083],"./MusicSnapcast/Index":[5285,7651,2844,5285],"./MusicSpotify/Index":[4053,7651,5933,9549,906,2582,288,4053],"./Rtorrent/Index":[2183,5933,9549,2577,6429,2183],"./Settings/Index":[4084,5933,9549,6281,2924,4084],"./Sound/Index":[746,746],"./Torrent/Index":[8784,5933,9549,2577,6429,8784],"./Tts/Index":[3732,8069,3732],"./TtsGoogle/Index":[7605,8069,2853],"./TtsPicovoice/Index":[7089,8069,7089],"./TvSamsungWs/Index":[34,34],"./ZigbeeMqtt/Index":[1259,7651,5933,9549,2844,1259],"./Zwave/Index":[2732,7651,5933,9549,2844,7880,2732],"./ZwaveMqtt/Index":[1088,7651,5933,9549,2844,7880,1088]};function o(e){if(!t.o(i,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=i[e],o=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(o)}))}o.keys=function(){return Object.keys(i)},o.id=3379,e.exports=o}}]);
//# sourceMappingURL=8179.9d5f91cf.js.map

View file

@ -1,2 +1,2 @@
(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9966],{6791:function(e,s,t){"use strict";t.d(s,{Z:function(){return c}});var n=t(6252);const r={class:"loading"},a={class:"icon"};function o(e,s){return(0,n.wg)(),(0,n.iD)("div",r,[(0,n._)("div",a,[((0,n.wg)(),(0,n.iD)(n.HY,null,(0,n.Ko)(4,(e=>(0,n._)("div",{key:e}))),64))])])}var d=t(3744);const l={},i=(0,d.Z)(l,[["render",o],["__scopeId","data-v-4d9c871b"]]);var c=i},8332:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return _}});var n=t(6252),r=t(3577);function a(e,s,t,a,o,d){const l=(0,n.up)("Loading"),i=(0,n.up)("Widget"),c=(0,n.up)("Row");return(0,n.wg)(),(0,n.iD)(n.HY,null,[o.loading?((0,n.wg)(),(0,n.j4)(l,{key:0})):(0,n.kq)("",!0),(0,n._)("div",{id:"dashboard",class:(0,r.C_)(["col-12",d.classes]),style:(0,r.j5)(o.style)},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(o.rows,((e,s)=>((0,n.wg)(),(0,n.j4)(c,{key:s,class:(0,r.C_)(e.class),style:(0,r.j5)(e.style)},{default:(0,n.w5)((()=>[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.widgets,((e,s)=>((0,n.wg)(),(0,n.j4)(n.Ob,{key:s},[(0,n.Wm)(i,{style:(0,r.j5)(e.style),class:(0,r.C_)(e.class)},{default:(0,n.w5)((()=>[((0,n.wg)(),(0,n.j4)((0,n.LL)(e.component),(0,n.dG)({ref_for:!0},d.getWidgetProps(e)),null,16))])),_:2},1032,["style","class"])],1024)))),128))])),_:2},1032,["class","style"])))),128))],6)],64)}var o=t(2262),d=t(8637),l=t(6791);function i(e,s,t,a,o,d){return(0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["row",d.classes]),style:(0,r.j5)(t.style)},[(0,n.WI)(e.$slots,"default",{},void 0,!0)],6)}var c={name:"Row",props:{class:{type:String,required:!1,default:""},style:{type:String,required:!1,default:""}},computed:{classes(){return this.class}}},u=t(3744);const p=(0,u.Z)(c,[["render",i],["__scopeId","data-v-1b4663f2"]]);var h=p;function f(e,s,t,a,o,d){return(0,n.wg)(),(0,n.iD)("div",{style:(0,r.j5)(t.style),class:(0,r.C_)(d.classes)},[(0,n.WI)(e.$slots,"default",{},void 0,!0)],6)}var g={name:"Widget",props:{style:{type:String,required:!1,default:""},class:{type:String,required:!1,default:""}},computed:{classes(){return(this.class?.length?this.class.split(" "):["col-3"]).concat(["widget","column"])}}};const m=(0,u.Z)(g,[["render",f],["__scopeId","data-v-5df52982"]]);var y=m,w={name:"Dashboard",mixins:[d.Z],components:{Widget:y,Loading:l.Z,Row:h},props:{refreshSeconds:{type:Number,required:!1,default:0}},data(){return{rows:[],loading:!1,style:void 0,class:void 0}},computed:{classes(){return this.class},_refreshSeconds(){return parseFloat(this.refreshSeconds)||0}},methods:{getWidgetProps(e){const s={...e.props};return s.class&&delete s.class,s},parseTemplate(e){const s=(new DOMParser).parseFromString(e,"text/xml").childNodes[0],r=this;this.style=s.attributes.style?.nodeValue,this.class=s.attributes.class?.nodeValue,this.rows=[...s.getElementsByTagName("Row")].map((e=>({style:e.attributes.style?.nodeValue,class:e.attributes.class?.nodeValue,widgets:[...e.children].map((e=>{const s=(0,o.XI)((0,n.RC)((()=>t(6725)(`./${e.nodeName}/Index`)))),a=e.attributes.style?.nodeValue,d=e.attributes.class?.nodeValue,l=[...e.attributes].reduce(((e,s)=>("style"!==s.nodeName&&(e[s.nodeName]=s.nodeValue),e)),{content:e.innerHTML}),i={component:s,style:a,class:d,props:l||{}};return r.$options.components[e.nodeName]=s,i}))}))),this.loading=!1},async refreshDashboard(){this.loading=!0,this.widgets=[];const e=this.$route.params.name,s=await this.request("config.get_dashboard",{name:e});s||this.notifyError(`Dashboard ${e} not found`),this.parseTemplate(s)}},mounted(){if(this.refreshDashboard(),this._refreshSeconds){const e=this;setInterval((()=>{e.refreshDashboard()}),parseInt((1e3*this._refreshSeconds).toFixed(0)))}}};const v=(0,u.Z)(w,[["render",a],["__scopeId","data-v-462fad8c"]]);var _=v},6725:function(e,s,t){var n={"./Calendar/Index":[5638,5638],"./Camera/Index":[446,446],"./Component/Index":[1449,7651,2844,1449],"./DateTime/Index":[4619,1391,4619],"./DateTimeWeather/Index":[9962,9211,1391,9962],"./ImageCarousel/Index":[2140,9211,1391,2140],"./Music/Index":[7841,7651,906,7841],"./Plugin/Index":[8179,8179],"./RssNews/Index":[6523,6523],"./Weather/Index":[9211,9211]};function r(e){if(!t.o(n,e))return Promise.resolve().then((function(){var s=new Error("Cannot find module '"+e+"'");throw s.code="MODULE_NOT_FOUND",s}));var s=n[e],r=s[0];return Promise.all(s.slice(1).map(t.e)).then((function(){return t(r)}))}r.keys=function(){return Object.keys(n)},r.id=6725,e.exports=r}}]);
//# sourceMappingURL=dashboard.b0d0a36b.js.map
//# sourceMappingURL=dashboard.3b1ddc55.js.map

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4535],{1918:function(a,e,s){s.r(e),s.d(e,{default:function(){return w}});var t=s(6252);const d=a=>((0,t.dD)("data-v-af0b14d0"),a=a(),(0,t.Cn)(),a),r={class:"login-container"},l={class:"login",method:"POST"},n=(0,t.uE)('<div class="header" data-v-af0b14d0><span class="logo" data-v-af0b14d0><img src="/logo.svg" alt="logo" data-v-af0b14d0></span><span class="text" data-v-af0b14d0>Platypush</span></div><div class="row" data-v-af0b14d0><label data-v-af0b14d0><input type="text" name="username" placeholder="Username" data-v-af0b14d0></label></div><div class="row" data-v-af0b14d0><label data-v-af0b14d0><input type="password" name="password" placeholder="Password" data-v-af0b14d0></label></div>',3),i={key:0,class:"row"},o=d((()=>(0,t._)("label",null,[(0,t._)("input",{type:"password",name:"confirm_password",placeholder:"Confirm password"})],-1))),p=[o],c={class:"row buttons"},u=["value"],v=d((()=>(0,t._)("div",{class:"row pull-right"},[(0,t._)("label",{class:"checkbox"},[(0,t._)("input",{type:"checkbox",name:"remember"}),(0,t.Uk)("  Keep me logged in on this device   ")])],-1)));function b(a,e,s,d,o,b){return(0,t.wg)(),(0,t.iD)("div",r,[(0,t._)("form",l,[n,b._register?((0,t.wg)(),(0,t.iD)("div",i,p)):(0,t.kq)("",!0),(0,t._)("div",c,[(0,t._)("input",{type:"submit",class:"btn btn-primary",value:b._register?"Register":"Login"},null,8,u)]),v])])}var f=s(8637),g={name:"Login",mixins:[f.Z],props:{register:{type:Boolean,required:!1,default:!1}},computed:{_register(){return this.parseBoolean(this.register)}}},m=s(3744);const h=(0,m.Z)(g,[["render",b],["__scopeId","data-v-af0b14d0"]]);var w=h}}]);
//# sourceMappingURL=login.bdead2cf.js.map
//# sourceMappingURL=login.98ae4df8.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/login.bdead2cf.js","mappings":"4OACOA,MAAM,mB,GACHA,MAAM,QAAQC,OAAO,Q,qfAoBpBD,MAAM,O,UACTE,EAAAA,EAAAA,GAEQ,eADNA,EAAAA,EAAAA,GAA8E,SAAvEC,KAAK,WAAWC,KAAK,mBAAmBC,YAAY,uB,QAD7DC,G,GAKGN,MAAM,e,sBAIXE,EAAAA,EAAAA,GAKM,OALDF,MAAM,kBAAgB,EACzBE,EAAAA,EAAAA,GAGQ,SAHDF,MAAM,YAAU,EACrBE,EAAAA,EAAAA,GAAuC,SAAhCC,KAAK,WAAWC,KAAK,c,QAAW,6CAEzC,K,0CAnCNG,EAAAA,EAAAA,IAsCM,MAtCNC,EAsCM,EArCJN,EAAAA,EAAAA,GAoCO,OApCPO,EAoCO,CAnCLC,EAmBuBC,EAAAC,YAAS,WAAhCL,EAAAA,EAAAA,IAIM,MAJNM,EAIMC,KAAA,gBAENZ,EAAAA,EAAAA,GAEM,MAFNa,EAEM,EADJb,EAAAA,EAAAA,GAAuF,SAAhFC,KAAK,SAASH,MAAM,kBAAmBgB,MAAOL,EAAAC,UAAY,WAAa,S,YAGhFK,K,eAaN,GACEb,KAAM,QACNc,OAAQ,CAACC,EAAAA,GACTC,MAAO,CAELC,SAAU,CACRlB,KAAMmB,QACNC,UAAU,EACVC,SAAS,IAIbC,SAAU,CACRb,SAAAA,GACE,OAAOc,KAAKC,aAAaD,KAAKL,SAChC,I,UCrDJ,MAAMO,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/views/Login.vue","webpack://platypush/./src/views/Login.vue?240b"],"sourcesContent":["<template>\n <div class=\"login-container\">\n <form class=\"login\" method=\"POST\">\n <div class=\"header\">\n <span class=\"logo\">\n <img src=\"/logo.svg\" alt=\"logo\" />\n </span>\n <span class=\"text\">Platypush</span>\n </div>\n\n <div class=\"row\">\n <label>\n <input type=\"text\" name=\"username\" placeholder=\"Username\">\n </label>\n </div>\n\n <div class=\"row\">\n <label>\n <input type=\"password\" name=\"password\" placeholder=\"Password\">\n </label>\n </div>\n\n <div class=\"row\" v-if=\"_register\">\n <label>\n <input type=\"password\" name=\"confirm_password\" placeholder=\"Confirm password\">\n </label>\n </div>\n\n <div class=\"row buttons\">\n <input type=\"submit\" class=\"btn btn-primary\" :value=\"_register ? 'Register' : 'Login'\">\n </div>\n\n <div class=\"row pull-right\">\n <label class=\"checkbox\">\n <input type=\"checkbox\" name=\"remember\">&nbsp;\n Keep me logged in on this device &nbsp;\n </label>\n </div>\n </form>\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\nexport default {\n name: \"Login\",\n mixins: [Utils],\n props: {\n // Set to true for a registration form, false for a login form\n register: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n\n computed: {\n _register() {\n return this.parseBoolean(this.register)\n },\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\nbody {\n width: 100vw;\n height: 100vh;\n margin: 0;\n}\n\n.login-container {\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: $default-bg-6;\n}\n\n.header {\n font-size: 1.2em;\n margin-bottom: 2em;\n display: flex;\n justify-content: center;\n align-items: center;\n\n .logo {\n width: 3em;\n height: 3em;\n display: inline-flex;\n background-size: cover;\n }\n\n .text {\n font-family: Poppins, sans-serif;\n margin-left: .5em;\n }\n}\n\nform {\n display: flex;\n flex-direction: column;\n padding: 4em;\n border: $default-border-3;\n border-radius: 3em;\n box-shadow: 2px 2px 3px 3px $border-color-2;\n background: $background-color;\n\n .row {\n margin: 0.5em 0;\n }\n\n input[type=text],\n input[type=password] {\n width: 100%;\n }\n\n input[type=submit],\n input[type=password] {\n border-radius: 1em;\n }\n\n input[type=password] {\n padding: .25em .5em;\n }\n\n .checkbox {\n display: flex;\n font-size: 0.8em;\n }\n\n .buttons {\n text-align: center;\n\n input[type=submit] {\n padding: .5em .75em;\n }\n }\n}\n\na {\n color: $default-link-fg;\n}\n</style>\n","import { render } from \"./Login.vue?vue&type=template&id=af0b14d0&scoped=true\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\n\nimport \"./Login.vue?vue&type=style&index=0&id=af0b14d0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-af0b14d0\"]])\n\nexport default __exports__"],"names":["class","method","_createElementVNode","type","name","placeholder","_hoisted_7","_createElementBlock","_hoisted_1","_hoisted_2","_hoisted_3","$options","_register","_hoisted_6","_hoisted_8","_hoisted_9","value","_hoisted_11","mixins","Utils","props","register","Boolean","required","default","computed","this","parseBoolean","__exports__","render"],"sourceRoot":""}
{"version":3,"file":"static/js/login.98ae4df8.js","mappings":"4OACOA,MAAM,mB,GACHA,MAAM,QAAQC,OAAO,Q,qfAoBpBD,MAAM,O,UACTE,EAAAA,EAAAA,GAEQ,eADNA,EAAAA,EAAAA,GAA8E,SAAvEC,KAAK,WAAWC,KAAK,mBAAmBC,YAAY,uB,QAD7DC,G,GAKGN,MAAM,e,sBAIXE,EAAAA,EAAAA,GAKM,OALDF,MAAM,kBAAgB,EACzBE,EAAAA,EAAAA,GAGQ,SAHDF,MAAM,YAAU,EACrBE,EAAAA,EAAAA,GAAuC,SAAhCC,KAAK,WAAWC,KAAK,c,QAAW,6CAEzC,K,0CAnCNG,EAAAA,EAAAA,IAsCM,MAtCNC,EAsCM,EArCJN,EAAAA,EAAAA,GAoCO,OApCPO,EAoCO,CAnCLC,EAmBuBC,EAAAC,YAAS,WAAhCL,EAAAA,EAAAA,IAIM,MAJNM,EAIMC,KAAA,gBAENZ,EAAAA,EAAAA,GAEM,MAFNa,EAEM,EADJb,EAAAA,EAAAA,GAAuF,SAAhFC,KAAK,SAASH,MAAM,kBAAmBgB,MAAOL,EAAAC,UAAY,WAAa,S,YAGhFK,K,eAaN,GACEb,KAAM,QACNc,OAAQ,CAACC,EAAAA,GACTC,MAAO,CAELC,SAAU,CACRlB,KAAMmB,QACNC,UAAU,EACVC,SAAS,IAIbC,SAAU,CACRb,SAAAA,GACE,OAAOc,KAAKC,aAAaD,KAAKL,SAChC,I,UCrDJ,MAAMO,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/views/Login.vue","webpack://platypush/./src/views/Login.vue?240b"],"sourcesContent":["<template>\n <div class=\"login-container\">\n <form class=\"login\" method=\"POST\">\n <div class=\"header\">\n <span class=\"logo\">\n <img src=\"/logo.svg\" alt=\"logo\" />\n </span>\n <span class=\"text\">Platypush</span>\n </div>\n\n <div class=\"row\">\n <label>\n <input type=\"text\" name=\"username\" placeholder=\"Username\">\n </label>\n </div>\n\n <div class=\"row\">\n <label>\n <input type=\"password\" name=\"password\" placeholder=\"Password\">\n </label>\n </div>\n\n <div class=\"row\" v-if=\"_register\">\n <label>\n <input type=\"password\" name=\"confirm_password\" placeholder=\"Confirm password\">\n </label>\n </div>\n\n <div class=\"row buttons\">\n <input type=\"submit\" class=\"btn btn-primary\" :value=\"_register ? 'Register' : 'Login'\">\n </div>\n\n <div class=\"row pull-right\">\n <label class=\"checkbox\">\n <input type=\"checkbox\" name=\"remember\">&nbsp;\n Keep me logged in on this device &nbsp;\n </label>\n </div>\n </form>\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\nexport default {\n name: \"Login\",\n mixins: [Utils],\n props: {\n // Set to true for a registration form, false for a login form\n register: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n\n computed: {\n _register() {\n return this.parseBoolean(this.register)\n },\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\nbody {\n width: 100vw;\n height: 100vh;\n margin: 0;\n}\n\n.login-container {\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: $default-bg-6;\n}\n\n.header {\n font-size: 1.2em;\n margin-bottom: 2em;\n display: flex;\n justify-content: center;\n align-items: center;\n\n .logo {\n width: 3em;\n height: 3em;\n display: inline-flex;\n background-size: cover;\n }\n\n .text {\n font-family: Poppins, sans-serif;\n margin-left: .5em;\n }\n}\n\nform {\n display: flex;\n flex-direction: column;\n padding: 4em;\n border: $default-border-3;\n border-radius: 3em;\n box-shadow: 2px 2px 3px 3px $border-color-2;\n background: $background-color;\n\n .row {\n margin: 0.5em 0;\n }\n\n input[type=text],\n input[type=password] {\n width: 100%;\n }\n\n input[type=submit],\n input[type=password] {\n border-radius: 1em;\n }\n\n input[type=password] {\n padding: .25em .5em;\n }\n\n .checkbox {\n display: flex;\n font-size: 0.8em;\n }\n\n .buttons {\n text-align: center;\n\n input[type=submit] {\n padding: .5em .75em;\n }\n }\n}\n\na {\n color: $default-link-fg;\n}\n</style>\n","import { render } from \"./Login.vue?vue&type=template&id=af0b14d0&scoped=true\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\n\nimport \"./Login.vue?vue&type=style&index=0&id=af0b14d0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-af0b14d0\"]])\n\nexport default __exports__"],"names":["class","method","_createElementVNode","type","name","placeholder","_hoisted_7","_createElementBlock","_hoisted_1","_hoisted_2","_hoisted_3","$options","_register","_hoisted_6","_hoisted_8","_hoisted_9","value","_hoisted_11","mixins","Utils","props","register","Boolean","required","default","computed","this","parseBoolean","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2245],{2751:function(n,u,t){t.r(u),t.d(u,{default:function(){return s}});var e=t(6252);function r(n,u,t,r,a,c){return(0,e.wg)(),(0,e.iD)("h1",null,"Object not found")}var a={name:"NotFound"},c=t(3744);const o=(0,c.Z)(a,[["render",r]]);var s=o}}]);
//# sourceMappingURL=notfound.388a3a0b.js.map
//# sourceMappingURL=notfound.46477842.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/notfound.388a3a0b.js","mappings":"uNACEA,EAAAA,EAAAA,IAAyB,UAArB,mB,CAIN,OACEC,KAAM,Y,UCDR,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/views/NotFound.vue","webpack://platypush/./src/views/NotFound.vue?0aab"],"sourcesContent":["<template>\n <h1>Object not found</h1>\n</template>\n\n<script>\nexport default {\n name: \"NotFound\"\n}\n</script>\n\n","import { render } from \"./NotFound.vue?vue&type=template&id=49501f4d\"\nimport script from \"./NotFound.vue?vue&type=script&lang=js\"\nexport * from \"./NotFound.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createElementBlock","name","__exports__","render"],"sourceRoot":""}
{"version":3,"file":"static/js/notfound.46477842.js","mappings":"uNACEA,EAAAA,EAAAA,IAAyB,UAArB,mB,CAIN,OACEC,KAAM,Y,UCDR,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/views/NotFound.vue","webpack://platypush/./src/views/NotFound.vue?0aab"],"sourcesContent":["<template>\n <h1>Object not found</h1>\n</template>\n\n<script>\nexport default {\n name: \"NotFound\"\n}\n</script>\n\n","import { render } from \"./NotFound.vue?vue&type=template&id=49501f4d\"\nimport script from \"./NotFound.vue?vue&type=script&lang=js\"\nexport * from \"./NotFound.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createElementBlock","name","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[685,4535],{1918:function(a,e,s){s.r(e),s.d(e,{default:function(){return w}});var t=s(6252);const r=a=>((0,t.dD)("data-v-af0b14d0"),a=a(),(0,t.Cn)(),a),n={class:"login-container"},d={class:"login",method:"POST"},l=(0,t.uE)('<div class="header" data-v-af0b14d0><span class="logo" data-v-af0b14d0><img src="/logo.svg" alt="logo" data-v-af0b14d0></span><span class="text" data-v-af0b14d0>Platypush</span></div><div class="row" data-v-af0b14d0><label data-v-af0b14d0><input type="text" name="username" placeholder="Username" data-v-af0b14d0></label></div><div class="row" data-v-af0b14d0><label data-v-af0b14d0><input type="password" name="password" placeholder="Password" data-v-af0b14d0></label></div>',3),o={key:0,class:"row"},i=r((()=>(0,t._)("label",null,[(0,t._)("input",{type:"password",name:"confirm_password",placeholder:"Confirm password"})],-1))),p=[i],u={class:"row buttons"},c=["value"],v=r((()=>(0,t._)("div",{class:"row pull-right"},[(0,t._)("label",{class:"checkbox"},[(0,t._)("input",{type:"checkbox",name:"remember"}),(0,t.Uk)("  Keep me logged in on this device   ")])],-1)));function f(a,e,s,r,i,f){return(0,t.wg)(),(0,t.iD)("div",n,[(0,t._)("form",d,[l,f._register?((0,t.wg)(),(0,t.iD)("div",o,p)):(0,t.kq)("",!0),(0,t._)("div",u,[(0,t._)("input",{type:"submit",class:"btn btn-primary",value:f._register?"Register":"Login"},null,8,c)]),v])])}var b=s(8637),g={name:"Login",mixins:[b.Z],props:{register:{type:Boolean,required:!1,default:!1}},computed:{_register(){return this.parseBoolean(this.register)}}},m=s(3744);const h=(0,m.Z)(g,[["render",f],["__scopeId","data-v-af0b14d0"]]);var w=h},9780:function(a,e,s){s.r(e),s.d(e,{default:function(){return i}});var t=s(6252);function r(a,e,s,r,n,d){const l=(0,t.up)("Login");return(0,t.wg)(),(0,t.j4)(l,{register:!0})}var n=s(1918),d={name:"Register",mixins:[n["default"]],components:{Login:n["default"]},props:{register:{type:Boolean,required:!1,default:!0}}},l=s(3744);const o=(0,l.Z)(d,[["render",r]]);var i=o}}]);
//# sourceMappingURL=register.10911c40.js.map
//# sourceMappingURL=register.64e266ad.js.map