From: Joris van Zundert Date: Fri, 31 Aug 2012 20:04:19 +0000 (+0200) Subject: Integrated uploader and upload dialog. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5cc32d4764cbf2c5e58012d91ebf5e9dea973aba;p=scpubgit%2Fstemmaweb.git Integrated uploader and upload dialog. --- diff --git a/root/css/style.css b/root/css/style.css index 9606b21..ab699a6 100644 --- a/root/css/style.css +++ b/root/css/style.css @@ -136,8 +136,22 @@ div.button:hover span { #textinfo_container_buttons { float: right; } -#run_stexaminer, #run_relater, #stemma_pager { +#run_stexaminer, #run_relater, #stemma_pager, #add_edit_stemma { height: 30px; left: -10px; position: relative; } +#upload-collation-dialog { + overflow: hidden; +} +.uploadfile { + font-weight: bold; +} +#uploadfile_label { + font-weight: normal; +} +#filelist { + position: relative; + top: 10px; + margin-bottom: 24px; +} diff --git a/root/js/plupload.html4.js b/root/js/plupload.html4.js new file mode 100644 index 0000000..b20c88f --- /dev/null +++ b/root/js/plupload.html4.js @@ -0,0 +1 @@ +(function(d,a,b,c){function e(f){return a.getElementById(f)}b.runtimes.Html4=b.addRuntime("html4",{getFeatures:function(){return{multipart:true,triggerDialog:(b.ua.gecko&&d.FormData||b.ua.webkit)}},init:function(f,g){f.bind("Init",function(p){var j=a.body,n,h="javascript",k,x,q,z=[],r=/MSIE/.test(navigator.userAgent),t=[],m=p.settings.filters,o,l,s,w;no_type_restriction:for(o=0;o