Sunil Mohan Adapa
b2b24146ef
Remove unused JS files
2014-05-13 01:10:40 +05:30
Sunil Mohan Adapa
994199f096
Cleanup menu generation using templates
2014-05-13 01:00:38 +05:30
Sunil Mohan Adapa
218fc37e8f
Remove erroneous onload javascript
...
If a page needs to run javascript on load, it is easy to do so by attaching
onload handlers or by using corresponing jQuery utilities. There is no need
to mess with templating.
2014-05-12 23:51:41 +05:30
Sunil Mohan Adapa
d2a6e2332d
Fix minor styling issue in router setup page
2014-05-12 23:31:07 +05:30
Sunil Mohan Adapa
391d6298c4
Update firewall page styling
2014-05-12 23:28:15 +05:30
Sunil Mohan Adapa
d8441f8964
Move CSS embedded into pages to a separate file
2014-05-12 23:26:50 +05:30
Sunil Mohan Adapa
11e7dcdd07
Remove unused make steps for custom minifing CSS
2014-05-12 22:06:37 +05:30
Sunil Mohan Adapa
28dd1bf074
Remove bootstrap JS files and use debian package instead
2014-05-12 22:06:29 +05:30
Sunil Mohan Adapa
368e21c085
Remove bootstrap CSS files and use debian package instead
...
- Add depedency on libjs-twitter-bootstrap
2014-05-12 18:46:39 +05:30
Sunil Mohan Adapa
18464c963d
Fix issue with packages form when submitting unchecked options
2014-05-12 12:59:18 +05:30
Sunil Mohan Adapa
18908f72ea
Make form messages dismissable
2014-05-12 12:56:42 +05:30
Sunil Mohan Adapa
54a3a34072
Remove custom written form code in favor of Django forms
2014-05-12 12:23:32 +05:30
Sunil Mohan Adapa
ee9df9bfb7
Convert login page to Django forms
2014-05-12 12:21:55 +05:30
Sunil Mohan Adapa
a7e0a5284d
Add license headers to the newly added template files
2014-05-11 21:33:18 +05:30
Sunil Mohan Adapa
94d0989503
Remove FormPlugin now that we use Django forms
2014-05-11 21:27:13 +05:30
Sunil Mohan Adapa
b50a99b1e4
Convert firstboot pages to Django forms
2014-05-11 21:24:36 +05:30
Sunil Mohan Adapa
5461694b10
Convert router pages to Django forms
2014-05-11 19:43:55 +05:30
Sunil Mohan Adapa
2500e37e89
Convert packages page to Django forms
2014-05-11 18:53:14 +05:30
Sunil Mohan Adapa
e5d43a87a2
Convert user pages to Django forms
2014-05-11 18:03:33 +05:30
Sunil Mohan Adapa
6ebfe23c4b
Convert config page to Django form
2014-05-11 16:26:52 +05:30
Sunil Mohan Adapa
0bd1798baf
Convert xmpp pages to Django forms
2014-05-11 16:26:16 +05:30
Sunil Mohan Adapa
cde500f2b7
Convert owncloud page to Django form
2014-05-11 13:14:49 +05:30
Sunil Mohan Adapa
ed26274d38
Convert wan page to Django forms
2014-05-11 12:32:59 +05:30
Sunil Mohan Adapa
c05c3ba3c8
Convert expert mode page into Django form
...
Also make expert mode a separate page rather than part of a mixture
of forms in configure page.
2014-05-11 12:10:27 +05:30
Sunil Mohan Adapa
fe56ef3761
Convert pagekite pages to use Django forms
2014-05-11 10:56:26 +05:30
Sunil Mohan Adapa
f097047b8b
Introduce python-bootstrapform as dependency
...
Twitter Bootstrap provides good styling for forms. Our current
theme does not ouput forms in bootstrap styles although for
everything else, it does. The python-bootstrap from is a simple
Django helper application to render Django forms into bootstrap
theme.
Django forms themselves provide numerous advantages over the
current incomplete homegrown solution. It also has solutions for
problems such as CSRF attacks which the current application is
vulnerable to.
2014-05-11 10:41:34 +05:30
Sunil Mohan Adapa
c2328ba5e4
Fix a minor issue with help page template conversion
2014-05-11 08:30:43 +05:30
Sunil Mohan Adapa
a2efd8268d
Add license headers to all new template files
2014-05-09 19:34:05 +05:30
Sunil Mohan Adapa
3cac717b25
Convert tor page to template
2014-05-08 11:16:52 +05:30
Sunil Mohan Adapa
c1383676d6
Convert privacy pages to templates
2014-05-08 11:09:27 +05:30
Sunil Mohan Adapa
ef7da7527d
Convert sharing pages to templates
2014-05-08 11:04:43 +05:30
Sunil Mohan Adapa
4e4ca43b40
Convert file explorer page to template
2014-05-08 10:55:48 +05:30
Sunil Mohan Adapa
c50fe72587
Convert help pages to templates
2014-05-08 10:51:58 +05:30
Sunil Mohan Adapa
577dbb4fc5
Convert apps pages to templates
2014-05-08 10:44:53 +05:30
Sunil Mohan Adapa
25fe3c7ee8
Convert diagnostics pages to template
2014-05-08 10:13:38 +05:30
Sunil Mohan Adapa
eff6306f7d
Convert system page to template
2014-05-08 09:12:14 +05:30
Sunil Mohan Adapa
1c338e538a
Convert firewall page to template
2014-05-08 09:05:50 +05:30
Sunil Mohan Adapa
76f49916a3
Convert add/edit user sidebars to templates
2014-05-05 23:58:47 +05:30
Sunil Mohan Adapa
8ddd98ade0
Convert OpenID sidebar to template
2014-05-05 23:58:14 +05:30
Sunil Mohan Adapa
6d83ad3c00
Convert right sidebar menus to templates
2014-05-05 23:10:51 +05:30
Sunil Mohan Adapa
8e8ac77661
Convert pagekite introduction page to templates
2014-05-05 23:10:39 +05:30
Sunil Mohan Adapa
a54672ae01
Allow placing templates inside module directories
2014-05-05 00:29:41 +05:30
Sunil Mohan Adapa
4b44741c68
Remove unnecessary layer of abstraction over template rendering
2014-05-05 00:08:58 +05:30
Sunil Mohan Adapa
851536ffbe
Update LICENSES file to reflect template changes
2014-05-04 16:12:12 +05:30
Sunil Mohan Adapa
9d9ed1b210
Update documentation on templates to reflect Django templates
2014-05-04 16:11:29 +05:30
Sunil Mohan Adapa
ee77f107ea
Remove cheetah as a dependency
2014-05-04 16:10:27 +05:30
Sunil Mohan Adapa
882392f104
Dont gitignore compiled template files
2014-05-04 16:09:35 +05:30
Sunil Mohan Adapa
7e16b74718
Remove steps for compiling templates
2014-05-04 16:07:48 +05:30
Sunil Mohan Adapa
9239d2c627
Migrate from Cheetah to Django template system
...
Compiled templates are an unnecessary pain in maintance and
packaging. If each module is to bring its own templates, compiling
them in the build process becomes unnecessarily more complex. The
current state of template mess can somewhat be attributed to this.
Cheetah only partially supports dynamic templates. It does not support
inheritence of dynamic templates. From its documentation: "There is no
support for extending from a class that is not imported; e.g., from a
template dynamically created from a string. Since the most practical
way to get a parent template into a module is to precompile it, all
parent templates essentially have to be precompiled."
2014-05-04 16:01:17 +05:30
Nick Daly
d7a3235120
Merge pull request #76 from jvalleroy/update-jwchat-link
...
Update link to jwchat.
2014-05-03 18:20:32 +00:00