Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 31.578.786 Times

lizard-ui 3.7

Company: Reinout van Rees
Date Added: November 24, 2013  |  Visits: 318


Report Broken Link
Printer Friendly Version

Product Homepage
Download (16 downloads)

lizard-ui provides a basic Django user interface, so a base Django template and some CSS + javascript. We designed it at Nelen & Schuurmans for our geographical information websites (with water management information).<br /><br />Choices, requirements, assumptions<br /><br />Lizard-ui is opinionated: it makes choices and prescribes (good!) technologies.<br /><br /> * Included: the blueprint css framework. It resets css styles so that we've got a common base. It fixes common IE layout bugs. It gives a basic typography that's quite pleasing.<br /> * Required: django-staticfiles. For a more verbose description, see Reinout's blog entry (written with lizard-ui in mind).<br /> * Required: django_compressor for combining css/javascript files in production.<br /> * Assumption: one screen, using the full width/height of the browser, without scrolling. Our main goal is showing a nice big map with a small header and a sidebar. You don't want to scroll a map. It is of course possible to have a scrollbar inside that main content area itself.<br /> * Assumption: javascript is available. Hey, we're showing a map so you need javascript. So we liberally use javascript to get the UI right, for instance by detecting and setting the main content area's width and height.<br /> * Included: jquery. Yeah, it is pretty much the standard nowadays. So we use jquery where jquery can be used instead of doing it with generic javascript.<br /> * Included: both jqueryui and jquerytools. Visual goodies. Jquerytools for the overlay and tabs, jqueryui for the rest (drag/drop and so).<br /> * Included: openlayers as map javascript library. (Lizard-map, sooooon to be released, contains our basic map interaction javascript and python code).<br /><br />Lizard-ui ships with a couple of external css/javascript libraries.<br /><br />Blueprint<br /> Modified MIT<br /><br />Jquery and jqueryui<br /> Dual licensed under the MIT or GPL Version 2 licenses. Includes Sizzle.js, released under the MIT, BSD, and GPL Licenses.<br /><br />Jquerytools<br /> No copyrights or licenses. Do what you like.<br /><br />Openlayers<br /> Clear BSD license.<br /><br />Famfamfam icon set<br /> CC attribution license.<br /><br />Treeview jquery plugin<br /> MIT/GPL<br /><br />Django settings<br /><br />Here's an excerpt of a you can use. The media and static root directory setup assumes the use of buildout, but you can translate it to your own filesystem setup:<br /><br />INSTALLED_APPS = [<br /> 'lizard_ui',<br /> 'compressor',<br /> 'staticfiles',<br /> 'django.contrib.admin',<br /> 'django.contrib.auth',<br /> 'django.contrib.contenttypes',<br /> 'django.contrib.sessions',<br /> 'django.contrib.sites',<br /> ]<br /><br /># Note: the below settings are more elaborate than needed,<br /># but we want to test django_compressor's compressing which<br /># needs a media url and root and so.<br /><br /># Set COMPRESS to True if you want to test compression when<br /># DEBUG == True. (By default, COMPRESS is the opposite of<br /># DEBUG).<br />COMPRESS = False<br /><br /># SETTINGS_DIR allows media paths and so to be relative to<br /># this settings file instead of hardcoded to<br /># c:onlyonmycomputer.<br />SETTINGS_DIR = os.path.dirname(os.path.realpath(__file__))<br /><br /># BUILDOUT_DIR is for access to the "surrounding" buildout,<br /># for instance for BUILDOUT_DIR/var/static files to give<br /># django-staticfiles a proper place to place all collected<br /># static files.<br />BUILDOUT_DIR = os.path.abspath(os.path.join(SETTINGS_DIR, '..'))<br /><br /># Absolute path to the directory that holds user-uploaded<br /># media.<br />MEDIA_ROOT = os.path.join(BUILDOUT_DIR, 'var', 'media')<br /># Absolute path to the directory where django-staticfiles'<br /># "bin/django build_static" places all collected static<br /># files from all applications' /media directory.<br />STATIC_ROOT = os.path.join(BUILDOUT_DIR, 'var', 'static')<br /><br /># URL that handles the media served from MEDIA_ROOT. Make<br /># sure to use a trailing slash if there is a path component<br /># (optional in other cases).<br />MEDIA_URL = '/media/'<br /># URL for the per-application /media static files collected<br /># by django-staticfiles. Use it in templates like "{{<br /># MEDIA_URL }}mypackage/my.css".<br />STATIC_URL = '/static_media/'<br /># URL prefix for admin media -- CSS, javascript and<br /># images. Make sure to use a trailing slash. Uses<br /># STATIC_URL as django-staticfiles nicely collects admin's<br /># static media into STATIC_ROOT/admin.<br />ADMIN_MEDIA_PREFIX = STATIC_URL + 'admin/'<br /><br /># Storage engine to be used during compression<br />COMPRESS_STORAGE = ""<br /># The URL that linked media will be read from and compressed<br /># media will be written to.<br />COMPRESS_URL = STATIC_URL<br /># The absolute file path that linked media will be read from<br /># and compressed media will be written to.<br />COMPRESS_ROOT = STATIC_ROOT<br /><br /><br /># Used for django-staticfiles<br />TEMPLATE_CONTEXT_PROCESSORS = (<br /> # Default items.<br /> "django.core.context_processors.auth",<br /> "django.core.context_processors.debug",<br /> "django.core.context_processors.i18n",<br /> "",<br /> # Needs to be added for django-staticfiles to allow you<br /> # to use {{ STATIC_URL }}myapp/my.css in your templates.<br /> 'staticfiles.context_processors.static_url',<br /> )<br /><br />And a suitable apache config hint:<br /><br />< Location /static_media/ ><br /> # The css/javascript/image staticfiles are cached in the<br /> # browser for a day.<br /> ExpiresActive On<br /> ExpiresDefault "access plus 1 day"<br />< /Location ><br /><br />< Location /static_media/CACHE/ ><br /> # django_compress's generated timestamp'ed files:<br /> # cache forever<br /> ExpiresActive On<br /> ExpiresDefault "access plus 10 years"<br />< /Location ><br /><br /># Static files are hosted by apache itself.<br /># User-uploaded media: MEDIA_URL = '/media/'<br />Alias /media/ ${buildout:directory}/var/media/<br /># django-staticfiles: STATIC_URL = '/static_media/'<br />Alias /static_media/ ${buildout:directory}/var/static/<br /><br />Usage<br /><br />You can mount lizard-ui's urls, but it contains only live examples. So perhaps you should only mount it in debug mode under /ui. Handy, as it contains reasonably full documentation on how to use it, including available blocks and classes/IDs that you can use.<br /><br />The base layout is defined in realbase.html. You should however extend lizard_ui/lizardbase.html and then override the blocks that you want.<br /><br />CSS and javascript should be added to the relevant blocks, but don't forget to call "block.super". An example:<br /><br />{% extends "lizard_ui/lizardbase.html" %}<br /><br />{% block css %}<br />{{ block.super }}<br />< link type="text/css"<br /> href="{{ STATIC_URL }}lizard_map/lizard_map.css"<br /> media="screen, projection"<br /> rel="stylesheet" / ><br />{% endblock css %}<br /><br />{% block javascript %}<br />{{ block.super }}<br />< script type="text/javascript"<br /> src="{{ STATIC_URL }}openlayers/OpenLayers.js" >< /script ><br />< /script ><br />< script type="text/javascript"<br /> src="{{ STATIC_URL }}lizard_map/lizard_map.js" >< /script ><br />{% endblock javascript %}<br /><br />{% block content %}<br />< div id="map" >< /div ><br />{% endblock content %}<br /><br />A example of a common task: change the logo. For that, make a media/lizard_ui directory in your django application (or site) and place a logo.png in it. Django-staticfiles' mechanism will take your logo.png in preference to lizard-ui's.<br /><br />Development installation<br /><br />The first time, you'll have to run the "bootstrap" script to set up setuptools and buildout:<br /><br />$> python<br /><br />And then run buildout to set everything up:<br /><br />$> bin/buildout<br /><br />(On windows it is called binbuildout.exe).<br /><br />You'll have to re-run buildout when you or someone else made a change in or buildout.cfg.<br /><br />The current package is installed as a "development package", so changes in .py files are automatically available (just like with python develop).<br /><br />If you want to use trunk checkouts of other packages (instead of released versions), add them as an "svn external" in the local_checkouts/ directory and add them to the develop = list in buildout.cfg.<br /><br />#md5=ab207670c288327a171b93798a365830

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Block Buildout Content Directory Djangostaticfiles Endblock Files Included Jquery Location Media Place Script Static Static Url Vascript Written
Users rating: 0/10

License: Freeware Size: 2.29 MB
File Utilities  -  Directory cleaner and files organizer 2.2
Directory cleaner and files organizer is an intelligent tool to clean the directory and move files to preselected folders.Perfect for cleaning of directories with lot of different files The script recognizes more than 470 extensions.
10.24 KB  
Business  -  Qmpare 1.0
chose a directory - Qmpare lists all included files - chose files from the table - compare if a string is within
15.33 KB  
Modules  -  Block Filter 5.x-1.x-dev 1.0
This filter allows an editor to embed any available block into content by using the blocks module and delta in the following syntaxt: [block:{module}:{delta}]InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under...
Modules  -  Upload by group 5.x-1.0
About this moduleDrupal in the core has the option to upload files associated to each node/content type, and these files are displayed at the bottom of the node, well sometimes this behavior isn't enough.This module provides a new form element to...
10 KB  
Modules  -  Content Templates (Contemplate) 6.x-1.2
The Content Template (a.k.a. ConTemplate) module allows modification of Drupal's teaser and body fields using administrator defined templates. These templates use PHP code and all of the node object variables are available for use in the template....
30.72 KB  
Utilities  -  LargeFileViewer 0.61
Software to display the content of large text files LargeFileViewer is a free and easy to use software that can display the content of large, big, huge (text) files.
10.24 KB  
Utilities  -  Disk ARchive 2.3.4
Dar is a shell command that backs up directory trees and files. Disk ARchive has been tested under Linux, Windows, Solaris, FreeBSD, and NetBSD, and is released under the GNU General Public License (GPL). Since version 2.0.0 an Application...
1003.52 KB  
Libraries  -  libetc 0.3
libetc is an LD_PRELOAD-able shared library designed for maintaining a home directory without dot-files. libetc intercepts file operations, so if a program tries to open a dotfile in $HOME, it is redirected to $XDG_CONFIG_HOME (as defined by...
13.31 KB  
Business  -  Xtracta 4.2
Xtracta allows you to extract block attribute values from AutoCAD drawing files at lightning speed! You simply specify what attribute tags you want to extract in a text file and the program does the rest! With Xtracta it's possible to extract from...
4.24 MB  
Utilities  -  FLG 1.1
This advanced file list generator searches the directory tree for files with a specified search criteria. It produces one or more file lists in HTML, text format or both. You can even set this up to run on a schedule.
1.42 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Network & Internet  -  Free WiFi Hotspot 3.3.1
Free WiFi Hotspot is a super easy solution to turn your laptop or notebook into a portable Wi-Fi hotspot, wirelessly sharing your internet connections like DSL, Cable, Bluetooth, Mobile Broadband Card, Dial-Up, etc. through the built-in wireless...
1.04 MB  
Network & Internet  -  Easy Uploads 1.8
Easy uploads is a file storage media streaming application designed by Filestreamers that allows you to upload, store, and stream your files from their virtually unlimited file storage server. Easy Uploads can backup,share, and stream your files...
615.97 KB  
Network & Internet  -  IPv6 CARE 3.2b
IPv6 CARE, "IPv6 Compliant Automatic Runtime Environment", is a Linux tool able to patch ipv6-agnostic programs on-the-fly ('patch' mode). It can also generate a diagnosis about the IPv6 compliance of an application ('check' mode).
409.6 KB  
Network & Internet  -  PacketFence ZEN 3.1.0
PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) system. Boosting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, 802.1X...
1024 MB  
Network & Internet  -  django-dbstorage 1.3
A Django file storage backend for files in the database.
10.24 KB