Add URL format hint to connection form

This commit is contained in:
Dan Sosedoff 2014-11-01 17:50:14 -05:00
parent 9a431f6e41
commit 3b9be5d69b
2 changed files with 7 additions and 2 deletions

View File

@ -368,8 +368,12 @@
.connection-settings form { .connection-settings form {
background: #fff; background: #fff;
padding: 40px 25px; padding: 45px 25px;
border-radius: 4px; border-radius: 4px;
-moz-border-radius: 4px; -moz-border-radius: 4px;
-webkit-border-radius: 4px; -webkit-border-radius: 4px;
} }
.connection-settings form p.help-block {
font-size: 12px;
}

View File

@ -71,7 +71,8 @@
<form role="form" id="connection_form"> <form role="form" id="connection_form">
<div class="form-group"> <div class="form-group">
<label>Enter server URL scheme</label> <label>Enter server URL scheme</label>
<input type="text" class="form-control" id="connection_url" placeholder="postgres://user:password@host:port/db"> <input type="text" class="form-control" id="connection_url">
<p class="help-block">URL format: postgres://user:password@host:port/db</p>
</div> </div>
<div class="form-group"> <div class="form-group">