Download logs button #9

This commit is contained in:
peteruithoven 2013-10-29 14:10:56 +01:00
parent 159adb8df8
commit 5f15b9945c
2 changed files with 8 additions and 1 deletions

View File

@ -346,6 +346,10 @@ function SettingsWindow() {
});
}
this.downloadlogs = function() {
window.location.href = self.wifiboxURL + "/info/logfiles"
}
/*
* Networks ui
*/

View File

@ -175,7 +175,10 @@
</dl>
</small>
</fieldset>
<fieldset id="debugPanel">
<legend>Debug</legend>
<input type="button" onclick="settingsWindow.downloadlogs()" name="downloadlogs" value="Download logs" class="button" id="downloadlogs"/>
</fieldset>
</form><br/>
</div>
</body>