Opened 9 years ago

Closed 9 years ago

Last modified 8 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 Changed 9 years ago by Nicklas Nordborg

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 Changed 9 years ago by Nicklas Nordborg

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

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

comment:3 Changed 9 years ago by Nicklas Nordborg

(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 Changed 9 years ago by Nicklas Nordborg

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

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

comment:5 Changed 9 years ago by Nicklas Nordborg

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

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

comment:6 Changed 9 years ago by Nicklas Nordborg

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

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

comment:7 Changed 9 years ago by Nicklas Nordborg

(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 Changed 9 years ago by Nicklas Nordborg

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

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

comment:9 Changed 9 years ago by Nicklas Nordborg

(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 Changed 9 years ago by Nicklas Nordborg

(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 Changed 9 years ago by Nicklas Nordborg

(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 Changed 9 years ago by Nicklas Nordborg

(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 Changed 9 years ago by Nicklas Nordborg

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

  • Biomaterial LIMS

comment:14 Changed 9 years ago by Nicklas Nordborg

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

  • Array LIMS

comment:15 Changed 9 years ago by Nicklas Nordborg

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

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

comment:16 Changed 9 years ago by Nicklas Nordborg

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

  • Administrate menu 'Platforms' and 'Types'

comment:17 Changed 9 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

comment:18 Changed 9 years ago by Nicklas Nordborg

(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 Changed 9 years ago by Nicklas Nordborg

(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 Changed 9 years ago by Nicklas Nordborg

(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 Changed 9 years ago by Nicklas Nordborg

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

Remove debug entry from last commit [6257].

comment:22 Changed 8 years ago by Nicklas Nordborg

(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.