Merge pull request #21 from dutchcoders/ISSUE-203

Issue 203
This commit is contained in:
Andrea Spacca
2019-05-18 11:52:19 +02:00
committed by GitHub
27 changed files with 10206 additions and 9924 deletions

View File

@@ -133,24 +133,49 @@ module.exports = function (grunt) {
server: { server: {
cwd: '<%= yeoman.app %>', cwd: '<%= yeoman.app %>',
src: ['*.html', 'includes/*.html'], src: ['*.html', 'includes/*.html'],
dest: '.tmp/', dest: '.tmp',
options: { options: {
flatten: true, flatten: true,
banner: '' banner: ''
} }
} }
}, },
// not used since Uglify task does concat, concat: {
// but still available if needed generated: {
/*concat: { files: [
dist: {} {
},*/ dest: '.tmp/scripts/main.js',
// not enabled since usemin task does concat and uglify src: ['<%= yeoman.app %>/scripts/main.js']
// check index.html to edit your build targets },
// enable this task if you prefer defining your build targets here {
/*uglify: { dest: '.tmp/scripts/vendor/modernizr.js',
dist: {} 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: { rev: {
dist: { dist: {
files: { files: {
@@ -232,7 +257,8 @@ module.exports = function (grunt) {
} }
} }
} }
,copy: { ,
copy: {
dist: { dist: {
files: [{ files: [{
expand: true, expand: true,
@@ -300,7 +326,7 @@ module.exports = function (grunt) {
'clean:server', 'clean:server',
'less', 'less',
'copy:server', 'copy:server',
'connect:test', 'connect:test'
]); ]);
grunt.registerTask('build', [ grunt.registerTask('build', [
@@ -314,8 +340,7 @@ module.exports = function (grunt) {
'includes:build', 'includes:build',
'uglify', 'uglify',
'copy', 'copy',
'usemin', 'usemin'
]); ]);
grunt.registerTask('default', [ grunt.registerTask('default', [

View File

@@ -5,7 +5,7 @@ This repository contains the web frontend for [transfer.sh](https://github.com/d
## How to use it ## 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 : Sample :
``` ```

File diff suppressed because it is too large Load Diff

View File

@@ -2,31 +2,31 @@
"name": "transfer.sh", "name": "transfer.sh",
"version": "0.0.0", "version": "0.0.0",
"dependencies": { "dependencies": {
"wiredep": "^1.8.6" "wiredep": "^4.0.0"
}, },
"devDependencies": { "devDependencies": {
"grunt": "~0.4.5", "grunt": "^1.0.4",
"grunt-concurrent": "~1.0.0", "grunt-concurrent": "~1.0.0",
"grunt-contrib-clean": "~0.6.0", "grunt-contrib-clean": "~0.6.0",
"grunt-contrib-concat": "~0.5.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-copy": "~0.6.0",
"grunt-contrib-cssmin": "~0.10.0", "grunt-contrib-cssmin": "^3.0.0",
"grunt-contrib-htmlmin": "~0.3.0", "grunt-contrib-htmlmin": "^3.0.0",
"grunt-contrib-imagemin": "0.8.1", "grunt-contrib-imagemin": "^3.1.0",
"grunt-contrib-jshint": "~0.10.0", "grunt-contrib-jshint": "^2.1.0",
"grunt-contrib-less": "~0.11.4", "grunt-contrib-less": "^2.0.0",
"grunt-contrib-uglify": "~0.6.0", "grunt-contrib-uglify": "^4.0.1",
"grunt-contrib-watch": "~0.6.1", "grunt-contrib-watch": "^1.1.0",
"grunt-include-replace": "^2.0.0", "grunt-include-replace": "^2.0.0",
"grunt-includes": "^0.4.5", "grunt-includes": "^0.4.5",
"grunt-npm-command": "^0.1.2", "grunt-npm-command": "^0.1.2",
"grunt-rev": "~0.1.0", "grunt-rev": "~0.1.0",
"grunt-svgmin": "1.0.0", "grunt-svgmin": "^6.0.0",
"grunt-usemin": "~2.4.0", "grunt-usemin": "^3.1.1",
"jshint-stylish": "~1.0.0", "jshint-stylish": "~1.0.0",
"load-grunt-tasks": "~0.6.0", "load-grunt-tasks": "^4.0.0",
"matchdep": "~0.3.0", "matchdep": "^2.0.0",
"time-grunt": "~1.0.0" "time-grunt": "~1.0.0"
}, },
"engines": { "engines": {

View File

@@ -1,6 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Page Not Found :(</title> <title>Page Not Found :(</title>
<style> <style>
@@ -138,9 +138,9 @@
border: 0; border: 0;
} }
</style> </style>
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<h1>Not found <span>:(</span></h1> <h1>Not found <span>:(</span></h1>
<p>Sorry, but the page you were trying to view does not exist.</p> <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> <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; var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
</script> </script>
<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>

View File

@@ -6,19 +6,19 @@
<html class="no-js"> <html class="no-js">
<!--<![endif]--> <!--<![endif]-->
include "includes/head.html" include "includes/download-head.html"
<body id="download"> <body id="download">
<!-- build:js /scripts/vendor/video.js --> <!-- build:js../scripts/vendor/video.js -->
<script src="bower_components/videojs/dist/video.min.js"></script> <script src="bower_components/videojs/dist/video.min.js"></script>
<!-- endbuild --> <!-- endbuild -->
include "includes/ga.html" include "includes/ga.html"
include "includes/navigation.html" include "includes/download-navigation.html"
<section id="home"> <section id="home">
<div class="wrapper"> <div class="wrapper">
include "includes/download-top.html" include "includes/download-top.html"
@@ -42,10 +42,10 @@ include "includes/head.html"
<br/> <br/>
</div> </div>
</section> </section>
include "includes/footer.html" include "includes/download-footer.html"
include "includes/js.html" include "includes/download-js.html"
</body> </body>

View File

@@ -13,18 +13,18 @@
<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.0"> <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='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+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='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'> <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> <script src="bower_components/modernizr/modernizr.js"></script>
<!-- endbuild --> <!-- endbuild -->
</head> </head>
<body id="download"> <body id="download">
<script> <script>
var gaKey = "{{.GAKey}}"; var gaKey = "{{.GAKey}}";
if (gaKey != "") { if (gaKey != "") {
(function (i, s, o, g, r, a, m) { (function (i, s, o, g, r, a, m) {
@@ -41,9 +41,9 @@
ga('create', gaKey, 'transfer.sh'); ga('create', gaKey, 'transfer.sh');
ga('send', 'pageview'); ga('send', 'pageview');
} }
</script> </script>
<div id="navigation"> <div id="navigation">
<div class="wrapper"> <div class="wrapper">
<h1>{{.Hostname}}</h1> <h1>{{.Hostname}}</h1>
<ul class="hidden-xs"> <ul class="hidden-xs">
@@ -53,7 +53,7 @@
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
<section id="home"> <section id="home">
<div class="wrapper"> <div class="wrapper">
@@ -87,12 +87,12 @@
</div> </div>
<div id="overlay" class="overlay"></div> <div id="overlay" class="overlay"></div>
</div> </div>
<script src="scripts/clipboard.js"></script> <script src="../scripts/clipboard.js"></script>
</section> </section>
<script> <script>
(function() { (function() {
var userVoiceKey = "{{.UserVoiceKey}}"; var userVoiceKey = "{{.UserVoiceKey}}";
if (userVoiceKey != "") { if (userVoiceKey != "") {
@@ -104,13 +104,13 @@
s.parentNode.insertBefore(uv, s); s.parentNode.insertBefore(uv, s);
} }
})() })()
</script> </script>
<!--[if lt IE 7]> <!--[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> <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]--> <![endif]-->
<script> <script>
var gaKey = "{{.GAKey}}"; var gaKey = "{{.GAKey}}";
if (gaKey != "") { if (gaKey != "") {
(function(b, o, i, l, e, r) { (function(b, o, i, l, e, r) {
@@ -128,18 +128,18 @@
ga('create', gaKey, 'transfer.sh'); ga('create', gaKey, 'transfer.sh');
ga('send', 'pageview'); ga('send', 'pageview');
} }
</script> </script>
<!-- build:js scripts/main.js --> <!-- build:js ../scripts/main.js -->
<script src="bower_components/jquery/dist/jquery.js"></script> <script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/uri.js/src/URI.min.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/transition.js"></script>
<script src="bower_components/bootstrap/js/collapse.js"></script> <script src="bower_components/bootstrap/js/collapse.js"></script>
<script src="/scripts/showdown.js"></script> <script src="scripts/showdown.js"></script>
<script src="/scripts/main.js"></script> <script src="scripts/main.js"></script>
<!-- endbuild --> <!-- endbuild -->
<script> <script>
var text = "# Markdown *works*."; var text = "# Markdown *works*.";
@@ -147,7 +147,7 @@
var html = converter.makeHtml(text); var html = converter.makeHtml(text);
$('#md-preview').append(html); $('#md-preview').append(html);
</script> </script>
</body> </body>

View File

@@ -6,12 +6,12 @@
<html class="no-js"> <html class="no-js">
<!--<![endif]--> <!--<![endif]-->
include "includes/head.html" include "includes/download-head.html"
<body id="download"> <body id="download">
include "includes/ga.html" include "includes/ga.html"
include "includes/navigation.html" include "includes/download-navigation.html"
<section id="home"> <section id="home">
@@ -21,8 +21,8 @@ include "includes/head.html"
</div> </div>
</section> </section>
include "includes/footer.html" include "includes/download-footer.html"
include "includes/js.html" include "includes/download-js.html"

View File

@@ -6,14 +6,14 @@
<html class="no-js"> <html class="no-js">
<!--<![endif]--> <!--<![endif]-->
include "includes/head.html" include "includes/download-head.html"
<body id="download"> <body id="download">
include "includes/ga.html" include "includes/ga.html"
include "includes/navigation.html" include "includes/download-navigation.html"
<section id="home"> <section id="home">
<div class="wrapper"> <div class="wrapper">
include "includes/download-top.html" include "includes/download-top.html"
@@ -31,10 +31,10 @@ include "includes/head.html"
<br/> <br/>
<div> <div>
<div> <div>
</section> </section>
include "includes/footer.html" include "includes/download-footer.html"
include "includes/js.html" include "includes/download-js.html"
</body> </body>

View File

@@ -6,12 +6,12 @@
<html class="no-js"> <html class="no-js">
<!--<![endif]--> <!--<![endif]-->
include "includes/head.html" include "includes/download-head.html"
<body id="download"> <body id="download">
include "includes/ga.html" include "includes/ga.html"
include "includes/navigation.html" include "includes/download-navigation.html"
<section id="home"> <section id="home">
<div class="wrapper"> <div class="wrapper">
@@ -32,8 +32,8 @@ include "includes/head.html"
</section> </section>
include "includes/footer.html" include "includes/download-footer.html"
include "includes/js.html" include "includes/download-js.html"
</body> </body>
</html> </html>

View File

@@ -6,12 +6,12 @@
<html class="no-js"> <html class="no-js">
<!--<![endif]--> <!--<![endif]-->
include "includes/head.html" include "includes/download-head.html"
<body id="download"> <body id="download">
include "includes/ga.html" include "includes/ga.html"
include "includes/navigation.html" include "includes/download-navigation.html"
<section id="home"> <section id="home">
<div class="wrapper"> <div class="wrapper">
@@ -23,8 +23,8 @@ include "includes/head.html"
</section> </section>
include "includes/footer.html" include "includes/download-footer.html"
include "includes/js.html" include "includes/download-js.html"
</body> </body>
</html> </html>

View File

@@ -6,17 +6,17 @@
<html class="no-js"> <html class="no-js">
<!--<![endif]--> <!--<![endif]-->
include "includes/head.html" include "includes/download-head.html"
<body id="download"> <body id="download">
<!-- build:js /scripts/vendor/video.js --> <!-- build:js ../scripts/vendor/video.js -->
<script src="bower_components/videojs/dist/video.min.js"></script> <script src="bower_components/videojs/dist/video.min.js"></script>
<!-- endbuild --> <!-- endbuild -->
include "includes/ga.html" include "includes/ga.html"
include "includes/navigation.html" include "includes/download-navigation.html"
<section id="home"> <section id="home">
<div class="wrapper"> <div class="wrapper">
include "includes/download-top.html" include "includes/download-top.html"
@@ -40,10 +40,10 @@ include "includes/head.html"
<br/> <br/>
</div> </div>
</section> </section>
include "includes/footer.html" include "includes/download-footer.html"
include "includes/js.html" include "includes/download-js.html"
</body> </body>

View File

@@ -7,4 +7,4 @@
</div> </div>
<div id="overlay" class="overlay"></div> <div id="overlay" class="overlay"></div>
</div> </div>
<script src="scripts/clipboard.js"></script> <script src="../scripts/clipboard.js"></script>

View 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]-->

View 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>

View 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 -->

View File

@@ -0,0 +1,15 @@
<div id="navigation">
<div class="wrapper">
<a href="/">
<h1>{{.Hostname}}</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>

View File

@@ -2,13 +2,13 @@
<div class="wrapper"> <div class="wrapper">
<div style=""> <div style="">
<a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;"> <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> </a>
</div> </div>
<br/> <br/>
<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>Made with <i class="icon-heart"></i> by <a href="http://blog.dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
</p> </p>
</div> </div>

View File

@@ -5,10 +5,10 @@
<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.0"> <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='//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='//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> <script src="bower_components/modernizr/modernizr.js"></script>
<!-- endbuild --> <!-- endbuild -->
</head> </head>

View File

@@ -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/jquery/dist/jquery.js"></script>
<script src="bower_components/uri.js/src/URI.min.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/transition.js"></script>
<script src="bower_components/bootstrap/js/collapse.js"></script> <script src="bower_components/bootstrap/js/collapse.js"></script>
<script src="/scripts/showdown.js"></script> <script src="scripts/showdown.js"></script>
<script src="/scripts/main.js"></script> <script src="scripts/main.js"></script>
<!-- endbuild --> <!-- endbuild -->

View File

@@ -4,11 +4,11 @@
<h1>{{.Hostname}}</h1> <h1>{{.Hostname}}</h1>
</a> </a>
<ul class="hidden-xs"> <ul class="hidden-xs">
<li><a href="/">home</a> <li><a href="#">home</a>
</li> </li>
<li><a href="/#samples">sample use cases</a> <li><a href="#samples">sample use cases</a>
</li> </li>
<li><a href="/#contact">contact us</a> <li><a href="#contact">contact us</a>
</li> </li>
</ul> </ul>
</div> </div>

View File

@@ -11,7 +11,7 @@ include "includes/head.html"
<body> <body>
<script> <script>
var gaKey = "{{.GAKey}}"; var gaKey = "{{.GAKey}}";
if (gaKey != "") { if (gaKey != "") {
(function (i, s, o, g, r, a, m) { (function (i, s, o, g, r, a, m) {
@@ -28,11 +28,11 @@ include "includes/head.html"
ga('create', gaKey, 'transfer.sh'); ga('create', gaKey, 'transfer.sh');
ga('send', 'pageview'); ga('send', 'pageview');
} }
</script> </script>
include "includes/navigation.html" include "includes/navigation.html"
<section id="home"> <section id="home">
<div class="wrapper"> <div class="wrapper">
<h2 class="page-title"> <h2 class="page-title">
Easy file sharing from the command line</h2> Easy file sharing from the command line</h2>
@@ -43,11 +43,11 @@ include "includes/head.html"
</div> </div>
<div id="terminal" class="terminal"> <div id="terminal" class="terminal">
<code class="code-wrapper"><span class="code-title"># Upload using cURL</span> <code class="code-wrapper"><span class="code-title"># Upload using cURL</span>
$ curl --upload-file ./hello.txt {{.WebAddress}}/hello.txt {{.WebAddress}}/66nb8/hello.txt $ curl --upload-file ./hello.txt {{.WebAddress}}hello.txt {{.WebAddress}}66nb8/hello.txt
<span class="code-title"># Using the shell function</span> <span class="code-title"># Using the shell function</span>
$ transfer hello.txt $ transfer hello.txt
##################################################### 100.0% {{.WebAddress}}/eibhM/hello.txt ##################################################### 100.0% {{.WebAddress}}eibhM/hello.txt
</code> </code>
</div> </div>
<div id="web"> <div id="web">
@@ -76,11 +76,11 @@ include "includes/head.html"
<a href="#features" class="btn-cta btn-home">learn more</i> </a> <a href="#features" class="btn-cta btn-home">learn more</i> </a>
</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">
@@ -115,16 +115,16 @@ include "includes/head.html"
</div> </div>
</div> </div>
</div> </div>
</section> </section>
<section id="share"> <section id="share">
<div class="wrapper"> <div class="wrapper">
<h2 class="page-title">Preview your files in the browser!</h2> <h2 class="page-title">Preview your files in the browser!</h2>
</div> </div>
</section> </section>
<section id="samples"> <section id="samples">
<div class="wrapper"> <div class="wrapper">
<h2 class="page-title"> <h2 class="page-title">
Sample use cases Sample use cases
@@ -137,14 +137,14 @@ include "includes/head.html"
</div> </div>
<div class="terminal"> <div class="terminal">
<code class="code-wrapper"><span class="code-title"># Uploading is easy using curl</span> <code class="code-wrapper"><span class="code-title"># Uploading is easy using curl</span>
$ curl --upload-file ./hello.txt {{.WebAddress}}/hello.txt $ curl --upload-file ./hello.txt {{.WebAddress}}hello.txt
{{.WebAddress}}/66nb8/hello.txt {{.WebAddress}}66nb8/hello.txt
$ curl -H "Max-Downloads: 1" -H "Max-Days: 5" --upload-file ./hello.txt {{.WebAddress}}/hello.txt $ curl -H "Max-Downloads: 1" -H "Max-Days: 5" --upload-file ./hello.txt {{.WebAddress}}hello.txt
{{.WebAddress}}/66nb8/hello.txt {{.WebAddress}}66nb8/hello.txt
<span class="code-title"># Download the file</span> <span class="code-title"># Download the file</span>
$ curl {{.WebAddress}}/66nb8/hello.txt -o hello.txt $ curl {{.WebAddress}}66nb8/hello.txt -o hello.txt
</code> </code>
</div> </div>
</div> </div>
@@ -154,7 +154,7 @@ include "includes/head.html"
</div> </div>
<div class="terminal"> <div class="terminal">
<code class="code-wrapper"><span class="code-title"># Add this to .bashrc or .zshrc or its equivalent</span> <code class="code-wrapper"><span class="code-title"># Add this to .bashrc or .zshrc or its equivalent</span>
transfer(){ if [ $# -eq 0 ];then echo &quot;No arguments specified.\nUsage:\n transfer &lt;file|directory&gt;\n ... | transfer &lt;file_name&gt;&quot;&gt;&amp;2;return 1;fi;if tty -s;then file=&quot;$1&quot;;file_name=$(basename &quot;$file&quot;);if [ ! -e &quot;$file&quot; ];then echo &quot;$file: No such file or directory&quot;&gt;&amp;2;return 1;fi;if [ -d &quot;$file&quot; ];then file_name=&quot;$file_name.zip&quot; ,;(cd &quot;$file&quot;&amp;&amp;zip -r -q - .)|curl --progress-bar --upload-file &quot;-&quot; &quot;{{.WebAddress}}/$file_name&quot;|tee /dev/null,;else cat &quot;$file&quot;|curl --progress-bar --upload-file &quot;-&quot; &quot;{{.WebAddress}}/$file_name&quot;|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file &quot;-&quot; &quot;{{.WebAddress}}/$file_name&quot;|tee /dev/null;fi;} transfer(){ if [ $# -eq 0 ];then echo &quot;No arguments specified.\nUsage:\n transfer &lt;file|directory&gt;\n ... | transfer &lt;file_name&gt;&quot;&gt;&amp;2;return 1;fi;if tty -s;then file=&quot;$1&quot;;file_name=$(basename &quot;$file&quot;);if [ ! -e &quot;$file&quot; ];then echo &quot;$file: No such file or directory&quot;&gt;&amp;2;return 1;fi;if [ -d &quot;$file&quot; ];then file_name=&quot;$file_name.zip&quot; ,;(cd &quot;$file&quot;&amp;&amp;zip -r -q - .)|curl --progress-bar --upload-file &quot;-&quot; &quot;{{.WebAddress}}$file_name&quot;|tee /dev/null,;else cat &quot;$file&quot;|curl --progress-bar --upload-file &quot;-&quot; &quot;{{.WebAddress}}$file_name&quot;|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file &quot;-&quot; &quot;{{.WebAddress}}$file_name&quot;|tee /dev/null;fi;}
<span class="code-title"># Now you can use transfer function</span> <span class="code-title"># Now you can use transfer function</span>
$ transfer hello.txt $ transfer hello.txt
@@ -174,11 +174,11 @@ include "includes/head.html"
</div> </div>
<div class="terminal"> <div class="terminal">
<code class="code-wrapper"> <code class="code-wrapper">
$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt {{.WebAddress}}/ $ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt {{.WebAddress}}
<span class="code-title"># Combining downloads as zip or tar archive</span> <span class="code-title"># Combining downloads as zip or tar archive</span>
$ curl {{.WebAddress}}/(15HKz/hello.txt,15HKz/hello.txt).tar.gz $ curl {{.WebAddress}}(15HKz/hello.txt,15HKz/hello.txt).tar.gz
$ curl {{.WebAddress}}/(15HKz/hello.txt,15HKz/hello.txt).zip $ curl {{.WebAddress}}(15HKz/hello.txt,15HKz/hello.txt).zip
</code> </code>
</div> </div>
@@ -190,10 +190,10 @@ include "includes/head.html"
</div> </div>
<div class="terminal"> <div class="terminal">
<code class="code-wrapper"><span class="code-title"># Encrypt files with password using gpg</span> <code class="code-wrapper"><span class="code-title"># Encrypt files with password using gpg</span>
$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}/test.txt $ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt
<span class="code-title"># Download and decrypt</span> <span class="code-title"># Download and decrypt</span>
$ curl {{.WebAddress}}/1lDau/test.txt|gpg -o- > /tmp/hello.txt $ curl {{.WebAddress}}1lDau/test.txt|gpg -o- > /tmp/hello.txt
</code> </code>
</div> </div>
</div> </div>
@@ -207,10 +207,10 @@ include "includes/head.html"
<div class="terminal"> <div class="terminal">
<code class="code-wrapper"><span class="code-title"># Scan for malware or viruses using Clamav</span> <code class="code-wrapper"><span class="code-title"># Scan for malware or viruses using Clamav</span>
$ wget http://www.eicar.org/download/eicar.com $ wget http://www.eicar.org/download/eicar.com
$ curl -X PUT --upload-file ./eicar.com {{.WebAddress}}/eicar.com/scan $ curl -X PUT --upload-file ./eicar.com {{.WebAddress}}eicar.com/scan
<span class="code-title"># Upload malware to VirusTotal, get a permalink in return</span> <span class="code-title"># Upload malware to VirusTotal, get a permalink in return</span>
$ curl -X PUT --upload-file nhgbhhj {{.WebAddress}}/test.txt/virustotal $ curl -X PUT --upload-file nhgbhhj {{.WebAddress}}test.txt/virustotal
</code> </code>
</div> </div>
</div> </div>
@@ -220,7 +220,7 @@ include "includes/head.html"
</div> </div>
<div class="terminal"> <div class="terminal">
<code class="code-wrapper"><span class="code-title"># Backup, encrypt and transfer</span> <code class="code-wrapper"><span class="code-title"># Backup, encrypt and transfer</span>
$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}/test.txt</code> $ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt</code>
</div> </div>
</div> </div>
</div> </div>
@@ -243,9 +243,9 @@ include "includes/head.html"
<code class="code-wrapper"><span class="code-title"># Import keys from keybase</span> <code class="code-wrapper"><span class="code-title"># Import keys from keybase</span>
$ keybase track [them] $ keybase track [them]
<span class="code-title"># Encrypt for recipient(s)</span> <span class="code-title"># Encrypt for recipient(s)</span>
$ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' {{.WebAddress}}/test.txt $ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' {{.WebAddress}}test.txt
<span class="code-title"># Decrypt</span> <span class="code-title"># Decrypt</span>
$ curl {{.WebAddress}}/sqUFi/test.md |keybase decrypt $ curl {{.WebAddress}}sqUFi/test.md |keybase decrypt
</code> </code>
</div> </div>
</div> </div>
@@ -257,7 +257,7 @@ include "includes/head.html"
</div> </div>
<div class="terminal"> <div class="terminal">
<code class="code-wrapper"><span class="code-title"># wget</span> <code class="code-wrapper"><span class="code-title"># wget</span>
$ wget --method PUT --body-file=/tmp/file.tar {{.WebAddress}}/file.tar -O - -nv $ wget --method PUT --body-file=/tmp/file.tar {{.WebAddress}}file.tar -O - -nv
</code> </code>
</div> </div>
</div> </div>
@@ -267,7 +267,7 @@ include "includes/head.html"
</div> </div>
<div class="terminal"> <div class="terminal">
<code class="code-wrapper"><span class="code-title"># grep syslog for pound and transfer</span> <code class="code-wrapper"><span class="code-title"># grep syslog for pound and transfer</span>
$ cat /var/log/syslog|grep pound|curl --upload-file - {{.WebAddress}}/pound.log $ cat /var/log/syslog|grep pound|curl --upload-file - {{.WebAddress}}pound.log
</code> </code>
</div> </div>
</div> </div>
@@ -280,7 +280,7 @@ include "includes/head.html"
</div> </div>
<div class="terminal"> <div class="terminal">
<code class="code-wrapper"><span class="code-title"># Upload using Powershell</span> <code class="code-wrapper"><span class="code-title"># Upload using Powershell</span>
PS H:\&gt; invoke-webrequest -method put -infile .\file.txt {{.WebAddress}}/file.txt PS H:\&gt; invoke-webrequest -method put -infile .\file.txt {{.WebAddress}}file.txt
</code> </code>
</div> </div>
</div> </div>
@@ -290,7 +290,7 @@ include "includes/head.html"
</div> </div>
<div class="terminal"> <div class="terminal">
<code class="code-wrapper"><span class="code-title"># HTTPie</span> <code class="code-wrapper"><span class="code-title"># HTTPie</span>
$ http {{.WebAddress}}/ -vv &lt; /tmp/test.log $ http {{.WebAddress}} -vv &lt; /tmp/test.log
</code> </code>
</div> </div>
</div> </div>
@@ -305,7 +305,7 @@ include "includes/head.html"
<span class="code-title"># transfersh-cli (https://github.com/tanrax/transfersh-cli)</span> <span class="code-title"># transfersh-cli (https://github.com/tanrax/transfersh-cli)</span>
$ trasnfersh photos.zip $ trasnfersh photos.zip
<span class="code-title"># Uploading file</span> <span class="code-title"># Uploading file</span>
<span class="code-title"># Download from here: {{.WebAddress}}/xxxxxx/photos.zip</span> <span class="code-title"># Download from here: {{.WebAddress}}xxxxxx/photos.zip</span>
<span class="code-title"># It has also been copied to the clipboard!</span> <span class="code-title"># It has also been copied to the clipboard!</span>
</code> </code>
</div> </div>
@@ -322,9 +322,9 @@ include "includes/head.html"
</div> </div>
</div> </div>
</div> </div>
</section> </section>
<section id="share"> <section id="share">
<div class="wrapper"> <div class="wrapper">
<h2 class="page-title">Follow on GitHub</h2> <h2 class="page-title">Follow on GitHub</h2>
<br> <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=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> <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> </div>
</section> </section>
<section id="reviews"> <section id="reviews">
<div class="wrapper"> <div class="wrapper">
<div class="row"> <div class="row">
<div class="col-md-8 col-md-offset-2 col-xs-12"> <div class="col-md-8 col-md-offset-2 col-xs-12">
@@ -386,11 +386,11 @@ include "includes/head.html"
</div> </div>
</div> </div>
</div> </div>
</section> </section>
<section id="share"> <section id="share">
<div class="wrapper"> <div class="wrapper">
<h2 class="page-title">Share the love</h2> <h2 class="page-title">Share the love</h2>
<ul class="share-buttons"> <ul class="share-buttons">
@@ -411,10 +411,10 @@ include "includes/head.html"
</li> </li>
</ul> </ul>
</div> </div>
</section> </section>
<section id="contact"> <section id="contact">
<div class="wrapper"> <div class="wrapper">
<i class="icon-mail"></i> <i class="icon-mail"></i>
<h2 class="page-title"> <h2 class="page-title">
@@ -422,19 +422,19 @@ include "includes/head.html"
</h2> </h2>
<a href="#" data-uv-trigger class="btn-cta">contact us</a> <a href="#" data-uv-trigger class="btn-cta">contact us</a>
</div> </div>
</section> </section>
<section id="tor"> <section id="tor">
<div class="wrapper"> <div class="wrapper">
<a href="https://www.torproject.org"><img src="images/tor.svg" alt=""> <a href="https://www.torproject.org"><img src="images/tor.svg" alt="">
</a> </a>
<br/> <br/>
<a href="http://jxm5d6emw5rknovg.onion/">http://jxm5d6emw5rknovg.onion/</a> <a href="http://jxm5d6emw5rknovg.onion/">http://jxm5d6emw5rknovg.onion/</a>
</div> </div>
</section> </section>
include "includes/footer.html" include "includes/footer.html"
include "includes/js.html" include "includes/js.html"
</body> </body>

View File

@@ -3,35 +3,35 @@
made with <3 by DutchCoders made with <3 by DutchCoders
Upload: Upload:
$ curl --upload-file ./hello.txt {{.WebAddress}}/hello.txt $ curl --upload-file ./hello.txt {{.WebAddress}}hello.txt
Encrypt & upload: Encrypt & upload:
$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}/test.txt $ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt
Download & decrypt: Download & decrypt:
$ curl {{.WebAddress}}/1lDau/test.txt|gpg -o- > /tmp/hello.txt $ curl {{.WebAddress}}1lDau/test.txt|gpg -o- > /tmp/hello.txt
Grep pound from syslog and transfer Grep pound from syslog and transfer
cat /var/log/syslog|grep pound|curl --upload-file - {{.WebAddress}}/pound.log cat /var/log/syslog|grep pound|curl --upload-file - {{.WebAddress}}pound.log
Using Keybase: Using Keybase:
# import keys from keybase # import keys from keybase
$ keybase track [them] $ keybase track [them]
# encrypt for recipients # encrypt for recipients
$ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' {{.WebAddress}}/test.txt $ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' {{.WebAddress}}test.txt
# decrypt # decrypt
$ curl {{.WebAddress}}/sqUFi/test.md |keybase decrypt $ curl {{.WebAddress}}sqUFi/test.md |keybase decrypt
Upload to Virustotal: Upload to Virustotal:
$ curl -X PUT --upload-file nhgbhhj {{.WebAddress}}/test.txt/virustotal $ curl -X PUT --upload-file nhgbhhj {{.WebAddress}}test.txt/virustotal
Virusscan: Virusscan:
$ curl -X PUT --upload-file nhgbhhj {{.WebAddress}}/test.txt/scan $ curl -X PUT --upload-file nhgbhhj {{.WebAddress}}test.txt/scan
Add shell function to .bashrc or .zshrc or its equivalent: Add shell function to .bashrc or .zshrc or its equivalent:
=== ===
transfer(){ if [ $# -eq 0 ];then echo "No arguments specified.\nUsage:\n transfer <file|directory>\n ... | transfer <file_name>">&2;return 1;fi;if tty -s;then file="$1";file_name=$(basename "$file");if [ ! -e "$file" ];then echo "$file: No such file or directory">&2;return 1;fi;if [ -d "$file" ];then file_name="$file_name.zip" ,;(cd "$file"&&zip -r -q - .)|curl --progress-bar --upload-file "-" "{{.WebAddress}}/$file_name"|tee /dev/null,;else cat "$file"|curl --progress-bar --upload-file "-" "{{.WebAddress}}/$file_name"|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file "-" "{{.WebAddress}}/$file_name"|tee /dev/null;fi;} transfer(){ if [ $# -eq 0 ];then echo "No arguments specified.\nUsage:\n transfer <file|directory>\n ... | transfer <file_name>">&2;return 1;fi;if tty -s;then file="$1";file_name=$(basename "$file");if [ ! -e "$file" ];then echo "$file: No such file or directory">&2;return 1;fi;if [ -d "$file" ];then file_name="$file_name.zip" ,;(cd "$file"&&zip -r -q - .)|curl --progress-bar --upload-file "-" "{{.WebAddress}}$file_name"|tee /dev/null,;else cat "$file"|curl --progress-bar --upload-file "-" "{{.WebAddress}}/$file_name"|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file "-" "{{.WebAddress}}/$file_name"|tee /dev/null;fi;}
=== ===
$ transfer test.txt $ transfer test.txt

View File

@@ -75,7 +75,7 @@ $(document).ready(function() {
queue.push(xhr); queue.push(xhr);
// start upload // start upload
xhr.open("PUT", '/' + file.name, true); xhr.open("PUT", './' + file.name, true);
xhr.send(file); xhr.send(file);
}; };

View File

@@ -2,7 +2,7 @@ $(document).ready(function () {
// Terminal typing animation // Terminal typing animation
$("#from-terminal p").typed({ $("#from-terminal p").typed({
strings: ["curl --upload-file ./hello.txt {{.WebAddress}}/hello.txt\n{{.WebAddress}}/66nb8/hello.txt \n "], strings: ["curl --upload-file ./hello.txt {{.WebAddress}}hello.txt\n{{.WebAddress}}66nb8/hello.txt \n "],
typeSpeed: 0, typeSpeed: 0,
loop: true, loop: true,
}); });

View File

@@ -1,6 +1,6 @@
@charset "UTF-8"; @charset "UTF-8";
@import "../bower_components/videojs/dist/video-js.min.css";
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ /*! normalize.css v2.1.3 | MIT License | git.io/normalize */
@import "../bower_components/videojs/dist/video-js.min.css";
article, article,
aside, aside,
details, details,
@@ -208,7 +208,7 @@ table {
max-width: 100% !important; max-width: 100% !important;
} }
@page { @page {
margin: 2cm .5cm; margin: 2cm 0.5cm;
} }
p, p,
h2, h2,
@@ -261,7 +261,7 @@ body {
font-size: 14px; font-size: 14px;
line-height: 1.42857143; line-height: 1.42857143;
color: #3b3b3b; color: #3b3b3b;
background-color: #ffffff; background-color: #fff;
} }
input, input,
button, button,
@@ -299,8 +299,8 @@ img {
.img-thumbnail { .img-thumbnail {
padding: 4px; padding: 4px;
line-height: 1.42857143; line-height: 1.42857143;
background-color: #ffffff; background-color: #fff;
border: 1px solid #dddddd; border: 1px solid #ddd;
border-radius: 4px; border-radius: 4px;
-webkit-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
@@ -680,13 +680,71 @@ address {
.row:after { .row:after {
clear: both; 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; position: relative;
min-height: 1px; min-height: 1px;
padding-left: 35px; padding-left: 35px;
padding-right: 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; float: left;
} }
.col-xs-12 { .col-xs-12 {
@@ -843,7 +901,18 @@ address {
margin-left: 0%; margin-left: 0%;
} }
@media (min-width: 768px) { @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; float: left;
} }
.col-sm-12 { .col-sm-12 {
@@ -1001,7 +1070,18 @@ address {
} }
} }
@media (min-width: 992px) { @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; float: left;
} }
.col-md-12 { .col-md-12 {
@@ -1159,7 +1239,18 @@ address {
} }
} }
@media (min-width: 1200px) { @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; float: left;
} }
.col-lg-12 { .col-lg-12 {
@@ -1336,11 +1427,11 @@ th {
padding: 8px; padding: 8px;
line-height: 1.42857143; line-height: 1.42857143;
vertical-align: top; vertical-align: top;
border-top: 1px solid #dddddd; border-top: 1px solid #ddd;
} }
.table > thead > tr > th { .table > thead > tr > th {
vertical-align: bottom; vertical-align: bottom;
border-bottom: 2px solid #dddddd; border-bottom: 2px solid #ddd;
} }
.table > caption + thead > tr:first-child > th, .table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th,
@@ -1351,10 +1442,10 @@ th {
border-top: 0; border-top: 0;
} }
.table > tbody + tbody { .table > tbody + tbody {
border-top: 2px solid #dddddd; border-top: 2px solid #ddd;
} }
.table .table { .table .table {
background-color: #ffffff; background-color: #fff;
} }
.table-condensed > thead > tr > th, .table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th, .table-condensed > tbody > tr > th,
@@ -1365,7 +1456,7 @@ th {
padding: 5px; padding: 5px;
} }
.table-bordered { .table-bordered {
border: 1px solid #dddddd; border: 1px solid #ddd;
} }
.table-bordered > thead > tr > th, .table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th, .table-bordered > tbody > tr > th,
@@ -1373,7 +1464,7 @@ th {
.table-bordered > thead > tr > td, .table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td, .table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td { .table-bordered > tfoot > tr > td {
border: 1px solid #dddddd; border: 1px solid #ddd;
} }
.table-bordered > thead > tr > th, .table-bordered > thead > tr > th,
.table-bordered > thead > tr > td { .table-bordered > thead > tr > td {
@@ -1468,7 +1559,7 @@ table th[class*="col-"] {
overflow-y: hidden; overflow-y: hidden;
overflow-x: scroll; overflow-x: scroll;
-ms-overflow-style: -ms-autohiding-scrollbar; -ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid #dddddd; border: 1px solid #ddd;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
} }
.table-responsive > .table { .table-responsive > .table {
@@ -1581,9 +1672,9 @@ output {
line-height: 1.42857143; line-height: 1.42857143;
color: #555555; color: #555555;
vertical-align: middle; vertical-align: middle;
background-color: #ffffff; background-color: #fff;
background-image: none; background-image: none;
border: 1px solid #cccccc; border: 1px solid #ccc;
border-radius: 4px; border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -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); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
@@ -1902,7 +1993,7 @@ textarea.input-lg {
height: 100%; height: 100%;
font-size: 12px; font-size: 12px;
line-height: 20px; line-height: 20px;
color: #ffffff; color: #fff;
text-align: center; text-align: center;
background-color: #428bca; background-color: #428bca;
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
@@ -6069,7 +6160,7 @@ a:hover {
background-size: cover; background-size: cover;
} }
.terminal a { .terminal a {
color: #ffffff; color: #fff;
} }
.terminal-top { .terminal-top {
border-top-right-radius: 5px; border-top-right-radius: 5px;
@@ -6316,7 +6407,7 @@ blockquote.tweet-xl a {
font-size: 10px; font-size: 10px;
width: 100%; width: 100%;
/* The main font color changes the ICON COLORS as well as the text */ /* 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. /* 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 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; height: 1.5em;
width: 3em; width: 3em;
/* 0.06666em = 2px default */ /* 0.06666em = 2px default */
border: 0.06666em solid #ffffff; border: 0.06666em solid #fff;
/* 0.3em = 9px default */ /* 0.3em = 9px default */
border-radius: 0.3em; border-radius: 0.3em;
} }
@@ -6362,7 +6453,7 @@ blockquote.tweet-xl a {
.video-js .vjs-volume-level, .video-js .vjs-volume-level,
.video-js .vjs-play-progress, .video-js .vjs-play-progress,
.video-js .vjs-slider-bar { .video-js .vjs-slider-bar {
background: #ffffff; background: #fff;
} }
/* The main progress bar also has a bar that shows how much has been loaded. */ /* The main progress bar also has a bar that shows how much has been loaded. */
.video-js .vjs-load-progress { .video-js .vjs-load-progress {
@@ -6576,4 +6667,4 @@ audio {
-webkit-appearance: none; -webkit-appearance: none;
background: red; background: red;
} }
/*# sourceMappingURL=/styles/main.css.map */ /*# sourceMappingURL=styles/main.css.map */

File diff suppressed because one or more lines are too long