Options-related UI improvements.
Hide as-yet-unnecessary elements on the options page, and link the home and options pages from each other.
This commit is contained in:
parent
363c88f00f
commit
b343678129
4 changed files with 10 additions and 3 deletions
|
|
@ -130,6 +130,7 @@
|
||||||
<div class="modal" id="messages">
|
<div class="modal" id="messages">
|
||||||
</div>
|
</div>
|
||||||
<div class="modal" id="misc">
|
<div class="modal" id="misc">
|
||||||
|
<div class="centerb"><a href="/options.html">Options</a></div>
|
||||||
<div class="centerb"><a href="/about.html">Information</a></div>
|
<div class="centerb"><a href="/about.html">Information</a></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="debug">
|
<div id="debug">
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="formtable" id="o_email">
|
<div class="formtable" id="o_email">
|
||||||
<div><div>E-mail:</div><div><input type="text" name="email" id="input_email"></div></div>
|
<div><div>E-mail:</div><div><input type="text" name="email" id="input_email"></div></div>
|
||||||
<div><div><span class="ibutton" onclick="postemail()">Save</span></div><div><span class="ibutton">Cancel</span></div></div>
|
<div><div><span class="ibutton" onclick="postemail()">Save</span></div><div><span class="ibutton" style="display:none">Cancel</span></div></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="formtable" id="o_pw">
|
<div class="formtable" id="o_pw">
|
||||||
<div><div>Password:</div><div><input type="password" name="pw" id="input_pw"></div></div>
|
<div><div>Password:</div><div><input type="password" name="pw" id="input_pw"></div></div>
|
||||||
<div><div><span class="ibutton" onclick="postpw()">Save</span></div><div><span class="ibutton">Cancel</span></div></div>
|
<div><div><span class="ibutton" onclick="postpw()">Save</span></div><div><span class="ibutton" style="display:none">Cancel</span></div></div>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="optfoot"><a href="/">Home</a></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ function setup() {
|
||||||
else {
|
else {
|
||||||
setstatus("You are logged in as " + reply.u + ".");
|
setstatus("You are logged in as " + reply.u + ".");
|
||||||
document.getElementById("input_email").value = reply["email"];
|
document.getElementById("input_email").value = reply["email"];
|
||||||
document.getElementById("switch").style.display = "block";
|
//document.getElementById("switch").style.display = "block";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
req.open('GET', url, true);
|
req.open('GET', url, true);
|
||||||
|
|
|
||||||
|
|
@ -121,3 +121,8 @@ div#switch span.ibutton {
|
||||||
div#ostat {
|
div#ostat {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div#optfoot {
|
||||||
|
margin: 0 auto;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue