I do not want to the default forms styling in the Zurb Foundation css framework.
What's the easiest way to remove it from Foundation 6?
i replaced the default Foundation library (for my webframework foundation-rails gem) with a custom one from http://foundation.zurb.com/sites/download.html/#customizeFoundation without forms included
Related
I'm building a website with django and i'm using uikit 3 as front-end framework is there any way to style django-crispy-forms with uikit ?
with bootstrap i can just put this line on settings file :
CRISPY_TEMPLATE_PACK = 'bootstrap4'
is their any option like this to use uikit ?
You should always check the documentation of the packages you use:
https://django-crispy-forms.readthedocs.io/en/latest/install.html#template-packs
Since version 1.1.0, django-crispy-forms has built-in support for
different CSS frameworks, known as template packs within
django-crispy-forms:
bootstrap Bootstrap is crispy-forms’s default template pack, version 2 of the popular simple and flexible HTML, CSS, and Javascript
for user interfaces from Twitter.
bootstrap3 Twitter Bootstrap version 3.
bootstrap4 Alpha support for Twitter Bootstrap version 4, which is still in Alpha.
uni-form Uni-form is a nice looking, well structured, highly customizable, accessible and usable forms.
foundation Foundation In the creator’s words, “The most advanced responsive front-end framework in the world.” This template pack is
externally available through crispy-forms-foundation
I have used Foundation 4 with Custom Forms before and they work great. With Foundation 5 however I am unable to understand how to use them. Need help!
Going to the URL: http://foundation.zurb.com/stencils.html it gives strange guide on using it which I am not able to understand.
Stensils is a set of tools that helps you to quickly create interfaces in OmniGraffle.
More inforamation about OmniGraffle, here:
http://www.omnigroup.com/omnigraffle
If you need to create some custom forms for web, better to look here:
http://foundation.zurb.com/docs/components/forms.html
As you can see at
http://foundation.zurb.com/docs/upgrading.html#upgrading-the-sass
#import "foundation/components/sections";
#import "foundation/components/custom-forms";
have both been removed from the foundation framework. If you are looking to continue using custom forms as defined in Foundation 4 and as described in their official documentation
http://foundation.zurb.com/docs/v/4.3.2/components/custom-forms.html
Then you should probably switch back to Foundation 4.
As an alternative, you could always use CSS3 and pseudo elements to style the checkboxes and or radio buttons without having to use a javascript plugin to do it.
I decided that I wanted to use twitter bootstrap for a potential website I want to make. However, I am still learning web development. I was wondering if someone could give me and explanation of what Crispy forms has to offer. I've been reading and I believe that it has twitter bootstrap embedded in it? I was wondering which would be a better choice to pick. This might be a bad question to ask but I'm quite confused. Are there pros and cons to picking either?
Twitter bootstrap is something completely different than crispy-forms:
Twitter bootstrap is a CSS and Javascript presentation framework. You can use it to generate your html pages from any framework, not just Django! You can use it to define how your html will be layout in a grid and also it has styles for a number of html components.
Crispy-forms is a Django application that can be used to create better layouts for forms. What it does is that you can define programatically how you want your form to be rendered (instead of doing it in the template with html). You should use it if you want to have really nice looking forms without too much hassle.
The only relation between the two is that crispy-forms actually can render your form using bootstrap layout, meaning that the styles and classes etc of your rendered html form will be following the concepts of the bootstrap framework. I am copying from here http://django-crispy-forms.readthedocs.org/en/latest/install.html#template-packs:
Since version 1.1.0 of django-crispy-forms has built-in support for different CSS frameworks, known as template packs within django-crispy-forms:
* bootstrap Bootstrap is crispy-forms’s default template pack, version 2 of the popular simple and flexible HTML, CSS, and Javascript for user interfaces from Twitter.
* bootstrap3 Twitter Bootstrap version 3.
* uni-form Uni-form is a nice looking, well structured, highly customizable, accessible and usable forms.
* foundation Foundation In creators words “The most advanced responsive front-end framework in the world”. This template pack is externally available through crispy-forms-foundation
So crispy-forms can use a bootstrap mode to render your forms -- but you have to be already using bootstrap in your django templates for this to appear properly!
Hi I'm using the Kendo ASP.NET MVC Wrapper and was wondering do I need to include the jquery? I really want to use a jquery plugin e.g. http://www.jacklmoore.com/colorbox/guide/ and was wondering if I have to include jquery to use the plugin or would it not be necessary as jquery is already included in the kendo stuff?
Vince.
Check your markup to see if it's referenced.
Is there a IDE that supports editing django templates and that is able to validate HTML and CSS?
Requirements:
be able to detect and highlight errors in CSS, example: forgot to close "}", or invalid css attribute
be able to make it learn new css attributes (like css3 ones or browser specific ones) - we don't want to see them invalidating the css
validate partial-HTML, like the one from inside django templates.
has to run on Windows
Python support (optional / bonus)
I know that there are many cool Python IDEs but I found none that can be used to edit and validate HTML/CSS django-templates.
You can use geany (http://geany.org/) that support html/css and allows you to define your own snippets (http://configer.net/config/show/geany-html-and-django-snippets/) for django template language.
PyCharm from IntelliJ.
PyDev for Eclipse/Aptana