Repository: fossasia/open-event-server

Issue:
Change Style of specific Event Dashboard to match All Events Dashboard and choose white only background for both
Here is the screenshot of the event dashboard.
![screenshot from 2016-06-12 23 53 19](https://cloud.githubusercontent.com/assets/1583873/15994052/40807d0a-30f9-11e6-9ae3-7e77158f0b39.png)

And here is the dashboard of alle event.
![screenshot from 2016-06-12 23 54 58](https://cloud.githubusercontent.com/assets/1583873/15994054/4c02da74-30f9-11e6-8e13-b87ab2b7545e.png)
- [x] Match the design of the event dashboard to look like the "all events dashboard"
- [x] Change the menu background of both menu line to white (same as my sessions)

![screenshot from 2016-06-12 23 57 55](https://cloud.githubusercontent.com/assets/1583873/15994060/87144bca-30f9-11e6-9b14-9c038b874d65.png)



Discussion:

Resolving patch:
diff --git a/open_event/views/admin/models_views/events_speakers.py b/open_event/views/admin/models_views/events_speakers.py
--- a/open_event/views/admin/models_views/events_speakers.py
+++ b/open_event/views/admin/models_views/events_speakers.py
@@ -7,12 +7,14 @@ class EventsSpeakersView(ModelView):
     @expose('/', methods=('GET', 'POST'))
     def index_view(self, event_id):
         speakers = DataGetter.get_speakers(event_id)
+        event = DataGetter.get_event(event_id)
         return self.render('/gentelella/admin/event/speaker/display.html',
-                           speakers=speakers, event_id=event_id)
+                           speakers=speakers, event_id=event_id, event=event)
 
     @expose('/new/', methods=('GET', 'POST'))
     def create_view(self, event_id):
-        return self.render('/gentelella/admin/event/speaker/new.html', event_id=event_id)
+        event = DataGetter.get_event(event_id)
+        return self.render('/gentelella/admin/event/speaker/new.html', event_id=event_id, event=event)
 
     @expose('/<speaker_id>/delete/', methods=('POST',))
     def delete_view(self, event_id,speaker_id):
@@ -20,4 +22,5 @@ def delete_view(self, event_id,speaker_id):
 
     @expose('/<speaker_id>/edit/', methods=('POST', 'GET'))
     def edit_view(self, event_id, speaker_id):
-        return self.render('/gentelella/admin/event/speaker/edit.html', event_id=event_id)
+        event = DataGetter.get_event(event_id)
+        return self.render('/gentelella/admin/event/speaker/edit.html', event_id=event_id, event=event)
diff --git a/open_event/views/admin/models_views/events_sponsors.py b/open_event/views/admin/models_views/events_sponsors.py
--- a/open_event/views/admin/models_views/events_sponsors.py
+++ b/open_event/views/admin/models_views/events_sponsors.py
@@ -7,12 +7,14 @@ class EventsSponsorsView(ModelView):
     @expose('/', methods=('GET', 'POST'))
     def index_view(self, event_id):
         sponsors = DataGetter.get_sponsors(event_id)
+        event = DataGetter.get_event(event_id)
         return self.render('/gentelella/admin/event/sponsor/display.html',
-                           sponsors=sponsors, event_id=event_id)
+                           sponsors=sponsors, event_id=event_id, event=event)
 
     @expose('/new/', methods=('GET', 'POST'))
     def create_view(self, event_id):
-        return self.render('/gentelella/admin/event/sponsor/new.html', event_id=event_id)
+        event = DataGetter.get_event(event_id)
+        return self.render('/gentelella/admin/event/sponsor/new.html', event_id=event_id, event=event)
 
     @expose('/<speaker_id>/delete/', methods=('POST',))
     def delete_view(self, event_id,sponsor_id):
@@ -20,4 +22,5 @@ def delete_view(self, event_id,sponsor_id):
 
     @expose('/<speaker_id>/edit/', methods=('POST', 'GET'))
     def edit_view(self, event_id, sponsor_id):
-        return self.render('/gentelella/admin/event/sponsor/edit.html', event_id=event_id)
+        event = DataGetter.get_event(event_id)
+        return self.render('/gentelella/admin/event/sponsor/edit.html', event_id=event_id, event=event)
diff --git a/open_event/views/admin/models_views/session.py b/open_event/views/admin/models_views/session.py
--- a/open_event/views/admin/models_views/session.py
+++ b/open_event/views/admin/models_views/session.py
@@ -9,14 +9,16 @@ class SessionView(ModelView):
     @expose('/')
     def index_view(self, event_id):
         sessions = DataGetter.get_sessions_by_event_id(event_id)
+        event = DataGetter.get_event(event_id)
         return self.render('/gentelella/admin/event/session/display.html',
-                           sessions=sessions, event_id=event_id)
+                           sessions=sessions, event_id=event_id, event=event)
 
     @expose('/display/')
     def display_view(self, event_id):
         sessions = DataGetter.get_sessions_by_event_id(event_id)
+        event = DataGetter.get_event(event_id)
         return self.render('/gentelella/admin/event/session/display.html',
-                           sessions=sessions, event_id=event_id)
+                           sessions=sessions, event_id=event_id,event=event)
 
     @expose('/create/', methods=('GET', 'POST'))
     def create_view(self, event_id):


Test patch: