Removed unnecessary comments, changed label class to id and moved the custom js to the appropriate place

pull/57/head
Robin Buse 2011-08-02 14:56:55 +03:00
parent 8ca57ffde4
commit 17472a7270
1 changed files with 5 additions and 11 deletions

View File

@ -57,14 +57,8 @@
#button:active {
box-shadow: inset 0 1px 12px rgba(0, 0, 0, 0.9);
background: #444;
/*
background: -webkit-linear-gradient(#565656, #4C4C4C 50%, #424242 51%, #2D2D2D);
background: -moz-linear-gradient(#565656, #4C4C4C 50%, #424242 51%, #2D2D2D);
background: -ms-linear-gradient(#565656, #4C4C4C 50%, #424242 51%, #2D2D2D);
background: -o-linear-gradient(#565656, #4C4C4C 50%, #424242 51%, #2D2D2D);
*/
}
.label {
#label {
text-align: left;
margin: 0 auto;
width: 300px;
@ -82,16 +76,16 @@
}
</style>
<link href="static/custom/index.css" rel="stylesheet">
<script src="static/custom/index.js"></script>
<div id="container">
<div id="button" onclick="go2Random()">New Pad</div>
<br>
<div class="label">or create/open a Pad with the name</div>
<div id="label">or create/open a Pad with the name</div>
<form action="#" onsubmit="go2Name();return false;">
<input type="text" id="padname" autofocus>
<input type="submit" value="OK">
</form>
</div>
<script src="static/custom/index.js"></script>
<script>
function go2Name()
{