From d4252e2b2051be94a0043d418cff46d528e80a25 Mon Sep 17 00:00:00 2001 From: Uvis Grinfelds Date: Sat, 8 Nov 2014 14:58:20 +0100 Subject: [PATCH] added promt for quiting while uploading --- Gruntfile.js | 6 +- transfersh-server/static/download.code.html | 134 +++++++++++++++ transfersh-server/static/download.html | 134 ++++++--------- transfersh-server/static/download.image.html | 113 ++++++++++++- transfersh-server/static/download.md.html | 81 ++++++---- .../static/images/terminal-top.svg | 10 +- transfersh-server/static/images/tor.svg | 6 + .../static/includes/download-btn.html | 10 ++ transfersh-server/static/includes/footer.html | 42 ++++- transfersh-server/static/includes/js.html | 2 +- .../static/includes/navigation.html | 15 ++ transfersh-server/static/index.html | 152 +++++++++++------- transfersh-server/static/scripts/main.js | 2 +- transfersh-server/static/styles/main.css | 2 +- transfersh-web/index.html | 3 +- transfersh-web/scripts/main.js | 6 + 16 files changed, 522 insertions(+), 196 deletions(-) create mode 100644 transfersh-server/static/download.code.html create mode 100644 transfersh-server/static/images/tor.svg create mode 100644 transfersh-server/static/includes/download-btn.html create mode 100644 transfersh-server/static/includes/navigation.html diff --git a/Gruntfile.js b/Gruntfile.js index dca2f64..bc3854c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -287,15 +287,17 @@ module.exports = function (grunt) { grunt.registerTask('build', [ 'clean:dist', + 'copy:server', 'useminPrepare', 'concurrent', - 'includes:build', 'cssmin', 'concat', + 'includes:build', 'uglify', 'copy', - 'usemin' + 'usemin', + ]); grunt.registerTask('default', [ diff --git a/transfersh-server/static/download.code.html b/transfersh-server/static/download.code.html new file mode 100644 index 0000000..2905cc6 --- /dev/null +++ b/transfersh-server/static/download.code.html @@ -0,0 +1,134 @@ + + + + + + + + + + + + {{.Filename}} - transfer.sh + + + + + + + + + + + + + + + + +
+
+

+ {{.Filename}}

+ +
+
+
+ +
+
+
+
+ + + +
+ +
+ +
+ copy link    + download + +
+
+ + +
+ + + + + + + + + + + + + + + + diff --git a/transfersh-server/static/download.html b/transfersh-server/static/download.html index 8f24990..6218952 100644 --- a/transfersh-server/static/download.html +++ b/transfersh-server/static/download.html @@ -14,14 +14,12 @@ - - - - + + - + -