1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Feature #992: File input style fixes

(cherry picked from commit 73ab3a7889c950a4be8b8ccc64020cca733f1eb2)
This commit is contained in:
Hector Sanjuan 2012-01-04 13:10:44 +01:00 committed by Ruben S. Montero
parent 9435524219
commit 7becd47d60

View File

@ -73,11 +73,10 @@ var create_image_tmpl =
<div class="tip">'+tr("Type of file system to be built. This can be any value understood by mkfs unix command.")+'</div>\
</div>\
<div class="img_param" id="upload_div">\
<label for="file-uploader" style="width: 60px">'+tr("Upload image")+':</label>\
<div id="file-uploader">\
<label for="file-uploader" style="width:300px;height:2em;">'+tr("Select image to upload")+':</label><br /><div class="clear"/>\
<div id="file-uploader" style="padding:0 1em;">\
</div><div class="clear" />\
<label for="upload-progress">'+tr("Upload progress")+':</label>\
<div id="upload-progress"></div>\
<div id="upload-progress" style="margin-left:1em;"></div>\
</div>\
<!--\
<div class="img_param">\
@ -460,7 +459,7 @@ function popUpCreateImageDialog(){
border: "1px solid #AAAAAA",
position: "relative",
// bottom: "29px",
width: "210px",
width: "258px",
// left: "133px",
height: "15px",
display: "inline-block",
@ -506,6 +505,7 @@ function popUpCreateImageDialog(){
};
$('#file-uploader input').removeAttr("style");
$('#file-uploader input').attr('style','margin:0;width:256px!important');
var processCreateImageForm = function(){
var dialog = $create_image_dialog;