   
 }
 
-Weathermaps.MapListView = Ember.View.extend {
+Weathermaps.GroupListView = MainMenuView.extend {
+  templateName: 'grouplist'
+  active: true #always visible
+  
+  valueBinding: 'Weathermaps.groups.value'
+  optionsBinding: 'Weathermaps.groups.options'
+  
+}
+
+Weathermaps.MapListView = MainMenuView.extend {
   templateName: 'maplist'
   groupBinding: 'Weathermaps.groups.value'
   active: (->

  
  valueBinding: 'Weathermaps.times.value'
  optionsBinding: 'Weathermaps.times.options'
  
  title: (->
    value = @get 'value'
    if value then value else 'Time'
  ).property('value')
  
  select: (e) ->
    $(e.target).parents('.open').removeClass('open')
    @set 'value', e.context
  
}

#init

  
  valueBinding: 'Weathermaps.dates.value'
  optionsBinding: 'Weathermaps.dates.options'
 
}

Weathermaps.TimeListView = MainMenuView.extend {
  templateName: 'datelist'
  groupBinding: 'Weathermaps.groups.value'
  mapBinding:   'Weathermaps.maps.value'
