diff options
-rw-r--r-- | pyaggr3g470r/static/css/customized-bootstrap.css | 6 | ||||
-rw-r--r-- | pyaggr3g470r/templates/layout.html | 9 |
2 files changed, 13 insertions, 2 deletions
diff --git a/pyaggr3g470r/static/css/customized-bootstrap.css b/pyaggr3g470r/static/css/customized-bootstrap.css index 1b3c197d..9f3febfc 100644 --- a/pyaggr3g470r/static/css/customized-bootstrap.css +++ b/pyaggr3g470r/static/css/customized-bootstrap.css @@ -41,3 +41,9 @@ div.top { a { color: #3572B0; } + +.input-group-inline { + min-width: 0; + width: 200px; + display: inline; +} diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html index 2fa815d9..c2c0c07e 100644 --- a/pyaggr3g470r/templates/layout.html +++ b/pyaggr3g470r/templates/layout.html @@ -45,8 +45,13 @@ </a> <ul class="dropdown-menu"> <li> - <form action="{{ url_for('feed.bookmarklet') }}" class="navbar-form" method="GET" name="save"> - <input class="form-control" name="url" type="text" placeholder="{{_("site or feed url")}}" /> <input type="submit" value="+" class="btn btn-default" /> + <form action="{{ url_for('feed.bookmarklet') }}" class="navbar-form navbar-left" method="GET" name="save"> + <div class="input-group input-group-inline"> + <input class="form-control" name="url" type="url" placeholder="{{_("site or feed url")}}" required="required"/> + <span class="input-group-btn"> + <button type="submit" class="btn btn-default" /><span class="glyphicon glyphicon-plus"></span></button> + </span> + </div><!-- /input-group --> </form> </li> </ul> |