CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Buttonstyle

by TheoLang » 27 Feb 2016 23:32

Hi,

the FileUpload Button looks complete different to the rest of my user interface.

I can't change the color and i cant set an image. Is their something i can do.
By example make it unvisible and call it from another button.

Regards
Theo
TheoLang
 
Posts: 65
Joined: 07 Jul 2013 20:23

by assapan » 28 Feb 2016 18:52

Hi theo,
Are you sure the form containing the JQFileupdload has the same theme as the rest ? have you specified the Stylesheet or deposit a themeswitcher ?
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by TheoLang » 29 Feb 2016 06:43

Hi,

i don't use themes on buttons, because i find them quite ugly.
I have just white buttons with an image on it.

Regards
Theo
TheoLang
 
Posts: 65
Joined: 07 Jul 2013 20:23

by Jorge Sousa » 29 Feb 2016 18:09

Hello TheoLang

you should load

/ui-.themes/jquery-ui-no-theme.min.css

perhaps in servercontroller.filesheet to afect the whole app.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by TheoLang » 06 Mar 2016 23:13

Hello,

but i don't work with themes on my button.

I have attached you a small picture where you can see what i mean.

Regards
Theo
You do not have the required permissions to view the files attached to this post.
TheoLang
 
Posts: 65
Joined: 07 Jul 2013 20:23

by Jorge Sousa » 08 Mar 2016 16:58

Hello TheoLang

Since we don't have a feature to add an image to file upload

you must set JQFileUpload.Template property yourself with valid html.

By html used by default is:

Code: Select all
<div class="qq-uploader"><div class="qq-upload-drop-area" style="display: none;"><span>Drop files here to upload</span></div><div class="ui-button ui-widget ui-state-default ui-corner-all" style="position: relative; overflow: hidden; direction: ltr;"><span style="height:19px; width:121px; padding: 0 1em; vertical-align: middle; display: table-cell;">Upload a file</span><input type="file" multiple="multiple" data-role="none" name="file" style="position: absolute; right: 0px; top: 0px; font-family: Arial; font-size: 118px; margin: 0px; padding: 0px; cursor: pointer; opacity: 0;"></div><ul class="cg-qq-upload-list"></ul></div>


What really counts is the tag:
<input type="file" multiple="multiple" .... etc....
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQFileUpload

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.