mirror of
https://github.com/RetroShare/RSNewWebUI.git
synced 2026-09-14 11:05:47 +05:00
fixed location of retroshare.svg icon
This commit is contained in:
parent
6fc29f565d
commit
98dcb0d629
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user