ISSUE-203
This commit is contained in:
59
Gruntfile.js
59
Gruntfile.js
@@ -133,24 +133,49 @@ module.exports = function (grunt) {
|
||||
server: {
|
||||
cwd: '<%= yeoman.app %>',
|
||||
src: ['*.html', 'includes/*.html'],
|
||||
dest: '.tmp/',
|
||||
dest: '.tmp',
|
||||
options: {
|
||||
flatten: true,
|
||||
banner: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
// not used since Uglify task does concat,
|
||||
// but still available if needed
|
||||
/*concat: {
|
||||
dist: {}
|
||||
},*/
|
||||
// not enabled since usemin task does concat and uglify
|
||||
// check index.html to edit your build targets
|
||||
// enable this task if you prefer defining your build targets here
|
||||
/*uglify: {
|
||||
dist: {}
|
||||
},*/
|
||||
concat: {
|
||||
generated: {
|
||||
files: [
|
||||
{
|
||||
dest: '.tmp/scripts/main.js',
|
||||
src: ['<%= yeoman.app %>/scripts/main.js']
|
||||
},
|
||||
{
|
||||
dest: '.tmp/scripts/vendor/modernizr.js',
|
||||
src: ['<%= yeoman.app %>/scripts/vendor/modernizr.js']
|
||||
},
|
||||
{
|
||||
dest: '.tmp/scripts/vendor/video.js',
|
||||
src: ['<%= yeoman.app %>/scripts/vendor/video.js']
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
uglify: {
|
||||
generated: {
|
||||
files: [
|
||||
{
|
||||
dest: '<%= yeoman.dist %>/scripts/main.js',
|
||||
src: ['.tmp/scripts/main.js']
|
||||
},
|
||||
{
|
||||
dest: '<%= yeoman.dist %>/scripts/vendor/modernizr.js',
|
||||
src: ['.tmp/scripts/vendor/modernizr.js']
|
||||
},
|
||||
{
|
||||
dest: '<%= yeoman.dist %>/scripts/vendor/video.js',
|
||||
src: ['.tmp/scripts/vendor/video.js']
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
rev: {
|
||||
dist: {
|
||||
files: {
|
||||
@@ -232,7 +257,8 @@ module.exports = function (grunt) {
|
||||
}
|
||||
}
|
||||
}
|
||||
,copy: {
|
||||
,
|
||||
copy: {
|
||||
dist: {
|
||||
files: [{
|
||||
expand: true,
|
||||
@@ -300,12 +326,12 @@ module.exports = function (grunt) {
|
||||
'clean:server',
|
||||
'less',
|
||||
'copy:server',
|
||||
'connect:test',
|
||||
'connect:test'
|
||||
]);
|
||||
|
||||
grunt.registerTask('build', [
|
||||
'clean:dist',
|
||||
'npm-command',
|
||||
//'npm-command',
|
||||
'copy:server',
|
||||
'useminPrepare',
|
||||
'concurrent',
|
||||
@@ -314,8 +340,7 @@ module.exports = function (grunt) {
|
||||
'includes:build',
|
||||
'uglify',
|
||||
'copy',
|
||||
'usemin',
|
||||
|
||||
'usemin'
|
||||
]);
|
||||
|
||||
grunt.registerTask('default', [
|
||||
|
@@ -5,7 +5,7 @@ This repository contains the web frontend for [transfer.sh](https://github.com/d
|
||||
|
||||
## How to use it
|
||||
|
||||
You must specify `web-path`directory, pointing to `dist` generated folder (Grunt & bindata)
|
||||
You must specify `web-path` directory, pointing to `dist` generated folder (Grunt & bindata)
|
||||
|
||||
Sample :
|
||||
```
|
||||
|
18284
bindata_gen.go
18284
bindata_gen.go
File diff suppressed because it is too large
Load Diff
28
package.json
28
package.json
@@ -2,31 +2,31 @@
|
||||
"name": "transfer.sh",
|
||||
"version": "0.0.0",
|
||||
"dependencies": {
|
||||
"wiredep": "^1.8.6"
|
||||
"wiredep": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt": "~0.4.5",
|
||||
"grunt": "^1.0.4",
|
||||
"grunt-concurrent": "~1.0.0",
|
||||
"grunt-contrib-clean": "~0.6.0",
|
||||
"grunt-contrib-concat": "~0.5.0",
|
||||
"grunt-contrib-connect": "~0.8.0",
|
||||
"grunt-contrib-connect": "^2.0.0",
|
||||
"grunt-contrib-copy": "~0.6.0",
|
||||
"grunt-contrib-cssmin": "~0.10.0",
|
||||
"grunt-contrib-htmlmin": "~0.3.0",
|
||||
"grunt-contrib-imagemin": "0.8.1",
|
||||
"grunt-contrib-jshint": "~0.10.0",
|
||||
"grunt-contrib-less": "~0.11.4",
|
||||
"grunt-contrib-uglify": "~0.6.0",
|
||||
"grunt-contrib-watch": "~0.6.1",
|
||||
"grunt-contrib-cssmin": "^3.0.0",
|
||||
"grunt-contrib-htmlmin": "^3.0.0",
|
||||
"grunt-contrib-imagemin": "^3.1.0",
|
||||
"grunt-contrib-jshint": "^2.1.0",
|
||||
"grunt-contrib-less": "^2.0.0",
|
||||
"grunt-contrib-uglify": "^4.0.1",
|
||||
"grunt-contrib-watch": "^1.1.0",
|
||||
"grunt-include-replace": "^2.0.0",
|
||||
"grunt-includes": "^0.4.5",
|
||||
"grunt-npm-command": "^0.1.2",
|
||||
"grunt-rev": "~0.1.0",
|
||||
"grunt-svgmin": "1.0.0",
|
||||
"grunt-usemin": "~2.4.0",
|
||||
"grunt-svgmin": "^6.0.0",
|
||||
"grunt-usemin": "^3.1.1",
|
||||
"jshint-stylish": "~1.0.0",
|
||||
"load-grunt-tasks": "~0.6.0",
|
||||
"matchdep": "~0.3.0",
|
||||
"load-grunt-tasks": "^4.0.0",
|
||||
"matchdep": "^2.0.0",
|
||||
"time-grunt": "~1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
|
12
src/404.html
12
src/404.html
@@ -1,6 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Page Not Found :(</title>
|
||||
<style>
|
||||
@@ -138,9 +138,9 @@
|
||||
border: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Not found <span>:(</span></h1>
|
||||
<p>Sorry, but the page you were trying to view does not exist.</p>
|
||||
<p>It looks like this was the result of either:</p>
|
||||
@@ -152,6 +152,6 @@
|
||||
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
|
||||
</script>
|
||||
<script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
|
||||
</div>
|
||||
</body>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -6,19 +6,19 @@
|
||||
<html class="no-js">
|
||||
<!--<![endif]-->
|
||||
|
||||
include "includes/head.html"
|
||||
include "includes/download-head.html"
|
||||
|
||||
|
||||
<body id="download">
|
||||
<!-- build:js /scripts/vendor/video.js -->
|
||||
<script src="bower_components/videojs/dist/video.min.js"></script>
|
||||
<!-- endbuild -->
|
||||
<!-- build:js../scripts/vendor/video.js -->
|
||||
<script src="bower_components/videojs/dist/video.min.js"></script>
|
||||
<!-- endbuild -->
|
||||
|
||||
include "includes/ga.html"
|
||||
include "includes/navigation.html"
|
||||
include "includes/ga.html"
|
||||
include "includes/navigation.html"
|
||||
|
||||
|
||||
<section id="home">
|
||||
<section id="home">
|
||||
<div class="wrapper">
|
||||
|
||||
include "includes/download-top.html"
|
||||
@@ -42,10 +42,10 @@ include "includes/head.html"
|
||||
<br/>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
|
||||
include "includes/footer.html"
|
||||
include "includes/js.html"
|
||||
include "includes/download-footer.html"
|
||||
include "includes/download-js.html"
|
||||
|
||||
</body>
|
||||
|
||||
|
@@ -13,18 +13,18 @@
|
||||
<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 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 -->
|
||||
<!-- build:js ../scripts/vendor/modernizr.js -->
|
||||
<script src="bower_components/modernizr/modernizr.js"></script>
|
||||
<!-- endbuild -->
|
||||
</head>
|
||||
|
||||
<body id="download">
|
||||
<script>
|
||||
<script>
|
||||
var gaKey = "{{.GAKey}}";
|
||||
if (gaKey != "") {
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
@@ -41,9 +41,9 @@
|
||||
ga('create', gaKey, 'transfer.sh');
|
||||
ga('send', 'pageview');
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<div id="navigation">
|
||||
<div id="navigation">
|
||||
<div class="wrapper">
|
||||
<h1>{{.Hostname}}</h1>
|
||||
<ul class="hidden-xs">
|
||||
@@ -53,7 +53,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section id="home">
|
||||
<div class="wrapper">
|
||||
@@ -87,12 +87,12 @@
|
||||
</div>
|
||||
<div id="overlay" class="overlay"></div>
|
||||
</div>
|
||||
<script src="scripts/clipboard.js"></script>
|
||||
<script src="../scripts/clipboard.js"></script>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
<script>
|
||||
<script>
|
||||
(function() {
|
||||
var userVoiceKey = "{{.UserVoiceKey}}";
|
||||
if (userVoiceKey != "") {
|
||||
@@ -104,13 +104,13 @@
|
||||
s.parentNode.insertBefore(uv, s);
|
||||
}
|
||||
})()
|
||||
</script>
|
||||
</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]-->
|
||||
<!--[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>
|
||||
<script>
|
||||
var gaKey = "{{.GAKey}}";
|
||||
if (gaKey != "") {
|
||||
(function(b, o, i, l, e, r) {
|
||||
@@ -128,18 +128,18 @@
|
||||
ga('create', gaKey, 'transfer.sh');
|
||||
ga('send', 'pageview');
|
||||
}
|
||||
</script>
|
||||
</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/showdown.js"></script>
|
||||
<script src="/scripts/main.js"></script>
|
||||
<!-- endbuild -->
|
||||
<!-- 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/showdown.js"></script>
|
||||
<script src="scripts/main.js"></script>
|
||||
<!-- endbuild -->
|
||||
|
||||
<script>
|
||||
<script>
|
||||
|
||||
var text = "# Markdown *works*.";
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
var html = converter.makeHtml(text);
|
||||
$('#md-preview').append(html);
|
||||
|
||||
</script>
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
|
@@ -6,12 +6,12 @@
|
||||
<html class="no-js">
|
||||
<!--<![endif]-->
|
||||
|
||||
include "includes/head.html"
|
||||
include "includes/download-head.html"
|
||||
|
||||
<body id="download">
|
||||
|
||||
include "includes/ga.html"
|
||||
include "includes/navigation.html"
|
||||
include "includes/ga.html"
|
||||
include "includes/navigation.html"
|
||||
|
||||
|
||||
<section id="home">
|
||||
@@ -21,8 +21,8 @@ include "includes/head.html"
|
||||
</div>
|
||||
</section>
|
||||
|
||||
include "includes/footer.html"
|
||||
include "includes/js.html"
|
||||
include "includes/download-footer.html"
|
||||
include "includes/download-js.html"
|
||||
|
||||
|
||||
|
||||
|
@@ -6,14 +6,14 @@
|
||||
<html class="no-js">
|
||||
<!--<![endif]-->
|
||||
|
||||
include "includes/head.html"
|
||||
include "includes/download-head.html"
|
||||
|
||||
<body id="download">
|
||||
|
||||
include "includes/ga.html"
|
||||
include "includes/navigation.html"
|
||||
include "includes/ga.html"
|
||||
include "includes/navigation.html"
|
||||
|
||||
<section id="home">
|
||||
<section id="home">
|
||||
<div class="wrapper">
|
||||
|
||||
include "includes/download-top.html"
|
||||
@@ -31,10 +31,10 @@ include "includes/head.html"
|
||||
<br/>
|
||||
<div>
|
||||
<div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
include "includes/footer.html"
|
||||
include "includes/js.html"
|
||||
include "includes/download-footer.html"
|
||||
include "includes/download-js.html"
|
||||
|
||||
</body>
|
||||
|
||||
|
@@ -6,12 +6,12 @@
|
||||
<html class="no-js">
|
||||
<!--<![endif]-->
|
||||
|
||||
include "includes/head.html"
|
||||
include "includes/download-head.html"
|
||||
|
||||
<body id="download">
|
||||
|
||||
include "includes/ga.html"
|
||||
include "includes/navigation.html"
|
||||
include "includes/ga.html"
|
||||
include "includes/navigation.html"
|
||||
|
||||
<section id="home">
|
||||
<div class="wrapper">
|
||||
@@ -32,8 +32,8 @@ include "includes/head.html"
|
||||
</section>
|
||||
|
||||
|
||||
include "includes/footer.html"
|
||||
include "includes/js.html"
|
||||
include "includes/download-footer.html"
|
||||
include "includes/download-js.html"
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@@ -6,12 +6,12 @@
|
||||
<html class="no-js">
|
||||
<!--<![endif]-->
|
||||
|
||||
include "includes/head.html"
|
||||
include "includes/download-head.html"
|
||||
|
||||
<body id="download">
|
||||
|
||||
include "includes/ga.html"
|
||||
include "includes/navigation.html"
|
||||
include "includes/ga.html"
|
||||
include "includes/navigation.html"
|
||||
|
||||
<section id="home">
|
||||
<div class="wrapper">
|
||||
@@ -23,8 +23,8 @@ include "includes/head.html"
|
||||
</section>
|
||||
|
||||
|
||||
include "includes/footer.html"
|
||||
include "includes/js.html"
|
||||
include "includes/download-footer.html"
|
||||
include "includes/download-js.html"
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@@ -6,17 +6,17 @@
|
||||
<html class="no-js">
|
||||
<!--<![endif]-->
|
||||
|
||||
include "includes/head.html"
|
||||
include "includes/download-head.html"
|
||||
|
||||
<body id="download">
|
||||
<!-- build:js /scripts/vendor/video.js -->
|
||||
<script src="bower_components/videojs/dist/video.min.js"></script>
|
||||
<!-- endbuild -->
|
||||
<!-- build:js ../scripts/vendor/video.js -->
|
||||
<script src="bower_components/videojs/dist/video.min.js"></script>
|
||||
<!-- endbuild -->
|
||||
|
||||
include "includes/ga.html"
|
||||
include "includes/navigation.html"
|
||||
include "includes/ga.html"
|
||||
include "includes/navigation.html"
|
||||
|
||||
<section id="home">
|
||||
<section id="home">
|
||||
<div class="wrapper">
|
||||
|
||||
include "includes/download-top.html"
|
||||
@@ -40,10 +40,10 @@ include "includes/head.html"
|
||||
<br/>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
|
||||
include "includes/footer.html"
|
||||
include "includes/js.html"
|
||||
include "includes/download-footer.html"
|
||||
include "includes/download-js.html"
|
||||
|
||||
</body>
|
||||
|
||||
|
@@ -7,4 +7,4 @@
|
||||
</div>
|
||||
<div id="overlay" class="overlay"></div>
|
||||
</div>
|
||||
<script src="scripts/clipboard.js"></script>
|
||||
<script src="../scripts/clipboard.js"></script>
|
40
src/includes/download-footer.html
Normal file
40
src/includes/download-footer.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<footer>
|
||||
<div class="wrapper">
|
||||
<div style="">
|
||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;">
|
||||
<img border="0" src="../images/bitcoin.png" style="margin: 0 auto;;">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
<img src="../images/Logo-orange.png" alt="Founded in Holland">
|
||||
<p>Made with <i class="icon-heart"></i> by <a href="http://blog.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 userVoiceKey = "{{.UserVoiceKey}}";
|
||||
if (userVoiceKey != "") {
|
||||
var uv = document.createElement('script');
|
||||
uv.type = 'text/javascript';
|
||||
uv.async = true;
|
||||
uv.src = '//widget.uservoice.com/{{.UserVoiceKey}}.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]-->
|
||||
|
||||
|
||||
|
14
src/includes/download-head.html
Normal file
14
src/includes/download-head.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>{{.Hostname}} - 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>
|
9
src/includes/download-js.html
Normal file
9
src/includes/download-js.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<!-- 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/showdown.js"></script>
|
||||
<script src="scripts/main.js"></script>
|
||||
<!-- endbuild -->
|
||||
|
@@ -2,13 +2,13 @@
|
||||
<div class="wrapper">
|
||||
<div style="">
|
||||
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;">
|
||||
<img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;">
|
||||
<img border="0" src="/images/bitcoin.png" style="margin: 0 auto;;">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
<img src="/images/Logo-orange.png" alt="Founded in Holland">
|
||||
<img src="images/Logo-orange.png" alt="Founded in Holland">
|
||||
<p>Made with <i class="icon-heart"></i> by <a href="http://blog.dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
|
||||
</p>
|
||||
</div>
|
||||
|
@@ -5,10 +5,10 @@
|
||||
<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 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 -->
|
||||
<!-- build:js scripts/vendor/modernizr.js -->
|
||||
<script src="bower_components/modernizr/modernizr.js"></script>
|
||||
<!-- endbuild -->
|
||||
</head>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<!-- build:js /scripts/main.js -->
|
||||
<!-- 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/showdown.js"></script>
|
||||
<script src="/scripts/main.js"></script>
|
||||
<script src="scripts/showdown.js"></script>
|
||||
<script src="scripts/main.js"></script>
|
||||
<!-- endbuild -->
|
||||
|
||||
|
@@ -6,9 +6,9 @@
|
||||
<ul class="hidden-xs">
|
||||
<li><a href="/">home</a>
|
||||
</li>
|
||||
<li><a href="/#samples">sample use cases</a>
|
||||
<li><a href="#samples">sample use cases</a>
|
||||
</li>
|
||||
<li><a href="/#contact">contact us</a>
|
||||
<li><a href="#contact">contact us</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@@ -11,7 +11,7 @@ include "includes/head.html"
|
||||
|
||||
<body>
|
||||
|
||||
<script>
|
||||
<script>
|
||||
var gaKey = "{{.GAKey}}";
|
||||
if (gaKey != "") {
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
@@ -28,11 +28,11 @@ include "includes/head.html"
|
||||
ga('create', gaKey, 'transfer.sh');
|
||||
ga('send', 'pageview');
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
include "includes/navigation.html"
|
||||
include "includes/navigation.html"
|
||||
|
||||
<section id="home">
|
||||
<section id="home">
|
||||
<div class="wrapper">
|
||||
<h2 class="page-title">
|
||||
Easy file sharing from the command line</h2>
|
||||
@@ -76,11 +76,11 @@ include "includes/head.html"
|
||||
<a href="#features" class="btn-cta btn-home">learn more</i> </a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<section id="features">
|
||||
<section id="features">
|
||||
<div class="wrapper container">
|
||||
<div class="row animated fadeInDown ">
|
||||
<div class="col-md-3 col-xs-6">
|
||||
@@ -115,16 +115,16 @@ include "includes/head.html"
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section id="share">
|
||||
<section id="share">
|
||||
<div class="wrapper">
|
||||
<h2 class="page-title">Preview your files in the browser!</h2>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section id="samples">
|
||||
<section id="samples">
|
||||
<div class="wrapper">
|
||||
<h2 class="page-title">
|
||||
Sample use cases
|
||||
@@ -322,9 +322,9 @@ include "includes/head.html"
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section id="share">
|
||||
<section id="share">
|
||||
<div class="wrapper">
|
||||
<h2 class="page-title">Follow on GitHub</h2>
|
||||
<br>
|
||||
@@ -333,8 +333,8 @@ include "includes/head.html"
|
||||
<iframe src="https://ghbtns.com/github-btn.html?user=dutchcoders&repo=transfer.sh&type=follow&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="250" height="50"></iframe>
|
||||
<iframe src="https://ghbtns.com/github-btn.html?user=dutchcoders&repo=transfer.sh&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="200" height="50"></iframe>
|
||||
</div>
|
||||
</section>
|
||||
<section id="reviews">
|
||||
</section>
|
||||
<section id="reviews">
|
||||
<div class="wrapper">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2 col-xs-12">
|
||||
@@ -386,11 +386,11 @@ include "includes/head.html"
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<section id="share">
|
||||
<section id="share">
|
||||
<div class="wrapper">
|
||||
<h2 class="page-title">Share the love</h2>
|
||||
<ul class="share-buttons">
|
||||
@@ -411,10 +411,10 @@ include "includes/head.html"
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
<section id="contact">
|
||||
<section id="contact">
|
||||
<div class="wrapper">
|
||||
<i class="icon-mail"></i>
|
||||
<h2 class="page-title">
|
||||
@@ -422,19 +422,19 @@ include "includes/head.html"
|
||||
</h2>
|
||||
<a href="#" data-uv-trigger class="btn-cta">contact us</a>
|
||||
</div>
|
||||
</section>
|
||||
<section id="tor">
|
||||
</section>
|
||||
<section id="tor">
|
||||
<div class="wrapper">
|
||||
<a href="https://www.torproject.org"><img src="images/tor.svg" alt="">
|
||||
</a>
|
||||
<br/>
|
||||
<a href="http://jxm5d6emw5rknovg.onion/">http://jxm5d6emw5rknovg.onion/</a>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
include "includes/footer.html"
|
||||
include "includes/js.html"
|
||||
include "includes/footer.html"
|
||||
include "includes/js.html"
|
||||
|
||||
|
||||
</body>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
@charset "UTF-8";
|
||||
@import "../bower_components/videojs/dist/video-js.min.css";
|
||||
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
|
||||
@import "../bower_components/videojs/dist/video-js.min.css";
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
@@ -208,7 +208,7 @@ table {
|
||||
max-width: 100% !important;
|
||||
}
|
||||
@page {
|
||||
margin: 2cm .5cm;
|
||||
margin: 2cm 0.5cm;
|
||||
}
|
||||
p,
|
||||
h2,
|
||||
@@ -261,7 +261,7 @@ body {
|
||||
font-size: 14px;
|
||||
line-height: 1.42857143;
|
||||
color: #3b3b3b;
|
||||
background-color: #ffffff;
|
||||
background-color: #fff;
|
||||
}
|
||||
input,
|
||||
button,
|
||||
@@ -299,8 +299,8 @@ img {
|
||||
.img-thumbnail {
|
||||
padding: 4px;
|
||||
line-height: 1.42857143;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #dddddd;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
-webkit-transition: all 0.2s ease-in-out;
|
||||
transition: all 0.2s ease-in-out;
|
||||
@@ -680,13 +680,71 @@ address {
|
||||
.row:after {
|
||||
clear: both;
|
||||
}
|
||||
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
|
||||
.col-xs-1,
|
||||
.col-sm-1,
|
||||
.col-md-1,
|
||||
.col-lg-1,
|
||||
.col-xs-2,
|
||||
.col-sm-2,
|
||||
.col-md-2,
|
||||
.col-lg-2,
|
||||
.col-xs-3,
|
||||
.col-sm-3,
|
||||
.col-md-3,
|
||||
.col-lg-3,
|
||||
.col-xs-4,
|
||||
.col-sm-4,
|
||||
.col-md-4,
|
||||
.col-lg-4,
|
||||
.col-xs-5,
|
||||
.col-sm-5,
|
||||
.col-md-5,
|
||||
.col-lg-5,
|
||||
.col-xs-6,
|
||||
.col-sm-6,
|
||||
.col-md-6,
|
||||
.col-lg-6,
|
||||
.col-xs-7,
|
||||
.col-sm-7,
|
||||
.col-md-7,
|
||||
.col-lg-7,
|
||||
.col-xs-8,
|
||||
.col-sm-8,
|
||||
.col-md-8,
|
||||
.col-lg-8,
|
||||
.col-xs-9,
|
||||
.col-sm-9,
|
||||
.col-md-9,
|
||||
.col-lg-9,
|
||||
.col-xs-10,
|
||||
.col-sm-10,
|
||||
.col-md-10,
|
||||
.col-lg-10,
|
||||
.col-xs-11,
|
||||
.col-sm-11,
|
||||
.col-md-11,
|
||||
.col-lg-11,
|
||||
.col-xs-12,
|
||||
.col-sm-12,
|
||||
.col-md-12,
|
||||
.col-lg-12 {
|
||||
position: relative;
|
||||
min-height: 1px;
|
||||
padding-left: 35px;
|
||||
padding-right: 35px;
|
||||
}
|
||||
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
|
||||
.col-xs-1,
|
||||
.col-xs-2,
|
||||
.col-xs-3,
|
||||
.col-xs-4,
|
||||
.col-xs-5,
|
||||
.col-xs-6,
|
||||
.col-xs-7,
|
||||
.col-xs-8,
|
||||
.col-xs-9,
|
||||
.col-xs-10,
|
||||
.col-xs-11,
|
||||
.col-xs-12 {
|
||||
float: left;
|
||||
}
|
||||
.col-xs-12 {
|
||||
@@ -843,7 +901,18 @@ address {
|
||||
margin-left: 0%;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
|
||||
.col-sm-1,
|
||||
.col-sm-2,
|
||||
.col-sm-3,
|
||||
.col-sm-4,
|
||||
.col-sm-5,
|
||||
.col-sm-6,
|
||||
.col-sm-7,
|
||||
.col-sm-8,
|
||||
.col-sm-9,
|
||||
.col-sm-10,
|
||||
.col-sm-11,
|
||||
.col-sm-12 {
|
||||
float: left;
|
||||
}
|
||||
.col-sm-12 {
|
||||
@@ -1001,7 +1070,18 @@ address {
|
||||
}
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
|
||||
.col-md-1,
|
||||
.col-md-2,
|
||||
.col-md-3,
|
||||
.col-md-4,
|
||||
.col-md-5,
|
||||
.col-md-6,
|
||||
.col-md-7,
|
||||
.col-md-8,
|
||||
.col-md-9,
|
||||
.col-md-10,
|
||||
.col-md-11,
|
||||
.col-md-12 {
|
||||
float: left;
|
||||
}
|
||||
.col-md-12 {
|
||||
@@ -1159,7 +1239,18 @@ address {
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
|
||||
.col-lg-1,
|
||||
.col-lg-2,
|
||||
.col-lg-3,
|
||||
.col-lg-4,
|
||||
.col-lg-5,
|
||||
.col-lg-6,
|
||||
.col-lg-7,
|
||||
.col-lg-8,
|
||||
.col-lg-9,
|
||||
.col-lg-10,
|
||||
.col-lg-11,
|
||||
.col-lg-12 {
|
||||
float: left;
|
||||
}
|
||||
.col-lg-12 {
|
||||
@@ -1336,11 +1427,11 @@ th {
|
||||
padding: 8px;
|
||||
line-height: 1.42857143;
|
||||
vertical-align: top;
|
||||
border-top: 1px solid #dddddd;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
.table > thead > tr > th {
|
||||
vertical-align: bottom;
|
||||
border-bottom: 2px solid #dddddd;
|
||||
border-bottom: 2px solid #ddd;
|
||||
}
|
||||
.table > caption + thead > tr:first-child > th,
|
||||
.table > colgroup + thead > tr:first-child > th,
|
||||
@@ -1351,10 +1442,10 @@ th {
|
||||
border-top: 0;
|
||||
}
|
||||
.table > tbody + tbody {
|
||||
border-top: 2px solid #dddddd;
|
||||
border-top: 2px solid #ddd;
|
||||
}
|
||||
.table .table {
|
||||
background-color: #ffffff;
|
||||
background-color: #fff;
|
||||
}
|
||||
.table-condensed > thead > tr > th,
|
||||
.table-condensed > tbody > tr > th,
|
||||
@@ -1365,7 +1456,7 @@ th {
|
||||
padding: 5px;
|
||||
}
|
||||
.table-bordered {
|
||||
border: 1px solid #dddddd;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.table-bordered > thead > tr > th,
|
||||
.table-bordered > tbody > tr > th,
|
||||
@@ -1373,7 +1464,7 @@ th {
|
||||
.table-bordered > thead > tr > td,
|
||||
.table-bordered > tbody > tr > td,
|
||||
.table-bordered > tfoot > tr > td {
|
||||
border: 1px solid #dddddd;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.table-bordered > thead > tr > th,
|
||||
.table-bordered > thead > tr > td {
|
||||
@@ -1468,7 +1559,7 @@ table th[class*="col-"] {
|
||||
overflow-y: hidden;
|
||||
overflow-x: scroll;
|
||||
-ms-overflow-style: -ms-autohiding-scrollbar;
|
||||
border: 1px solid #dddddd;
|
||||
border: 1px solid #ddd;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.table-responsive > .table {
|
||||
@@ -1581,9 +1672,9 @@ output {
|
||||
line-height: 1.42857143;
|
||||
color: #555555;
|
||||
vertical-align: middle;
|
||||
background-color: #ffffff;
|
||||
background-color: #fff;
|
||||
background-image: none;
|
||||
border: 1px solid #cccccc;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
@@ -1902,7 +1993,7 @@ textarea.input-lg {
|
||||
height: 100%;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
color: #ffffff;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #428bca;
|
||||
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
||||
@@ -6069,7 +6160,7 @@ a:hover {
|
||||
background-size: cover;
|
||||
}
|
||||
.terminal a {
|
||||
color: #ffffff;
|
||||
color: #fff;
|
||||
}
|
||||
.terminal-top {
|
||||
border-top-right-radius: 5px;
|
||||
@@ -6316,7 +6407,7 @@ blockquote.tweet-xl a {
|
||||
font-size: 10px;
|
||||
width: 100%;
|
||||
/* The main font color changes the ICON COLORS as well as the text */
|
||||
color: #ffffff;
|
||||
color: #fff;
|
||||
}
|
||||
/* The "Big Play Button" is the play button that shows before the video plays.
|
||||
To center it set the align values to center and middle. The typical location
|
||||
@@ -6331,7 +6422,7 @@ blockquote.tweet-xl a {
|
||||
height: 1.5em;
|
||||
width: 3em;
|
||||
/* 0.06666em = 2px default */
|
||||
border: 0.06666em solid #ffffff;
|
||||
border: 0.06666em solid #fff;
|
||||
/* 0.3em = 9px default */
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
@@ -6362,7 +6453,7 @@ blockquote.tweet-xl a {
|
||||
.video-js .vjs-volume-level,
|
||||
.video-js .vjs-play-progress,
|
||||
.video-js .vjs-slider-bar {
|
||||
background: #ffffff;
|
||||
background: #fff;
|
||||
}
|
||||
/* The main progress bar also has a bar that shows how much has been loaded. */
|
||||
.video-js .vjs-load-progress {
|
||||
@@ -6576,4 +6667,4 @@ audio {
|
||||
-webkit-appearance: none;
|
||||
background: red;
|
||||
}
|
||||
/*# sourceMappingURL=/styles/main.css.map */
|
||||
/*# sourceMappingURL=styles/main.css.map */
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user