mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-13 00:26:55 -05:00
Removed build files
This commit is contained in:
parent
522c4ef515
commit
daed89938e
1
public/css/form.min.css
vendored
1
public/css/form.min.css
vendored
@ -1 +0,0 @@
|
||||
body{background-color:#000;margin:0;color:#d3d3d3;font-family:Roboto,sans-serif}::-moz-focus-inner{border:0}.form{margin:50px auto;width:300px}.form h3{background-color:#000;border:2px solid #2a9fd6;border-radius:5px 5px 0 0;color:#eee;font-size:18px;padding:20px;margin:0;text-align:center;text-transform:uppercase}fieldset{border:2px solid #2a9fd6;border-top:none;margin:0;background:#000;border-radius:0 0 5px 5px;padding:20px;position:relative}fieldset:before{border-bottom:2px solid #2a9fd6;border-right:2px solid #2a9fd6;background-color:#000;content:"";width:8px;height:8px;left:50%;margin:-4px 0 0 -4px;position:absolute;top:0;transform:rotate(45deg) translateY(-2px)}.form input{display:block;font-size:14px;background:#000;color:#d3d3d3;border:1px solid #999;width:226px;padding:12px 12px;margin:auto;margin-bottom:5px}button{background:#000;border:2px solid #2a9fd6;border-radius:4px;color:#d3d3d3;cursor:pointer;display:block;padding:10px 30px;margin:auto;margin-top:20px;transition:background .25s}button:hover{background:#2a9fd6;color:#fff;text-decoration:none;outline:0}
|
1
public/css/home.min.css
vendored
1
public/css/home.min.css
vendored
@ -1 +0,0 @@
|
||||
body{background-color:#060606;color:#d3d3d3;font-family:Roboto,sans-serif;font-size:14px;height:100%;line-height:20px;margin:0;padding-top:20px;padding-bottom:40px}#container{max-width:700px;text-align:center;display:flex;flex-direction:column;margin:auto}a{color:#0078b4;text-decoration:none;transition:color .25s}a:active,a:focus,a:hover{color:#005580}h1{font-size:72px;font-weight:700}.upload{margin:60px 0}.btn{font-family:Roboto,sans-serif;background:#000;border:2px solid #2a9fd6;border-radius:4px;color:#d3d3d3;cursor:pointer;display:inline-block;font-size:24px;padding:28px 48px;transition:background-color .25s,width .5s,height .5s}.btn:hover{background-color:#2a9fd6;color:#fff;text-decoration:none;outline:0}:focus{outline:0}::-moz-focus-inner{border:0}#upload-filelist{list-style-type:none;margin:20px 50px;padding:0;text-align:left}#upload-filelist>li{margin-top:5px;overflow:hidden;display:flex}.list-name{margin-top:6px;overflow:hidden;max-width:70%;text-overflow:ellipsis;white-space:nowrap}.list-url{font-family:'Roboto Mono',monospace;margin-left:auto}.list-progress{margin:10px 30px 10px 30px;flex-grow:2}.list-url a{vertical-align:super;color:#5c5c5c}.list-url a:hover{color:#d3d3d3}.list-url-clipboard-btn{border:2px solid #222;height:32px;margin-left:5px;border-radius:3px;cursor:pointer;background-color:#5c5c5c;transition:background-color .25s}.list-url-clipboard-btn:focus,.list-url-clipboard-btn:hover{background-color:#ababab;outline:0}.list-err{font-family:'Roboto Mono',monospace;margin-left:auto;color:#f66;vertical-align:super}nav a,nav>ul{color:#32809f;list-style:none;margin:0;padding:0;text-align:center}nav>ul>li{display:inline-block;margin:0;padding:0;cursor:default}nav>ul>li:after{content:"|";margin:0 8px;opacity:.3}nav>ul>li:last-child:after{content:"";margin:0}
|
1
public/css/index.min.css
vendored
1
public/css/index.min.css
vendored
@ -1 +0,0 @@
|
||||
*{margin:0}body{background:#000}a{position:absolute;top:5px;left:48%;opacity:.1;height:30px;width:30px;z-index:100;cursor:default}a img{width:30px;height:30px}canvas{position:absolute;top:0;left:0}video{position:fixed;top:50%;left:50%;min-width:100%;min-height:100%;width:1920px;height:760px;z-index:-100;transform:translateX(-50%) translateY(-50%);background-size:cover;transition:1s opacity}#buffer{display:none}
|
1
public/css/panel.min.css
vendored
1
public/css/panel.min.css
vendored
@ -1 +0,0 @@
|
||||
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);@import url(https://fonts.googleapis.com/css?family=Roboto);@import url(https://fonts.googleapis.com/css?family=Roboto+Mono);*,:after,:before{margin:0;padding:0;box-sizing:border-box}body,html{height:100vh}body{font:600 14px Roboto,sans-serif;color:#000;background:#000;overflow-x:hidden}.container{display:flex;min-height:100%}.sidebar{position:absolute;width:220px}.content{flex:1;padding:30px;background:#444;box-shadow:0 0 5px rgba(0,0,0,1);transform:translate3d(0,0,0);transition:transform .3s;color:#ccc}.content.isOpen{transform:translate3d(220px,0,0)}.button{position:relative;width:120px;height:40px;cursor:pointer;margin:10px 0 40px 0;padding:15px;transition-property:opacity,filter;transition-duration:.15s;text-transform:none}.button-inner{left:0;top:50%;display:inline-block;margin-top:-2px}.button-inner,.button-inner::after,.button-inner::before{background-color:#fff;position:absolute;width:40px;height:4px;transition:transform .15s ease;border-radius:4px}.button-inner::after,.button-inner::before{content:"";display:block}.button-inner::before{top:-10px}.button-inner::after{bottom:-10px}.button.isOpen .button-inner::before{transform:translate3d(-8px,0,0) rotate(-45deg) scale(.7,1)}.button.isOpen .button-inner::after{transform:translate3d(-8px,0,0) rotate(45deg) scale(.7,1)}.button-label{position:absolute;top:6px;left:50px;font-size:24px;color:#fff}.sidebar-title{color:#2a9fd6;cursor:pointer;font-size:16px;line-height:50px;text-align:center;text-transform:uppercase;letter-spacing:7px;border-bottom:1px solid #222;background:#2a2a2a}.nav li{cursor:pointer}.nav li a{outline:0;position:relative;display:block;padding:20px 0 20px 50px;font-size:14px;color:#eee;background:#333;border-bottom:1px solid #222;text-decoration:none}.nav li a:before{font:14px fontawesome;position:absolute;top:19px;left:20px}.nav li:nth-child(1) a:before{content:'\f00a'}.nav li:nth-child(2) a:before{content:'\f002'}.nav li:nth-child(3) a:before{content:'\f084'}.nav li:nth-child(4) a:before{content:'\f0e0'}.nav li:nth-child(5) a:before{content:'\f0c0'}.nav li:nth-child(6) a:before{content:'\f233'}.nav li:nth-child(7) a:before{content:'\f023';left:23px}.nav li a:hover{background:#444}::-moz-focus-inner{border:0}.nav li a.active{box-shadow:inset 5px 0 0 #2a9fd6,inset 6px 0 0 #222;background:#444}.inner{display:flex;flex-direction:column}.keys{display:flex;flex-direction:row;flex-wrap:wrap}.key{background:#555;border:3px solid #2a9fd6;border-radius:5px;box-shadow:5px 5px 10px #000;margin:20px;width:300px;height:100px;cursor:pointer;display:flex;justify-content:flex-start;flex-direction:row;transition:box-shadow .2s}.key:hover{box-shadow:0 0 10px #eee}.key i{font-size:48px;margin:auto 0 auto 20px}.key span{font-size:16px;vertical-align:center;margin:auto;-moz-user-select:none;user-select:none}.modal{display:block;position:fixed;z-index:1;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,.4)}.modal-header{margin:15% auto;padding:20px;border:1px solid #888;width:80%}.modal-body{margin:auto;padding:20px;border:1px solid #888;width:80%}.modal-footer{margin:auto;padding:20px;border:1px solid #888;width:80%}
|
1
public/js/index.min.js
vendored
1
public/js/index.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
1
public/js/panel.min.js
vendored
1
public/js/panel.min.js
vendored
@ -1 +0,0 @@
|
||||
(angular=require("angular")).module("ApiSvc",[]).service("ApiService",["$http","$window",function(e,t){this.getKey=function(t,n){e({method:"GET",url:"/api/keys/get",params:{identifier:t}}).then(function(e){n(e.data)})},this.getAll=function(t){e({method:"GET",url:"/api/keys/get"}).then(function(e){t(e.data)})}}]),(angular=require("angular")).module("AuthSvc",[]).service("AuthService",["$http","$window",function(e,t){this.login=function(n){return e({method:"POST",url:"/api/auth/login",headers:{"Content-Type":"application/x-www-form-urlencoded"},transformRequest:function(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")},data:n}).then(function(e){if(401===e.status)return!1;t.location.href="/home"})},this.logout=function(){e({method:"GET",url:"/api/auth/logout"}).then(function(){t.location.href="/"})},this.register=function(n){return e({method:"POST",url:"/api/auth/register",headers:{"Content-Type":"application/x-www-form-urlencoded"},transformRequest:function(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")},data:n}).then(function(e){if(401===e.status)return!1;t.location.href="/home"})},this.currentUser=function(t){return e({method:"GET",url:"/api/auth/session",headers:{"Content-Type":"application/json"}}).then(function(e){t(e.data)})}}]),(angular=require("angular")).module("PanelRoutes",["ui.router"]).config(["$stateProvider","$urlRouterProvider","$locationProvider",function(e,t,n){n.html5Mode(!0),t.otherwise("/panel"),e.state("dashboard",{url:"/panel",templateUrl:"/views/panel/dash.html"}).state("search",{url:"/panel/search",templateUrl:"/views/panel/search.html"}).state("api",{url:"/panel/api",templateUrl:"/views/panel/api.html"}).state("invites",{url:"/panel/invites",templateUrl:"/views/panel/invites.html"}).state("stats",{url:"/panel/stats",templateUrl:"/views/panel/stats.html"}).state("users",{url:"/panel/users",templateUrl:"/views/panel/users.html"}).state("home",{onEnter:["$window",function(e){e.location.href="/home"}]})}]);var angular=require("angular"),uirouter=require("angular-ui-router"),app=angular.module("shimapan-panel",["ui.router","AuthSvc","ApiSvc","ApiCtrl","NavCtrl","PanelRoutes"]);app.run(["$rootScope","$state","$stateParams",function(e,t,n){e.$state=t,e.$stateParams=n}]),(angular=require("angular")).module("ApiCtrl",["ApiSvc","AuthSvc"]).controller("ApiController",["$scope","ApiService","AuthService",function(e,t,n){e.getKeys=function(){t.getAll(function(t){e.keys=t}),console.log(e.keys)}}]),(angular=require("angular")).module("NavCtrl",["AuthSvc"]).controller("NavController",["$scope","$window","AuthService",function(e,t,n){e.user={},n.currentUser(function(t){e.user=t}),e.logout=n.logout,e.hasPermission=function(t){return!!e.user.scope&&-1!==e.user.scope.indexOf(t)}}]);
|
File diff suppressed because it is too large
Load Diff
1
public/js/shimapan.min.js
vendored
1
public/js/shimapan.min.js
vendored
@ -1 +0,0 @@
|
||||
(angular=require("angular")).module("ApiSvc",[]).service("ApiService",["$http","$window",function(e,n){this.getKey=function(n,o){e({method:"GET",url:"/api/keys/get",params:{identifier:n}}).then(function(e){o(e.data)})},this.getAll=function(n){e({method:"GET",url:"/api/keys/get"}).then(function(e){n(e.data)})}}]),(angular=require("angular")).module("AuthSvc",[]).service("AuthService",["$http","$window",function(e,n){this.login=function(o){return e({method:"POST",url:"/api/auth/login",headers:{"Content-Type":"application/x-www-form-urlencoded"},transformRequest:function(e){var n=[];for(var o in e)n.push(encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return n.join("&")},data:o}).then(function(e){if(401===e.status)return!1;n.location.href="/home"})},this.logout=function(){e({method:"GET",url:"/api/auth/logout"}).then(function(){n.location.href="/"})},this.register=function(o){return e({method:"POST",url:"/api/auth/register",headers:{"Content-Type":"application/x-www-form-urlencoded"},transformRequest:function(e){var n=[];for(var o in e)n.push(encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return n.join("&")},data:o}).then(function(e){if(401===e.status)return!1;n.location.href="/home"})},this.currentUser=function(n){return e({method:"GET",url:"/api/auth/session",headers:{"Content-Type":"application/json"}}).then(function(e){n(e.data)})}}]);var angular=require("angular"),ngFileUpload=require("ng-file-upload"),ngclipboard=require("ngclipboard"),app=angular.module("shimapan",["ngFileUpload","ngclipboard","UploadComp","RegisterComp","LoginComp"]);(angular=require("angular")).module("LoginComp",["AuthSvc"]).component("loginComponent",{templateUrl:"/views/shimapan/login-form.html",controller:["$scope","AuthService",function(e,n){e.login=function(){n.login({username:e.username,password:e.password})}}]}),(angular=require("angular")).module("RegisterComp",["AuthSvc"]).component("registerComponent",{templateUrl:"/views/shimapan/register-form.html",controller:["$scope","AuthService",function(e,n){e.register=function(){n.register({username:e.username,password:e.password,invite:e.invite})}}]}),(angular=require("angular")).module("UploadComp",["ngFileUpload","AuthSvc"]).component("uploadComponent",{templateUrl:"/views/shimapan/upload-form.html",controller:["$scope","Upload","$timeout","AuthService",function(e,n,o,r){e.errToString=function(e){return"maxSize"===e?"File too large.":e},e.uploadFiles=function(r,t){e.files=e.files?e.files.concat(r):r,e.errorFiles=e.errorFiles?e.errorFiles.concat(t):t,angular.forEach(r,function(r){r.upload=n.upload({url:"/api/upload",method:"POST",file:r}),r.upload.then(function(e){o(function(){r.result=e.data})},function(n){if(200!==n.status){401===n.status?r.$error="Invalid authorization token":403===n.status?r.$error="Forbidden":r.$error="Unknown error "+n.status;var o=e.files.indexOf(r);e.errorFiles.push(r),e.files.splice(o,1)}},function(e){r.progress=Math.floor(Math.min(100,100*e.loaded/e.total))})})}}],controllerAs:"vm"});
|
Loading…
Reference in New Issue
Block a user