Web UI tweaks
This commit is contained in:
parent
d3c76f2b9e
commit
a71f9a2bed
|
@ -152,13 +152,7 @@ class BServer:
|
||||||
<div>
|
<div>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<hr />
|
<hr />
|
||||||
<div style="width: 100%; float: left;">
|
<h2 style="margin: 0px 0px 0px 20px;" ><span>""", name, """</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2 style="font-size: 1em; margin: 0px; "> <a href="/">generators</a></h2><h2 style="margin: 0px 0px 0px 20px;" > <span style="margin-right: 10px;"> >> <span>""", name, """</h2>
|
|
||||||
<p>""", box.__doc__ or "", """</p>
|
<p>""", box.__doc__ or "", """</p>
|
||||||
<form action="%s" method="GET" target="_blank">
|
<form action="%s" method="GET" target="_blank">
|
||||||
""" % (action)]
|
""" % (action)]
|
||||||
|
@ -178,10 +172,6 @@ class BServer:
|
||||||
<p><button name="render" value="1">Generate</button></p>
|
<p><button name="render" value="1">Generate</button></p>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--
|
<!--
|
||||||
<div style="width: 5%; float: left;"></div>
|
<div style="width: 5%; float: left;"></div>
|
||||||
|
@ -255,9 +245,6 @@ flex cuts, holes and slots for screws and more high level functions.
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<hr />
|
<hr />
|
||||||
<div style="width: 100%; float: left;">
|
<div style="width: 100%; float: left;">
|
||||||
|
|
||||||
|
|
||||||
<p>These are the available generators:</p>
|
|
||||||
""" ]
|
""" ]
|
||||||
for nr, group in enumerate(self.groups):
|
for nr, group in enumerate(self.groups):
|
||||||
result.append('''<h3 onclick="showHide('%s')">%s</h3>\n<div id="%s">\n<ul>\n''' % (nr, group.title, nr))
|
result.append('''<h3 onclick="showHide('%s')">%s</h3>\n<div id="%s">\n<ul>\n''' % (nr, group.title, nr))
|
||||||
|
|
|
@ -27,37 +27,31 @@ a {
|
||||||
body {min-width: 996px;}
|
body {min-width: 996px;}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
|
||||||
|
|
||||||
font-family: 'Amatic SC', cursive;
|
font-family: 'Amatic SC', cursive;
|
||||||
|
|
||||||
font-family: 'Luckiest Guy', cursive;
|
font-family: 'Luckiest Guy', cursive;
|
||||||
|
|
||||||
font-family: 'Bungee Shade', cursive;
|
font-family: 'Bungee Shade', cursive;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
font-size: 3em;
|
font-size: 3em;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-family: 'Bungee Shade', cursive;
|
font-family: 'Bungee Shade', cursive;
|
||||||
|
|
||||||
font-family: 'Amatic SC', cursive;
|
font-family: 'Amatic SC', cursive;
|
||||||
|
|
||||||
font-family: 'Luckiest Guy', cursive;
|
font-family: 'Luckiest Guy', cursive;
|
||||||
|
|
||||||
font-size: 2.5em;
|
font-size: 2.5em;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h3::before {
|
||||||
|
content: "▶ ";
|
||||||
|
}
|
||||||
|
|
||||||
h3:hover {
|
h3:hover {
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
color: #eee;
|
color: #eee;
|
||||||
|
|
Loading…
Reference in New Issue