Permalink
Browse files

- Updated page doctype to HTML5

- Moved body styles from stylesheet to page to reduce conflicts

- Reduced conflicts with Twitter Bootstrap by namespacing code

- Source now accepts data from a local object, not just a JSON call

- Can now extend data properties on to bars for use with Bootstrap popovers etc

- Code is now uses strict

- Fixed a couple of errors resulting from "use strict"

- Various English translations: renamed hollydays to holidays + renamed months and days to english

- Redesigned buttons and slider with CSS3 and an image sprite

- Modified category colours and styles

- Made chart 100% width so it responds to parent container width

- Began enforcing front end dev guidelines http://taitems.github.com/Front-End-Development-Guidelines/ such as double quotations (but singles on HTML strings), triple equals comparison and using spans instead of hyperlinks for JavaScript interactivity
  • Loading branch information...
1 parent 1a9711f commit 3e264584afaf093f94f8ecf1abfa2213a1599e96 @taitems taitems committed Dec 13, 2011
View
Deleted file not rendered
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -1,13 +1,24 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!doctype html>
+<html lang="en-us">
<head>
<title>Gantt</title>
- <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1" >
<meta content="Marek Bielanczuk" name="Author" />
- <script src="js/jquery-1.5.1.min.js" type="text/javascript"></script>
- <script src="js/jquery.fn.gantt.min.js" type="text/javascript"></script>
- <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
- <script type="text/javascript">
+ <script src="js/jquery-1.5.1.min.js"></script>
+ <script src="js/jquery.fn.gantt.js"></script>
+ <link rel="stylesheet" href="style.css" />
+ <style type="text/css">
+ body {
+ font-family: Helvetica, Arial, sans-serif;
+ font-size: 13px;
+ }
+ .contain {
+ width: 800px;
+ margin: 0 auto;
+ }
+ </style>
+ <script>
<!--
jQuery(function () {
var dataPath = location.href.substring(0, location.href.lastIndexOf('/')+1);
@@ -18,6 +29,8 @@
</script>
</head>
<body>
- <div class="gantt" />
+ <div class="contain">
+ <div class="gantt" />
+ </div>
</body>
</html>
Oops, something went wrong.

0 comments on commit 3e26458

Please sign in to comment.