|
From: <tre...@us...> - 2007-09-11 17:52:06
|
Revision: 391
http://ogoglio.svn.sourceforge.net/ogoglio/?rev=391&view=rev
Author: trevorolio
Date: 2007-09-11 10:51:47 -0700 (Tue, 11 Sep 2007)
Log Message:
-----------
Whacked the thingPopup to fit in an info panel.
Modified Paths:
--------------
maven/trunk/ogoglio-server/src/main/resources/siteTemplates/thingPopup.html
Modified: maven/trunk/ogoglio-server/src/main/resources/siteTemplates/thingPopup.html
===================================================================
--- maven/trunk/ogoglio-server/src/main/resources/siteTemplates/thingPopup.html 2007-09-10 22:36:05 UTC (rev 390)
+++ maven/trunk/ogoglio-server/src/main/resources/siteTemplates/thingPopup.html 2007-09-11 17:51:47 UTC (rev 391)
@@ -192,15 +192,20 @@
</script>
<style type="text/css">
- .section input[type=submit] {
+ body {
+ width: 250px;
+ font-size: 10px;
+ line-height: 10px;
+ }
+ #main input[type=submit] {
width: 60px;
}
- .section input[type=text] {
+ #main input[type=text] {
width: 70px;
text-align: right;
}
- .section form {
+ #main form {
display: inline;
}
</style>
@@ -209,10 +214,8 @@
<body onload="init();">
<div id="content">
-<div id="main" style="">
- <h2 id="title">Thing:</h2>
- <div class="section">
- <h3>Translate:</h3>
+<div id="main">
+ <h3 id="title">Thing:</h3>
<input type='submit' onclick='move(0, 1, 0); return false;' value='Up'/>
<input type='submit' onclick='move(0, -1, 0); return false;' value='Down'/>
<form onsubmit='moveToY(this.yPosInput.value); return false;'><input type='text' size='3' id='yPosInput' /></form>
@@ -226,16 +229,14 @@
<form onsubmit='moveToX(this.xPosInput.value); return false;'><input type='text' size='3' id='xPosInput' /></form>
<br/>
<input type='submit' onclick='resetPosition(); return false;' value='Reset'/>
- </div> <!-- end section -->
- <div class="section">
- <h3>Vertical Rotate:</h3>
+ <hr />
<input type='submit' onclick='rotate(0, 0.5, 0); return false;' value='Y'/>
<input type='submit' onclick='rotate(0, -0.5, 0); return false;' value='-Y'/>
<form onsubmit='rotateToY(this.yRotInput.value); return false;'><input type='text' size='3' id='yRotInput' /></form>
<br/>
<input type='submit' onclick='resetVerticalRotation(); return false;' value='Reset'/>
- <h3>Horizontal Rotate:</h3>
+ <hr />
<input type='submit' onclick='rotate(0.5, 0, 0); return false;' value='X'/>
<input type='submit' onclick='rotate(-0.5, 0, 0); return false;' value='-X'/>
<form onsubmit='rotateToX(this.xRotInput.value); return false;'><input type='text' size='3' id='xRotInput' /></form>
@@ -245,11 +246,9 @@
<form onsubmit='rotateToZ(this.zRotInput.value); return false;'><input type='text' size='3' id='zRotInput' /></form>
<br/>
<input type='submit' onclick='resetHorizontalRotation(); return false;' value='Reset'/>
- </div> <!-- end section -->
- <div class="section">
- <h3>Scale: <form onsubmit='scaleTo(this.scaleInput.value); return false;'><input type='text' size='3' id='scaleInput' /></form></h3>
- </div>
+ <hr />
+ Scale: <form onsubmit='scaleTo(this.scaleInput.value); return false;'><input type='text' size='3' id='scaleInput' /></form>
</div>
</div><!-- end content -->
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|