mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 00:55:27 +00:00
upgrade libs
This commit is contained in:
parent
f12832c61e
commit
b80e848d02
|
@ -1,20 +1,20 @@
|
|||
{
|
||||
"CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit",
|
||||
"creatorBuild": "19076",
|
||||
"creatorBuild": "19102",
|
||||
"files": {
|
||||
"\/css\/dropzone-4.0.1.css": {
|
||||
"\/css\/dropzone-4.2.0.css": {
|
||||
"fileType": 16,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 1,
|
||||
"inputAbbreviatedPath": "\/css\/dropzone-4.0.1.css",
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/css\/dropzone-4.2.0.css",
|
||||
"outputAbbreviatedPath": "No Output Path",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0
|
||||
},
|
||||
"\/css\/font-awesome-4.4.0.min.css": {
|
||||
"fileType": 16,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"ignore": 1,
|
||||
"ignoreWasSetByUser": 1,
|
||||
"inputAbbreviatedPath": "\/css\/font-awesome-4.4.0.min.css",
|
||||
"outputAbbreviatedPath": "No Output Path",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
|
@ -22,8 +22,8 @@
|
|||
},
|
||||
"\/css\/github.min.css": {
|
||||
"fileType": 16,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"ignore": 1,
|
||||
"ignoreWasSetByUser": 1,
|
||||
"inputAbbreviatedPath": "\/css\/github.min.css",
|
||||
"outputAbbreviatedPath": "No Output Path",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
|
@ -47,28 +47,28 @@
|
|||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0
|
||||
},
|
||||
"\/css\/highlight-8.7\/default.css": {
|
||||
"\/css\/highlight-8.9.1\/default.css": {
|
||||
"fileType": 16,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/css\/highlight-8.7\/default.css",
|
||||
"inputAbbreviatedPath": "\/css\/highlight-8.9.1\/default.css",
|
||||
"outputAbbreviatedPath": "No Output Path",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0
|
||||
},
|
||||
"\/css\/highlight-8.7\/github.css": {
|
||||
"\/css\/highlight-8.9.1\/github.css": {
|
||||
"fileType": 16,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/css\/highlight-8.7\/github.css",
|
||||
"inputAbbreviatedPath": "\/css\/highlight-8.9.1\/github.css",
|
||||
"outputAbbreviatedPath": "No Output Path",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0
|
||||
},
|
||||
"\/css\/jquery.datetimepicker-2.4.5.css": {
|
||||
"fileType": 16,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"ignore": 1,
|
||||
"ignoreWasSetByUser": 1,
|
||||
"inputAbbreviatedPath": "\/css\/jquery.datetimepicker-2.4.5.css",
|
||||
"outputAbbreviatedPath": "No Output Path",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
|
@ -76,18 +76,18 @@
|
|||
},
|
||||
"\/css\/jquery.minicolors-2.1.12.css": {
|
||||
"fileType": 16,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"ignore": 1,
|
||||
"ignoreWasSetByUser": 1,
|
||||
"inputAbbreviatedPath": "\/css\/jquery.minicolors-2.1.12.css",
|
||||
"outputAbbreviatedPath": "No Output Path",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0
|
||||
},
|
||||
"\/css\/semantic-2.1.5.min.css": {
|
||||
"\/css\/semantic-2.1.6.min.css": {
|
||||
"fileType": 16,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/css\/semantic-2.1.5.min.css",
|
||||
"ignore": 1,
|
||||
"ignoreWasSetByUser": 1,
|
||||
"inputAbbreviatedPath": "\/css\/semantic-2.1.6.min.css",
|
||||
"outputAbbreviatedPath": "No Output Path",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0
|
||||
|
@ -189,7 +189,7 @@
|
|||
"outputAbbreviatedPath": "\/img\/slack.png",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0,
|
||||
"processed": 0
|
||||
"processed": 1
|
||||
},
|
||||
"\/js\/gogs.js": {
|
||||
"fileType": 64,
|
||||
|
@ -204,8 +204,8 @@
|
|||
},
|
||||
"\/js\/jquery-1.11.3.min.js": {
|
||||
"fileType": 64,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"ignore": 1,
|
||||
"ignoreWasSetByUser": 1,
|
||||
"inputAbbreviatedPath": "\/js\/jquery-1.11.3.min.js",
|
||||
"outputAbbreviatedPath": "\/js\/min\/jquery-1.11.3.min-min.js",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
|
@ -213,100 +213,12 @@
|
|||
"outputStyle": 1,
|
||||
"syntaxCheckerStyle": 1
|
||||
},
|
||||
"\/js\/libs\/clipboard-1.5.3.min.js": {
|
||||
"fileType": 64,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/js\/libs\/clipboard-1.5.3.min.js",
|
||||
"outputAbbreviatedPath": "\/js\/libs\/min\/clipboard-1.5.3.min-min.js",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0,
|
||||
"outputStyle": 1,
|
||||
"syntaxCheckerStyle": 1
|
||||
},
|
||||
"\/js\/libs\/dropzone-4.0.1.js": {
|
||||
"fileType": 64,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/js\/libs\/dropzone-4.0.1.js",
|
||||
"outputAbbreviatedPath": "\/js\/libs\/min\/dropzone-4.0.1-min.js",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0,
|
||||
"outputStyle": 1,
|
||||
"syntaxCheckerStyle": 1
|
||||
},
|
||||
"\/js\/libs\/emojify-1.1.0.min.js": {
|
||||
"fileType": 64,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/js\/libs\/emojify-1.1.0.min.js",
|
||||
"outputAbbreviatedPath": "\/js\/libs\/min\/emojify-1.1.0.min-min.js",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0,
|
||||
"outputStyle": 1,
|
||||
"syntaxCheckerStyle": 1
|
||||
},
|
||||
"\/js\/libs\/highlight-8.7.pack.js": {
|
||||
"fileType": 64,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/js\/libs\/highlight-8.7.pack.js",
|
||||
"outputAbbreviatedPath": "\/js\/libs\/min\/highlight-8.7.pack-min.js",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0,
|
||||
"outputStyle": 1,
|
||||
"syntaxCheckerStyle": 1
|
||||
},
|
||||
"\/js\/libs\/jquery.datetimepicker-2.4.5.js": {
|
||||
"fileType": 64,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/js\/libs\/jquery.datetimepicker-2.4.5.js",
|
||||
"outputAbbreviatedPath": "\/js\/libs\/min\/jquery.datetimepicker-2.4.5-min.js",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0,
|
||||
"outputStyle": 1,
|
||||
"syntaxCheckerStyle": 1
|
||||
},
|
||||
"\/js\/libs\/jquery.minicolors-2.1.12.min.js": {
|
||||
"fileType": 64,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/js\/libs\/jquery.minicolors-2.1.12.min.js",
|
||||
"outputAbbreviatedPath": "\/js\/libs\/min\/jquery.minicolors-2.1.12.min-min.js",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0,
|
||||
"outputStyle": 1,
|
||||
"syntaxCheckerStyle": 1
|
||||
},
|
||||
"\/js\/libs\/jquery.minicolors.png": {
|
||||
"fileType": 32768,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"initialSize": 77459,
|
||||
"inputAbbreviatedPath": "\/js\/libs\/jquery.minicolors.png",
|
||||
"outputAbbreviatedPath": "\/js\/libs\/jquery.minicolors.png",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0,
|
||||
"processed": 0
|
||||
},
|
||||
"\/js\/min\/gogs-min.js": {
|
||||
"\/js\/semantic-2.1.6.min.js": {
|
||||
"fileType": 64,
|
||||
"ignore": 1,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/js\/min\/gogs-min.js",
|
||||
"outputAbbreviatedPath": "\/js\/min\/min\/gogs-min-min.js",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0,
|
||||
"outputStyle": 1,
|
||||
"syntaxCheckerStyle": 1
|
||||
},
|
||||
"\/js\/semantic-2.1.5.min.js": {
|
||||
"fileType": 64,
|
||||
"ignore": 0,
|
||||
"ignoreWasSetByUser": 0,
|
||||
"inputAbbreviatedPath": "\/js\/semantic-2.1.5.min.js",
|
||||
"outputAbbreviatedPath": "\/js\/min\/semantic-2.1.5.min-min.js",
|
||||
"ignoreWasSetByUser": 1,
|
||||
"inputAbbreviatedPath": "\/js\/semantic-2.1.6.min.js",
|
||||
"outputAbbreviatedPath": "\/js\/min\/semantic-2.1.6.min-min.js",
|
||||
"outputPathIsOutsideProject": 0,
|
||||
"outputPathIsSetByUser": 0,
|
||||
"outputStyle": 1,
|
||||
|
@ -1328,10 +1240,18 @@
|
|||
"active": 0,
|
||||
"flagValue": -1
|
||||
},
|
||||
"no_nested_string_interpolation": {
|
||||
"active": 1,
|
||||
"flagValue": -1
|
||||
},
|
||||
"no_plusplus": {
|
||||
"active": 0,
|
||||
"flagValue": -1
|
||||
},
|
||||
"no_private_function_fat_arrows": {
|
||||
"active": 1,
|
||||
"flagValue": -1
|
||||
},
|
||||
"no_stand_alone_at": {
|
||||
"active": 1,
|
||||
"flagValue": -1
|
||||
|
@ -1340,6 +1260,10 @@
|
|||
"active": 1,
|
||||
"flagValue": -1
|
||||
},
|
||||
"no_this": {
|
||||
"active": 0,
|
||||
"flagValue": -1
|
||||
},
|
||||
"no_throwing_strings": {
|
||||
"active": 1,
|
||||
"flagValue": -1
|
||||
|
@ -1823,7 +1747,7 @@
|
|||
"sassUseLibsass": 0,
|
||||
"shouldRunAutoprefixer": 0,
|
||||
"shouldRunBless": 0,
|
||||
"skippedItemsString": "_cache, logs, _logs, cache, \/img\/emoji, .git, log, node_modules, .svn, .hg",
|
||||
"skippedItemsString": "_cache, logs, _logs, cache, \/img\/emoji, .git, log, node_modules, \/js\/libs, .svn, .hg",
|
||||
"slimAutoOutputPathEnabled": 1,
|
||||
"slimAutoOutputPathFilenamePattern": "*.html",
|
||||
"slimAutoOutputPathRelativePath": "",
|
||||
|
|
0
public/css/dropzone-4.0.1.css → public/css/dropzone-4.2.0.css
Normal file → Executable file
0
public/css/dropzone-4.0.1.css → public/css/dropzone-4.2.0.css
Normal file → Executable file
|
@ -1,98 +0,0 @@
|
|||
/*
|
||||
|
||||
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
||||
|
||||
*/
|
||||
|
||||
.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 0.5em;
|
||||
color: #333;
|
||||
background: #f8f8f8;
|
||||
}
|
||||
|
||||
.hljs-comment,
|
||||
.hljs-quote {
|
||||
color: #998;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.hljs-keyword,
|
||||
.hljs-selector-tag,
|
||||
.hljs-subst {
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-number,
|
||||
.hljs-literal,
|
||||
.hljs-variable,
|
||||
.hljs-template-variable,
|
||||
.hljs-tag .hljs-attr {
|
||||
color: #008080;
|
||||
}
|
||||
|
||||
.hljs-string,
|
||||
.hljs-doctag {
|
||||
color: #d14;
|
||||
}
|
||||
|
||||
.hljs-title,
|
||||
.hljs-section,
|
||||
.hljs-selector-id {
|
||||
color: #900;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-subst {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.hljs-type,
|
||||
.hljs-class .hljs-title {
|
||||
color: #458;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-tag,
|
||||
.hljs-name,
|
||||
.hljs-attribute {
|
||||
color: #000080;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.hljs-regexp,
|
||||
.hljs-link {
|
||||
color: #009926;
|
||||
}
|
||||
|
||||
.hljs-symbol,
|
||||
.hljs-bullet {
|
||||
color: #990073;
|
||||
}
|
||||
|
||||
.hljs-built_in {
|
||||
color: #0086b3;
|
||||
}
|
||||
|
||||
.hljs-meta {
|
||||
color: #999;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-deletion {
|
||||
background: #fdd;
|
||||
}
|
||||
|
||||
.hljs-addition {
|
||||
background: #dfd;
|
||||
}
|
||||
|
||||
.hljs-emphasis {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.hljs-strong {
|
||||
font-weight: bold;
|
||||
}
|
123
public/css/highlight-8.9.1/github.css
Normal file
123
public/css/highlight-8.9.1/github.css
Normal file
|
@ -0,0 +1,123 @@
|
|||
/*
|
||||
|
||||
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
||||
|
||||
*/
|
||||
|
||||
.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 0.5em;
|
||||
color: #333;
|
||||
background: #f8f8f8;
|
||||
-webkit-text-size-adjust: none;
|
||||
}
|
||||
|
||||
.hljs-comment,
|
||||
.diff .hljs-header {
|
||||
color: #998;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.hljs-keyword,
|
||||
.css .rule .hljs-keyword,
|
||||
.hljs-winutils,
|
||||
.nginx .hljs-title,
|
||||
.hljs-subst,
|
||||
.hljs-request,
|
||||
.hljs-status {
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-number,
|
||||
.hljs-hexcolor,
|
||||
.ruby .hljs-constant {
|
||||
color: #008080;
|
||||
}
|
||||
|
||||
.hljs-string,
|
||||
.hljs-tag .hljs-value,
|
||||
.hljs-doctag,
|
||||
.tex .hljs-formula {
|
||||
color: #d14;
|
||||
}
|
||||
|
||||
.hljs-title,
|
||||
.hljs-id,
|
||||
.scss .hljs-preprocessor {
|
||||
color: #900;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-list .hljs-keyword,
|
||||
.hljs-subst {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.hljs-class .hljs-title,
|
||||
.hljs-type,
|
||||
.vhdl .hljs-literal,
|
||||
.tex .hljs-command {
|
||||
color: #458;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-tag,
|
||||
.hljs-tag .hljs-title,
|
||||
.hljs-rule .hljs-property,
|
||||
.django .hljs-tag .hljs-keyword {
|
||||
color: #000080;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.hljs-attribute,
|
||||
.hljs-variable,
|
||||
.lisp .hljs-body,
|
||||
.hljs-name {
|
||||
color: #008080;
|
||||
}
|
||||
|
||||
.hljs-regexp {
|
||||
color: #009926;
|
||||
}
|
||||
|
||||
.hljs-symbol,
|
||||
.ruby .hljs-symbol .hljs-string,
|
||||
.lisp .hljs-keyword,
|
||||
.clojure .hljs-keyword,
|
||||
.scheme .hljs-keyword,
|
||||
.tex .hljs-special,
|
||||
.hljs-prompt {
|
||||
color: #990073;
|
||||
}
|
||||
|
||||
.hljs-built_in {
|
||||
color: #0086b3;
|
||||
}
|
||||
|
||||
.hljs-preprocessor,
|
||||
.hljs-pragma,
|
||||
.hljs-pi,
|
||||
.hljs-doctype,
|
||||
.hljs-shebang,
|
||||
.hljs-cdata {
|
||||
color: #999;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-deletion {
|
||||
background: #fdd;
|
||||
}
|
||||
|
||||
.hljs-addition {
|
||||
background: #dfd;
|
||||
}
|
||||
|
||||
.diff .hljs-change {
|
||||
background: #0086b3;
|
||||
}
|
||||
|
||||
.hljs-chunk {
|
||||
color: #aaa;
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* # Semantic UI - 2.1.5
|
||||
* # Semantic UI - 2.1.6
|
||||
* https://github.com/Semantic-Org/Semantic-UI
|
||||
* http://www.semantic-ui.com/
|
||||
*
|
7
public/js/libs/clipboard-1.5.3.min.js
vendored
7
public/js/libs/clipboard-1.5.3.min.js
vendored
File diff suppressed because one or more lines are too long
7
public/js/libs/clipboard-1.5.5.min.js
vendored
Executable file
7
public/js/libs/clipboard-1.5.5.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
42
public/js/libs/dropzone-4.0.1.js → public/js/libs/dropzone-4.2.0.js
Normal file → Executable file
42
public/js/libs/dropzone-4.0.1.js → public/js/libs/dropzone-4.2.0.js
Normal file → Executable file
|
@ -111,7 +111,7 @@
|
|||
dropzone.on("dragEnter", function() { });
|
||||
*/
|
||||
|
||||
Dropzone.prototype.events = ["drop", "dragstart", "dragend", "dragenter", "dragover", "dragleave", "addedfile", "removedfile", "thumbnail", "error", "errormultiple", "processing", "processingmultiple", "uploadprogress", "totaluploadprogress", "sending", "sendingmultiple", "success", "successmultiple", "canceled", "canceledmultiple", "complete", "completemultiple", "reset", "maxfilesexceeded", "maxfilesreached", "queuecomplete"];
|
||||
Dropzone.prototype.events = ["drop", "dragstart", "dragend", "dragenter", "dragover", "dragleave", "addedfile", "addedfiles", "removedfile", "thumbnail", "error", "errormultiple", "processing", "processingmultiple", "uploadprogress", "totaluploadprogress", "sending", "sendingmultiple", "success", "successmultiple", "canceled", "canceledmultiple", "complete", "completemultiple", "reset", "maxfilesexceeded", "maxfilesreached", "queuecomplete"];
|
||||
|
||||
Dropzone.prototype.defaultOptions = {
|
||||
url: null,
|
||||
|
@ -127,7 +127,6 @@
|
|||
thumbnailHeight: 120,
|
||||
filesizeBase: 1000,
|
||||
maxFiles: null,
|
||||
filesizeBase: 1000,
|
||||
params: {},
|
||||
clickable: true,
|
||||
ignoreHiddenFiles: true,
|
||||
|
@ -137,6 +136,7 @@
|
|||
autoQueue: true,
|
||||
addRemoveLinks: false,
|
||||
previewsContainer: null,
|
||||
hiddenInputContainer: "body",
|
||||
capture: null,
|
||||
dictDefaultMessage: "Drop files here to upload",
|
||||
dictFallbackMessage: "Your browser does not support drag'n'drop file uploads.",
|
||||
|
@ -174,7 +174,11 @@
|
|||
}
|
||||
span = messageElement.getElementsByTagName("span")[0];
|
||||
if (span) {
|
||||
if (span.textContent != null) {
|
||||
span.textContent = this.options.dictFallbackMessage;
|
||||
} else if (span.innerText != null) {
|
||||
span.innerText = this.options.dictFallbackMessage;
|
||||
}
|
||||
}
|
||||
return this.element.appendChild(this.getFallbackForm());
|
||||
},
|
||||
|
@ -387,6 +391,7 @@
|
|||
maxfilesexceeded: noop,
|
||||
maxfilesreached: noop,
|
||||
queuecomplete: noop,
|
||||
addedfiles: noop,
|
||||
previewTemplate: "<div class=\"dz-preview dz-file-preview\">\n <div class=\"dz-image\"><img data-dz-thumbnail /></div>\n <div class=\"dz-details\">\n <div class=\"dz-size\"><span data-dz-size></span></div>\n <div class=\"dz-filename\"><span data-dz-name></span></div>\n </div>\n <div class=\"dz-progress\"><span class=\"dz-upload\" data-dz-uploadprogress></span></div>\n <div class=\"dz-error-message\"><span data-dz-errormessage></span></div>\n <div class=\"dz-success-mark\">\n <svg width=\"54px\" height=\"54px\" viewBox=\"0 0 54 54\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:sketch=\"http://www.bohemiancoding.com/sketch/ns\">\n <title>Check</title>\n <defs></defs>\n <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" sketch:type=\"MSPage\">\n <path d=\"M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z\" id=\"Oval-2\" stroke-opacity=\"0.198794158\" stroke=\"#747474\" fill-opacity=\"0.816519475\" fill=\"#FFFFFF\" sketch:type=\"MSShapeGroup\"></path>\n </g>\n </svg>\n </div>\n <div class=\"dz-error-mark\">\n <svg width=\"54px\" height=\"54px\" viewBox=\"0 0 54 54\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:sketch=\"http://www.bohemiancoding.com/sketch/ns\">\n <title>Error</title>\n <defs></defs>\n <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" sketch:type=\"MSPage\">\n <g id=\"Check-+-Oval-2\" sketch:type=\"MSLayerGroup\" stroke=\"#747474\" stroke-opacity=\"0.198794158\" fill=\"#FFFFFF\" fill-opacity=\"0.816519475\">\n <path d=\"M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z\" id=\"Oval-2\" sketch:type=\"MSShapeGroup\"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>"
|
||||
};
|
||||
|
||||
|
@ -508,6 +513,10 @@
|
|||
return this.getFilesWithStatus(Dropzone.UPLOADING);
|
||||
};
|
||||
|
||||
Dropzone.prototype.getAddedFiles = function() {
|
||||
return this.getFilesWithStatus(Dropzone.ADDED);
|
||||
};
|
||||
|
||||
Dropzone.prototype.getActiveFiles = function() {
|
||||
var file, _i, _len, _ref, _results;
|
||||
_ref = this.files;
|
||||
|
@ -533,7 +542,7 @@
|
|||
setupHiddenFileInput = (function(_this) {
|
||||
return function() {
|
||||
if (_this.hiddenFileInput) {
|
||||
document.body.removeChild(_this.hiddenFileInput);
|
||||
_this.hiddenFileInput.parentNode.removeChild(_this.hiddenFileInput);
|
||||
}
|
||||
_this.hiddenFileInput = document.createElement("input");
|
||||
_this.hiddenFileInput.setAttribute("type", "file");
|
||||
|
@ -553,7 +562,7 @@
|
|||
_this.hiddenFileInput.style.left = "0";
|
||||
_this.hiddenFileInput.style.height = "0";
|
||||
_this.hiddenFileInput.style.width = "0";
|
||||
document.body.appendChild(_this.hiddenFileInput);
|
||||
document.querySelector(_this.options.hiddenInputContainer).appendChild(_this.hiddenFileInput);
|
||||
return _this.hiddenFileInput.addEventListener("change", function() {
|
||||
var file, files, _i, _len;
|
||||
files = _this.hiddenFileInput.files;
|
||||
|
@ -563,6 +572,7 @@
|
|||
_this.addFile(file);
|
||||
}
|
||||
}
|
||||
_this.emit("addedfiles", files);
|
||||
return setupHiddenFileInput();
|
||||
});
|
||||
};
|
||||
|
@ -592,7 +602,7 @@
|
|||
})(this));
|
||||
this.on("complete", (function(_this) {
|
||||
return function(file) {
|
||||
if (_this.getUploadingFiles().length === 0 && _this.getQueuedFiles().length === 0) {
|
||||
if (_this.getAddedFiles().length === 0 && _this.getUploadingFiles().length === 0 && _this.getQueuedFiles().length === 0) {
|
||||
return setTimeout((function() {
|
||||
return _this.emit("queuecomplete");
|
||||
}), 0);
|
||||
|
@ -659,8 +669,9 @@
|
|||
events: {
|
||||
"click": function(evt) {
|
||||
if ((clickableElement !== _this.element) || (evt.target === _this.element || Dropzone.elementInside(evt.target, _this.element.querySelector(".dz-message")))) {
|
||||
return _this.hiddenFileInput.click();
|
||||
_this.hiddenFileInput.click();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -814,8 +825,10 @@
|
|||
|
||||
Dropzone.prototype.filesize = function(size) {
|
||||
var cutoff, i, selectedSize, selectedUnit, unit, units, _i, _len;
|
||||
selectedSize = 0;
|
||||
selectedUnit = "b";
|
||||
if (size > 0) {
|
||||
units = ['TB', 'GB', 'MB', 'KB', 'b'];
|
||||
selectedSize = selectedUnit = null;
|
||||
for (i = _i = 0, _len = units.length; _i < _len; i = ++_i) {
|
||||
unit = units[i];
|
||||
cutoff = Math.pow(this.options.filesizeBase, 4 - i) / 10;
|
||||
|
@ -826,6 +839,7 @@
|
|||
}
|
||||
}
|
||||
selectedSize = Math.round(10 * selectedSize) / 10;
|
||||
}
|
||||
return "<strong>" + selectedSize + "</strong> " + selectedUnit;
|
||||
};
|
||||
|
||||
|
@ -847,6 +861,7 @@
|
|||
}
|
||||
this.emit("drop", e);
|
||||
files = e.dataTransfer.files;
|
||||
this.emit("addedfiles", files);
|
||||
if (files.length) {
|
||||
items = e.dataTransfer.items;
|
||||
if (items && items.length && (items[0].webkitGetAsEntry != null)) {
|
||||
|
@ -1067,9 +1082,12 @@
|
|||
return fileReader.readAsDataURL(file);
|
||||
};
|
||||
|
||||
Dropzone.prototype.createThumbnailFromUrl = function(file, imageUrl, callback) {
|
||||
Dropzone.prototype.createThumbnailFromUrl = function(file, imageUrl, callback, crossOrigin) {
|
||||
var img;
|
||||
img = document.createElement("img");
|
||||
if (crossOrigin) {
|
||||
img.crossOrigin = crossOrigin;
|
||||
}
|
||||
img.onload = (function(_this) {
|
||||
return function() {
|
||||
var canvas, ctx, resizeInfo, thumbnail, _ref, _ref1, _ref2, _ref3;
|
||||
|
@ -1305,8 +1323,10 @@
|
|||
}
|
||||
for (headerName in headers) {
|
||||
headerValue = headers[headerName];
|
||||
if (headerValue) {
|
||||
xhr.setRequestHeader(headerName, headerValue);
|
||||
}
|
||||
}
|
||||
formData = new FormData();
|
||||
if (this.options.params) {
|
||||
_ref1 = this.options.params;
|
||||
|
@ -1344,6 +1364,10 @@
|
|||
for (i = _m = 0, _ref5 = files.length - 1; 0 <= _ref5 ? _m <= _ref5 : _m >= _ref5; i = 0 <= _ref5 ? ++_m : --_m) {
|
||||
formData.append(this._getParamName(i), files[i], files[i].name);
|
||||
}
|
||||
return this.submitRequest(xhr, formData, files);
|
||||
};
|
||||
|
||||
Dropzone.prototype.submitRequest = function(xhr, formData, files) {
|
||||
return xhr.send(formData);
|
||||
};
|
||||
|
||||
|
@ -1385,7 +1409,7 @@
|
|||
|
||||
})(Emitter);
|
||||
|
||||
Dropzone.version = "4.0.1";
|
||||
Dropzone.version = "4.2.0";
|
||||
|
||||
Dropzone.options = {};
|
||||
|
File diff suppressed because one or more lines are too long
3
public/js/libs/highlight-8.9.1.pack.js
Normal file
3
public/js/libs/highlight-8.9.1.pack.js
Normal file
File diff suppressed because one or more lines are too long
1
public/js/min/gogs-min.js
vendored
1
public/js/min/gogs-min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -182,7 +182,7 @@ func Home(ctx *middleware.Context) {
|
|||
ctx.Data["ReadmeInList"] = true
|
||||
ctx.Data["ReadmeExist"] = true
|
||||
if dataRc, err := readmeFile.Data(); err != nil {
|
||||
ctx.Handle(404, "repo.SinglereadmeFile.LookupBlob", err)
|
||||
ctx.Handle(404, "repo.SinglereadmeFile.Data", err)
|
||||
return
|
||||
} else {
|
||||
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
<!-- Third-party libraries -->
|
||||
{{if .RequireHighlightJS}}
|
||||
<link rel="stylesheet" href="{{AppSubUrl}}/css/highlight-8.7/github.css">
|
||||
<script src="{{AppSubUrl}}/js/libs/highlight-8.7.pack.js"></script>
|
||||
<link rel="stylesheet" href="{{AppSubUrl}}/css/highlight-8.9.1/github.css">
|
||||
<script src="{{AppSubUrl}}/js/libs/highlight-8.9.1.pack.js"></script>
|
||||
{{end}}
|
||||
{{if .RequireMinicolors}}
|
||||
<link rel="stylesheet" href="{{AppSubUrl}}/css/jquery.minicolors-2.1.12.css">
|
||||
|
@ -40,10 +40,10 @@
|
|||
<script src="{{AppSubUrl}}/js/libs/jquery.datetimepicker-2.4.5.js"></script>
|
||||
{{end}}
|
||||
{{if .RequireDropzone}}
|
||||
<link rel="stylesheet" href="{{AppSubUrl}}/css/dropzone-4.0.1.css">
|
||||
<script src="{{AppSubUrl}}/js/libs/dropzone-4.0.1.js"></script>
|
||||
<link rel="stylesheet" href="{{AppSubUrl}}/css/dropzone-4.2.0.css">
|
||||
<script src="{{AppSubUrl}}/js/libs/dropzone-4.2.0.js"></script>
|
||||
{{end}}
|
||||
<script src="{{AppSubUrl}}/js/libs/emojify-1.1.0.min.js"></script>
|
||||
<script src="{{AppSubUrl}}/js/libs/clipboard-1.5.3.min.js"></script>
|
||||
<script src="{{AppSubUrl}}/js/libs/clipboard-1.5.5.min.js"></script>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
<link rel="stylesheet" href="{{AppSubUrl}}/css/font-awesome-4.4.0.min.css">
|
||||
|
||||
<!-- Stylesheet -->
|
||||
<link rel="stylesheet" href="{{AppSubUrl}}/css/semantic-2.1.5.min.css">
|
||||
<link rel="stylesheet" href="{{AppSubUrl}}/css/semantic-2.1.6.min.css">
|
||||
<link rel="stylesheet" href="{{AppSubUrl}}/css/gogs.css?v={{AppVer}}">
|
||||
|
||||
<!-- JavaScript -->
|
||||
<script src="{{AppSubUrl}}/js/semantic-2.1.5.min.js"></script>
|
||||
<script src="{{AppSubUrl}}/js/semantic-2.1.6.min.js"></script>
|
||||
<script src="{{AppSubUrl}}/js/gogs.js?v={{AppVer}}"></script>
|
||||
|
||||
<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
|
||||
|
|
Loading…
Reference in a new issue