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=6bc3ce1edc1c7fdc4fe49c51f71dac170f81ce37;p=scpubgit%2Fstemmatology.git Integrated uploader and upload dialog. --- diff --git a/stemmaweb/root/css/style.css b/stemmaweb/root/css/style.css index 9606b21..ab699a6 100644 --- a/stemmaweb/root/css/style.css +++ b/stemmaweb/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/stemmaweb/root/js/plupload.html4.js b/stemmaweb/root/js/plupload.html4.js new file mode 100644 index 0000000..b20c88f --- /dev/null +++ b/stemmaweb/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