From e7ea6b471be36f63451ebe27309341d3f87dabe9 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sat, 4 May 2013 00:43:41 -0700 Subject: [PATCH] Stub formats/teams chooser --- js/client-mainmenu.js | 234 ++++++++++++++++++++++++++++++++++++------ js/client.js | 50 +++++---- style/client.css | 118 ++++++++++++++++++++- 3 files changed, 351 insertions(+), 51 deletions(-) diff --git a/js/client-mainmenu.js b/js/client-mainmenu.js index a1c411e75..399495390 100644 --- a/js/client-mainmenu.js +++ b/js/client-mainmenu.js @@ -9,16 +9,22 @@ 'click .closebutton': 'closePM', 'click .pm-window': 'clickPMBackground', 'focus textarea': 'onFocusPM', - 'blur textarea': 'onBlurPM' + 'blur textarea': 'onBlurPM', + 'click button.formatselect': 'selectFormat', + 'click button.teamselect': 'selectTeam' }, initialize: function() { + var buf = '