mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-23 12:40:19 +01:00
added grunt-includes, and seprated html files
This commit is contained in:
parent
c210db80d5
commit
0c2c4631fe
19 changed files with 1964 additions and 226 deletions
32
Gruntfile.js
32
Gruntfile.js
|
@ -28,6 +28,10 @@ module.exports = function (grunt) {
|
||||||
gruntfile: {
|
gruntfile: {
|
||||||
files: ['Gruntfile.js']
|
files: ['Gruntfile.js']
|
||||||
},
|
},
|
||||||
|
includes: {
|
||||||
|
files: ['<%= yeoman.app %>/*.html', '.tmp/*.html'],
|
||||||
|
tasks: ['includes:server']
|
||||||
|
},
|
||||||
livereload: {
|
livereload: {
|
||||||
options: {
|
options: {
|
||||||
livereload: '<%= connect.options.livereload %>'
|
livereload: '<%= connect.options.livereload %>'
|
||||||
|
@ -37,7 +41,8 @@ module.exports = function (grunt) {
|
||||||
'{.tmp,<%= yeoman.app %>}/styles/{,*/}*.css',
|
'{.tmp,<%= yeoman.app %>}/styles/{,*/}*.css',
|
||||||
'{.tmp,<%= yeoman.app %>}/scripts/{,*/}*.js',
|
'{.tmp,<%= yeoman.app %>}/scripts/{,*/}*.js',
|
||||||
'<%= yeoman.app %>/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}'
|
'<%= yeoman.app %>/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}'
|
||||||
]
|
],
|
||||||
|
tasks: ['includes:server']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
connect: {
|
connect: {
|
||||||
|
@ -112,6 +117,27 @@ module.exports = function (grunt) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
includes: {
|
||||||
|
build: {
|
||||||
|
cwd: '<%= yeoman.app %>',
|
||||||
|
src: ['*.html', 'includes/*.html'],
|
||||||
|
dest: '<%= yeoman.dist %>',
|
||||||
|
options: {
|
||||||
|
flatten: true,
|
||||||
|
banner: ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
server: {
|
||||||
|
cwd: '<%= yeoman.app %>',
|
||||||
|
src: ['*.html', 'includes/*.html'],
|
||||||
|
dest: '.tmp/',
|
||||||
|
options: {
|
||||||
|
flatten: true,
|
||||||
|
banner: ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
// not used since Uglify task does concat,
|
// not used since Uglify task does concat,
|
||||||
// but still available if needed
|
// but still available if needed
|
||||||
/*concat: {
|
/*concat: {
|
||||||
|
@ -240,6 +266,7 @@ module.exports = function (grunt) {
|
||||||
grunt.task.run([
|
grunt.task.run([
|
||||||
'clean:server',
|
'clean:server',
|
||||||
'less',
|
'less',
|
||||||
|
'includes:server',
|
||||||
'copy:server',
|
'copy:server',
|
||||||
'connect:livereload',
|
'connect:livereload',
|
||||||
'watch'
|
'watch'
|
||||||
|
@ -263,6 +290,7 @@ module.exports = function (grunt) {
|
||||||
'copy:server',
|
'copy:server',
|
||||||
'useminPrepare',
|
'useminPrepare',
|
||||||
'concurrent',
|
'concurrent',
|
||||||
|
'includes:build',
|
||||||
'cssmin',
|
'cssmin',
|
||||||
'concat',
|
'concat',
|
||||||
'uglify',
|
'uglify',
|
||||||
|
@ -275,4 +303,4 @@ module.exports = function (grunt) {
|
||||||
'test',
|
'test',
|
||||||
'build'
|
'build'
|
||||||
]);
|
]);
|
||||||
};
|
};
|
|
@ -18,6 +18,8 @@
|
||||||
"grunt-contrib-less": "~0.11.4",
|
"grunt-contrib-less": "~0.11.4",
|
||||||
"grunt-contrib-uglify": "~0.6.0",
|
"grunt-contrib-uglify": "~0.6.0",
|
||||||
"grunt-contrib-watch": "~0.6.1",
|
"grunt-contrib-watch": "~0.6.1",
|
||||||
|
"grunt-include-replace": "^2.0.0",
|
||||||
|
"grunt-includes": "^0.4.5",
|
||||||
"grunt-rev": "~0.1.0",
|
"grunt-rev": "~0.1.0",
|
||||||
"grunt-svgmin": "1.0.0",
|
"grunt-svgmin": "1.0.0",
|
||||||
"grunt-usemin": "~2.4.0",
|
"grunt-usemin": "~2.4.0",
|
||||||
|
|
|
@ -154,4 +154,4 @@
|
||||||
<script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
|
<script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,7 +1,124 @@
|
||||||
<html>
|
<!doctype html>
|
||||||
|
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||||
|
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||||
|
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||||
|
<!--[if gt IE 8]><!-->
|
||||||
|
<html class="no-js">
|
||||||
|
<!--<![endif]-->
|
||||||
|
|
||||||
{{.ContentType}}
|
<head>
|
||||||
{{.ContentLength}}
|
<meta charset="utf-8">
|
||||||
{{.Filename}}
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<a href="{{.Url}}">Download</a>
|
<title>transfer.sh - Easy and fast file sharing from the command-line.</title>
|
||||||
</html>
|
<meta name="description" content="Easy and fast file sharing from the command-line.">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
|
||||||
|
<link rel="stylesheet" href="styles/main.css">
|
||||||
|
|
||||||
|
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel='stylesheet' type='text/css'>
|
||||||
|
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400' rel='stylesheet' type='text/css'>
|
||||||
|
<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
|
||||||
|
<script src="scripts/vendor/modernizr.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<script>
|
||||||
|
(function(i, s, o, g, r, a, m) {
|
||||||
|
i['GoogleAnalyticsObject'] = r;
|
||||||
|
i[r] = i[r] || function() {
|
||||||
|
(i[r].q = i[r].q || []).push(arguments)
|
||||||
|
}, i[r].l = 1 * new Date();
|
||||||
|
a = s.createElement(o),
|
||||||
|
m = s.getElementsByTagName(o)[0];
|
||||||
|
a.async = 1;
|
||||||
|
a.src = g;
|
||||||
|
m.parentNode.insertBefore(a, m)
|
||||||
|
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
||||||
|
ga('create', 'UA-40833733-1', 'transfer.sh');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div id="navigation">
|
||||||
|
<div class="wrapper">
|
||||||
|
<a href="#home">
|
||||||
|
<h1>transfer.sh</h1></a>
|
||||||
|
<ul class="hidden-xs">
|
||||||
|
<li><a href="#home">home</a>
|
||||||
|
</li>
|
||||||
|
<li><a href="#samples">sample use cases</a>
|
||||||
|
</li>
|
||||||
|
<li><a href="#contact">contact us</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<section id="home">
|
||||||
|
<div class="wrapper">
|
||||||
|
<h2>
|
||||||
|
{{.Filename}}</h2>
|
||||||
|
<a href="{{.Url}}"></a>
|
||||||
|
<div class="row animated fadeInDown">
|
||||||
|
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
|
||||||
|
<div class="terminal-top">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div id="terminal" class="terminal">
|
||||||
|
<div class="preview-wrapper">
|
||||||
|
<div id="md-preview"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<a href="{{.Url}}" class="btn-cta btn-home"> download</i> </a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
(function() {
|
||||||
|
var uv = document.createElement('script');
|
||||||
|
uv.type = 'text/javascript';
|
||||||
|
uv.async = true;
|
||||||
|
uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
|
||||||
|
var s = document.getElementsByTagName('script')[0];
|
||||||
|
s.parentNode.insertBefore(uv, s)
|
||||||
|
})()
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
<script>
|
||||||
|
(function(b, o, i, l, e, r) {
|
||||||
|
b.GoogleAnalyticsObject = l;
|
||||||
|
b[l] || (b[l] =
|
||||||
|
function() {
|
||||||
|
(b[l].q = b[l].q || []).push(arguments)
|
||||||
|
});
|
||||||
|
b[l].l = +new Date;
|
||||||
|
e = o.createElement(i);
|
||||||
|
r = o.getElementsByTagName(i)[0];
|
||||||
|
e.src = '//www.google-analytics.com/analytics.js';
|
||||||
|
r.parentNode.insertBefore(e, r)
|
||||||
|
}(window, document, 'script', 'ga'));
|
||||||
|
ga('create', 'UA-40833733-1', 'transfer.sh');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
var text = "# Markdown *works*"
|
||||||
|
var converter = new Showdown.converter();
|
||||||
|
var html = converter.makeHtml(text);
|
||||||
|
$('#md-preview').append(html);
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
|
@ -4,4 +4,4 @@
|
||||||
{{.ContentLength}}
|
{{.ContentLength}}
|
||||||
{{.Filename}}
|
{{.Filename}}
|
||||||
<a href="{{.Url}}">Download</a>
|
<a href="{{.Url}}">Download</a>
|
||||||
</html>
|
</html>
|
||||||
|
|
121
transfersh-server/static/download.md.html
Normal file
121
transfersh-server/static/download.md.html
Normal file
|
@ -0,0 +1,121 @@
|
||||||
|
<!doctype html>
|
||||||
|
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||||
|
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||||
|
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||||
|
<!--[if gt IE 8]><!-->
|
||||||
|
<html class="no-js">
|
||||||
|
<!--<![endif]-->
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<title>{{.Filename}} - transfer.sh</title>
|
||||||
|
<meta name="description" content="Easy and fast file sharing from the command-line.">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
|
||||||
|
<link rel="stylesheet" href="styles/main.css">
|
||||||
|
|
||||||
|
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel='stylesheet' type='text/css'>
|
||||||
|
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400' rel='stylesheet' type='text/css'>
|
||||||
|
<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
|
||||||
|
<script src="scripts/vendor/modernizr.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<script>
|
||||||
|
(function(i, s, o, g, r, a, m) {
|
||||||
|
i['GoogleAnalyticsObject'] = r;
|
||||||
|
i[r] = i[r] || function() {
|
||||||
|
(i[r].q = i[r].q || []).push(arguments)
|
||||||
|
}, i[r].l = 1 * new Date();
|
||||||
|
a = s.createElement(o),
|
||||||
|
m = s.getElementsByTagName(o)[0];
|
||||||
|
a.async = 1;
|
||||||
|
a.src = g;
|
||||||
|
m.parentNode.insertBefore(a, m)
|
||||||
|
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
||||||
|
ga('create', 'UA-40833733-1', 'transfer.sh');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div id="navigation">
|
||||||
|
<div class="wrapper">
|
||||||
|
<h1>transfer.sh</h1>
|
||||||
|
<ul class="hidden-xs">
|
||||||
|
<li><a href="#samples">sample use cases</a>
|
||||||
|
</li>
|
||||||
|
<li><a href="#contact">contact us</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<section id="home">
|
||||||
|
<div class="wrapper">
|
||||||
|
<h2>
|
||||||
|
{{.Filename}}</h2>
|
||||||
|
<a href="{{.Url}}"></a>
|
||||||
|
<div class="row animated fadeInDown">
|
||||||
|
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
|
||||||
|
<div class="terminal-top">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div id="terminal" class="terminal">
|
||||||
|
<div id="md-preview"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<a href="{{.Url}}" class="btn-cta btn-home"> download</i> </a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
(function() {
|
||||||
|
var uv = document.createElement('script');
|
||||||
|
uv.type = 'text/javascript';
|
||||||
|
uv.async = true;
|
||||||
|
uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
|
||||||
|
var s = document.getElementsByTagName('script')[0];
|
||||||
|
s.parentNode.insertBefore(uv, s)
|
||||||
|
})()
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
<script>
|
||||||
|
(function(b, o, i, l, e, r) {
|
||||||
|
b.GoogleAnalyticsObject = l;
|
||||||
|
b[l] || (b[l] =
|
||||||
|
function() {
|
||||||
|
(b[l].q = b[l].q || []).push(arguments)
|
||||||
|
});
|
||||||
|
b[l].l = +new Date;
|
||||||
|
e = o.createElement(i);
|
||||||
|
r = o.getElementsByTagName(i)[0];
|
||||||
|
e.src = '//www.google-analytics.com/analytics.js';
|
||||||
|
r.parentNode.insertBefore(e, r)
|
||||||
|
}(window, document, 'script', 'ga'));
|
||||||
|
ga('create', 'UA-40833733-1', 'transfer.sh');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script src="scripts/main.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
var text = "# Markdown *works*.";
|
||||||
|
|
||||||
|
var converter = new Showdown.converter();
|
||||||
|
var html = converter.makeHtml(text);
|
||||||
|
$('#md-preview').append(html);
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
7
transfersh-server/static/includes/footer.html
Normal file
7
transfersh-server/static/includes/footer.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<footer>
|
||||||
|
<div class="wrapper">
|
||||||
|
<img src="images/Logo-orange.png" alt="Founded in Holland">
|
||||||
|
<p>Made with <i class="icon-heart"></i> by <a href="http://dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
12
transfersh-server/static/includes/head.html
Normal file
12
transfersh-server/static/includes/head.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<title>transfer.sh - Easy and fast file sharing from the command-line.</title>
|
||||||
|
<meta name="description" content="Easy and fast file sharing from the command-line.">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
|
||||||
|
<link rel="stylesheet" href="styles/main.css">
|
||||||
|
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel='stylesheet' type='text/css'>
|
||||||
|
<link href='//fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
|
||||||
|
<script src="scripts/vendor/modernizr.js"></script>
|
||||||
|
</head>
|
2
transfersh-server/static/includes/js.html
Normal file
2
transfersh-server/static/includes/js.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
<script src="scripts/main.js"></script>
|
||||||
|
|
|
@ -11,18 +11,17 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<title>transfer.sh - Easy and fast file sharing from the command-line.</title>
|
<title>transfer.sh - Easy and fast file sharing from the command-line.</title>
|
||||||
<meta name="description" content="Easy and fast file sharing from the command-line.">
|
<meta name="description" content="Easy and fast file sharing from the command-line.">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
|
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
|
||||||
<link rel="stylesheet" href="styles/main.css">
|
<link rel="stylesheet" href="styles/main.css">
|
||||||
|
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel='stylesheet' type='text/css'>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300" rel="stylesheet" type="text/css">
|
<link href='//fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400" rel="stylesheet" type="text/css">
|
|
||||||
<link href="http://fonts.googleapis.com/css?family=Droid+Sans+Mono" rel="stylesheet" type="text/css">
|
|
||||||
<script src="scripts/vendor/modernizr.js"></script>
|
<script src="scripts/vendor/modernizr.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function(i, s, o, g, r, a, m) {
|
(function(i, s, o, g, r, a, m) {
|
||||||
i['GoogleAnalyticsObject'] = r;
|
i['GoogleAnalyticsObject'] = r;
|
||||||
|
@ -51,12 +50,14 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<section id="home">
|
<section id="home">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h2>
|
<h2>
|
||||||
Easy file sharing from the command line</h2>
|
Easy file sharing from the command line</h2>
|
||||||
<div class="row animated fadeInDown">
|
<div class="row animated fadeInDown">
|
||||||
<div id="from-terminal" class="box col-md-8 col-md-offset-2 col-xs-12">
|
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
|
||||||
<div class="terminal-top">
|
<div class="terminal-top">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -77,17 +78,17 @@
|
||||||
<span class="code-title"># Upload from web</span>
|
<span class="code-title"># Upload from web</span>
|
||||||
<br>Drag your files here, or <a class="browse" href="#"> click to browse.</a>
|
<br>Drag your files here, or <a class="browse" href="#"> click to browse.</a>
|
||||||
</code>
|
</code>
|
||||||
<input type="file" multiple="multiple" style="display: none">
|
<input type="file" multiple="multiple" style='display: none;' />
|
||||||
<ul class="queue">
|
<ul class='queue'>
|
||||||
<li>
|
<li>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="all-files">
|
<div class='all-files'>
|
||||||
<br>
|
<br>
|
||||||
<div>
|
<div>
|
||||||
<span class="code-title"># Download all your files</span>
|
<span class="code-title"># Download all your files</span>
|
||||||
<br>
|
<br/>
|
||||||
<br>
|
<br/>
|
||||||
<a class="download-zip btn-cta" href="#">zip</a> <a class="download-tar btn-cta" href="#">tar.gz</a>
|
<a class="download-zip btn-cta" href="#">zip</a> <a class="download-tar btn-cta" href="#">tar.gz</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -95,16 +96,16 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<a href="#features" class="btn-cta btn-home">learn more </a>
|
<a href="#features" class="btn-cta btn-home">learn more</i> </a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div></section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<section id="features">
|
<section id="features">
|
||||||
<div class="wrapper container">
|
<div class="wrapper container">
|
||||||
<div class="row animated fadeInDown">
|
<div class="row animated fadeInDown ">
|
||||||
<div class="col-md-3 col-xs-6">
|
<div class="col-md-3 col-xs-6">
|
||||||
<i class="icon-terminal"></i>
|
<i class="icon-terminal"></i>
|
||||||
<h3>Made for use with shell</h3>
|
<h3>Made for use with shell</h3>
|
||||||
|
@ -122,7 +123,7 @@
|
||||||
<h3>Files stored for 14 days</h3>
|
<h3>Files stored for 14 days</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row animated fadeInDown">
|
<div class="row animated fadeInDown">
|
||||||
<div class="col-md-offset-3 col-md-3 col-xs-6">
|
<div class="col-md-offset-3 col-md-3 col-xs-6">
|
||||||
<i class="icon-tag"></i>
|
<i class="icon-tag"></i>
|
||||||
<h3>For free</h3>
|
<h3>For free</h3>
|
||||||
|
@ -143,7 +144,7 @@
|
||||||
Sample use cases
|
Sample use cases
|
||||||
</h2>
|
</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6 ">
|
||||||
<h3>How to upload</h3>
|
<h3>How to upload</h3>
|
||||||
<div class="terminal-top">
|
<div class="terminal-top">
|
||||||
|
|
||||||
|
@ -159,20 +160,20 @@
|
||||||
</code>
|
</code>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6 ">
|
||||||
<h3>Create an alias and add it to .bashrc or .zshrc</h3>
|
<h3>Create an alias and add it to .bashrc or .zshrc</h3>
|
||||||
<div class="terminal-top">
|
<div class="terminal-top">
|
||||||
</div>
|
</div>
|
||||||
<div class="terminal">
|
<div class="terminal">
|
||||||
<code>
|
<code>
|
||||||
<span class="code-title"># Add this to .bashrc or its equivalent</span>
|
<span class="code-title"># Add this to .bashrc or its equivalent</span>
|
||||||
<br>transfer() {
|
<br/>transfer() {
|
||||||
<br># write to output to tmpfile because of progress bar
|
<br># write to output to tmpfile because of progress bar
|
||||||
<br>tmpfile=$( mktemp -t transferXXX ); curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile; cat $tmpfile; rm -f $tmpfile; }
|
<br>tmpfile=$( mktemp -t transferXXX ); curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile; cat $tmpfile; rm -f $tmpfile; }
|
||||||
<br>
|
<br/>
|
||||||
<br>alias transfer=transfer
|
<br/>alias transfer=transfer
|
||||||
<br>
|
<br/>
|
||||||
<br>
|
<br/>
|
||||||
<span class="code-title"># Now you can use transfer command</span>
|
<span class="code-title"># Now you can use transfer command</span>
|
||||||
<br>$ transfer hello.txt
|
<br>$ transfer hello.txt
|
||||||
</code>
|
</code>
|
||||||
|
@ -183,9 +184,9 @@
|
||||||
|
|
||||||
<a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
|
<a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
|
||||||
|
|
||||||
<div class="collapse" id="coll">
|
<div class="collapse " id="coll">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6 ">
|
||||||
<h3>Upload multiple files at once</h3>
|
<h3>Upload multiple files at once</h3>
|
||||||
<div class="terminal-top">
|
<div class="terminal-top">
|
||||||
</div>
|
</div>
|
||||||
|
@ -196,13 +197,13 @@
|
||||||
<br>
|
<br>
|
||||||
<span class="code-title"># Combining downloads as zip or tar archive</span>
|
<span class="code-title"># Combining downloads as zip or tar archive</span>
|
||||||
<br>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz
|
<br>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz
|
||||||
<br>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip
|
<br/>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip
|
||||||
</code>
|
</code>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6 ">
|
||||||
<h3>Encrypt your files before the transfer</h3>
|
<h3>Encrypt your files before the transfer</h3>
|
||||||
<div class="terminal-top">
|
<div class="terminal-top">
|
||||||
</div>
|
</div>
|
||||||
|
@ -243,7 +244,7 @@
|
||||||
<div class="terminal">
|
<div class="terminal">
|
||||||
<code>
|
<code>
|
||||||
<span class="code-title"># Backup, encrypt and transfer</span>
|
<span class="code-title"># Backup, encrypt and transfer</span>
|
||||||
<br>$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt </code>
|
<br/>$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt </code>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -255,7 +256,7 @@
|
||||||
<div class="terminal">
|
<div class="terminal">
|
||||||
<code>
|
<code>
|
||||||
<span class="code-title"># Transfer and send email with link (uses alias)</span>
|
<span class="code-title"># Transfer and send email with link (uses alias)</span>
|
||||||
<br>$ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com
|
<br/>$ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com
|
||||||
</code>
|
</code>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -323,18 +324,18 @@
|
||||||
<h2>Share the love</h2>
|
<h2>Share the love</h2>
|
||||||
<ul class="share-buttons">
|
<ul class="share-buttons">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Ftransfer.sh&t=" target="_blank" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(document.URL) + '&t=' + encodeURIComponent(document.URL)); return false"> <i class="icon-facebook"></i>
|
<a href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Ftransfer.sh&t=" target="_blank" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(document.URL) + '&t=' + encodeURIComponent(document.URL)); return false;"> <i class="icon-facebook"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://twitter.com/intent/tweet?source=http%3A%2F%2Ftransfer.sh&text=:%20http%3A%2F%2Ftransfer.sh" target="_blank" title="Tweet" onclick="window.open('https://twitter.com/intent/tweet?text=' + encodeURIComponent(document.title) + ':%20' + encodeURIComponent(document.URL)); return false"> <i class="icon-twitter"></i>
|
<a href="https://twitter.com/intent/tweet?source=http%3A%2F%2Ftransfer.sh&text=:%20http%3A%2F%2Ftransfer.sh" target="_blank" title="Tweet" onclick="window.open('https://twitter.com/intent/tweet?text=' + encodeURIComponent(document.title) + ':%20' + encodeURIComponent(document.URL)); return false;"> <i class="icon-twitter"></i>
|
||||||
</a></li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://plus.google.com/share?url=http%3A%2F%2Ftransfer.sh" target="_blank" title="Share on Google+" onclick="window.open('https://plus.google.com/share?url=' + encodeURIComponent(document.URL)); return false"> <i class="icon-gplus"></i>
|
<a href="https://plus.google.com/share?url=http%3A%2F%2Ftransfer.sh" target="_blank" title="Share on Google+" onclick="window.open('https://plus.google.com/share?url=' + encodeURIComponent(document.URL)); return false;"> <i class="icon-gplus"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Ftransfer.sh&title=&summary=&source=http%3A%2F%2Ftransfer.sh" target="_blank" title="Share on LinkedIn" onclick="window.open('http://www.linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(document.URL) + '&title=' + encodeURIComponent(document.title)); return false"> <i class="icon-linkedin"></i>
|
<a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Ftransfer.sh&title=&summary=&source=http%3A%2F%2Ftransfer.sh" target="_blank" title="Share on LinkedIn" onclick="window.open('http://www.linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(document.URL) + '&title=' + encodeURIComponent(document.title)); return false;"> <i class="icon-linkedin"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -351,16 +352,19 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer>
|
|
||||||
<div class="wrapper">
|
<footer>
|
||||||
<img src="images/Logo-orange.png" alt="Founded in Holland">
|
<div class="wrapper">
|
||||||
<p>Made with <i class="icon-heart"></i> by <a href="http://dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
|
<img src="images/Logo-orange.png" alt="Founded in Holland">
|
||||||
</p>
|
<p>Made with <i class="icon-heart"></i> by <a href="http://dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
|
||||||
</div>
|
</p>
|
||||||
</footer>
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a href="https://github.com/dutchcoders/transfer.sh/">
|
<a href="https://github.com/dutchcoders/transfer.sh/">
|
||||||
<img style="position: absolute; top: 0; right: 0; border: 0" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -395,8 +399,11 @@
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="scripts/main.js"></script>
|
|
||||||
|
<script src="scripts/main.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -6,71 +6,47 @@
|
||||||
<html class="no-js">
|
<html class="no-js">
|
||||||
<!--<![endif]-->
|
<!--<![endif]-->
|
||||||
|
|
||||||
<head>
|
include "includes/head.html"
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<title>transfer.sh - Easy and fast file sharing from the command-line.</title>
|
|
||||||
<meta name="description" content="Easy and fast file sharing from the command-line.">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
|
|
||||||
<link rel="stylesheet" href="styles/main.css">
|
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel='stylesheet' type='text/css'>
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400' rel='stylesheet' type='text/css'>
|
|
||||||
<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
|
|
||||||
<!-- build:js scripts/vendor/modernizr.js -->
|
|
||||||
<script src="bower_components/modernizr/modernizr.js"></script>
|
|
||||||
<!-- endbuild -->
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<script>
|
<script>
|
||||||
(function(i, s, o, g, r, a, m) {
|
(function (i, s, o, g, r, a, m) {
|
||||||
i['GoogleAnalyticsObject'] = r;
|
i['GoogleAnalyticsObject'] = r;
|
||||||
i[r] = i[r] || function() {
|
i[r] = i[r] || function () {
|
||||||
(i[r].q = i[r].q || []).push(arguments)
|
(i[r].q = i[r].q || []).push(arguments)
|
||||||
}, i[r].l = 1 * new Date();
|
}, i[r].l = 1 * new Date();
|
||||||
a = s.createElement(o),
|
a = s.createElement(o),
|
||||||
m = s.getElementsByTagName(o)[0];
|
m = s.getElementsByTagName(o)[0];
|
||||||
a.async = 1;
|
a.async = 1;
|
||||||
a.src = g;
|
a.src = g;
|
||||||
m.parentNode.insertBefore(a, m)
|
m.parentNode.insertBefore(a, m)
|
||||||
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
||||||
ga('create', 'UA-40833733-1', 'transfer.sh');
|
ga('create', 'UA-40833733-1', 'transfer.sh');
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="navigation">
|
include "includes/navigation.html"
|
||||||
<div class="wrapper">
|
|
||||||
<a href="#home">
|
|
||||||
<h1>transfer.sh</h1></a>
|
|
||||||
<ul class="hidden-xs">
|
|
||||||
<li><a href="#home">home</a>
|
|
||||||
</li>
|
|
||||||
<li><a href="#samples">sample use cases</a>
|
|
||||||
</li>
|
|
||||||
<li><a href="#contact">contact us</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section id="home">
|
<section id="home">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h2>
|
<h2>
|
||||||
{{.Filename}}</h2>
|
{{.Filename}}</h2>
|
||||||
<a href="{{.Url}}"></a>
|
<a href="{{.Url}}"></a>
|
||||||
|
<!--
|
||||||
<div class="row animated fadeInDown">
|
<div class="row animated fadeInDown">
|
||||||
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
|
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
|
||||||
<div class="terminal-top">
|
<div class="terminal-top">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="terminal" class="terminal">
|
<div id="terminal" class="terminal">
|
||||||
<div class="preview-wrapper">
|
<div class="preview-wrapper">
|
||||||
<div id="md-preview"></div>
|
<div id="md-preview"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<a href="{{.Url}}" class="btn-cta btn-home"> download</i> </a>
|
<a href="{{.Url}}" class="btn-cta btn-home"> download</i> </a>
|
||||||
|
@ -79,56 +55,14 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
include "includes/footer.html"
|
||||||
|
include "includes/js.html"
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function() {
|
var text = "# Markdown *works*"
|
||||||
var uv = document.createElement('script');
|
var converter = new Showdown.converter();
|
||||||
uv.type = 'text/javascript';
|
var html = converter.makeHtml(text);
|
||||||
uv.async = true;
|
$('#md-preview').append(html);
|
||||||
uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
|
|
||||||
var s = document.getElementsByTagName('script')[0];
|
|
||||||
s.parentNode.insertBefore(uv, s)
|
|
||||||
})()
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!--[if lt IE 7]>
|
|
||||||
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
(function(b, o, i, l, e, r) {
|
|
||||||
b.GoogleAnalyticsObject = l;
|
|
||||||
b[l] || (b[l] =
|
|
||||||
function() {
|
|
||||||
(b[l].q = b[l].q || []).push(arguments)
|
|
||||||
});
|
|
||||||
b[l].l = +new Date;
|
|
||||||
e = o.createElement(i);
|
|
||||||
r = o.getElementsByTagName(i)[0];
|
|
||||||
e.src = '//www.google-analytics.com/analytics.js';
|
|
||||||
r.parentNode.insertBefore(e, r)
|
|
||||||
}(window, document, 'script', 'ga'));
|
|
||||||
ga('create', 'UA-40833733-1', 'transfer.sh');
|
|
||||||
ga('send', 'pageview');
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- build:js scripts/main.js -->
|
|
||||||
<script src="bower_components/jquery/dist/jquery.js"></script>
|
|
||||||
<script src="bower_components/highlightjs/highlight.pack.js"></script>
|
|
||||||
<!-- </*script*/ src="bower_components/typed.js/js/typed.js"></script> -->
|
|
||||||
<script src="bower_components/uri.js/src/URI.min.js"></script>
|
|
||||||
<script src="bower_components/bootstrap/js/transition.js"></script>
|
|
||||||
<script src="bower_components/bootstrap/js/collapse.js"></script>
|
|
||||||
<script src="scripts/showdown.js"></script>
|
|
||||||
<script src="scripts/main.js"></script>
|
|
||||||
<!-- endbuild -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
var text = "# Markdown *works*"
|
|
||||||
var converter = new Showdown.converter();
|
|
||||||
var html = converter.makeHtml(text);
|
|
||||||
$('#md-preview').append(html);
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
47
transfersh-web/includes/footer.html
Normal file
47
transfersh-web/includes/footer.html
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
<footer>
|
||||||
|
<div class="wrapper">
|
||||||
|
<img src="images/Logo-orange.png" alt="Founded in Holland">
|
||||||
|
<p>Made with <i class="icon-heart"></i> by <a href="http://dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://github.com/dutchcoders/transfer.sh/">
|
||||||
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
(function() {
|
||||||
|
var uv = document.createElement('script');
|
||||||
|
uv.type = 'text/javascript';
|
||||||
|
uv.async = true;
|
||||||
|
uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
|
||||||
|
var s = document.getElementsByTagName('script')[0];
|
||||||
|
s.parentNode.insertBefore(uv, s)
|
||||||
|
})()
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
<script>
|
||||||
|
(function(b, o, i, l, e, r) {
|
||||||
|
b.GoogleAnalyticsObject = l;
|
||||||
|
b[l] || (b[l] =
|
||||||
|
function() {
|
||||||
|
(b[l].q = b[l].q || []).push(arguments)
|
||||||
|
});
|
||||||
|
b[l].l = +new Date;
|
||||||
|
e = o.createElement(i);
|
||||||
|
r = o.getElementsByTagName(i)[0];
|
||||||
|
e.src = '//www.google-analytics.com/analytics.js';
|
||||||
|
r.parentNode.insertBefore(e, r)
|
||||||
|
}(window, document, 'script', 'ga'));
|
||||||
|
ga('create', 'UA-40833733-1', 'transfer.sh');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
14
transfersh-web/includes/head.html
Normal file
14
transfersh-web/includes/head.html
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<title>transfer.sh - Easy and fast file sharing from the command-line.</title>
|
||||||
|
<meta name="description" content="Easy and fast file sharing from the command-line.">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
|
||||||
|
<link rel="stylesheet" href="styles/main.css">
|
||||||
|
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel='stylesheet' type='text/css'>
|
||||||
|
<link href='//fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
|
||||||
|
<!-- build:js scripts/vendor/modernizr.js -->
|
||||||
|
<script src="bower_components/modernizr/modernizr.js"></script>
|
||||||
|
<!-- endbuild -->
|
||||||
|
</head>
|
8
transfersh-web/includes/js.html
Normal file
8
transfersh-web/includes/js.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<!-- build:js scripts/main.js -->
|
||||||
|
<script src="bower_components/jquery/dist/jquery.js"></script>
|
||||||
|
<script src="bower_components/uri.js/src/URI.min.js"></script>
|
||||||
|
<script src="bower_components/bootstrap/js/transition.js"></script>
|
||||||
|
<script src="bower_components/bootstrap/js/collapse.js"></script>
|
||||||
|
<script src="scripts/main.js"></script>
|
||||||
|
<!-- endbuild -->
|
||||||
|
|
15
transfersh-web/includes/navigation.html
Normal file
15
transfersh-web/includes/navigation.html
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<div id="navigation">
|
||||||
|
<div class="wrapper">
|
||||||
|
<a href="/">
|
||||||
|
<h1>transfer.sh</h1>
|
||||||
|
</a>
|
||||||
|
<ul class="hidden-xs">
|
||||||
|
<li><a href="/">home</a>
|
||||||
|
</li>
|
||||||
|
<li><a href="/#samples">sample use cases</a>
|
||||||
|
</li>
|
||||||
|
<li><a href="/#contact">contact us</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -6,23 +6,11 @@
|
||||||
<html class="no-js">
|
<html class="no-js">
|
||||||
<!--<![endif]-->
|
<!--<![endif]-->
|
||||||
|
|
||||||
<head>
|
include "includes/head.html"
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<title>transfer.sh - Easy and fast file sharing from the command-line.</title>
|
|
||||||
<meta name="description" content="Easy and fast file sharing from the command-line.">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
|
|
||||||
<link rel="stylesheet" href="styles/main.css">
|
|
||||||
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel='stylesheet' type='text/css'>
|
|
||||||
<link href='//fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
|
|
||||||
<!-- build:js scripts/vendor/modernizr.js -->
|
|
||||||
<script src="bower_components/modernizr/modernizr.js"></script>
|
|
||||||
<!-- endbuild -->
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function(i, s, o, g, r, a, m) {
|
(function(i, s, o, g, r, a, m) {
|
||||||
i['GoogleAnalyticsObject'] = r;
|
i['GoogleAnalyticsObject'] = r;
|
||||||
|
@ -39,17 +27,7 @@
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="navigation">
|
include "includes/navigation.html"
|
||||||
<div class="wrapper">
|
|
||||||
<h1>transfer.sh</h1>
|
|
||||||
<ul class="hidden-xs">
|
|
||||||
<li><a href="#samples">sample use cases</a>
|
|
||||||
</li>
|
|
||||||
<li><a href="#contact">contact us</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section id="home">
|
<section id="home">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
|
@ -351,57 +329,13 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer>
|
|
||||||
<div class="wrapper">
|
include "includes/footer.html"
|
||||||
<img src="images/Logo-orange.png" alt="Founded in Holland">
|
|
||||||
<p>Made with <i class="icon-heart"></i> by <a href="http://dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
|
include "includes/js.html"
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<a href="https://github.com/dutchcoders/transfer.sh/">
|
|
||||||
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
(function() {
|
|
||||||
var uv = document.createElement('script');
|
|
||||||
uv.type = 'text/javascript';
|
|
||||||
uv.async = true;
|
|
||||||
uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
|
|
||||||
var s = document.getElementsByTagName('script')[0];
|
|
||||||
s.parentNode.insertBefore(uv, s)
|
|
||||||
})()
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!--[if lt IE 7]>
|
|
||||||
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
(function(b, o, i, l, e, r) {
|
|
||||||
b.GoogleAnalyticsObject = l;
|
|
||||||
b[l] || (b[l] =
|
|
||||||
function() {
|
|
||||||
(b[l].q = b[l].q || []).push(arguments)
|
|
||||||
});
|
|
||||||
b[l].l = +new Date;
|
|
||||||
e = o.createElement(i);
|
|
||||||
r = o.getElementsByTagName(i)[0];
|
|
||||||
e.src = '//www.google-analytics.com/analytics.js';
|
|
||||||
r.parentNode.insertBefore(e, r)
|
|
||||||
}(window, document, 'script', 'ga'));
|
|
||||||
ga('create', 'UA-40833733-1', 'transfer.sh');
|
|
||||||
ga('send', 'pageview');
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- build:js scripts/main.js -->
|
|
||||||
<script src="bower_components/jquery/dist/jquery.js"></script>
|
|
||||||
<script src="bower_components/uri.js/src/URI.min.js"></script>
|
|
||||||
<script src="bower_components/bootstrap/js/transition.js"></script>
|
|
||||||
<script src="bower_components/bootstrap/js/collapse.js"></script>
|
|
||||||
<script src="scripts/main.js"></script>
|
|
||||||
<!-- endbuild -->
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
1490
transfersh-web/scripts/typewriter-bundle.js
Normal file
1490
transfersh-web/scripts/typewriter-bundle.js
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue