- config panel renamed to preferences

- scss adjustments and compatibility for light theme
- lobby title moved from index page to callback function (now appears with the recent sessions list)
This commit is contained in:
jean-emmanuel 2015-09-10 00:42:56 +02:00 • committed by bordun
parent 2fb5012aad
commit 509b649fb8
5 changed files with 57 additions and 35 deletions

View file

@ -19,6 +19,14 @@ ipc.on('load',function(preset){
ipc.on('listSessions',function(data){
$('#lobby').append('\
<div class="main">\
<div class="header">\
Session selection\
</div>\
<div class="list"></div>\
</div>')
for (i in data) {
$('#lobby .list').append('<li><a class="btn" data-session="'+i+'">'+data[i]+'<span>'+icon('remove')+'</span></a></li>')
}

View file

@ -101,7 +101,7 @@ init = function(callback) {
icon:'tv'
},
{
label:'Config',
label:'Preferences',
icon:'gears',
click:configPanel
},

View file

@ -162,11 +162,11 @@ configPanel = function(){
})
var submit = $('<a class="btn submit">'+icon('save')+'&nbsp;Save configuration</a>')
var submit = $('<a class="btn submit">'+icon('save')+'&nbsp;Save</a>')
form.append(submit)
popup = createPopup(icon('gear')+'&nbsp;Configuration panel',form)
popup = createPopup(icon('gear')+'&nbsp;Preferences',form)
submit.click(function(e){
e.preventDefault()