fixed location of retroshare.svg icon

This commit is contained in:
csoler 2019-11-23 21:43:50 +01:00
parent 6fc29f565d
commit 98dcb0d629
2 changed files with 2 additions and 22 deletions

View File

@ -18,7 +18,7 @@ const loginComponent = {
return m('.login-page',
m('.login-container', [
m(
'img.logo[src=../data/retroshare.svg][alt=retroshare_icon][width=30%]'
'img.logo[src=data/retroshare.svg][alt=retroshare_icon][width=30%]'
),
m('input[type=text][placeholder=Username][autofocus]', {
onchange: (e) => uname = e.target.value

View File

@ -11,32 +11,12 @@
<body onload="load_ui();">
<div id="main">
<h3>
This is the node's certificate:
Javascript not found!
</h3>
<textarea rows="30" cols="64" placeholder="Node certificate should appear here!" id="node_certificate" maxlength="10000"></textarea>
<textarea rows="30" cols="64" placeholder="Downloads" id="downloads" maxlength="10000"></textarea>
<script type="text/javascript">
function load_cert(cert) {
document.getElementById("node_certificate").value = cert
}
function load_downloads(dls) {
document.getElementById("downloads").value = dls
}
function load_ui(){
//var ui = require("rswebui");
//ui.requestCertificate(load_cert);
//var login = require("login");
//var dl = require("downloads");
//dl.view(load_downloads);
//var m = require("mithril");
//m.mount(document.body, login);
var main = require('main');
}
</script>
<noscript>Sorry but JavaScript is needed here! Please enable it in your browser.</noscript>
</div>