- 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:
parent
2fb5012aad
commit
509b649fb8
5 changed files with 57 additions and 35 deletions
|
|
@ -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>')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ init = function(callback) {
|
|||
icon:'tv'
|
||||
},
|
||||
{
|
||||
label:'Config',
|
||||
label:'Preferences',
|
||||
icon:'gears',
|
||||
click:configPanel
|
||||
},
|
||||
|
|
|
|||
|
|
@ -162,11 +162,11 @@ configPanel = function(){
|
|||
|
||||
})
|
||||
|
||||
var submit = $('<a class="btn submit">'+icon('save')+' Save configuration</a>')
|
||||
var submit = $('<a class="btn submit">'+icon('save')+' Save</a>')
|
||||
|
||||
form.append(submit)
|
||||
|
||||
popup = createPopup(icon('gear')+' Configuration panel',form)
|
||||
popup = createPopup(icon('gear')+' Preferences',form)
|
||||
|
||||
submit.click(function(e){
|
||||
e.preventDefault()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue