Parcourir la source

Nicer interface

master
Pete Shadbolt il y a 6 ans
Parent
révision
c83e9ad52c
3 fichiers modifiés avec 15 ajouts et 1 suppressions
  1. +9
    -0
      static/main.css
  2. +4
    -0
      static/scripts/main.js
  3. +2
    -1
      templates/index.html

+ 9
- 0
static/main.css Voir le fichier

@@ -34,6 +34,15 @@ html, body {
left: 10px;
}

#help {
background-color: orange;
color: black;
}

#help:hover {
background-color: white;
}

div {
background-color: black;
color:white;


+ 4
- 0
static/scripts/main.js Voir le fichier

@@ -9,3 +9,7 @@ window.onload = function() {
api.poll();
gui.loop();
};

share = function() {
alert("Copy/paste this link to collaborate:\n\n"+window.location.href);
};

+ 2
- 1
templates/index.html Voir le fichier

@@ -45,8 +45,9 @@
<ul>
<li><a onclick="editor.clear()">Clear</a></li>
<li><a onclick="editor.raussendorf()">Raussendorf</a></li>
<li><a onclick="share()">Share</a></li>
<li><a href="/{{uuid}}/download">Download</a></li>
<li><a href="/doc">Help</a></li>
<li><a href="/doc" id=help>Help</a></li>
</ul>
</div>



Chargement…
Annuler
Enregistrer