initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,10 @@
|
||||
// stupid old browsers
|
||||
if(typeof Promise === 'undefined') {
|
||||
(function(d, script) {
|
||||
script = d.createElement('script');
|
||||
script.type = 'text/javascript';
|
||||
script.async = false;
|
||||
script.src = '/assets/babel-polyfill.js';
|
||||
d.getElementsByTagName('head')[0].appendChild(script);
|
||||
}(document));
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,16 @@
|
||||
doctype html
|
||||
html(lang='en')
|
||||
head
|
||||
include partials/head
|
||||
include partials/head_custom
|
||||
body
|
||||
.container
|
||||
h1
|
||||
svg.fa-icon(role='presentation' viewbox='0 0 1920 1792' style='fill: #0275D8')
|
||||
path(d='M1280 864q0-14-9-23l-352-352q-9-9-23-9t-23 9l-351 351q-10 12-10 24 0 14 9 23t23 9h224v352q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5v-352h224q13 0 22.5-9.5t9.5-22.5zM1920 1152q0 159-112.5 271.5t-271.5 112.5h-1088q-185 0-316.5-131.5t-131.5-316.5q0-130 70-240t188-165q-2-30-2-43 0-212 150-362t362-150q156 0 285.5 87t188.5 231q71-62 166-62 106 0 181 75t75 181q0 76-41 138 130 31 213.5 135.5t83.5 238.5z')
|
||||
| PsiTransfer Admin
|
||||
hr
|
||||
#admin
|
||||
include partials/footer
|
||||
script(src='app/common.js')
|
||||
script(src='app/admin.js')
|
||||
@@ -0,0 +1,16 @@
|
||||
doctype html
|
||||
html(lang='en')
|
||||
head
|
||||
include partials/head
|
||||
include partials/head_custom
|
||||
body
|
||||
.container
|
||||
h1
|
||||
svg.fa-icon(role='presentation' viewbox='0 0 1920 1792' style='fill: #0275D8')
|
||||
path(d='M1280 928q0-14-9-23t-23-9h-224v-352q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v352h-224q-13 0-22.5 9.5t-9.5 22.5q0 14 9 23l352 352q9 9 23 9t23-9l351-351q10-12 10-24zM1920 1152q0 159-112.5 271.5t-271.5 112.5h-1088q-185 0-316.5-131.5t-131.5-316.5q0-130 70-240t188-165q-2-30-2-43 0-212 150-362t362-150q156 0 285.5 87t188.5 231q71-62 166-62 106 0 181 75t75 181q0 76-41 138 130 31 213.5 135.5t83.5 238.5z')
|
||||
| PsiTransfer
|
||||
hr
|
||||
#download
|
||||
include partials/footer
|
||||
script(src='app/common.js')
|
||||
script(src='app/download.js')
|
||||
@@ -0,0 +1,37 @@
|
||||
doctype html
|
||||
html(lang='en')
|
||||
head
|
||||
include partials/head
|
||||
style.
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
body > .container {
|
||||
padding-bottom: 50px;
|
||||
position: relative;
|
||||
}
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
}
|
||||
include partials/head_custom
|
||||
body
|
||||
.container
|
||||
h1
|
||||
svg.fa-icon(role='presentation' viewbox='0 0 1920 1792' style='fill: #0275D8')
|
||||
path(d='M1280 864q0-14-9-23l-352-352q-9-9-23-9t-23 9l-351 351q-10 12-10 24 0 14 9 23t23 9h224v352q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5v-352h224q13 0 22.5-9.5t9.5-22.5zM1920 1152q0 159-112.5 271.5t-271.5 112.5h-1088q-185 0-316.5-131.5t-131.5-316.5q0-130 70-240t188-165q-2-30-2-43 0-212 150-362t362-150q156 0 285.5 87t188.5 231q71-62 166-62 106 0 181 75t75 181q0 76-41 138 130 31 213.5 135.5t83.5 238.5z')
|
||||
| PsiTransfer
|
||||
hr
|
||||
p.alert.alert-danger
|
||||
strong
|
||||
i.fa.fa-fw.fa-exclamation-triangle
|
||||
| #{error}
|
||||
p
|
||||
a.btn.btn-sm.btn-info(title='New Upload' href=uploadAppPath)
|
||||
i.fa.fa-fw.fa-cloud-upload
|
||||
| new upload
|
||||
include partials/footer
|
||||
@@ -0,0 +1,4 @@
|
||||
footer.footer
|
||||
.container.text-right
|
||||
span.text-muted
|
||||
a(href='https://github.com/psi-4ward/psitransfer' target='_blank') Powered by PsiTransfer
|
||||
@@ -0,0 +1,19 @@
|
||||
base(href=baseUrl)
|
||||
meta(charset='utf-8')
|
||||
title PsiTransfer
|
||||
link(href='assets/favicon.ico' rel='icon' type='image/x-icon')
|
||||
meta(name='viewport' content='width=device-width, initial-scale=1')
|
||||
meta(name='robots' content='noindex,nofollow')
|
||||
meta(http-equiv='x-ua-compatible' content='IE=edge')
|
||||
link(href='assets/styles.css' rel='stylesheet')
|
||||
script.
|
||||
// Add ployfills for stupid IE
|
||||
if (document.documentMode || /Edge/.test(navigator.userAgent)) {
|
||||
(function(d, script) {
|
||||
script = d.createElement('script');
|
||||
script.type = 'text/javascript';
|
||||
script.async = false;
|
||||
script.src = 'assets/babel-polyfill.js';
|
||||
d.getElementsByTagName('head')[0].appendChild(script);
|
||||
}(document));
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
doctype html
|
||||
html(lang='en')
|
||||
head
|
||||
include partials/head
|
||||
include partials/head_custom
|
||||
body
|
||||
#dropHelper
|
||||
.container
|
||||
h1
|
||||
svg.fa-icon(role='presentation' viewbox='0 0 1920 1792' style='fill: #0275D8')
|
||||
path(d='M1280 864q0-14-9-23l-352-352q-9-9-23-9t-23 9l-351 351q-10 12-10 24 0 14 9 23t23 9h224v352q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5v-352h224q13 0 22.5-9.5t9.5-22.5zM1920 1152q0 159-112.5 271.5t-271.5 112.5h-1088q-185 0-316.5-131.5t-131.5-316.5q0-130 70-240t188-165q-2-30-2-43 0-212 150-362t362-150q156 0 285.5 87t188.5 231q71-62 166-62 106 0 181 75t75 181q0 76-41 138 130 31 213.5 135.5t83.5 238.5z')
|
||||
| PsiTransfer
|
||||
hr
|
||||
#upload
|
||||
include partials/footer
|
||||
script(src='app/common.js')
|
||||
script PSITRANSFER_UPLOAD_PATH = '#{uploadAppPath}';
|
||||
script(src='app/upload.js')
|
||||
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
Reference in New Issue
Block a user