From 606359cb985d842941347c2e89558ac372362f7b Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Sun, 17 Jul 2016 11:44:04 +0200 Subject: [PATCH] improve GUI buttons --- angular_app/event-tickets.html | 8 ++++---- angular_app/events-list.html | 27 ++++++++++++++++----------- angular_app/tickets-list.html | 2 +- angular_app/user-edit.html | 2 +- angular_app/users-list.html | 2 +- static/css/eventman.css | 11 ++++++++++- 6 files changed, 33 insertions(+), 19 deletions(-) diff --git a/angular_app/event-tickets.html b/angular_app/event-tickets.html index 9b37a6e..cc97c09 100644 --- a/angular_app/event-tickets.html +++ b/angular_app/event-tickets.html @@ -55,18 +55,18 @@

{{ticket.job_title}} @ {{ticket.company}}

- + - + {{ticket[col.key]}} - + @@ -94,7 +94,7 @@ {{person.email}} - + diff --git a/angular_app/events-list.html b/angular_app/events-list.html index 1ca4ea6..8bd246f 100644 --- a/angular_app/events-list.html +++ b/angular_app/events-list.html @@ -32,29 +32,34 @@ {{'Event' | translate}} {{'Attendees / Registered' | translate}} - {{'Actions' | translate}} + {{'Actions' | translate}} - - - + + +

{{event.title}} {{event.title}} - +

-

{{'Begins:' | translate}} {{event['begin-date'] | date:'fullDate'}} {{event['begin-time'] | date:'HH:mm'}}
- {{'Ends:' | translate}} {{event['end-date'] | date:'fullDate' }} {{event['end-time'] | date:'HH:mm'}}

+
{{event.tagline}}
+
{{event.summary}}
+
+
{{event.where}}
+ {{'Begins:' | translate}} {{event['begin-date'] | date:'fullDate'}} {{event['begin-time'] | date:'HH:mm'}}
+ {{'Ends:' | translate}} {{event['end-date'] | date:'fullDate' }} {{event['end-time'] | date:'HH:mm'}} +

{{attendeesNr}} / {{((event.tickets || []) | registeredFilter).length}} ({{((attendeesNr / ((event.tickets || []) | registeredFilter).length * 100) || 0).toFixed()}}%)

- - - - +
+
+
+
diff --git a/angular_app/tickets-list.html b/angular_app/tickets-list.html index 27f72a5..6c32658 100644 --- a/angular_app/tickets-list.html +++ b/angular_app/tickets-list.html @@ -35,7 +35,7 @@ {{ticket.event_title}} - + diff --git a/angular_app/user-edit.html b/angular_app/user-edit.html index 8cc8f69..dbc9450 100644 --- a/angular_app/user-edit.html +++ b/angular_app/user-edit.html @@ -63,7 +63,7 @@ {{ticket.event_title}} - + diff --git a/angular_app/users-list.html b/angular_app/users-list.html index 47dce72..99eeb4a 100644 --- a/angular_app/users-list.html +++ b/angular_app/users-list.html @@ -45,7 +45,7 @@ - + diff --git a/static/css/eventman.css b/static/css/eventman.css index 45889e8..e2e285c 100644 --- a/static/css/eventman.css +++ b/static/css/eventman.css @@ -33,6 +33,11 @@ input[type=text].form-control, input[type=search].form-control { .top15 { margin-top: 15px; } .top20 { margin-top: 20px; } .top30 { margin-top: 30px; } +.bottom5 { margin-bottom: 5px; } +.bottom10 { margin-bottom: 10px; } +.bottom15 { margin-bottom: 15px; } +.bottom20 { margin-bottom: 20px; } +.bottom30 { margin-bottom: 30px; } /* minimum widths for various input groups */ .min50 { min-width: 50px; } @@ -49,13 +54,17 @@ input[type=text].form-control, input[type=search].form-control { text-align: center; } -/* vertically center */ +/* vertical alignment */ .vcenter { vertical-align: middle; display: inline-block !important; float: none; } +.vtop { + vertical-align: top !important; +} + /* pop-up message */ .eventman-message { position: fixed;