Browse Source

Remove stuff not needed for a Universalis helper

universalis
parent
commit
663573682c
2 changed files with 8 additions and 20 deletions
  1. +7
    -10
      dice/index.html
  2. +1
    -10
      dice/main.js

+ 7
- 10
dice/index.html View File

@@ -3,9 +3,9 @@

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="keywords" content="DnD, dangeon and dragons, roleplay, dice, roller, 3D, RPG, wargame"/>
<meta name="keywords" content="roleplay, dice, roller, 3D, RPG, Universalis"/>
<meta name="description" content="Online 3D dice roller"/>
<title>teal 3d dice roller</title>
<title>3D Die Roller</title>

<style type="text/css">@import "../main.css";</style>
<style type="text/css">@import "dice.css";</style>
@@ -14,10 +14,7 @@

<body class="svg" style="margin: 0">
<div class="control_panel">
<h6><img src="../favicon.ico" style="vertical-align: middle"></img> <a href="..">teal</a> dice</h6>
<p id="loading_text">Loading libraries, please wait a bit...</p>
<p id="info_text"><a href="http://www.teall.info/2014/01/online-3d-dice-roller.html">More info and help</a></p>
<p id="info_text"><a href="/mdice">Multiplayer version</a></p>
<p id="loading_text">Loading...</p>
</div>
<div id="info_div" style="display: none">
<div class="center_field">
@@ -25,19 +22,19 @@
</div>
<div class="center_field">
<div class="bottom_field">
<span id="labelhelp">click to continue or tap and drag again</span>
<span id="labelhelp">Click to continue or tap and drag again</span>
</div>
</div>
</div>
<div id="selector_div" style="display: none">
<div class="center_field">
<div id="sethelp">
choose your dice set by clicking the dices or by direct input of notation,<br/>
tap and drag on free space of screen or hit throw button to roll
Click on the dice to add dice of the given color.<br/>
Tap and drag on free space of screen or hit throw button to roll.
</div>
</div>
<div class="center_field">
<input type="text" id="set" value="4d6"></input><br/>
<input type="text" id="set" value=""></input><br/>
<button id="clear">clear</button>
<button style="margin-left: 0.6em" id="throw">throw</button>
</div>


+ 1
- 10
dice/main.js View File

@@ -124,14 +124,5 @@ function diceInitialize(container, w, h) {
}
});

var params = $t.getUrlParams();
if (params.notation) {
set.value = params.notation;
}
if (params.roll) {
$t.raiseEvent($t.id('throw'), 'mouseup');
}
else {
showSelector();
}
showSelector();
}

Loading…
Cancel
Save