diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-07-10 16:54:25 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-07-10 16:54:25 +0200 |
commit | b4999bc3ae16d167071cef7b9fa010b5cd126fb1 (patch) | |
tree | baedce633a55fb8215cb2ef1e6d0e2fb3aa9e5b0 /pyaggr3g470r | |
parent | Do not display the flash message in full width. (diff) | |
download | newspipe-b4999bc3ae16d167071cef7b9fa010b5cd126fb1.tar.gz newspipe-b4999bc3ae16d167071cef7b9fa010b5cd126fb1.tar.bz2 newspipe-b4999bc3ae16d167071cef7b9fa010b5cd126fb1.zip |
Improved the mini-form to create new feeds.
Diffstat (limited to 'pyaggr3g470r')
-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> |