Browse Source

update general info

Nikolay Suslov 5 years ago
parent
commit
01ab47cc0c
4 changed files with 27 additions and 9 deletions
  1. 8 1
      public/lib/widgets.js
  2. 9 1
      public/web/index-app.css
  3. 4 3
      public/web/index-app.js
  4. 6 4
      public/web/locale/en/index.html

+ 8 - 1
public/lib/widgets.js

@@ -15,7 +15,14 @@ Copyright (c) 2014-2018 Nikolai Suslov and the Krestianstvo.org project contribu
             return {
                 $cell: true,
                 $type: "hr",
-                class: "mdc-list-divider",
+                class: "mdc-list-divider"
+            }
+        }
+
+        get emptyDiv(){
+            return {
+                $type: "div",
+                style: "padding-bottom: 30px;"
             }
         }
 

+ 9 - 1
public/web/index-app.css

@@ -80,4 +80,12 @@ background: rgb(217, 217, 217);
 
 .actionButton {
   margin: 3px
-}
+}
+
+.unselectable {
+  -moz-user-select: text;
+  -khtml-user-select: text;
+  -webkit-user-select: text;
+  -ms-user-select: text;
+  user-select: text;
+ }

+ 4 - 3
public/web/index-app.js

@@ -512,7 +512,8 @@ class IndexApp {
                             })
                     ]
                 }
-                this.$components = [
+                this.$components = [luminaryFeature,
+                    _app.widgets.emptyDiv,
                     window._app.widgets.buttonRaised(
                         {
                             "label": 'Connection settings',
@@ -520,8 +521,8 @@ class IndexApp {
                                 e.preventDefault();
                                 window.location.pathname = '/settings';
                             }
-                        }),
-                        luminaryFeature,
+                        }), _app.widgets.emptyDiv,
+                        _app.widgets.divider,
                     {
                         $type: "h1",
                         class: "mdc-typography--headline3",

+ 6 - 4
public/web/locale/en/index.html

@@ -20,7 +20,7 @@
         <h1 class="mdc-typography--headline3 mdc-theme--text-secondary-on-background mdc-typography"><a class="mdc-typography link-in-text"
             style="cursor: pointer;" onclick="window.location.reload(true)"><strong>LiveCoding</strong>.space</a> | <span style="font-size: 16pt"> project by <a class="mdc-typography link-in-text"
               style="cursor: pointer;">Krestianstvo.org</a> </span> 
-              <h1 class="mdc-typography mdc-typography--headline4 mdc-typography--adjust-margin mdc-theme--text-hint-on-background">Collaborative
+              <h1 class="mdc-typography mdc-typography--headline4 mdc-typography--adjust-margin mdc-theme--text-hint-on-background unselectable">Collaborative
                 Live Coding Space with support of user-defined languages and WebXR ready 3D graphics.<br> Based on: <strong>Virtual World Framework (Croquet) | A-Frame | Ohm language | OSC.js | Gun DB and more... </strong></h1>
           <!--<strong>LiveCoding</strong>.space -->
         </h1>
@@ -39,9 +39,11 @@
     <div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-12">
       <div id="worldInfo">
         <h1 class="mdc-typography--headline4 mdc-theme--text-hint-on-background">Virtual Worlds</h1>
-        <h1 class="mdc-typography mdc-typography--headline5 mdc-theme--text-hint-on-background">To begin collaborative coding in virtual space, just start one of the listed prototypes and connect to it from another
-          browser window using the generated link. The link will apper near the <strong>Start</strong> button.</h1>
-          <h1 class="mdc-typography mdc-typography--headline5 mdc-theme--text-hint-on-background">By default a tiny Reflector server is used for creating a Virtual World instances. Check <strong>Connection settings</strong> for the correct Reflector server adress. <p> In the near future this functionality will have an alternative with the new totaly decentralized solution provided by <a class="mdc-typography link-in-text mdc-theme--text-hint-on-background" style="cursor:pointer" href="https://blog.krestianstvo.org/en/krestianstvo-luminary-for-open-croquet-architecutre-and-virtual-world-framework-in-peer-to-peer-web/"><strong>Krestianstvo Luminary</strong></a>. That will allow to create Virtual World Instances just within Web Browser by a client, using any avaliable decentralized storage GunDB on internet. Secure world instances lists, clients lists, message streams with P2P identities.</h1>  
+        <h1 class="mdc-typography mdc-typography--headline5 mdc-theme--text-hint-on-background unselectable">To begin collaborative coding in virtual space, just start one of the listed prototypes and connect to it from another
+          browser window using the generated link. The link will apper near the <strong>Start</strong> button.
+          By default a tiny Reflector server is used for creating a Virtual World instances. Check <strong>Connection settings</strong> for the correct Reflector server adress (https://time.livecoding.space by default).</h1>  <p>
+              <h1 class="mdc-typography mdc-typography--headline5 mdc-theme--text-hint-on-background unselectable">
+          <strong style="color:rgb(183, 94, 94);">NEW!</strong> You could try out to connect by using the new experimental totaly decentralized solution provided by <a class="mdc-typography link-in-text mdc-theme--text-hint-on-background" style="cursor:pointer" href="https://blog.krestianstvo.org/en/krestianstvo-luminary-for-open-croquet-architecutre-and-virtual-world-framework-in-peer-to-peer-web/"><strong style="color:rgb(183, 94, 94);">Krestianstvo Luminary</strong></a>. That will allow to create Virtual World Instances just within Web Browser by a client, using any avaliable decentralized storage GunDB on internet (https://db.livecoding.space by default).<strong> No any Reflector server needed </strong>. In the near future it will be extended with support of securing world instances lists, clients lists, message streams with P2P identities. <strong>Turn on the Switch  for using Krestianstvo Luminary</strong>. If a connection to the Virtual World instance is not estableshed from the first time, try to reload the page in the web browser again. </h1>  
       </div>
     </div>
   </div>