Updated css and progress bar
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@119687 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
107a56c481
commit
bc20a1e6ca
|
@ -19,7 +19,7 @@
|
||||||
font: 13px/20px 'Lucida Grande', Tahoma, Verdana, sans-serif;
|
font: 13px/20px 'Lucida Grande', Tahoma, Verdana, sans-serif;
|
||||||
color: #404040;
|
color: #404040;
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
width: 310px;
|
width: 320px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bar-container > div {
|
.bar-container > div {
|
||||||
|
|
|
@ -51,7 +51,7 @@ public class UploaderProgressView {
|
||||||
cancelImg = WorkspaceUploaderResources.getImageCancel();
|
cancelImg = WorkspaceUploaderResources.getImageCancel();
|
||||||
cancelImg.setTitle("Cancel upload");
|
cancelImg.setTitle("Cancel upload");
|
||||||
cancelImg.addStyleName("cancel-upload");
|
cancelImg.addStyleName("cancel-upload");
|
||||||
// hpBar.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
|
hpBar.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
|
||||||
hp.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
|
hp.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
|
||||||
|
|
||||||
String text = "<div><img src='"+WorkspaceUploaderResources.getImageLoading().getUrl()+"'>";
|
String text = "<div><img src='"+WorkspaceUploaderResources.getImageLoading().getUrl()+"'>";
|
||||||
|
@ -151,7 +151,7 @@ public class UploaderProgressView {
|
||||||
else
|
else
|
||||||
descr = uploader.getStatusDescription();
|
descr = uploader.getStatusDescription();
|
||||||
|
|
||||||
text+="<span style='margin-left:5px; vertical-align: top;'>"+descr+"</span>";
|
text+="<span style='margin-left:5px; vertical-align: top;'>"+StringUtil.ellipsize(descr, MAX_CHARS, 0)+"</span></div>";
|
||||||
text+="</div>";
|
text+="</div>";
|
||||||
// GWT.log(text);
|
// GWT.log(text);
|
||||||
html.setHTML(text);
|
html.setHTML(text);
|
||||||
|
|
Loading…
Reference in New Issue