From d9a57eedc424e30c4542540e5be0349b3aab7bbd Mon Sep 17 00:00:00 2001 From: Michael Prentice Date: Sat, 20 Jun 2015 16:25:53 -0400 Subject: [PATCH 1/2] Fix the Material Design for the event page (shorturl.event.html). The HTML is still a mess, but at least it looks better. Add a description and application-name to the index. Move .jshint from client to / so that it will work with the Gruntfile.js. Clean up dependencies a bit. Upgrade to Angular 1.4.0. --- client/.jshintrc => .jshintrc | 0 Gruntfile.js | 10 ++-- bower.json | 24 +++++---- client/app/shorturl/shorturl.event.html | 71 ++++++++++++++----------- client/index.html | 20 +++---- 5 files changed, 71 insertions(+), 54 deletions(-) rename client/.jshintrc => .jshintrc (100%) diff --git a/client/.jshintrc b/.jshintrc similarity index 100% rename from client/.jshintrc rename to .jshintrc diff --git a/Gruntfile.js b/Gruntfile.js index 9cbedb1..3bcea5e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -572,10 +572,12 @@ module.exports = function (grunt) { ]); } - else grunt.task.run([ - 'test:server', - 'test:client' - ]); + else { + grunt.task.run([ + 'test:server', + 'test:client' + ]); + } }); grunt.registerTask('build', [ diff --git a/bower.json b/bower.json index 66b6064..e9f362a 100644 --- a/bower.json +++ b/bower.json @@ -2,22 +2,24 @@ "name": "firefly", "version": "1.0.1", "dependencies": { - "angular": "1.3.15", "json3": "~3.3.1", "es5-shim": "~3.0.1", "jquery": "~2.1.3", "bootstrap": "~3.1.1", - "angular-resource": "1.3.15", - "angular-cookies": "1.3.15", - "angular-sanitize": "1.3.15", - "angular-route": "1.3.15", + "angular": "1.4.0", + "angular-animate": "1.4.0", + "angular-aria": "1.4.0", + "angular-resource": "1.4.0", + "angular-cookies": "1.4.0", + "angular-sanitize": "1.4.0", + "angular-route": "1.4.0", + "angular-material": "0.10.0", "angular-bootstrap": ">=0.11.0", "angular-google-chart": ">=0.0.11", "angular-google-maps": ">=2.0.1", - "angular-material": "0.9.0", "font-awesome": "~4.3.0", - "ngGeolocation": ">=0.0.2", - "lodash": "~2.4.1", + "ngGeolocation": "0.0.7", + "lodash": "3.9.3", "moment": "~2.10.2", "moment-timezone": "~0.3.1", "angular-linkify": ">=0.3.0", @@ -25,7 +27,9 @@ "angular-qr": "latest" }, "devDependencies": { - "angular-mocks": "1.3.15", - "angular-scenario": "1.3.15" + "angular-mocks": "1.4.0" + }, + "resolutions": { + "angular": "1.4.0" } } diff --git a/client/app/shorturl/shorturl.event.html b/client/app/shorturl/shorturl.event.html index 1878108..2b64109 100644 --- a/client/app/shorturl/shorturl.event.html +++ b/client/app/shorturl/shorturl.event.html @@ -2,7 +2,6 @@
-
@@ -10,10 +9,10 @@
-

{{event.title}}

-

-

-

+ +

{{event.title}}

+
+
@@ -32,50 +31,60 @@

{{event.title}}
-

Your Time

-

- Begins:
- Ends: -

+ +

Your Time

+

+ Begins:
+ Ends:
+ Timezone: Local +

+
-

Event Time

-

- Begins:
- Ends:
- Timezone: {{event.timezone}} -

+ +

Event Time

+

+ Begins:
+ Ends:
+ Timezone: {{event.timezone}} +

+
-

Location

-

- {{event.location}}

- Get directions -

+ +

Location

+

+ {{event.location}}

+ Get directions +

+

-

Hosted by

-

+ +

Hosted by

{{chapter.name}}

{{chapter.city}}, {{chapter.country.name}} -

+
-

Event site

-

- Short URL to this Site:
- http://gdg.events/{{shorturl.hash}} - + + + +

Event site

+

+ Short URL to this Site:
+ http://gdg.events/{{shorturl.hash}} +

Google+ event page @@ -83,11 +92,11 @@

Event site

Google Developers' event page -

+
-
+
diff --git a/client/index.html b/client/index.html index 894584f..be83b99 100644 --- a/client/index.html +++ b/client/index.html @@ -4,12 +4,14 @@ - + GDG events + + + + - GDG events - - + @@ -60,18 +62,18 @@ + + + - + - - - - + From 11b608500be967c8e5cb373f1745186a997fa9f6 Mon Sep 17 00:00:00 2001 From: Michael Prentice Date: Sat, 20 Jun 2015 16:58:35 -0400 Subject: [PATCH 2/2] Update the dependency on angular-google-maps. --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index e9f362a..11824da 100644 --- a/bower.json +++ b/bower.json @@ -16,7 +16,7 @@ "angular-material": "0.10.0", "angular-bootstrap": ">=0.11.0", "angular-google-chart": ">=0.0.11", - "angular-google-maps": ">=2.0.1", + "angular-google-maps": "2.1.5", "font-awesome": "~4.3.0", "ngGeolocation": "0.0.7", "lodash": "3.9.3",