#3 closed enhancement (fixed)
HTML output cleanup
Reported by: | Kris Deugau | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 3.0 |
Version: | Keywords: | ||
Cc: |
Description (last modified by )
Convert all HTML output to HTML 4.01 strict (or closest relative) and HTML::Template
Change History (58)
comment:1 by , 15 years ago
Priority: | major → critical |
---|
comment:2 by , 15 years ago
comment:3 by , 14 years ago
Milestone: | → 3.0 |
---|
comment:4 by , 14 years ago
comment:5 by , 14 years ago
comment:6 by , 14 years ago
comment:7 by , 14 years ago
Description: | modified (diff) |
---|
As per notes and thoughts at:
http://www.hixie.ch/advocacy/xhtml
http://hsivonen.iki.fi/doctype/
don't bother with XHTML (since it's guaranteed to be mishandled somewhere), just go with HTML 4.01 strict.
comment:8 by , 14 years ago
(In [451]) /branches/htmlform
Move Javascript from the header into its own file
Convert index page (master block summary) to template
Convert header to template, use template header in main.cgi
and search.cgi - going to leave admin.cgi out for now
Update HTML in header, index, footer to HTML 4.01 strict
See #3.
comment:9 by , 14 years ago
comment:10 by , 14 years ago
comment:11 by , 14 years ago
comment:12 by , 14 years ago
(In [459]) /branches/htmlform
Convert "new city" miniscript and page to template, move the "reload
parent" JavaScript fragment into widgets.js. See #3.
Update calls from assign.tmpl and admin.cgi to point to newcity.cgi.
comment:13 by , 14 years ago
comment:14 by , 14 years ago
comment:15 by , 14 years ago
(In [463]) /branches/htmlform
Validation nitpick fix in assign.tmpl - also fixes missing field
name on alloctype list. <headdesk>
Convert new assignment result page to template.
Add missing error handling, missing IP pool selection on confirm.tmpl
Create footer template object earlier to allow pushing bits into
it during processing
Prepare to move initial output further down execution to prepare for
proper error handling in subs
Fix probable bug introduced with r456 where the "Routing" type isn't
available when it should be. Maybe. Probably.
Error messages for sub insertAssign() and confirmAssign could arguably
be further moved into the templates, but the complexity of the template
would go *way* up with little or no benefit.
See #3.
comment:17 by , 14 years ago
comment:18 by , 14 years ago
(In [466]) /branches/htmlform
Give up on proper spelling of "centre" in CSS class names and
defs - browsers only understand an alignment of "center".
Adjust width of some <hr>'s
Visual row0/row1 classes got switched somehow, somewhere
Remove legacy "color0/color1/color2" row class defs
Convert showrouted to template
See #3.
comment:19 by , 14 years ago
comment:20 by , 14 years ago
comment:21 by , 14 years ago
(In [470]) /branches/htmlfrom
Block edit page should be complete and even valid.
Still has some slight fishyness with column edges not aligned due
to stupid "can't start a form in between table rows" validation spec
idiocy. (<table><form><tr>...</tr></form><form><tr>...</tr></form></table>
is not valid for strict HTML 4.01.)
See #3.
comment:25 by , 14 years ago
comment:26 by , 14 years ago
comment:27 by , 14 years ago
comment:29 by , 14 years ago
(In [478]) /branches/htmlfrom
Set a global variable so we can move the site to any level of
web directory. See #17 - note this is an internal autoconfiguration
that shouldn't need to be exposed.
Make code/template structure for setting row colours in tables more
consistent - also tweak search.cgi so it spits out live colour
classes. See #3.
comment:30 by , 14 years ago
(In [479]) /branches/htmlform
Convert initial DB connection error output to a sane page. Could arguably provide
space for this (and other) errors on all normal pages. (See #3).
This allows us to:
Removed duplicate "exit if we get this far"
Tweak IPDB::finish so it doesn't spit a fatal error when called with a null database handle
comment:31 by , 14 years ago
comment:32 by , 14 years ago
comment:33 by , 14 years ago
comment:34 by , 14 years ago
comment:35 by , 14 years ago
comment:36 by , 14 years ago
comment:37 by , 14 years ago
comment:38 by , 14 years ago
comment:39 by , 14 years ago
comment:40 by , 14 years ago
comment:41 by , 14 years ago
comment:42 by , 14 years ago
comment:43 by , 13 years ago
comment:44 by , 13 years ago
comment:45 by , 13 years ago
comment:46 by , 13 years ago
comment:47 by , 13 years ago
comment:48 by , 13 years ago
comment:49 by , 12 years ago
comment:50 by , 12 years ago
comment:51 by , 12 years ago
comment:52 by , 12 years ago
comment:53 by , 12 years ago
comment:54 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:55 by , 12 years ago
comment:56 by , 12 years ago
(In [536]) /trunk
Clean up and move SQL for post-update backlink to IPDB.pm. See #34.
Also rename getParent() to subParent() to fit in with ipParent() and
blockParent().
Fix a couple "Use of uninitialized..." log-noise bugs. See #31.
Move some HTML-entity-escaping into the template, and shuffle lines
munging the notes and restricted data on post-update value display
so we can properly munge in <br> for \n. Doesn't seem to be a way
to plug that into HTML::Template. :( See #3.
(In [413]) /trunk