diff options
-rw-r--r-- | pyload/web/app/index.html | 1 | ||||
-rw-r--r-- | pyload/web/app/scripts/views/headerView.js | 7 | ||||
-rw-r--r-- | pyload/web/app/styles/default/style.less | 1 | ||||
-rw-r--r-- | pyload/web/app/templates/default/header/layout.html | 1 |
4 files changed, 8 insertions, 2 deletions
diff --git a/pyload/web/app/index.html b/pyload/web/app/index.html index 03e8535d7..4a4195b13 100644 --- a/pyload/web/app/index.html +++ b/pyload/web/app/index.html @@ -38,6 +38,7 @@ window.hostProtocol = window.location.protocol + '//'; window.hostAddress = window.location.hostname; window.hostPort = configValue('{{web}}', '8001'); + // TODO window.pathPrefix = '/'; window.wsAddress = configValue('{{ws}}', 'ws://%s:7227'); diff --git a/pyload/web/app/scripts/views/headerView.js b/pyload/web/app/scripts/views/headerView.js index c1e71cc86..afafcf564 100644 --- a/pyload/web/app/scripts/views/headerView.js +++ b/pyload/web/app/scripts/views/headerView.js @@ -10,7 +10,8 @@ define(['jquery', 'underscore', 'backbone', 'app', 'models/ServerStatus', 'colle events: { 'click .icon-list': 'toggle_taskList', 'click .popover .close': 'toggle_taskList', - 'click .btn-grabber': 'open_grabber' + 'click .btn-grabber': 'open_grabber', + 'click .logo': 'gotoDashboard' }, ui: { @@ -66,6 +67,10 @@ define(['jquery', 'underscore', 'backbone', 'app', 'models/ServerStatus', 'colle this.ws = ws; }, + gotoDashboard: function() { + App.navigate(''); + }, + initGraph: function() { var totalPoints = 120; var data = []; diff --git a/pyload/web/app/styles/default/style.less b/pyload/web/app/styles/default/style.less index 2202217f6..6256bba4e 100644 --- a/pyload/web/app/styles/default/style.less +++ b/pyload/web/app/styles/default/style.less @@ -35,6 +35,7 @@ header { // background-color: @greyDark; width: 105px; height: 107px; background-size: auto; + cursor: pointer; } } diff --git a/pyload/web/app/templates/default/header/layout.html b/pyload/web/app/templates/default/header/layout.html index 890a5b018..0fe61c4e3 100644 --- a/pyload/web/app/templates/default/header/layout.html +++ b/pyload/web/app/templates/default/header/layout.html @@ -6,7 +6,6 @@ <div id="progress-area"> <span id="progress-info"> </span> - <div class="popover bottom"> <div class="arrow"></div> <div class="popover-inner"> |