Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#1727 closed enhancement (fixed)

Move to HTML5

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: critical Milestone: BASE 3.3
Component: web Version:
Keywords: Cc:

Description

This is a bit related to #1712. Implementing a 'Content Security Policy' requires moving scripts out of html documents. To do this we'll need to use javascript with addEventListener calls to replace all <div onclick="..."> event handlers. This will be easier if the document is following the HTML5 specification as much as possible.

To help with this the following Firefox plug-in can be useful: https://addons.mozilla.org/en-US/firefox/addon/html-validator/

Change History (22)

comment:1 by Nicklas Nordborg, 12 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 by Nicklas Nordborg, 12 years ago

(In [6134]) References #1727: Move to HTML5

  • Use <!DOCTYPE html> for HTML5.
  • Remove language="javascript" from <script> tags.

comment:3 by Nicklas Nordborg, 12 years ago

(In [6135]) References #1727: Move to HTML5

  • Added alt attribute to all <img> tags
  • Fixed unescaped '&' in URLs in the menu
  • Fixed login page and the welcome page

comment:4 by Nicklas Nordborg, 12 years ago

(In [6136]) References #1727: Move to HTML5

  • Remove language="javascript" from <script> tags in all JSP files.

comment:5 by Nicklas Nordborg, 12 years ago

(In [6137]) References #1727: Move to HTML5

  • BASE -> Preferences dialog
  • Trashcan pages
  • File manager pages

comment:6 by Nicklas Nordborg, 12 years ago

(In [6138]) References #1727: Move to HTML5

  • Replace <frameset> with <iframe> instead since <frameset> has been removed from HTML5

comment:7 by Nicklas Nordborg, 12 years ago

(In [6139]) References #1727: Move to HTML5

  • Use target="_blank" instead of target="_new"
  • Set class="absolutefull" on several <iframe> elements
  • Fixes issues with several of the /common/* files

comment:8 by Nicklas Nordborg, 12 years ago

(In [6140]) References #1727: Move to HTML5

  • Disk usage
  • Extensions overview
  • Server settings/broadcast message

comment:9 by Nicklas Nordborg, 12 years ago

(In [6141]) References #1727: Move to HTML5

  • Prefixing id for all menus with 'menu.' to avoid clashes with other elements on some pages.

comment:10 by Nicklas Nordborg, 12 years ago

(In [6142]) References #1727: Move to HTML5

  • First half of pages in the View menu
  • Missing a space between attributes in boolean column filter

comment:11 by Nicklas Nordborg, 12 years ago

(In [6143]) References #1727: Move to HTML5

  • Second part in the View menu (except Formulas)
  • ID clash in datafiles listing
  • Need to encode filter properties in table columns

comment:12 by Nicklas Nordborg, 12 years ago

(In [6144]) References #1727: Move to HTML5

  • Remaining pages in the View menu
  • Added 'doctype' property to <page> taglib (default=html)
  • Updated version numbers in taglib descriptors (*.tld)
  • Updated XSD, etc. in web.xml

comment:13 by Nicklas Nordborg, 12 years ago

(In [6145]) References #1727: Move to HTML5

  • Biomaterial LIMS

comment:14 by Nicklas Nordborg, 12 years ago

(In [6146]) References #1727: Move to HTML5

  • Array LIMS

comment:15 by Nicklas Nordborg, 12 years ago

(In [6147]) References #1727: Move to HTML5

  • Administrate menu from 'Users' down to 'Reporter clone templates'

comment:16 by Nicklas Nordborg, 12 years ago

(In [6149]) References #1727: Move to HTML5

  • Administrate menu 'Platforms' and 'Types'

comment:17 by Nicklas Nordborg, 12 years ago

Resolution: fixed
Status: assignedclosed

comment:18 by Nicklas Nordborg, 12 years ago

(In [6178]) References #1727: Move to HTML5

Removed '-moz-border-radius' css properties since Firefox has supported the standard 'border-radius' for some time now and is generating warning messges about the prefixed version.

comment:19 by Nicklas Nordborg, 12 years ago

(In [6179]) References #1727: Move to HTML5

Removed '-moz-box-shadow' css properties since Firefox has supported the standard 'box-shadow' for some time now and is generating warning messges about the prefixed version.

comment:20 by Nicklas Nordborg, 12 years ago

(In [6257]) References #1727: Move to HTML5

Use 'rem'-based units for elements that change the font-size to avoid 'em' units multiplication factor.

comment:21 by Nicklas Nordborg, 12 years ago

(In [6258]) References #1727: Move to HTML5

Remove debug entry from last commit [6257].

comment:22 by Nicklas Nordborg, 11 years ago

(In [6431]) References #1727: Move to HTML5

Removing debug code that was accidentally checked in 18 months ago [6142].

Note: See TracTickets for help on using tickets.