django button function vs aesthetic

2016-03-09 Thread clarksonchris81
The following is derived from an old post but I can not seem to get the button to render in the way that I want it to. Any help? I am trying implement bootstrap on an upload button that is on the webpage. class DocumentForm(forms.Form): docfile = forms.FileField(label='Select file')

Re: django: ajax simple loading gif not working/ over-riding render to output page

2016-03-05 Thread clarksonchris81
Thanks very much :) On Friday, March 4, 2016 at 7:32:51 PM UTC, aspe...@gmail.com wrote: > > I'm using nginx + upload_progress module > On the HTML page for progress bar I'm using iframe + ajax > u can find a result here http://fex.cc > > > > > > On Thursday, March 3, 2016 at 9:23:53 PM UTC+2, c

django: ajax simple loading gif not working/ over-riding render to output page

2016-03-03 Thread clarksonchris81
Hoping that this network can help me out even though this is not strictly django-related, otherwise can someone recommend a group other than stack overflow that could help here? I have a functioning upload function implemented in django. The files being handled are large making for a long wai

bootstrap django crispy forms

2016-02-26 Thread clarksonchris81
A simple upload button is proving difficult to implement bootstrap and css on My attempt is as follows: class DocumentForm(forms.Form): docfile = forms.FileField(label='Choose') def __init__(self, *args, **kwargs): # don't particularly know or care about this and the bel

strange upload mechanism clashing with crispy forms styling

2016-02-25 Thread clarksonchris81
The following is a part (the rest being in models an views) of an upload-file mechanism in my forms.py: from crispy_forms.layout import Divclass DocumentForm(forms.Form): docfile = forms.FileField(label='Select a BAM file') Div('docfile', style="background: black;", css_class="col-sm-6 co

strange upload mechanism: CSS not responding

2016-02-25 Thread clarksonchris81
The following is a part of upload-file mechanism in my forms.py: from crispy_forms.layout import Divclass DocumentForm(forms.Form): docfile = forms.FileField(label='Select a BAM file') Div('docfile', style="background: black;", css_class="col-sm-6 col-md-9 col-lg-9") HTML {% crispy fo

django css: general query on CDNs and crispy forms

2016-02-23 Thread clarksonchris81
I have set up a page and have implemented bootstrap using the CDN code that is recommended to access the online bootstrap server: for the CSS: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"; integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGm

crispy form styling of unconventional upload mechanism

2016-02-22 Thread clarksonchris81
I have made an upload form button, that I need to be able to refers to tin my css code such that I can centre it on the web page. However the upload button is not constituted by any bootstrap like "btn" syntax, which is prevalent in example code. Instead is constituted by the following code:

creating temporary storage file in django-media from drop down input

2016-02-17 Thread clarksonchris81
I have managed to configure a system, using django, that allows me to upload a file to my media-folder. I have (using simple-html) included a drop-down menu that will specify parameters that will be considered when processing the uploaded file in a pipeline. {% csrf_token %}

django: drop down menu not displaying on template despite correct syntax

2016-02-16 Thread clarksonchris81
I have successfully configured a way to upload files to a website that I am making. However we would like to include a drop-down menu on the site. However, we want to include in the form of a drop-down menu called "mismatch choice": models.py: for drop-down menu class Mismatche