diff options
-rw-r--r-- | css/index.css | 4 | ||||
-rw-r--r-- | index.php | 11 | ||||
-rw-r--r-- | js/app.js | 1 |
3 files changed, 16 insertions, 0 deletions
diff --git a/css/index.css b/css/index.css index 66792cf..3eae557 100644 --- a/css/index.css +++ b/css/index.css @@ -3,6 +3,10 @@ flex-wrap: wrap; } +.separate-search { + padding : 8px; +} + .row > div { padding-top : 10px; } @@ -200,6 +200,17 @@ <div class="container container-main"> +<form class="form-inline separate-search" style="display : none"> + <div class="input-group"> + <input type="text" name="query" class="form-control" placeholder="Search for..." + value="<?php echo htmlspecialchars($query) ?>"> + <input type="hidden" name="mode" value="<?php echo $mode ?>"> + <span class="input-group-btn"> + <button type="submit" class="btn btn-default">Go</button> + </span> + </div> +</form> + <div class="modal fade" id="summary-modal" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> @@ -44,6 +44,7 @@ const App = { if (typeof EpubeApp != "undefined") {
$(".navbar").hide();
$(".epube-app-filler").show();
+ $(".separate-search").show();
if ($.urlParam("mode") == "favorites")
EpubeApp.setPage("PAGE_FAVORITES");
|