Add netsyms.com account signup option, add nav controls to windows
This commit is contained in:
parent
022ff4d113
commit
017a78f19c
@ -36,6 +36,28 @@ function initNW() {
|
||||
openBrowser = function (url) {
|
||||
nw.Window.open(url, {
|
||||
id: url
|
||||
}, function (browserwin) {
|
||||
// Add menubar so the user can navigate around if they click a link
|
||||
var browsermenu = new nw.Menu({type: 'menubar'});
|
||||
browsermenu.append(new nw.MenuItem({
|
||||
label: "Back",
|
||||
click: function () {
|
||||
browserwin.window.history.back();
|
||||
}
|
||||
}));
|
||||
browsermenu.append(new nw.MenuItem({
|
||||
label: "Forward",
|
||||
click: function () {
|
||||
browserwin.window.history.forward();
|
||||
}
|
||||
}));
|
||||
browsermenu.append(new nw.MenuItem({
|
||||
label: "Home",
|
||||
click: function () {
|
||||
browserwin.window.location.href = url;
|
||||
}
|
||||
}));
|
||||
browserwin.menu = browsermenu;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -41,7 +41,7 @@
|
||||
Personal
|
||||
</div>
|
||||
<div class="item-text">
|
||||
Your netsyms.com account
|
||||
netsyms.com account
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -64,7 +64,7 @@
|
||||
Business
|
||||
</div>
|
||||
<div class="item-text">
|
||||
Your netsyms.biz account
|
||||
netsyms.biz account
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -87,36 +87,36 @@
|
||||
Other
|
||||
</div>
|
||||
<div class="item-text">
|
||||
Your private or third-party server
|
||||
Third-party or self-hosted
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<!--<li>
|
||||
<a href="#" class="item-link" onclick='router.navigate("/setup/1", {
|
||||
context: {
|
||||
personal: false,
|
||||
business: false,
|
||||
selfhosted: true,
|
||||
nextcloud: true
|
||||
}
|
||||
});'>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="block-title">Need an account?</div>
|
||||
<div class="list">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#" class="item-link" onclick='openBrowser("https://apps.netsyms.com/account/signup/")'>
|
||||
<div class="item-content">
|
||||
<div class="item-media">
|
||||
<img src="img/accounticons/nextcloud.svg" width="44"/>
|
||||
<img src="img/accounticons/personal.svg" width="44"/>
|
||||
</div>
|
||||
<div class="item-inner">
|
||||
<div class="item-title">
|
||||
Nextcloud
|
||||
Sign up
|
||||
</div>
|
||||
<div class="item-text">
|
||||
A Nextcloud server with the Notes app installed
|
||||
Free netsyms.com account
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>-->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user