[longomatch/newui: 34/50] Rename template editor to dashboard editor, refactor widget hierarchy to accomodate with new design.



commit f79a2401459a0be8be328585c04e7be3d7c22cb8
Author: Julien Moutte <julien fluendo com>
Date:   Tue Aug 19 17:48:43 2014 +0200

    Rename template editor to dashboard editor, refactor widget hierarchy to accomodate with new design. Add 
icons.

 LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs   |   28 +-
 LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs    |   31 +-
 LongoMatch.GUI/Gui/Panel/WelcomePanel.cs           |    4 +-
 .../LongoMatch.Gui.Panel.SportsTemplatesPanel.cs   |  282 +++++++------
 .../LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs    |  296 +++++++------
 LongoMatch.GUI/gtk-gui/gui.stetic                  |  441 +++++++++++++-------
 .../scalable/actions/longomatch-team-header.svg    |   29 ++
 .../scalable/actions/longomatch-team-save.svg      |   34 ++
 .../actions/longomatch-template-header.svg         |   16 +
 data/theme/gtk-2.0/gtkrc                           |    4 +-
 10 files changed, 710 insertions(+), 455 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs 
b/LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs
index b50e75f..6af86cf 100644
--- a/LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/SportsTemplatesPanel.cs
@@ -46,17 +46,20 @@ namespace LongoMatch.Gui.Panel
                        this.Build ();
                        provider = Config.CategoriesTemplatesProvider;
                        logoimage.Pixbuf = IconTheme.Default.LoadIcon ("longomatch", 80, 
IconLookupFlags.ForceSvg);
+                       templateimage.Pixbuf = IconTheme.Default.LoadIcon ("longomatch-template-header", 80, 
IconLookupFlags.ForceSvg);
+                       newtemplateimage.Pixbuf = IconTheme.Default.LoadIcon ("longomatch-template-add", 40, 
IconLookupFlags.ForceSvg);
+                       deletetemplateimage.Pixbuf = IconTheme.Default.LoadIcon 
("longomatch-template-delete", 40, IconLookupFlags.ForceSvg);
+                       savetemplateimage.Pixbuf = IconTheme.Default.LoadIcon ("longomatch-template-save", 
40, IconLookupFlags.ForceSvg);
                        
                        templates = new ListStore (typeof(Pixbuf), typeof(string));
                        
-                       sporttemplatestreeview.Model = templates;
-                       sporttemplatestreeview.Model = templates;
-                       sporttemplatestreeview.HeadersVisible = false;
-                       sporttemplatestreeview.AppendColumn ("Icon", new CellRendererPixbuf (), "pixbuf", 0); 
-                       sporttemplatestreeview.AppendColumn ("Text", new CellRendererText (), "text", 1); 
-                       sporttemplatestreeview.SearchColumn = 1;
-                       sporttemplatestreeview.EnableGridLines = TreeViewGridLines.None;
-                       sporttemplatestreeview.CursorChanged += HandleSelectionChanged;
+                       dashboardseditortreeview.Model = templates;
+                       dashboardseditortreeview.HeadersVisible = false;
+                       //sporttemplatestreeview.AppendColumn ("Icon", new CellRendererPixbuf (), "pixbuf", 
0); 
+                       dashboardseditortreeview.AppendColumn ("Text", new CellRendererText (), "text", 1); 
+                       dashboardseditortreeview.SearchColumn = 0;
+                       dashboardseditortreeview.EnableGridLines = TreeViewGridLines.None;
+                       dashboardseditortreeview.CursorChanged += HandleSelectionChanged;
                        
                        templatesvbox.WidthRequest = 280;
                        
@@ -97,7 +100,7 @@ namespace LongoMatch.Gui.Panel
                                first = false;
                        }
                        if (templates.IterIsValid (templateIter)) {
-                               sporttemplatestreeview.Selection.SelectIter (templateIter);
+                               dashboardseditortreeview.Selection.SelectIter (templateIter);
                                HandleSelectionChanged (null, null);
                        }
                }
@@ -131,10 +134,10 @@ namespace LongoMatch.Gui.Panel
                        
                        selectedTemplate.Clear ();
 
-                       pathArray = sporttemplatestreeview.Selection.GetSelectedRows ();
+                       pathArray = dashboardseditortreeview.Selection.GetSelectedRows ();
                        for(int i=0; i< pathArray.Length; i++) {
-                               sporttemplatestreeview.Model.GetIterFromString (out iter, 
pathArray[i].ToString());
-                               selectedTemplate.Add (sporttemplatestreeview.Model.GetValue (iter, 1) as 
string);
+                               dashboardseditortreeview.Model.GetIterFromString (out iter, 
pathArray[i].ToString());
+                               selectedTemplate.Add (dashboardseditortreeview.Model.GetValue (iter, 1) as 
string);
                        }
                        
                        deletetemplatebutton.Visible = selectedTemplate.Count >= 1;
@@ -208,3 +211,4 @@ namespace LongoMatch.Gui.Panel
        }
 }
 
+
diff --git a/LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs b/LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs
index f2d46ea..adca15c 100644
--- a/LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/TeamsTemplatesPanel.cs
@@ -51,19 +51,22 @@ namespace LongoMatch.Gui.Panel
                        this.Build ();
                        provider = Config.TeamTemplatesProvider;
                        logoimage.Pixbuf = IconTheme.Default.LoadIcon ("longomatch", 80, 
IconLookupFlags.ForceSvg);
+                       teamimage.Pixbuf = IconTheme.Default.LoadIcon ("longomatch-team-header", 80, 
IconLookupFlags.ForceSvg);
+                       newteamimage.Pixbuf = IconTheme.Default.LoadIcon ("longomatch-team-add", 40, 
IconLookupFlags.ForceSvg);
+                       deleteteamimage.Pixbuf = IconTheme.Default.LoadIcon ("longomatch-team-delete", 40, 
IconLookupFlags.ForceSvg);
+                       saveteamimage.Pixbuf = IconTheme.Default.LoadIcon ("longomatch-team-save", 40, 
IconLookupFlags.ForceSvg);
                        
                        teams = new ListStore (typeof(Pixbuf), typeof(string), typeof (string));
                        itersDict = new Dictionary<string, TreeIter>();
                        
-                       teamtemplatestreeview.Model = teams;
-                       teamtemplatestreeview.Model = teams;
-                       teamtemplatestreeview.HeadersVisible = false;
-                       teamtemplatestreeview.AppendColumn ("Icon", new CellRendererPixbuf (), "pixbuf", 0); 
-                       teamtemplatestreeview.AppendColumn ("Text", new CellRendererText (), "text", 1); 
-                       teamtemplatestreeview.SearchColumn = 1;
-                       teamtemplatestreeview.TooltipColumn = 2;
-                       teamtemplatestreeview.EnableGridLines = TreeViewGridLines.None;
-                       teamtemplatestreeview.CursorChanged += HandleSelectionChanged;
+                       teamseditortreeview.Model = teams;
+                       teamseditortreeview.HeadersVisible = false;
+                       teamseditortreeview.AppendColumn ("Icon", new CellRendererPixbuf (), "pixbuf", 0); 
+                       teamseditortreeview.AppendColumn ("Text", new CellRendererText (), "text", 1); 
+                       teamseditortreeview.SearchColumn = 1;
+                       teamseditortreeview.TooltipColumn = 2;
+                       teamseditortreeview.EnableGridLines = TreeViewGridLines.None;
+                       teamseditortreeview.CursorChanged += HandleSelectionChanged;
                        
                        teamsvbox.WidthRequest = 280;
                        
@@ -111,7 +114,7 @@ namespace LongoMatch.Gui.Panel
                                first = false;
                        }
                        if (teams.IterIsValid (templateIter)) {
-                               teamtemplatestreeview.Selection.SelectIter (templateIter);
+                               teamseditortreeview.Selection.SelectIter (templateIter);
                                HandleSelectionChanged (null, null);
                        }
                }
@@ -123,7 +126,7 @@ namespace LongoMatch.Gui.Panel
                        provider.Update (loadedTeam);
                        /* The shield might have changed, update it just in case */
                        if (loadedTeam.Shield != null) {
-                               teamtemplatestreeview.Model.SetValue (itersDict[loadedTeam.Name], 0,
+                               teamseditortreeview.Model.SetValue (itersDict[loadedTeam.Name], 0,
                                                              loadedTeam.Shield.Value);
                        }
                }
@@ -159,10 +162,10 @@ namespace LongoMatch.Gui.Panel
                        
                        selectedTeams.Clear ();
 
-                       pathArray = teamtemplatestreeview.Selection.GetSelectedRows ();
+                       pathArray = teamseditortreeview.Selection.GetSelectedRows ();
                        for(int i=0; i< pathArray.Length; i++) {
-                               teamtemplatestreeview.Model.GetIterFromString (out iter, 
pathArray[i].ToString());
-                               selectedTeams.Add (teamtemplatestreeview.Model.GetValue (iter, 1) as string);
+                               teamseditortreeview.Model.GetIterFromString (out iter, 
pathArray[i].ToString());
+                               selectedTeams.Add (teamseditortreeview.Model.GetValue (iter, 1) as string);
                        }
                        
                        deleteteamteamplatebutton.Visible = selectedTeams.Count >= 1;
diff --git a/LongoMatch.GUI/Gui/Panel/WelcomePanel.cs b/LongoMatch.GUI/Gui/Panel/WelcomePanel.cs
index 4006392..7dcdc71 100644
--- a/LongoMatch.GUI/Gui/Panel/WelcomePanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/WelcomePanel.cs
@@ -39,9 +39,9 @@ namespace LongoMatch.Gui.Panel
                                           new Action (() => Config.EventsBroker.EmitImportProject ())),
                        new WelcomeButton ("longomatch-project", Catalog.GetString ("Projects\nmanager"),
                                           new Action (() => Config.EventsBroker.EmitManageProjects ())),
-                       new WelcomeButton ("longomatch-sportconfig", Catalog.GetString ("Sport\ntemplates"),
+                       new WelcomeButton ("longomatch-sportconfig", Catalog.GetString ("Analysis\nmanager"),
                                           new Action (() => Config.EventsBroker.EmitManageCategories ())),
-                       new WelcomeButton ("longomatch-teamconfig", Catalog.GetString ("Team\ntemplates"),
+                       new WelcomeButton ("longomatch-teamconfig", Catalog.GetString ("Team\nmanager"),
                                           new Action (() => Config.EventsBroker.EmitManageTeams ())),
                                           
                };
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs
index 735241a..091ac37 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.SportsTemplatesPanel.cs
@@ -4,24 +4,31 @@ namespace LongoMatch.Gui.Panel
 {
        public partial class SportsTemplatesPanel
        {
-               private global::Gtk.VBox vbox3;
+               private global::Gtk.VBox mainvbox;
                private global::Gtk.EventBox headereventbox;
                private global::Gtk.HBox headerhbox;
                private global::Gtk.Image logoimage;
                private global::Gtk.Label titlelabel;
                private global::Gtk.Button backrectbutton;
-               private global::Gtk.HBox hbox1;
-               private global::Gtk.VBox templatesvbox;
+               private global::Gtk.Alignment contentalignment;
+               private global::Gtk.VBox contentvbox;
+               private global::Gtk.HBox hbox3;
+               private global::Gtk.Alignment templateimagealignment;
+               private global::Gtk.Image templateimage;
+               private global::Gtk.VBox vbox3;
+               private global::Gtk.Label label2;
                private global::Gtk.HButtonBox hbuttonbox4;
                private global::Gtk.Button newtemplatebutton;
+               private global::Gtk.Image newtemplateimage;
                private global::Gtk.Button deletetemplatebutton;
+               private global::Gtk.Image deletetemplateimage;
                private global::Gtk.Button savetemplatebutton;
-               private global::Gtk.Frame frame4;
-               private global::Gtk.Alignment GtkAlignment7;
+               private global::Gtk.Image savetemplateimage;
+               private global::Gtk.VSeparator vseparator1;
+               private global::Gtk.HBox hbox1;
+               private global::Gtk.VBox templatesvbox;
                private global::Gtk.ScrolledWindow GtkScrolledWindow1;
-               private global::Gtk.TreeView sporttemplatestreeview;
-               private global::Gtk.Label GtkLabel7;
-               private global::Gtk.VSeparator vseparator2;
+               private global::Gtk.TreeView dashboardseditortreeview;
                private global::Gtk.VBox vbox4;
                private global::LongoMatch.Gui.Component.ButtonsWidget buttonswidget;
                private global::Gtk.HButtonBox hbuttonbox5;
@@ -33,10 +40,10 @@ namespace LongoMatch.Gui.Panel
                        global::Stetic.BinContainer.Attach (this);
                        this.Name = "LongoMatch.Gui.Panel.SportsTemplatesPanel";
                        // Container child 
LongoMatch.Gui.Panel.SportsTemplatesPanel.Gtk.Container+ContainerChild
-                       this.vbox3 = new global::Gtk.VBox ();
-                       this.vbox3.Name = "vbox3";
-                       this.vbox3.Spacing = 6;
-                       // Container child vbox3.Gtk.Box+BoxChild
+                       this.mainvbox = new global::Gtk.VBox ();
+                       this.mainvbox.Name = "mainvbox";
+                       this.mainvbox.Spacing = 6;
+                       // Container child mainvbox.Gtk.Box+BoxChild
                        this.headereventbox = new global::Gtk.EventBox ();
                        this.headereventbox.Name = "headereventbox";
                        // Container child headereventbox.Gtk.Container+ContainerChild
@@ -55,7 +62,7 @@ namespace LongoMatch.Gui.Panel
                        this.titlelabel = new global::Gtk.Label ();
                        this.titlelabel.Name = "titlelabel";
                        this.titlelabel.Xalign = 0F;
-                       this.titlelabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>SPORT TEMPLATE 
EDITOR</b>");
+                       this.titlelabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>ANALYSIS 
DASHBOARD EDITOR</b>");
                        this.titlelabel.UseMarkup = true;
                        this.titlelabel.Justify = ((global::Gtk.Justification)(2));
                        this.headerhbox.Add (this.titlelabel);
@@ -91,146 +98,149 @@ namespace LongoMatch.Gui.Panel
                        w11.Expand = false;
                        w11.Fill = false;
                        this.headereventbox.Add (this.headerhbox);
-                       this.vbox3.Add (this.headereventbox);
-                       global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.headereventbox]));
+                       this.mainvbox.Add (this.headereventbox);
+                       global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.mainvbox 
[this.headereventbox]));
                        w13.Position = 0;
                        w13.Expand = false;
                        w13.Fill = false;
+                       // Container child mainvbox.Gtk.Box+BoxChild
+                       this.contentalignment = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
+                       this.contentalignment.Name = "contentalignment";
+                       this.contentalignment.LeftPadding = ((uint)(12));
+                       this.contentalignment.RightPadding = ((uint)(12));
+                       // Container child contentalignment.Gtk.Container+ContainerChild
+                       this.contentvbox = new global::Gtk.VBox ();
+                       this.contentvbox.Name = "contentvbox";
+                       this.contentvbox.Spacing = 6;
+                       // Container child contentvbox.Gtk.Box+BoxChild
+                       this.hbox3 = new global::Gtk.HBox ();
+                       this.hbox3.Name = "hbox3";
+                       this.hbox3.Spacing = 6;
+                       // Container child hbox3.Gtk.Box+BoxChild
+                       this.templateimagealignment = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
+                       this.templateimagealignment.Name = "templateimagealignment";
+                       this.templateimagealignment.LeftPadding = ((uint)(12));
+                       this.templateimagealignment.RightPadding = ((uint)(24));
+                       // Container child templateimagealignment.Gtk.Container+ContainerChild
+                       this.templateimage = new global::Gtk.Image ();
+                       this.templateimage.Name = "templateimage";
+                       this.templateimagealignment.Add (this.templateimage);
+                       this.hbox3.Add (this.templateimagealignment);
+                       global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 
[this.templateimagealignment]));
+                       w15.Position = 0;
+                       w15.Expand = false;
+                       w15.Fill = false;
+                       // Container child hbox3.Gtk.Box+BoxChild
+                       this.vbox3 = new global::Gtk.VBox ();
+                       this.vbox3.Name = "vbox3";
+                       this.vbox3.Spacing = 6;
+                       // Container child vbox3.Gtk.Box+BoxChild
+                       this.label2 = new global::Gtk.Label ();
+                       this.label2.Name = "label2";
+                       this.label2.Xalign = 0F;
+                       this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Edit dashboard");
+                       this.vbox3.Add (this.label2);
+                       global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2]));
+                       w16.Position = 0;
+                       w16.Fill = false;
                        // Container child vbox3.Gtk.Box+BoxChild
-                       this.hbox1 = new global::Gtk.HBox ();
-                       this.hbox1.Name = "hbox1";
-                       this.hbox1.Spacing = 6;
-                       // Container child hbox1.Gtk.Box+BoxChild
-                       this.templatesvbox = new global::Gtk.VBox ();
-                       this.templatesvbox.WidthRequest = 280;
-                       this.templatesvbox.Name = "templatesvbox";
-                       this.templatesvbox.Spacing = 6;
-                       // Container child templatesvbox.Gtk.Box+BoxChild
                        this.hbuttonbox4 = new global::Gtk.HButtonBox ();
                        this.hbuttonbox4.Name = "hbuttonbox4";
+                       this.hbuttonbox4.Spacing = 12;
                        this.hbuttonbox4.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
                        // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
                        this.newtemplatebutton = new global::Gtk.Button ();
+                       this.newtemplatebutton.TooltipMarkup = "New dashboard";
                        this.newtemplatebutton.CanFocus = true;
                        this.newtemplatebutton.Name = "newtemplatebutton";
-                       this.newtemplatebutton.UseUnderline = true;
                        // Container child newtemplatebutton.Gtk.Container+ContainerChild
-                       global::Gtk.Alignment w14 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
-                       // Container child GtkAlignment.Gtk.Container+ContainerChild
-                       global::Gtk.HBox w15 = new global::Gtk.HBox ();
-                       w15.Spacing = 2;
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Image w16 = new global::Gtk.Image ();
-                       w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", 
global::Gtk.IconSize.SmallToolbar);
-                       w15.Add (w16);
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Label w18 = new global::Gtk.Label ();
-                       w18.LabelProp = global::Mono.Unix.Catalog.GetString ("_Add");
-                       w18.UseUnderline = true;
-                       w15.Add (w18);
-                       w14.Add (w15);
-                       this.newtemplatebutton.Add (w14);
+                       this.newtemplateimage = new global::Gtk.Image ();
+                       this.newtemplateimage.Name = "newtemplateimage";
+                       this.newtemplatebutton.Add (this.newtemplateimage);
+                       this.newtemplatebutton.Label = null;
                        this.hbuttonbox4.Add (this.newtemplatebutton);
-                       global::Gtk.ButtonBox.ButtonBoxChild w22 = 
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4 [this.newtemplatebutton]));
-                       w22.Expand = false;
-                       w22.Fill = false;
+                       global::Gtk.ButtonBox.ButtonBoxChild w18 = 
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4 [this.newtemplatebutton]));
+                       w18.Expand = false;
+                       w18.Fill = false;
                        // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
                        this.deletetemplatebutton = new global::Gtk.Button ();
+                       this.deletetemplatebutton.TooltipMarkup = "Delete dashboard";
                        this.deletetemplatebutton.CanFocus = true;
                        this.deletetemplatebutton.Name = "deletetemplatebutton";
-                       this.deletetemplatebutton.UseUnderline = true;
                        // Container child deletetemplatebutton.Gtk.Container+ContainerChild
-                       global::Gtk.Alignment w23 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
-                       // Container child GtkAlignment.Gtk.Container+ContainerChild
-                       global::Gtk.HBox w24 = new global::Gtk.HBox ();
-                       w24.Spacing = 2;
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Image w25 = new global::Gtk.Image ();
-                       w25.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", 
global::Gtk.IconSize.SmallToolbar);
-                       w24.Add (w25);
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Label w27 = new global::Gtk.Label ();
-                       w27.LabelProp = global::Mono.Unix.Catalog.GetString ("_Remove");
-                       w27.UseUnderline = true;
-                       w24.Add (w27);
-                       w23.Add (w24);
-                       this.deletetemplatebutton.Add (w23);
+                       this.deletetemplateimage = new global::Gtk.Image ();
+                       this.deletetemplateimage.Name = "deletetemplateimage";
+                       this.deletetemplatebutton.Add (this.deletetemplateimage);
+                       this.deletetemplatebutton.Label = null;
                        this.hbuttonbox4.Add (this.deletetemplatebutton);
-                       global::Gtk.ButtonBox.ButtonBoxChild w31 = 
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4 [this.deletetemplatebutton]));
-                       w31.Position = 1;
-                       w31.Expand = false;
-                       w31.Fill = false;
+                       global::Gtk.ButtonBox.ButtonBoxChild w20 = 
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4 [this.deletetemplatebutton]));
+                       w20.Position = 1;
+                       w20.Expand = false;
+                       w20.Fill = false;
                        // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
                        this.savetemplatebutton = new global::Gtk.Button ();
+                       this.savetemplatebutton.TooltipMarkup = "Save dashboard";
                        this.savetemplatebutton.CanFocus = true;
                        this.savetemplatebutton.Name = "savetemplatebutton";
-                       this.savetemplatebutton.UseUnderline = true;
                        // Container child savetemplatebutton.Gtk.Container+ContainerChild
-                       global::Gtk.Alignment w32 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
-                       // Container child GtkAlignment.Gtk.Container+ContainerChild
-                       global::Gtk.HBox w33 = new global::Gtk.HBox ();
-                       w33.Spacing = 2;
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Image w34 = new global::Gtk.Image ();
-                       w34.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", 
global::Gtk.IconSize.SmallToolbar);
-                       w33.Add (w34);
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Label w36 = new global::Gtk.Label ();
-                       w36.LabelProp = global::Mono.Unix.Catalog.GetString ("_Save");
-                       w36.UseUnderline = true;
-                       w33.Add (w36);
-                       w32.Add (w33);
-                       this.savetemplatebutton.Add (w32);
+                       this.savetemplateimage = new global::Gtk.Image ();
+                       this.savetemplateimage.Name = "savetemplateimage";
+                       this.savetemplatebutton.Add (this.savetemplateimage);
+                       this.savetemplatebutton.Label = null;
                        this.hbuttonbox4.Add (this.savetemplatebutton);
-                       global::Gtk.ButtonBox.ButtonBoxChild w40 = 
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4 [this.savetemplatebutton]));
-                       w40.Position = 2;
-                       w40.Expand = false;
-                       w40.Fill = false;
-                       this.templatesvbox.Add (this.hbuttonbox4);
-                       global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.templatesvbox 
[this.hbuttonbox4]));
-                       w41.Position = 0;
-                       w41.Expand = false;
-                       w41.Fill = false;
+                       global::Gtk.ButtonBox.ButtonBoxChild w22 = 
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4 [this.savetemplatebutton]));
+                       w22.Position = 2;
+                       w22.Expand = false;
+                       w22.Fill = false;
+                       this.vbox3.Add (this.hbuttonbox4);
+                       global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.hbuttonbox4]));
+                       w23.Position = 1;
+                       w23.Expand = false;
+                       w23.Fill = false;
+                       this.hbox3.Add (this.vbox3);
+                       global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox3]));
+                       w24.Position = 1;
+                       w24.Expand = false;
+                       w24.Fill = false;
+                       // Container child hbox3.Gtk.Box+BoxChild
+                       this.vseparator1 = new global::Gtk.VSeparator ();
+                       this.vseparator1.Name = "vseparator1";
+                       this.hbox3.Add (this.vseparator1);
+                       global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox3 
[this.vseparator1]));
+                       w25.Position = 2;
+                       w25.Expand = false;
+                       w25.Fill = false;
+                       this.contentvbox.Add (this.hbox3);
+                       global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.contentvbox 
[this.hbox3]));
+                       w26.Position = 0;
+                       w26.Expand = false;
+                       w26.Fill = false;
+                       // Container child contentvbox.Gtk.Box+BoxChild
+                       this.hbox1 = new global::Gtk.HBox ();
+                       this.hbox1.Name = "hbox1";
+                       this.hbox1.Spacing = 6;
+                       // Container child hbox1.Gtk.Box+BoxChild
+                       this.templatesvbox = new global::Gtk.VBox ();
+                       this.templatesvbox.WidthRequest = 280;
+                       this.templatesvbox.Name = "templatesvbox";
+                       this.templatesvbox.Spacing = 6;
                        // Container child templatesvbox.Gtk.Box+BoxChild
-                       this.frame4 = new global::Gtk.Frame ();
-                       this.frame4.Name = "frame4";
-                       this.frame4.ShadowType = ((global::Gtk.ShadowType)(0));
-                       // Container child frame4.Gtk.Container+ContainerChild
-                       this.GtkAlignment7 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
-                       this.GtkAlignment7.Name = "GtkAlignment7";
-                       this.GtkAlignment7.LeftPadding = ((uint)(12));
-                       // Container child GtkAlignment7.Gtk.Container+ContainerChild
                        this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
                        this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
                        this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
                        // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
-                       this.sporttemplatestreeview = new global::Gtk.TreeView ();
-                       this.sporttemplatestreeview.CanFocus = true;
-                       this.sporttemplatestreeview.Name = "sporttemplatestreeview";
-                       this.GtkScrolledWindow1.Add (this.sporttemplatestreeview);
-                       this.GtkAlignment7.Add (this.GtkScrolledWindow1);
-                       this.frame4.Add (this.GtkAlignment7);
-                       this.GtkLabel7 = new global::Gtk.Label ();
-                       this.GtkLabel7.Name = "GtkLabel7";
-                       this.GtkLabel7.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Analysis 
templates</b>");
-                       this.GtkLabel7.UseMarkup = true;
-                       this.frame4.LabelWidget = this.GtkLabel7;
-                       this.templatesvbox.Add (this.frame4);
-                       global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.templatesvbox 
[this.frame4]));
-                       w45.Position = 1;
+                       this.dashboardseditortreeview = new global::Gtk.TreeView ();
+                       this.dashboardseditortreeview.CanFocus = true;
+                       this.dashboardseditortreeview.Name = "dashboardseditortreeview";
+                       this.GtkScrolledWindow1.Add (this.dashboardseditortreeview);
+                       this.templatesvbox.Add (this.GtkScrolledWindow1);
+                       global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.templatesvbox 
[this.GtkScrolledWindow1]));
+                       w28.Position = 0;
                        this.hbox1.Add (this.templatesvbox);
-                       global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.templatesvbox]));
-                       w46.Position = 0;
-                       w46.Expand = false;
-                       w46.Fill = false;
-                       // Container child hbox1.Gtk.Box+BoxChild
-                       this.vseparator2 = new global::Gtk.VSeparator ();
-                       this.vseparator2.Name = "vseparator2";
-                       this.hbox1.Add (this.vseparator2);
-                       global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.vseparator2]));
-                       w47.Position = 1;
-                       w47.Expand = false;
-                       w47.Fill = false;
+                       global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.templatesvbox]));
+                       w29.Position = 0;
+                       w29.Expand = false;
+                       w29.Fill = false;
                        // Container child hbox1.Gtk.Box+BoxChild
                        this.vbox4 = new global::Gtk.VBox ();
                        this.vbox4.Name = "vbox4";
@@ -241,24 +251,28 @@ namespace LongoMatch.Gui.Panel
                        this.buttonswidget.Name = "buttonswidget";
                        this.buttonswidget.Edited = false;
                        this.vbox4.Add (this.buttonswidget);
-                       global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox4 
[this.buttonswidget]));
-                       w48.Position = 0;
+                       global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox4 
[this.buttonswidget]));
+                       w30.Position = 0;
                        // Container child vbox4.Gtk.Box+BoxChild
                        this.hbuttonbox5 = new global::Gtk.HButtonBox ();
                        this.hbuttonbox5.Name = "hbuttonbox5";
                        this.hbuttonbox5.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(1));
                        this.vbox4.Add (this.hbuttonbox5);
-                       global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox4 
[this.hbuttonbox5]));
-                       w49.Position = 1;
-                       w49.Expand = false;
-                       w49.Fill = false;
+                       global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox4 
[this.hbuttonbox5]));
+                       w31.Position = 1;
+                       w31.Expand = false;
+                       w31.Fill = false;
                        this.hbox1.Add (this.vbox4);
-                       global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4]));
-                       w50.Position = 2;
-                       this.vbox3.Add (this.hbox1);
-                       global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1]));
-                       w51.Position = 1;
-                       this.Add (this.vbox3);
+                       global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4]));
+                       w32.Position = 1;
+                       this.contentvbox.Add (this.hbox1);
+                       global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.contentvbox 
[this.hbox1]));
+                       w33.Position = 1;
+                       this.contentalignment.Add (this.contentvbox);
+                       this.mainvbox.Add (this.contentalignment);
+                       global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.mainvbox 
[this.contentalignment]));
+                       w35.Position = 1;
+                       this.Add (this.mainvbox);
                        if ((this.Child != null)) {
                                this.Child.ShowAll ();
                        }
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs
index 76c3921..58985eb 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.TeamsTemplatesPanel.cs
@@ -4,23 +4,31 @@ namespace LongoMatch.Gui.Panel
 {
        public partial class TeamsTemplatesPanel
        {
-               private global::Gtk.VBox vbox3;
+               private global::Gtk.VBox mainvbox;
                private global::Gtk.EventBox headereventbox;
                private global::Gtk.HBox headerhbox;
                private global::Gtk.Image logoimage;
                private global::Gtk.Label titlelabel;
                private global::Gtk.Button backrectbutton;
-               private global::Gtk.HBox hbox1;
-               private global::Gtk.VBox teamsvbox;
-               private global::Gtk.HButtonBox hbuttonbox4;
+               private global::Gtk.Alignment contentalignment;
+               private global::Gtk.VBox contentvbox;
+               private global::Gtk.HBox hbox7;
+               private global::Gtk.Alignment templateimagealignment;
+               private global::Gtk.Image teamimage;
+               private global::Gtk.VBox vbox7;
+               private global::Gtk.Label label4;
+               private global::Gtk.HButtonBox teambuttonbox;
                private global::Gtk.Button newteamtemplatebutton;
+               private global::Gtk.Image newteamimage;
                private global::Gtk.Button deleteteamteamplatebutton;
+               private global::Gtk.Image deleteteamimage;
                private global::Gtk.Button saveteamtemplatebutton;
-               private global::Gtk.Frame frame4;
-               private global::Gtk.Alignment GtkAlignment7;
+               private global::Gtk.Image saveteamimage;
+               private global::Gtk.VSeparator vseparator3;
+               private global::Gtk.HBox hbox1;
+               private global::Gtk.VBox teamsvbox;
                private global::Gtk.ScrolledWindow GtkScrolledWindow1;
-               private global::Gtk.TreeView teamtemplatestreeview;
-               private global::Gtk.Label GtkLabel7;
+               private global::Gtk.TreeView teamseditortreeview;
                private global::Gtk.VSeparator vseparator2;
                private global::LongoMatch.Gui.Component.TeamTemplateEditor teamtemplateeditor1;
                private global::Gtk.HButtonBox hbuttonbox3;
@@ -32,10 +40,10 @@ namespace LongoMatch.Gui.Panel
                        global::Stetic.BinContainer.Attach (this);
                        this.Name = "LongoMatch.Gui.Panel.TeamsTemplatesPanel";
                        // Container child 
LongoMatch.Gui.Panel.TeamsTemplatesPanel.Gtk.Container+ContainerChild
-                       this.vbox3 = new global::Gtk.VBox ();
-                       this.vbox3.Name = "vbox3";
-                       this.vbox3.Spacing = 6;
-                       // Container child vbox3.Gtk.Box+BoxChild
+                       this.mainvbox = new global::Gtk.VBox ();
+                       this.mainvbox.Name = "mainvbox";
+                       this.mainvbox.Spacing = 6;
+                       // Container child mainvbox.Gtk.Box+BoxChild
                        this.headereventbox = new global::Gtk.EventBox ();
                        this.headereventbox.Name = "headereventbox";
                        // Container child headereventbox.Gtk.Container+ContainerChild
@@ -54,7 +62,7 @@ namespace LongoMatch.Gui.Panel
                        this.titlelabel = new global::Gtk.Label ();
                        this.titlelabel.Name = "titlelabel";
                        this.titlelabel.Xalign = 0F;
-                       this.titlelabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>TEAM TEMPLATE 
EDITOR</b>");
+                       this.titlelabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>TEAM 
EDITOR</b>");
                        this.titlelabel.UseMarkup = true;
                        this.titlelabel.Justify = ((global::Gtk.Justification)(2));
                        this.headerhbox.Add (this.titlelabel);
@@ -90,160 +98,180 @@ namespace LongoMatch.Gui.Panel
                        w11.Expand = false;
                        w11.Fill = false;
                        this.headereventbox.Add (this.headerhbox);
-                       this.vbox3.Add (this.headereventbox);
-                       global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.headereventbox]));
+                       this.mainvbox.Add (this.headereventbox);
+                       global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.mainvbox 
[this.headereventbox]));
                        w13.Position = 0;
                        w13.Expand = false;
                        w13.Fill = false;
-                       // Container child vbox3.Gtk.Box+BoxChild
-                       this.hbox1 = new global::Gtk.HBox ();
-                       this.hbox1.Name = "hbox1";
-                       this.hbox1.Spacing = 6;
-                       // Container child hbox1.Gtk.Box+BoxChild
-                       this.teamsvbox = new global::Gtk.VBox ();
-                       this.teamsvbox.WidthRequest = 280;
-                       this.teamsvbox.Name = "teamsvbox";
-                       this.teamsvbox.Spacing = 6;
-                       // Container child teamsvbox.Gtk.Box+BoxChild
-                       this.hbuttonbox4 = new global::Gtk.HButtonBox ();
-                       this.hbuttonbox4.Name = "hbuttonbox4";
-                       this.hbuttonbox4.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
-                       // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
+                       // Container child mainvbox.Gtk.Box+BoxChild
+                       this.contentalignment = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
+                       this.contentalignment.Name = "contentalignment";
+                       this.contentalignment.LeftPadding = ((uint)(12));
+                       this.contentalignment.RightPadding = ((uint)(12));
+                       // Container child contentalignment.Gtk.Container+ContainerChild
+                       this.contentvbox = new global::Gtk.VBox ();
+                       this.contentvbox.Name = "contentvbox";
+                       this.contentvbox.Spacing = 6;
+                       // Container child contentvbox.Gtk.Box+BoxChild
+                       this.hbox7 = new global::Gtk.HBox ();
+                       this.hbox7.Name = "hbox7";
+                       this.hbox7.Spacing = 6;
+                       // Container child hbox7.Gtk.Box+BoxChild
+                       this.templateimagealignment = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
+                       this.templateimagealignment.Name = "templateimagealignment";
+                       this.templateimagealignment.LeftPadding = ((uint)(12));
+                       this.templateimagealignment.RightPadding = ((uint)(24));
+                       // Container child templateimagealignment.Gtk.Container+ContainerChild
+                       this.teamimage = new global::Gtk.Image ();
+                       this.teamimage.Name = "teamimage";
+                       this.templateimagealignment.Add (this.teamimage);
+                       this.hbox7.Add (this.templateimagealignment);
+                       global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox7 
[this.templateimagealignment]));
+                       w15.Position = 0;
+                       w15.Expand = false;
+                       w15.Fill = false;
+                       // Container child hbox7.Gtk.Box+BoxChild
+                       this.vbox7 = new global::Gtk.VBox ();
+                       this.vbox7.Name = "vbox7";
+                       this.vbox7.Spacing = 6;
+                       // Container child vbox7.Gtk.Box+BoxChild
+                       this.label4 = new global::Gtk.Label ();
+                       this.label4.Name = "label4";
+                       this.label4.Xalign = 0F;
+                       this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Edit team");
+                       this.vbox7.Add (this.label4);
+                       global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.label4]));
+                       w16.Position = 0;
+                       // Container child vbox7.Gtk.Box+BoxChild
+                       this.teambuttonbox = new global::Gtk.HButtonBox ();
+                       this.teambuttonbox.Name = "teambuttonbox";
+                       this.teambuttonbox.Spacing = 12;
+                       this.teambuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
+                       // Container child teambuttonbox.Gtk.ButtonBox+ButtonBoxChild
                        this.newteamtemplatebutton = new global::Gtk.Button ();
+                       this.newteamtemplatebutton.TooltipMarkup = "New team";
                        this.newteamtemplatebutton.CanFocus = true;
                        this.newteamtemplatebutton.Name = "newteamtemplatebutton";
-                       this.newteamtemplatebutton.UseUnderline = true;
                        // Container child newteamtemplatebutton.Gtk.Container+ContainerChild
-                       global::Gtk.Alignment w14 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
-                       // Container child GtkAlignment.Gtk.Container+ContainerChild
-                       global::Gtk.HBox w15 = new global::Gtk.HBox ();
-                       w15.Spacing = 2;
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Image w16 = new global::Gtk.Image ();
-                       w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "longomatch-template-add", 
global::Gtk.IconSize.SmallToolbar);
-                       w15.Add (w16);
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Label w18 = new global::Gtk.Label ();
-                       w15.Add (w18);
-                       w14.Add (w15);
-                       this.newteamtemplatebutton.Add (w14);
-                       this.hbuttonbox4.Add (this.newteamtemplatebutton);
-                       global::Gtk.ButtonBox.ButtonBoxChild w22 = 
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4 [this.newteamtemplatebutton]));
-                       w22.Expand = false;
-                       w22.Fill = false;
-                       // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
+                       this.newteamimage = new global::Gtk.Image ();
+                       this.newteamimage.Name = "newteamimage";
+                       this.newteamtemplatebutton.Add (this.newteamimage);
+                       this.newteamtemplatebutton.Label = null;
+                       this.teambuttonbox.Add (this.newteamtemplatebutton);
+                       global::Gtk.ButtonBox.ButtonBoxChild w18 = 
((global::Gtk.ButtonBox.ButtonBoxChild)(this.teambuttonbox [this.newteamtemplatebutton]));
+                       w18.Expand = false;
+                       w18.Fill = false;
+                       // Container child teambuttonbox.Gtk.ButtonBox+ButtonBoxChild
                        this.deleteteamteamplatebutton = new global::Gtk.Button ();
+                       this.deleteteamteamplatebutton.TooltipMarkup = "Delete team";
                        this.deleteteamteamplatebutton.CanFocus = true;
                        this.deleteteamteamplatebutton.Name = "deleteteamteamplatebutton";
-                       this.deleteteamteamplatebutton.UseUnderline = true;
                        // Container child deleteteamteamplatebutton.Gtk.Container+ContainerChild
-                       global::Gtk.Alignment w23 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
-                       // Container child GtkAlignment.Gtk.Container+ContainerChild
-                       global::Gtk.HBox w24 = new global::Gtk.HBox ();
-                       w24.Spacing = 2;
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Image w25 = new global::Gtk.Image ();
-                       w25.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "longomatch-template-delete", 
global::Gtk.IconSize.SmallToolbar);
-                       w24.Add (w25);
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Label w27 = new global::Gtk.Label ();
-                       w24.Add (w27);
-                       w23.Add (w24);
-                       this.deleteteamteamplatebutton.Add (w23);
-                       this.hbuttonbox4.Add (this.deleteteamteamplatebutton);
-                       global::Gtk.ButtonBox.ButtonBoxChild w31 = 
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4 [this.deleteteamteamplatebutton]));
-                       w31.Position = 1;
-                       w31.Expand = false;
-                       w31.Fill = false;
-                       // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
+                       this.deleteteamimage = new global::Gtk.Image ();
+                       this.deleteteamimage.Name = "deleteteamimage";
+                       this.deleteteamteamplatebutton.Add (this.deleteteamimage);
+                       this.deleteteamteamplatebutton.Label = null;
+                       this.teambuttonbox.Add (this.deleteteamteamplatebutton);
+                       global::Gtk.ButtonBox.ButtonBoxChild w20 = 
((global::Gtk.ButtonBox.ButtonBoxChild)(this.teambuttonbox [this.deleteteamteamplatebutton]));
+                       w20.Position = 1;
+                       w20.Expand = false;
+                       w20.Fill = false;
+                       // Container child teambuttonbox.Gtk.ButtonBox+ButtonBoxChild
                        this.saveteamtemplatebutton = new global::Gtk.Button ();
+                       this.saveteamtemplatebutton.TooltipMarkup = "Save team";
                        this.saveteamtemplatebutton.CanFocus = true;
                        this.saveteamtemplatebutton.Name = "saveteamtemplatebutton";
-                       this.saveteamtemplatebutton.UseUnderline = true;
                        // Container child saveteamtemplatebutton.Gtk.Container+ContainerChild
-                       global::Gtk.Alignment w32 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
-                       // Container child GtkAlignment.Gtk.Container+ContainerChild
-                       global::Gtk.HBox w33 = new global::Gtk.HBox ();
-                       w33.Spacing = 2;
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Image w34 = new global::Gtk.Image ();
-                       w34.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "longomatch-template-save", 
global::Gtk.IconSize.SmallToolbar);
-                       w33.Add (w34);
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Label w36 = new global::Gtk.Label ();
-                       w33.Add (w36);
-                       w32.Add (w33);
-                       this.saveteamtemplatebutton.Add (w32);
-                       this.hbuttonbox4.Add (this.saveteamtemplatebutton);
-                       global::Gtk.ButtonBox.ButtonBoxChild w40 = 
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4 [this.saveteamtemplatebutton]));
-                       w40.Position = 2;
-                       w40.Expand = false;
-                       w40.Fill = false;
-                       this.teamsvbox.Add (this.hbuttonbox4);
-                       global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.teamsvbox 
[this.hbuttonbox4]));
-                       w41.Position = 0;
-                       w41.Expand = false;
-                       w41.Fill = false;
+                       this.saveteamimage = new global::Gtk.Image ();
+                       this.saveteamimage.Name = "saveteamimage";
+                       this.saveteamtemplatebutton.Add (this.saveteamimage);
+                       this.saveteamtemplatebutton.Label = null;
+                       this.teambuttonbox.Add (this.saveteamtemplatebutton);
+                       global::Gtk.ButtonBox.ButtonBoxChild w22 = 
((global::Gtk.ButtonBox.ButtonBoxChild)(this.teambuttonbox [this.saveteamtemplatebutton]));
+                       w22.Position = 2;
+                       w22.Expand = false;
+                       w22.Fill = false;
+                       this.vbox7.Add (this.teambuttonbox);
+                       global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox7 
[this.teambuttonbox]));
+                       w23.Position = 1;
+                       w23.Expand = false;
+                       w23.Fill = false;
+                       this.hbox7.Add (this.vbox7);
+                       global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.vbox7]));
+                       w24.Position = 1;
+                       w24.Expand = false;
+                       w24.Fill = false;
+                       // Container child hbox7.Gtk.Box+BoxChild
+                       this.vseparator3 = new global::Gtk.VSeparator ();
+                       this.vseparator3.Name = "vseparator3";
+                       this.hbox7.Add (this.vseparator3);
+                       global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox7 
[this.vseparator3]));
+                       w25.Position = 2;
+                       w25.Expand = false;
+                       w25.Fill = false;
+                       this.contentvbox.Add (this.hbox7);
+                       global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.contentvbox 
[this.hbox7]));
+                       w26.Position = 0;
+                       w26.Expand = false;
+                       w26.Fill = false;
+                       // Container child contentvbox.Gtk.Box+BoxChild
+                       this.hbox1 = new global::Gtk.HBox ();
+                       this.hbox1.Name = "hbox1";
+                       this.hbox1.Spacing = 6;
+                       // Container child hbox1.Gtk.Box+BoxChild
+                       this.teamsvbox = new global::Gtk.VBox ();
+                       this.teamsvbox.WidthRequest = 280;
+                       this.teamsvbox.Name = "teamsvbox";
+                       this.teamsvbox.Spacing = 6;
                        // Container child teamsvbox.Gtk.Box+BoxChild
-                       this.frame4 = new global::Gtk.Frame ();
-                       this.frame4.Name = "frame4";
-                       this.frame4.ShadowType = ((global::Gtk.ShadowType)(0));
-                       // Container child frame4.Gtk.Container+ContainerChild
-                       this.GtkAlignment7 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
-                       this.GtkAlignment7.Name = "GtkAlignment7";
-                       this.GtkAlignment7.LeftPadding = ((uint)(12));
-                       // Container child GtkAlignment7.Gtk.Container+ContainerChild
                        this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
                        this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
                        this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
                        // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
-                       this.teamtemplatestreeview = new global::Gtk.TreeView ();
-                       this.teamtemplatestreeview.CanFocus = true;
-                       this.teamtemplatestreeview.Name = "teamtemplatestreeview";
-                       this.GtkScrolledWindow1.Add (this.teamtemplatestreeview);
-                       this.GtkAlignment7.Add (this.GtkScrolledWindow1);
-                       this.frame4.Add (this.GtkAlignment7);
-                       this.GtkLabel7 = new global::Gtk.Label ();
-                       this.GtkLabel7.Name = "GtkLabel7";
-                       this.GtkLabel7.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Teams</b>");
-                       this.GtkLabel7.UseMarkup = true;
-                       this.frame4.LabelWidget = this.GtkLabel7;
-                       this.teamsvbox.Add (this.frame4);
-                       global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.teamsvbox 
[this.frame4]));
-                       w45.Position = 1;
+                       this.teamseditortreeview = new global::Gtk.TreeView ();
+                       this.teamseditortreeview.CanFocus = true;
+                       this.teamseditortreeview.Name = "teamseditortreeview";
+                       this.GtkScrolledWindow1.Add (this.teamseditortreeview);
+                       this.teamsvbox.Add (this.GtkScrolledWindow1);
+                       global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.teamsvbox 
[this.GtkScrolledWindow1]));
+                       w28.Position = 0;
                        this.hbox1.Add (this.teamsvbox);
-                       global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.teamsvbox]));
-                       w46.Position = 0;
-                       w46.Expand = false;
-                       w46.Fill = false;
+                       global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.teamsvbox]));
+                       w29.Position = 0;
+                       w29.Expand = false;
+                       w29.Fill = false;
                        // Container child hbox1.Gtk.Box+BoxChild
                        this.vseparator2 = new global::Gtk.VSeparator ();
                        this.vseparator2.Name = "vseparator2";
                        this.hbox1.Add (this.vseparator2);
-                       global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.vseparator2]));
-                       w47.Position = 1;
-                       w47.Expand = false;
-                       w47.Fill = false;
+                       global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.vseparator2]));
+                       w30.Position = 1;
+                       w30.Expand = false;
+                       w30.Fill = false;
                        // Container child hbox1.Gtk.Box+BoxChild
                        this.teamtemplateeditor1 = new global::LongoMatch.Gui.Component.TeamTemplateEditor ();
                        this.teamtemplateeditor1.Events = ((global::Gdk.EventMask)(256));
                        this.teamtemplateeditor1.Name = "teamtemplateeditor1";
                        this.hbox1.Add (this.teamtemplateeditor1);
-                       global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.teamtemplateeditor1]));
-                       w48.Position = 2;
-                       this.vbox3.Add (this.hbox1);
-                       global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1]));
-                       w49.Position = 1;
-                       // Container child vbox3.Gtk.Box+BoxChild
+                       global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.teamtemplateeditor1]));
+                       w31.Position = 2;
+                       this.contentvbox.Add (this.hbox1);
+                       global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.contentvbox 
[this.hbox1]));
+                       w32.Position = 1;
+                       this.contentalignment.Add (this.contentvbox);
+                       this.mainvbox.Add (this.contentalignment);
+                       global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.mainvbox 
[this.contentalignment]));
+                       w34.Position = 1;
+                       // Container child mainvbox.Gtk.Box+BoxChild
                        this.hbuttonbox3 = new global::Gtk.HButtonBox ();
                        this.hbuttonbox3.Name = "hbuttonbox3";
                        this.hbuttonbox3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
-                       this.vbox3.Add (this.hbuttonbox3);
-                       global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.hbuttonbox3]));
-                       w50.Position = 2;
-                       w50.Expand = false;
-                       w50.Fill = false;
-                       this.Add (this.vbox3);
+                       this.mainvbox.Add (this.hbuttonbox3);
+                       global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.mainvbox 
[this.hbuttonbox3]));
+                       w35.Position = 2;
+                       w35.Expand = false;
+                       w35.Fill = false;
+                       this.Add (this.mainvbox);
                        if ((this.Child != null)) {
                                this.Child.ShowAll ();
                        }
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index 5a82720..9b6e513 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -7263,7 +7263,7 @@ You can continue with the current capture, cancel it or save your project.
     <property name="MemberName" />
     <property name="Visible">False</property>
     <child>
-      <widget class="Gtk.VBox" id="vbox3">
+      <widget class="Gtk.VBox" id="mainvbox">
         <property name="MemberName" />
         <property name="Spacing">6</property>
         <child>
@@ -7288,7 +7288,7 @@ You can continue with the current capture, cancel it or save your project.
                   <widget class="Gtk.Label" id="titlelabel">
                     <property name="MemberName" />
                     <property name="Xalign">0</property>
-                    <property name="LabelProp" translatable="yes">&lt;b&gt;TEAM TEMPLATE 
EDITOR&lt;/b&gt;</property>
+                    <property name="LabelProp" translatable="yes">&lt;b&gt;TEAM EDITOR&lt;/b&gt;</property>
                     <property name="UseMarkup">True</property>
                     <property name="Justify">Center</property>
                   </widget>
@@ -7329,59 +7329,133 @@ You can continue with the current capture, cancel it or save your project.
           </packing>
         </child>
         <child>
-          <widget class="Gtk.HBox" id="hbox1">
+          <widget class="Gtk.Alignment" id="contentalignment">
             <property name="MemberName" />
-            <property name="Spacing">6</property>
+            <property name="LeftPadding">12</property>
+            <property name="RightPadding">12</property>
             <child>
-              <widget class="Gtk.VBox" id="teamsvbox">
+              <widget class="Gtk.VBox" id="contentvbox">
                 <property name="MemberName" />
-                <property name="WidthRequest">280</property>
                 <property name="Spacing">6</property>
                 <child>
-                  <widget class="Gtk.HButtonBox" id="hbuttonbox4">
+                  <widget class="Gtk.HBox" id="hbox7">
                     <property name="MemberName" />
-                    <property name="Size">3</property>
-                    <property name="LayoutStyle">Start</property>
+                    <property name="Spacing">6</property>
                     <child>
-                      <widget class="Gtk.Button" id="newteamtemplatebutton">
+                      <widget class="Gtk.Alignment" id="templateimagealignment">
                         <property name="MemberName" />
-                        <property name="CanFocus">True</property>
-                        <property name="Type">TextAndIcon</property>
-                        <property name="Icon">stock:longomatch-template-add SmallToolbar</property>
-                        <property name="Label" translatable="yes" />
-                        <property name="UseUnderline">True</property>
+                        <property name="LeftPadding">12</property>
+                        <property name="RightPadding">24</property>
+                        <child>
+                          <widget class="Gtk.Image" id="teamimage">
+                            <property name="MemberName" />
+                          </widget>
+                        </child>
                       </widget>
                       <packing>
+                        <property name="Position">0</property>
+                        <property name="AutoSize">True</property>
                         <property name="Expand">False</property>
                         <property name="Fill">False</property>
                       </packing>
                     </child>
                     <child>
-                      <widget class="Gtk.Button" id="deleteteamteamplatebutton">
+                      <widget class="Gtk.VBox" id="vbox7">
                         <property name="MemberName" />
-                        <property name="CanFocus">True</property>
-                        <property name="Type">TextAndIcon</property>
-                        <property name="Icon">stock:longomatch-template-delete SmallToolbar</property>
-                        <property name="Label" translatable="yes" />
-                        <property name="UseUnderline">True</property>
+                        <property name="Spacing">6</property>
+                        <child>
+                          <widget class="Gtk.Label" id="label4">
+                            <property name="MemberName" />
+                            <property name="Xalign">0</property>
+                            <property name="LabelProp" translatable="yes">Edit team</property>
+                          </widget>
+                          <packing>
+                            <property name="Position">0</property>
+                            <property name="AutoSize">False</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="Gtk.HButtonBox" id="teambuttonbox">
+                            <property name="MemberName" />
+                            <property name="Spacing">12</property>
+                            <property name="Size">3</property>
+                            <property name="LayoutStyle">Start</property>
+                            <child>
+                              <widget class="Gtk.Button" id="newteamtemplatebutton">
+                                <property name="MemberName" />
+                                <property name="Tooltip" translatable="yes">New team</property>
+                                <property name="CanFocus">True</property>
+                                <property name="Type">Custom</property>
+                                <child>
+                                  <widget class="Gtk.Image" id="newteamimage">
+                                    <property name="MemberName" />
+                                  </widget>
+                                </child>
+                              </widget>
+                              <packing>
+                                <property name="Expand">False</property>
+                                <property name="Fill">False</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="Gtk.Button" id="deleteteamteamplatebutton">
+                                <property name="MemberName" />
+                                <property name="Tooltip" translatable="yes">Delete team</property>
+                                <property name="CanFocus">True</property>
+                                <property name="Type">Custom</property>
+                                <child>
+                                  <widget class="Gtk.Image" id="deleteteamimage">
+                                    <property name="MemberName" />
+                                  </widget>
+                                </child>
+                              </widget>
+                              <packing>
+                                <property name="Position">1</property>
+                                <property name="Expand">False</property>
+                                <property name="Fill">False</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="Gtk.Button" id="saveteamtemplatebutton">
+                                <property name="MemberName" />
+                                <property name="Tooltip" translatable="yes">Save team</property>
+                                <property name="CanFocus">True</property>
+                                <property name="Type">Custom</property>
+                                <child>
+                                  <widget class="Gtk.Image" id="saveteamimage">
+                                    <property name="MemberName" />
+                                  </widget>
+                                </child>
+                              </widget>
+                              <packing>
+                                <property name="Position">2</property>
+                                <property name="Expand">False</property>
+                                <property name="Fill">False</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="Position">1</property>
+                            <property name="AutoSize">False</property>
+                            <property name="Expand">False</property>
+                            <property name="Fill">False</property>
+                          </packing>
+                        </child>
                       </widget>
                       <packing>
                         <property name="Position">1</property>
+                        <property name="AutoSize">True</property>
                         <property name="Expand">False</property>
                         <property name="Fill">False</property>
                       </packing>
                     </child>
                     <child>
-                      <widget class="Gtk.Button" id="saveteamtemplatebutton">
+                      <widget class="Gtk.VSeparator" id="vseparator3">
                         <property name="MemberName" />
-                        <property name="CanFocus">True</property>
-                        <property name="Type">TextAndIcon</property>
-                        <property name="Icon">stock:longomatch-template-save SmallToolbar</property>
-                        <property name="Label" translatable="yes" />
-                        <property name="UseUnderline">True</property>
                       </widget>
                       <packing>
                         <property name="Position">2</property>
+                        <property name="AutoSize">True</property>
                         <property name="Expand">False</property>
                         <property name="Fill">False</property>
                       </packing>
@@ -7395,74 +7469,67 @@ You can continue with the current capture, cancel it or save your project.
                   </packing>
                 </child>
                 <child>
-                  <widget class="Gtk.Frame" id="frame4">
+                  <widget class="Gtk.HBox" id="hbox1">
                     <property name="MemberName" />
-                    <property name="ShadowType">None</property>
+                    <property name="Spacing">6</property>
                     <child>
-                      <widget class="Gtk.Alignment" id="GtkAlignment7">
+                      <widget class="Gtk.VBox" id="teamsvbox">
                         <property name="MemberName" />
-                        <property name="Xalign">0</property>
-                        <property name="Yalign">0</property>
-                        <property name="LeftPadding">12</property>
+                        <property name="WidthRequest">280</property>
+                        <property name="Spacing">6</property>
                         <child>
                           <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow1">
                             <property name="MemberName" />
                             <property name="ShadowType">In</property>
                             <child>
-                              <widget class="Gtk.TreeView" id="teamtemplatestreeview">
+                              <widget class="Gtk.TreeView" id="teamseditortreeview">
                                 <property name="MemberName" />
                                 <property name="CanFocus">True</property>
                                 <property name="ShowScrollbars">True</property>
                               </widget>
                             </child>
                           </widget>
+                          <packing>
+                            <property name="Position">0</property>
+                            <property name="AutoSize">True</property>
+                          </packing>
                         </child>
                       </widget>
+                      <packing>
+                        <property name="Position">0</property>
+                        <property name="AutoSize">False</property>
+                        <property name="Expand">False</property>
+                        <property name="Fill">False</property>
+                      </packing>
                     </child>
                     <child>
-                      <widget class="Gtk.Label" id="GtkLabel7">
+                      <widget class="Gtk.VSeparator" id="vseparator2">
                         <property name="MemberName" />
-                        <property name="LabelProp" translatable="yes">&lt;b&gt;Teams&lt;/b&gt;</property>
-                        <property name="UseMarkup">True</property>
                       </widget>
                       <packing>
-                        <property name="type">label_item</property>
+                        <property name="Position">1</property>
+                        <property name="AutoSize">True</property>
+                        <property name="Expand">False</property>
+                        <property name="Fill">False</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="LongoMatch.Gui.Component.TeamTemplateEditor" id="teamtemplateeditor1">
+                        <property name="MemberName" />
+                        <property name="Events">ButtonPressMask</property>
+                      </widget>
+                      <packing>
+                        <property name="Position">2</property>
+                        <property name="AutoSize">False</property>
                       </packing>
                     </child>
                   </widget>
                   <packing>
                     <property name="Position">1</property>
-                    <property name="AutoSize">True</property>
+                    <property name="AutoSize">False</property>
                   </packing>
                 </child>
               </widget>
-              <packing>
-                <property name="Position">0</property>
-                <property name="AutoSize">False</property>
-                <property name="Expand">False</property>
-                <property name="Fill">False</property>
-              </packing>
-            </child>
-            <child>
-              <widget class="Gtk.VSeparator" id="vseparator2">
-                <property name="MemberName" />
-              </widget>
-              <packing>
-                <property name="Position">1</property>
-                <property name="AutoSize">True</property>
-                <property name="Expand">False</property>
-                <property name="Fill">False</property>
-              </packing>
-            </child>
-            <child>
-              <widget class="LongoMatch.Gui.Component.TeamTemplateEditor" id="teamtemplateeditor1">
-                <property name="MemberName" />
-                <property name="Events">ButtonPressMask</property>
-              </widget>
-              <packing>
-                <property name="Position">2</property>
-                <property name="AutoSize">False</property>
-              </packing>
             </child>
           </widget>
           <packing>
@@ -8931,11 +8998,11 @@ You can continue with the current capture, cancel it or save your project.
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Bin" id="LongoMatch.Gui.Panel.SportsTemplatesPanel" design-size="1388 783">
+  <widget class="Gtk.Bin" id="LongoMatch.Gui.Panel.SportsTemplatesPanel" design-size="1412 783">
     <property name="MemberName" />
     <property name="Visible">False</property>
     <child>
-      <widget class="Gtk.VBox" id="vbox3">
+      <widget class="Gtk.VBox" id="mainvbox">
         <property name="MemberName" />
         <property name="Spacing">6</property>
         <child>
@@ -8960,7 +9027,7 @@ You can continue with the current capture, cancel it or save your project.
                   <widget class="Gtk.Label" id="titlelabel">
                     <property name="MemberName" />
                     <property name="Xalign">0</property>
-                    <property name="LabelProp" translatable="yes">&lt;b&gt;SPORT TEMPLATE 
EDITOR&lt;/b&gt;</property>
+                    <property name="LabelProp" translatable="yes">&lt;b&gt;ANALYSIS DASHBOARD 
EDITOR&lt;/b&gt;</property>
                     <property name="UseMarkup">True</property>
                     <property name="Justify">Center</property>
                   </widget>
@@ -9001,63 +9068,141 @@ You can continue with the current capture, cancel it or save your project.
           </packing>
         </child>
         <child>
-          <widget class="Gtk.HBox" id="hbox1">
+          <widget class="Gtk.Alignment" id="contentalignment">
             <property name="MemberName" />
-            <property name="Spacing">6</property>
+            <property name="LeftPadding">12</property>
+            <property name="RightPadding">12</property>
             <child>
-              <widget class="Gtk.VBox" id="templatesvbox">
+              <widget class="Gtk.VBox" id="contentvbox">
                 <property name="MemberName" />
-                <property name="WidthRequest">280</property>
                 <property name="Spacing">6</property>
                 <child>
-                  <widget class="Gtk.HButtonBox" id="hbuttonbox4">
+                  <widget class="Gtk.HBox" id="hbox3">
                     <property name="MemberName" />
-                    <property name="Size">3</property>
-                    <property name="LayoutStyle">Start</property>
+                    <property name="Spacing">6</property>
                     <child>
-                      <widget class="Gtk.Button" id="newtemplatebutton">
+                      <widget class="Gtk.Alignment" id="templateimagealignment">
                         <property name="MemberName" />
-                        <property name="CanFocus">True</property>
-                        <property name="Type">TextAndIcon</property>
-                        <property name="Icon">stock:gtk-add SmallToolbar</property>
-                        <property name="Label" translatable="yes">_Add</property>
-                        <property name="UseUnderline">True</property>
+                        <property name="LeftPadding">12</property>
+                        <property name="RightPadding">24</property>
+                        <child>
+                          <widget class="Gtk.Image" id="templateimage">
+                            <property name="MemberName" />
+                          </widget>
+                        </child>
                       </widget>
                       <packing>
+                        <property name="Position">0</property>
+                        <property name="AutoSize">True</property>
                         <property name="Expand">False</property>
                         <property name="Fill">False</property>
                       </packing>
                     </child>
                     <child>
-                      <widget class="Gtk.Button" id="deletetemplatebutton">
+                      <widget class="Gtk.VBox" id="vbox3">
                         <property name="MemberName" />
-                        <property name="CanFocus">True</property>
-                        <property name="Type">TextAndIcon</property>
-                        <property name="Icon">stock:gtk-remove SmallToolbar</property>
-                        <property name="Label" translatable="yes">_Remove</property>
-                        <property name="UseUnderline">True</property>
+                        <property name="Spacing">6</property>
+                        <child>
+                          <widget class="Gtk.Label" id="label2">
+                            <property name="MemberName" />
+                            <property name="Xalign">0</property>
+                            <property name="LabelProp" translatable="yes">Edit dashboard</property>
+                          </widget>
+                          <packing>
+                            <property name="Position">0</property>
+                            <property name="AutoSize">False</property>
+                            <property name="Fill">False</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="Gtk.HButtonBox" id="hbuttonbox4">
+                            <property name="MemberName" />
+                            <property name="Spacing">12</property>
+                            <property name="Size">3</property>
+                            <property name="LayoutStyle">Start</property>
+                            <child>
+                              <widget class="Gtk.Button" id="newtemplatebutton">
+                                <property name="MemberName" />
+                                <property name="Tooltip" translatable="yes">New dashboard</property>
+                                <property name="CanFocus">True</property>
+                                <property name="Type">Custom</property>
+                                <child>
+                                  <widget class="Gtk.Image" id="newtemplateimage">
+                                    <property name="MemberName" />
+                                  </widget>
+                                </child>
+                              </widget>
+                              <packing>
+                                <property name="Expand">False</property>
+                                <property name="Fill">False</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="Gtk.Button" id="deletetemplatebutton">
+                                <property name="MemberName" />
+                                <property name="Tooltip" translatable="yes">Delete dashboard</property>
+                                <property name="CanFocus">True</property>
+                                <property name="Type">Custom</property>
+                                <child>
+                                  <widget class="Gtk.Image" id="deletetemplateimage">
+                                    <property name="MemberName" />
+                                  </widget>
+                                </child>
+                              </widget>
+                              <packing>
+                                <property name="Position">1</property>
+                                <property name="Expand">False</property>
+                                <property name="Fill">False</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="Gtk.Button" id="savetemplatebutton">
+                                <property name="MemberName" />
+                                <property name="Tooltip" translatable="yes">Save dashboard</property>
+                                <property name="CanFocus">True</property>
+                                <property name="Type">Custom</property>
+                                <child>
+                                  <widget class="Gtk.Image" id="savetemplateimage">
+                                    <property name="MemberName" />
+                                  </widget>
+                                </child>
+                              </widget>
+                              <packing>
+                                <property name="Position">2</property>
+                                <property name="Expand">False</property>
+                                <property name="Fill">False</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="Position">1</property>
+                            <property name="AutoSize">False</property>
+                            <property name="Expand">False</property>
+                            <property name="Fill">False</property>
+                          </packing>
+                        </child>
                       </widget>
                       <packing>
                         <property name="Position">1</property>
+                        <property name="AutoSize">True</property>
                         <property name="Expand">False</property>
                         <property name="Fill">False</property>
                       </packing>
                     </child>
                     <child>
-                      <widget class="Gtk.Button" id="savetemplatebutton">
+                      <widget class="Gtk.VSeparator" id="vseparator1">
                         <property name="MemberName" />
-                        <property name="CanFocus">True</property>
-                        <property name="Type">TextAndIcon</property>
-                        <property name="Icon">stock:gtk-save SmallToolbar</property>
-                        <property name="Label" translatable="yes">_Save</property>
-                        <property name="UseUnderline">True</property>
                       </widget>
                       <packing>
                         <property name="Position">2</property>
+                        <property name="AutoSize">True</property>
                         <property name="Expand">False</property>
                         <property name="Fill">False</property>
                       </packing>
                     </child>
+                    <child>
+                      <placeholder />
+                    </child>
                   </widget>
                   <packing>
                     <property name="Position">0</property>
@@ -9067,38 +9212,71 @@ You can continue with the current capture, cancel it or save your project.
                   </packing>
                 </child>
                 <child>
-                  <widget class="Gtk.Frame" id="frame4">
+                  <widget class="Gtk.HBox" id="hbox1">
                     <property name="MemberName" />
-                    <property name="ShadowType">None</property>
+                    <property name="Spacing">6</property>
                     <child>
-                      <widget class="Gtk.Alignment" id="GtkAlignment7">
+                      <widget class="Gtk.VBox" id="templatesvbox">
                         <property name="MemberName" />
-                        <property name="Xalign">0</property>
-                        <property name="Yalign">0</property>
-                        <property name="LeftPadding">12</property>
+                        <property name="WidthRequest">280</property>
+                        <property name="Spacing">6</property>
                         <child>
                           <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow1">
                             <property name="MemberName" />
                             <property name="ShadowType">In</property>
                             <child>
-                              <widget class="Gtk.TreeView" id="sporttemplatestreeview">
+                              <widget class="Gtk.TreeView" id="dashboardseditortreeview">
                                 <property name="MemberName" />
                                 <property name="CanFocus">True</property>
                                 <property name="ShowScrollbars">True</property>
                               </widget>
                             </child>
                           </widget>
+                          <packing>
+                            <property name="Position">0</property>
+                            <property name="AutoSize">False</property>
+                          </packing>
                         </child>
                       </widget>
+                      <packing>
+                        <property name="Position">0</property>
+                        <property name="AutoSize">False</property>
+                        <property name="Expand">False</property>
+                        <property name="Fill">False</property>
+                      </packing>
                     </child>
                     <child>
-                      <widget class="Gtk.Label" id="GtkLabel7">
+                      <widget class="Gtk.VBox" id="vbox4">
                         <property name="MemberName" />
-                        <property name="LabelProp" translatable="yes">&lt;b&gt;Analysis 
templates&lt;/b&gt;</property>
-                        <property name="UseMarkup">True</property>
+                        <property name="Spacing">6</property>
+                        <child>
+                          <widget class="LongoMatch.Gui.Component.ButtonsWidget" id="buttonswidget">
+                            <property name="MemberName" />
+                            <property name="Events">ButtonPressMask</property>
+                            <property name="Edited">False</property>
+                          </widget>
+                          <packing>
+                            <property name="Position">0</property>
+                            <property name="AutoSize">False</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="Gtk.HButtonBox" id="hbuttonbox5">
+                            <property name="MemberName" />
+                            <property name="Size">0</property>
+                            <property name="LayoutStyle">Spread</property>
+                          </widget>
+                          <packing>
+                            <property name="Position">1</property>
+                            <property name="AutoSize">True</property>
+                            <property name="Expand">False</property>
+                            <property name="Fill">False</property>
+                          </packing>
+                        </child>
                       </widget>
                       <packing>
-                        <property name="type">label_item</property>
+                        <property name="Position">1</property>
+                        <property name="AutoSize">True</property>
                       </packing>
                     </child>
                   </widget>
@@ -9108,62 +9286,11 @@ You can continue with the current capture, cancel it or save your project.
                   </packing>
                 </child>
               </widget>
-              <packing>
-                <property name="Position">0</property>
-                <property name="AutoSize">False</property>
-                <property name="Expand">False</property>
-                <property name="Fill">False</property>
-              </packing>
-            </child>
-            <child>
-              <widget class="Gtk.VSeparator" id="vseparator2">
-                <property name="MemberName" />
-              </widget>
-              <packing>
-                <property name="Position">1</property>
-                <property name="AutoSize">True</property>
-                <property name="Expand">False</property>
-                <property name="Fill">False</property>
-              </packing>
-            </child>
-            <child>
-              <widget class="Gtk.VBox" id="vbox4">
-                <property name="MemberName" />
-                <property name="Spacing">6</property>
-                <child>
-                  <widget class="LongoMatch.Gui.Component.ButtonsWidget" id="buttonswidget">
-                    <property name="MemberName" />
-                    <property name="Events">ButtonPressMask</property>
-                    <property name="Edited">False</property>
-                  </widget>
-                  <packing>
-                    <property name="Position">0</property>
-                    <property name="AutoSize">False</property>
-                  </packing>
-                </child>
-                <child>
-                  <widget class="Gtk.HButtonBox" id="hbuttonbox5">
-                    <property name="MemberName" />
-                    <property name="Size">0</property>
-                    <property name="LayoutStyle">Spread</property>
-                  </widget>
-                  <packing>
-                    <property name="Position">1</property>
-                    <property name="AutoSize">True</property>
-                    <property name="Expand">False</property>
-                    <property name="Fill">False</property>
-                  </packing>
-                </child>
-              </widget>
-              <packing>
-                <property name="Position">2</property>
-                <property name="AutoSize">True</property>
-              </packing>
             </child>
           </widget>
           <packing>
             <property name="Position">1</property>
-            <property name="AutoSize">False</property>
+            <property name="AutoSize">True</property>
           </packing>
         </child>
       </widget>
diff --git a/data/icons/hicolor/scalable/actions/longomatch-team-header.svg 
b/data/icons/hicolor/scalable/actions/longomatch-team-header.svg
new file mode 100644
index 0000000..b3e2a0c
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/longomatch-team-header.svg
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; x="0px" y="0px"
+        width="63px" height="37px" viewBox="0 0 63 37" enable-background="new 0 0 63 37" 
xml:space="preserve">
+<g>
+       <path fill="#6A6A6A" 
d="M31.482,4.083c-4.691-0.001-5.104-2.203-5.104-2.974c0-0.163-0.018-0.169-0.089-0.208
+               
c-0.045-0.025-0.175-0.008-0.314,0.016c-4.881,0.881-8.441,3.058-9.513,4.131c-1.103,1.1-6.406,8.333-6.406,8.333
+               
s-0.343,1.173,2.48,3.858c2.864,2.725,3.926,2.619,3.926,2.619l4.476-5.443c0,0,0,2.754,0.141,9.506
+               
c0.137,6.75,0.895,10.608,0.895,10.608c2.272,1.513,9.51,1.582,9.51,1.582s7.238-0.069,9.51-1.582c0,0,0.757-3.858,0.895-10.608
+               
c0.139-6.752,0.139-9.506,0.139-9.506l4.478,5.443c0,0,1.062,0.105,3.926-2.619c2.823-2.686,2.48-3.858,2.48-3.858
+               
s-5.305-7.233-6.406-8.333c-1.071-1.073-4.633-3.25-9.514-4.131c-0.139-0.023-0.269-0.041-0.312-0.016
+               c-0.072,0.039-0.091,0.045-0.091,0.208C36.586,1.88,36.174,4.082,31.482,4.083z"/>
+       <path fill="#6A6A6A" d="M18.632,20.979l-0.952,1.158l-1.234,0.11c-1.42,0-3.237-1.072-5.556-3.277
+               
c-0.563-0.536-1.031-1.039-1.426-1.514c0.011,1.113,0.036,3.004,0.095,5.839c0.102,5.041,0.669,7.922,0.669,7.922
+               c1.697,1.13,7.101,1.182,7.101,1.182s0.815-0.009,1.908-0.084c-0.223-1.88-0.473-4.7-0.548-8.346
+               C18.667,22.867,18.648,21.872,18.632,20.979z"/>
+       <path fill="#6A6A6A" d="M7.762,12.71l0.118-0.402l0.248-0.339c0.562-0.767,2.542-3.458,4.241-5.665
+               
C9.168,7.04,6.847,8.466,6.113,9.202c-0.824,0.822-4.783,6.223-4.783,6.223S1.072,16.3,3.181,18.306
+               c2.139,2.035,2.932,1.955,2.932,1.955l2.843-3.456C7.591,14.925,7.508,13.579,7.762,12.71z"/>
+       <path fill="#6A6A6A" 
d="M52.075,18.97c-2.317,2.205-4.134,3.277-5.554,3.277l-0.253-0.013l-0.981-0.097l-0.953-1.16
+               
c-0.016,0.894-0.034,1.889-0.057,2.991c-0.074,3.644-0.325,6.464-0.549,8.343c1.11,0.078,1.942,0.087,1.942,0.087
+               s5.404-0.052,7.102-1.182c0,0,0.564-2.881,0.668-7.922c0.059-2.872,0.084-4.773,0.096-5.88
+               C53.135,17.901,52.654,18.418,52.075,18.97z"/>
+       <path fill="#6A6A6A" d="M61.671,15.425c0,0-3.962-5.4-4.784-6.223c-0.737-0.74-3.075-2.174-6.298-2.908
+               
c1.7,2.209,3.685,4.907,4.247,5.675l0.248,0.339l0.118,0.402c0.253,0.865,0.171,2.205-1.177,4.072l2.861,3.479
+               c0,0,0.793,0.08,2.932-1.955C61.927,16.3,61.671,15.425,61.671,15.425z"/>
+</g>
+</svg>
diff --git a/data/icons/hicolor/scalable/actions/longomatch-team-save.svg 
b/data/icons/hicolor/scalable/actions/longomatch-team-save.svg
new file mode 100644
index 0000000..be99880
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/longomatch-team-save.svg
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; x="0px" y="0px"
+        width="50px" height="36px" viewBox="0 0 50 36" enable-background="new 0 0 50 36" 
xml:space="preserve">
+<g>
+       <path fill="#6A6A6A" 
d="M23.996,26.545l0.072-0.07l1.51-1.414c1.112-1.104,3.045-1.09,4.144,0.043l1.692,1.854l0.932-0.922
+               
c0.18-1.383,0.412-3.696,0.476-6.803c0.108-5.273,0.108-7.423,0.108-7.423l3.512,4.25c0,0,0.833,0.082,3.078-2.045
+               
c2.215-2.098,1.947-3.013,1.947-3.013s-4.162-5.649-5.025-6.508c-0.841-0.837-3.634-2.538-7.463-3.226
+               
c-0.107-0.018-0.21-0.031-0.244-0.012c-0.057,0.03-0.07,0.035-0.07,0.163c0,0.602-0.324,2.321-4.003,2.322
+               
c-3.68-0.001-4.004-1.72-4.004-2.322c0-0.127-0.014-0.132-0.069-0.163c-0.036-0.02-0.138-0.006-0.247,0.012
+               
c-3.828,0.688-6.621,2.389-7.461,3.226c-0.865,0.859-5.025,6.508-5.025,6.508s-0.269,0.916,1.946,3.013
+               
c2.246,2.127,3.079,2.045,3.079,2.045l3.51-4.25c0,0,0,2.15,0.109,7.423c0.108,5.271,0.702,8.282,0.702,8.282
+               c1.202,0.797,4.167,1.081,5.976,1.182C23.156,27.92,23.424,27.137,23.996,26.545z"/>
+       <path fill="#6A6A6A" d="M14.582,16.934l-0.747,0.905l-0.968,0.087c-1.113,0-2.538-0.838-4.357-2.561
+               
c-0.442-0.417-0.809-0.811-1.118-1.181c0.008,0.869,0.028,2.345,0.074,4.56c0.08,3.935,0.525,6.186,0.525,6.186
+               
c1.331,0.883,5.569,0.925,5.569,0.925s0.64-0.009,1.497-0.065c-0.176-1.47-0.372-3.672-0.431-6.518
+               C14.61,18.409,14.594,17.631,14.582,16.934z"/>
+       <path fill="#6A6A6A" d="M6.057,10.478l0.093-0.314l0.194-0.264C6.784,9.3,8.338,7.198,9.671,5.474
+               C7.16,6.05,5.339,7.163,4.763,7.738c-0.646,0.643-3.751,4.86-3.751,4.86s-0.202,0.683,1.452,2.25
+               c1.678,1.588,2.299,1.526,2.299,1.526l2.23-2.699C5.922,12.208,5.857,11.156,6.057,10.478z"/>
+       <path fill="#6A6A6A" 
d="M41.406,21.22l0.344,0.354c0.061-0.814,0.11-1.753,0.132-2.831c0.047-2.244,0.066-3.728,0.075-4.592
+               
c-0.313,0.379-0.691,0.783-1.145,1.213c-1.817,1.722-3.243,2.561-4.356,2.561l-0.198-0.01l-0.77-0.076l-0.748-0.907
+               
c-0.014,0.699-0.028,1.476-0.044,2.338c-0.038,1.839-0.134,3.403-0.244,4.681l2.795-2.766C38.303,20.1,40.307,20.08,41.406,21.22z"
+               />
+       <path fill="#6A6A6A" d="M48.338,12.598c0,0-3.107-4.217-3.753-4.86c-0.579-0.579-2.412-1.697-4.939-2.271
+               
c1.334,1.725,2.89,3.832,3.331,4.432l0.194,0.264l0.094,0.314c0.198,0.675,0.134,1.722-0.924,3.181l2.244,2.716
+               c0,0,0.623,0.062,2.299-1.526C48.538,13.28,48.338,12.598,48.338,12.598z"/>
+</g>
+<path fill="#50B44B" 
d="M30.686,34.719C30.859,34.899,31.095,35,31.341,35c0.247,0,0.483-0.101,0.656-0.281l9.188-9.498
+       
c0.173-0.181,0.271-0.425,0.271-0.68c0-0.254-0.099-0.498-0.271-0.678l-1.22-1.256c-0.181-0.188-0.418-0.281-0.655-0.281
+       
c-0.238,0-0.475,0.094-0.657,0.281l-7.312,7.235l-3.056-3.348c-0.182-0.188-0.419-0.28-0.656-0.28c-0.238,0-0.476,0.093-0.656,0.28
+       l-1.538,1.439c-0.362,0.375-0.362,0.981,0,1.355L30.686,34.719z"/>
+</svg>
diff --git a/data/icons/hicolor/scalable/actions/longomatch-template-header.svg 
b/data/icons/hicolor/scalable/actions/longomatch-template-header.svg
new file mode 100644
index 0000000..526a826
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/longomatch-template-header.svg
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; x="0px" y="0px"
+        width="47px" height="37px" viewBox="0 0 47 37" enable-background="new 0 0 47 37" 
xml:space="preserve">
+<g>
+       <path fill="#6A6A6A" 
d="M23.518,12.628c-3.31,0-5.9,1.188-6.704,2.478h13.403C29.412,13.815,26.827,12.628,23.518,12.628z"/>
+       <path fill="#6A6A6A" 
d="M11.518,0.449c0,2.752,4.903,5.818,11.944,5.818c7.04,0,11.945-3.066,11.945-5.818V0.446h-23.89V0.449z"/>
+       <path fill="#6A6A6A" 
d="M29.925,17.125h-12.82c1.051,1.123,3.45,2.073,6.413,2.073C26.476,19.198,28.874,18.248,29.925,17.125z"/>
+       <path fill="#6A6A6A" 
d="M23.462,27.973c-10.205,0-17.317,4.404-17.317,8.36H40.78C40.78,32.377,33.666,27.973,23.462,27.973z"/>
+       <path fill="#6A6A6A" 
d="M39.004,0.446h-1.973v0.003c0,4.395-5.959,7.838-13.569,7.838c-7.609,0-13.57-3.443-13.57-7.838V0.446
+               
H7.819L5.32,15.105h10.05c0.617-2.371,3.897-4.079,8.147-4.079c4.245,0,7.523,1.708,8.143,4.079h9.656"/>
+       <path fill="#6A6A6A" 
d="M41.931,17.125H31.529c-0.868,2.158-4.015,3.677-8.012,3.677c-4.005,0-7.147-1.519-8.017-3.677H5.034
+               L1.332,36.333H3.57c0-6.594,8.55-11.562,19.892-11.562s19.893,4.968,19.893,11.562h2.332"/>
+</g>
+</svg>
diff --git a/data/theme/gtk-2.0/gtkrc b/data/theme/gtk-2.0/gtkrc
index 61eb58a..4435a06 100644
--- a/data/theme/gtk-2.0/gtkrc
+++ b/data/theme/gtk-2.0/gtkrc
@@ -186,7 +186,7 @@ style "longomatch-header" {
   text[NORMAL]      = @base_color
 }
 
-style "longomatch-templates-treeview" {
+style "longomatch-editor-treeview" {
   # Background color
   base[NORMAL]       = @bg_dark_color
   # Line color when active (default)
@@ -352,7 +352,7 @@ widget_class "*<GtkComboBox>"                    style "longomatch-combobox"
 widget "*roundedbutton*" style "longomatch-rounded-button"
 widget "*rectbutton*" style "longomatch-rect-button"
 widget "*headereventbox" style "longomatch-header"
-widget "*templatestreeview" style "longomatch-templates-treeview"
+widget "*editortreeview" style "longomatch-editor-treeview"
 widget "*teamscombobox*" style "longomatch-teams-combo"
 widget "*mediafilechooser*entry*" style "longomatch-filechooser-entry"
 widget "*datepicker*button*" style "longomatch-filechooser-button"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]