Permalink
Browse files

fix download/community css and html, make version numbers dynamic and…

… add AppCtrl
  • Loading branch information...
IgorMinar committed May 5, 2011
1 parent 61b87b1 commit 70f1f28924fc958bf7105dbf92198d576273ba0c
Showing with 21 additions and 6 deletions.
  1. +2 −0 css/angular.css
  2. +11 −6 index.html
  3. +8 −0 js/app.js
View
@@ -426,10 +426,12 @@ li {
.blueText {
font-size: 13px;
color: #7989D6;
+ display: block;
}
.buttonHeadings {
font-size: 22px;
font-weight: bold;
+ display: block;
}
View
@@ -10,7 +10,7 @@
<link href="css/doc_widgets.css" rel="stylesheet" type="text/css" />
</head>
-<body class="home">
+<body class="home" ng:controller="AppCtrl">
<!--[if lt IE 9]>
<div id="oldIePrompt">
You are using an old version of Internet Explorer.
@@ -42,16 +42,21 @@
<div id="buttons">
<div id="downloadButton">
<div id="downloadText">
- <span class="buttonHeadings">Download</span><br />
- <span class="blueText">v0.9.14 jiggling-armfat</span><br />
- <span class="smallLinks"><a href="http://www.google.com">tarball</a> | angular-seed | js | min </span>
+ <span class="buttonHeadings">Download</span>
+ <span class="blueText" ng:bind-template="v{{angular.version}} {{angular.name}}"></span>
+ <span class="smallLinks">
+ <a href="http://code.angularjs.org/{{angular.version}}/angular-{{angular.version}}.tgz">tgz</a> |
+ <a href="https://github.com/angular/angular-seed">angular-seed</a> |
+ <a href="http://code.angularjs.org/{{angular.version}}/angular-{{angular.version}}.js">js</a> |
+ <a href="http://code.angularjs.org/{{angular.version}}/angular-{{angular.version}}.min.js">min</a>
+ </span>
</div>
</div>
<div id="communityButton">
<div id="communityText">
- <span class="buttonHeadings">Community</span><br />
- <span class="blueText">Share with <br />other Developers</span>
+ <span class="buttonHeadings">Community</span>
+ <span class="blueText">Join the community</span>
</div>
</div>
</div>
View
@@ -1,3 +1,11 @@
+/**
+ * Application controller for the entire page
+ */
+function AppCtrl() {
+ this.angular = {version: '0.9.14', name: 'key-maker'}
+}
+
+
/**
* Testimonials controller
*

0 comments on commit 70f1f28

Please sign in to comment.