Skip to content
Browse files

Compact the postgis form a bit.

  • Loading branch information...
1 parent 2aca10a commit e3451c62d79698b71790fb44d301e06bd8aebfa7 @yhahn yhahn committed May 25, 2011
Showing with 18 additions and 19 deletions.
  1. +6 −3 client/css/tilemill.css
  2. +12 −16 client/index.html
View
9 client/css/tilemill.css
@@ -523,7 +523,10 @@ ul.form > li > label {
ul.form > li input.text,
ul.form > li textarea { width:100%; }
-ul.form > li input.inline { width:auto; }
+ul.form > li input.inline {
+ width:auto;
+ margin-right:10px;
+ }
ul.form ul.form > li {
padding:9px 10px 10px;
@@ -539,10 +542,10 @@ ul.form ul.form > li > label {
}
ul.form label.inline {
- display:block;
+ display:inline-block;
position:static;
text-align:left;
- width:auto;
+ width:70px;
border:0px;
padding:0px;
background:transparent;
View
28 client/index.html
@@ -494,22 +494,6 @@ <h1 class='breadcrumb'>
<input type='text' class='text' id='class' value='{{class}}'/>
</li>
<li>
- <label for='host'>Hostname</label>
- <input type='text' class='text' id='host' value='{{host}}' />
- </li>
- <li>
- <label for='port'>Port</label>
- <input type='text' class='text' id='port' value='{{port}}' />
- </li>
- <li>
- <label for='user'>Username</label>
- <input type='text' class='text' id='user' value='{{user}}' />
- </li>
- <li>
- <label for='password'>Password</label>
- <input type='password' class='text' id='password' value='{{password}}' />
- </li>
- <li>
<label for='dbname'><span class='required' title='This field is required'>*</span> Database</label>
<input type='text' class='text' id='dbname' value='{{dbname}}' />
</li>
@@ -519,6 +503,18 @@ <h1 class='breadcrumb'>
<textarea class='text' id='table' >{{table}}</textarea>
</li>
<li>
+ <label for='host'>Hostname</label>
+ <input type='text' size='10' class='inline text' id='host' value='{{host}}' />
+ <label class='inline' for='port'>Port</label>
+ <input type='text' size='10' class='inline text' id='port' value='{{port}}' />
+ </li>
+ <li>
+ <label for='user'>Username</label>
+ <input type='text' size='10' class='inline text' id='user' value='{{user}}' />
+ <label class='inline' for='password'>Password</label>
+ <input type='password' size='10' class='inline text' id='password' value='{{password}}' />
+ </li>
+ <li>
<label for='extent'>Extent</label>
<input type='text' class='text' id='extent' value='{{extent}}' />
</li>

0 comments on commit e3451c6

Please sign in to comment.
Something went wrong with that request. Please try again.