Browse Source

add cloud page

zeronet
ghost 3 years ago
parent
commit
6da6f0e07c
  1. 136
      cloud.html
  2. 3
      index.html
  3. 1
      install.html
  4. 17
      js/cloud.js
  5. 1
      network.html

136
cloud.html

@ -0,0 +1,136 @@ @@ -0,0 +1,136 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Twisterarmy - Cloud Services</title>
<link rel="stylesheet" type="text/css" href="/css/font.css" />
<link rel="stylesheet" type="text/css" href="/css/bi.css?v=2" />
<link rel="stylesheet" type="text/css" href="/css/common.css?v=4" />
<link rel="stylesheet" type="text/css" href="/css/mobile.css" />
<script src="/js/jquery.js"></script>
<script src="/js/cloud.js"></script>
</head>
<body class="bg-c-1 bg-img-1 c-0">
<div class="bg-c-2 bg-img-2 c-1 of-hidden">
<div class="mw-1024 mx-auto">
<div class="nav float-left h-48 lh-48">
<div class="px-16">
<a class="c-1 f-size-18" href="/">Twisterarmy <i>Gateway</i></a>
</div>
</div>
<div class="nav bg-c-2 bg-img-2 float-right t-right h-48 lh-48">
<div class="px-16">
<a class="c-1 ml-16" href="/"><i class="bi-house-door mr-6"></i>Home</a>
<span class="c-0 ml-16"><i class="bi-cloud mr-6"></i>Cloud</span>
<span class="c-0 ml-16"><i class="bi-download mr-6"></i>Install</span>
<a class="c-1 ml-16" href="/network.html"><i class="bi-activity mr-6"></i>Network</a>
<a class="c-1 ml-16" href="https://github.com/twisterarmy"><i class="bi-github mr-6"></i>GitHub</a>
<!-- todo
<a class="c-1 ml-16" href="#"><i class="bi-tv mr-6"></i>Features</a>
<a class="c-1 ml-16" href="#"><i class="bi-info-circle mr-6"></i>Docs</a>
<a class="c-1 ml-16" href="#"><i class="bi-wallet mr-6"></i>Fundation</a>
<a class="c-1 ml-16" href="#"><i class="bi-pie-chart mr-6"></i>Statute</a>
-->
</div>
</div>
</div>
</div>
<div class="mw-1024 mx-auto of-hidden my-48">
<div class="p-16 o-h">
<h1 class="f-size-26 pb-10 mb-16 px-12 t-center f-normal">Cloud Resources</h1>
<div class="my-36 p-16 b-c-4 b-2">
<i class="bi-info-circle mr-6 f-size-26 float-right p-16 c-0"></i>
<p class="c-0">
<i>
&bull;
Twisterarmy Cloud is an <a class="c-0" href="https://github.com/twisterarmy/cloud-server">Open Source</a> web server and service Project that allows interact Twister Network remotely.
</i>
</p>
<p class="c-0">
<i>
&bull;
Every server in list below is the independent node instance, that provides shared access to itself twister-core running.
</i>
</p>
</div>
<div class="my-36 p-16 b-c-5 b-2">
<i class="bi-exclamation-octagon mr-6 f-size-26 float-right p-16 c-4"></i>
<p class="c-4">
<i>
&bull;
Cloud Server software still under development and published for testing needs only.
</i>
</p>
<p class="c-4">
<i>
&bull;
Service operators not provide any the warranties for safety accounts the data. Import existing wallets on your own risk.
</i>
</p>
<p class="c-4">
<i>
&bull;
Server administrators can access users private keys by the current software implementation.
</i>
</p>
<p class="c-4">
<i>
&bull;
Pay attention, twister database is the open and distributed storage for the public activity, all requests sending thought independent peer nodes using BitTorrent protocol.
By sharing any messages to the network you will not be able to update or delete it.
</i>
</p>
</div>
</div>
<div class="p-16 o-h">
<h2 class="bb-1 b-c-0 f-size-20 pb-10 mb-16 px-12 f-normal">Choose your server</h2>
<div class="p-16 c-2">
Login credentials are compatible between any the cloud resource, but DHT data would be different by the network architecture.
</div>
<div class="grid float-left w-33-100" data-cloud-server="cs1.twisterarmy.org">
<div class="p-16">
<div class="p-16 b-c-103 bg-c-3 b-1 b-r-3">
<div class="bb-1 b-c-0 f-size-20 pb-10 mb-16">
Twisterarmy [CS1]
<i class="bi-circle-fill mr-6 f-size-10 p-16 c-5"></i>
</div>
<div class="pb-10">
Free, community instance, running original <a class="c-0" href="https://github.com/twisterarmy/cloud-server">cloud-server</a> pre-releases on the organization dedicated server.
</div>
<div>
<a class="c-3" href="https://cs1.twisterarmy.org">Select</a>
</div>
</div>
</div>
</div>
</div>
<div class="p-16 o-h">
<h2 class="bb-1 b-c-0 f-size-20 pb-10 mb-16 px-12 f-normal">Become service provider</h2>
<div class="p-16 c-2">
<p>Running server instance helps users easily join twisterverse from any device without instal the local node and downloading blockchain.</p>
<p>Cloud node swarms the DHT data by it users activity and supports twister network infrastructure.</p>
<p>Service providers able to get monetization using their own pricing policy, customize the cloud servers without any restrictions because the software 100% Open Source under the MIT License.</p>
</div>
<div class="grid float-left w-33-100">
<div class="p-16">
<div class="p-16 b-c-103 bg-c-3 b-1 b-r-3">
<div class="bb-1 b-c-0 f-size-20 pb-10 mb-16">
Cloud Server v0.1 (Alpha)
</div>
<div class="pb-10">
Latest, community source code.
</div>
<div>
<div>
<a class="c-3" href="https://github.com/twisterarmy/cloud-server">Source Code</a>
|
<a class="c-3" href="https://github.com/twisterarmy/cloud-server/issues">Feedback</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

3
index.html

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
<div class="nav bg-c-2 bg-img-2 float-right t-right h-48 lh-48">
<div class="px-16">
<span class="c-0 ml-16"><i class="bi-house-door mr-6"></i>Home</span>
<a class="c-1 ml-16" href="/cloud.html"><i class="bi-cloud mr-6"></i>Cloud</a>
<a class="c-1 ml-16" href="/install.html"><i class="bi-download mr-6"></i>Install</a>
<a class="c-1 ml-16" href="/network.html"><i class="bi-activity mr-6"></i>Network</a>
<a class="c-1 ml-16" href="https://github.com/twisterarmy"><i class="bi-github mr-6"></i>GitHub</a>
@ -39,7 +40,7 @@ @@ -39,7 +40,7 @@
<h1 class="f-size-26 f-normal d-inline d-inline-block mb-22">Twister - decentralized P2P microblogging platform</h1>
<div class="c-2 mb-48">Twisterarmy is the Twister Project supported by Community</div>
<div>
<a class="btn btn-1" href="https://github.com/orgs/twisterarmy/projects">Roadmap</a>
<a class="btn btn-1" href="cloud.html">Cloud</a>
<a class="btn btn-1" href="install.html">Install</a>
</div>
</div>

1
install.html

@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
<div class="nav bg-c-2 bg-img-2 float-right t-right h-48 lh-48">
<div class="px-16">
<a class="c-1 ml-16" href="/"><i class="bi-house-door mr-6"></i>Home</a>
<a class="c-1 ml-16" href="/cloud.html"><i class="bi-cloud mr-6"></i>Cloud</a>
<span class="c-0 ml-16"><i class="bi-download mr-6"></i>Install</span>
<a class="c-1 ml-16" href="/network.html"><i class="bi-activity mr-6"></i>Network</a>
<a class="c-1 ml-16" href="https://github.com/twisterarmy"><i class="bi-github mr-6"></i>GitHub</a>

17
js/cloud.js

@ -0,0 +1,17 @@ @@ -0,0 +1,17 @@
function nsLookup(host) {
$.ajax({
type: 'GET',
url: 'https://dns.google/resolve?name=' + host,
dataType: 'json',
success: function (result) {
if (result.Answer) {
if (result.Answer.length > 0) {
$('div[data-cloud-server="' + host + '"] i').removeClass('c-5');
$('div[data-cloud-server="' + host + '"] i').addClass('c-7');
}
}
}
});
}
nsLookup('cs1.twisterarmy.org');

1
network.html

@ -25,6 +25,7 @@ @@ -25,6 +25,7 @@
<div class="nav bg-c-2 bg-img-2 float-right t-right h-48 lh-48">
<div class="px-16">
<a class="c-1 ml-16" href="/"><i class="bi-house-door mr-6"></i>Home</a>
<a class="c-1 ml-16" href="/cloud.html"><i class="bi-cloud mr-6"></i>Cloud</a>
<a class="c-1 ml-16" href="/install.html"><i class="bi-download mr-6"></i>Install</a>
<span class="c-0 ml-16"><i class="bi-activity mr-6"></i>Network</span>
<a class="c-1 ml-16" href="https://github.com/twisterarmy"><i class="bi-github mr-6"></i>GitHub</a>

Loading…
Cancel
Save