From 20b11886af851e70b4ebe365a87c0be4d8ef9ec4 Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Sat, 9 Jul 2016 15:09:28 +0200 Subject: [PATCH] improve cuteness --- angular_app/event-edit.html | 5 +++-- angular_app/events-list.html | 15 ++++++++------- angular_app/js/controllers.js | 2 +- angular_app/login.html | 4 ++-- angular_app/ticket-edit.html | 27 ++++++++++++++++++--------- angular_app/tickets-list.html | 20 ++++++-------------- angular_app/user-edit.html | 26 +++++++++++++++++++++----- angular_app/users-list.html | 16 +++++++++------- 8 files changed, 68 insertions(+), 47 deletions(-) diff --git a/angular_app/event-edit.html b/angular_app/event-edit.html index 946f50c..b7b7ec0 100644 --- a/angular_app/event-edit.html +++ b/angular_app/event-edit.html @@ -3,7 +3,9 @@

- @@ -11,7 +13,6 @@ {{'Join this event' | translate}} -  {{'New event' | translate}}{{event.title}}

diff --git a/angular_app/events-list.html b/angular_app/events-list.html index cbc2ad0..e60e469 100644 --- a/angular_app/events-list.html +++ b/angular_app/events-list.html @@ -1,13 +1,14 @@
-

{{'Events' | translate}} - -

-
{{'Events' | translate}}
+
+

{{'Events' | translate}} + +

+
diff --git a/angular_app/js/controllers.js b/angular_app/js/controllers.js index 9764b4a..8c62db8 100644 --- a/angular_app/js/controllers.js +++ b/angular_app/js/controllers.js @@ -596,7 +596,7 @@ eventManControllers.controller('UsersCtrl', ['$scope', '$rootScope', '$state', ' if (!data.error) { $rootScope.readInfo(function() { $log.debug('logged out user'); - $state.go('events'); + $state.go('login'); }); } }); diff --git a/angular_app/login.html b/angular_app/login.html index 49e6107..8f2b40e 100644 --- a/angular_app/login.html +++ b/angular_app/login.html @@ -3,7 +3,7 @@
-
{{'Login' | translate}}
+

{{'Login' | translate}}

@@ -24,7 +24,7 @@
-
{{'Register a new user' | translate}}
+

{{'Register a new user' | translate}}

diff --git a/angular_app/ticket-edit.html b/angular_app/ticket-edit.html index 7bb7a55..e323296 100644 --- a/angular_app/ticket-edit.html +++ b/angular_app/ticket-edit.html @@ -1,13 +1,6 @@
-
-
-
-

{{event.title}} - {{'join this event' | translate}} - {{'your ticket' | translate}}

-
-
-
-
-
-
-

{{'All tickets' | translate}}

-
-
-
-

{{'Tickets:' | translate}} {{tickets.length || 0}}

-
-
-
-
-
{{'Tickets' | translate}}
+
+

+ {{'All Tickets' | translate}} +
{{'Tickets:' | translate}} {{tickets.length || 0}}
+

+
diff --git a/angular_app/user-edit.html b/angular_app/user-edit.html index 845fe7b..8cc8f69 100644 --- a/angular_app/user-edit.html +++ b/angular_app/user-edit.html @@ -1,8 +1,13 @@
-

{{user.username}}

-
-
{{'Update user information' | translate}}
+
+
+

+ {{user.username}} +  <{{user.email}}> +  - {{'update user information' | translate}} +

+
@@ -20,7 +25,7 @@
-
{{'Tickets' | translate}}
+

{{'Tickets' | translate}}

@@ -39,13 +44,24 @@ + - + + diff --git a/angular_app/users-list.html b/angular_app/users-list.html index cebe5c4..47dce72 100644 --- a/angular_app/users-list.html +++ b/angular_app/users-list.html @@ -1,13 +1,15 @@
-

{{'Users' | translate}} - -

-
{{'Users' | translate}}
+
+

+ {{'Users' | translate}} + +

+
{{'Ticket' | translate}} {{'Event' | translate}} {{'Attended' | translate}}
{{ticket.event_title}} + + + + {{ticket.name}} {{ticket.surname}} <{{ticket.email}}> + + {{ticket.event_title}} + + + {{ticket.event_title}}