Mercurial > dirlist-php
changeset 46:113f9121d38b
Allow searching \o/
author | nanaya <me@myconan.net> |
---|---|
date | Sun, 24 May 2015 18:47:39 +0900 |
parents | 7de8f524d1e4 |
children | 546c6b40d250 |
files | index.php |
diffstat | 1 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/index.php Sun May 24 18:33:45 2015 +0900 +++ b/index.php Sun May 24 18:47:39 2015 +0900 @@ -157,6 +157,11 @@ display: none; } + input { + width: 100%; + margin: 10px 0px; + } + th span { display: block; text-decoration: underline; @@ -199,10 +204,12 @@ } </style> </head> -<body> +<body id="files"> <h1>Index of <?php echo tree_link(); ?></h1> - <table id="files"> + <input placeholder="search (non-recursive)" class="search" /> + + <table> <thead> <tr> <th><span class="sort" data-sort="filename">File</span></th>