Mercurial > dirlist-php
comparison index.php @ 46:113f9121d38b
Allow searching \o/
| author | nanaya <me@myconan.net> | 
|---|---|
| date | Sun, 24 May 2015 18:47:39 +0900 | 
| parents | 7de8f524d1e4 | 
| children | 546c6b40d250 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 45:7de8f524d1e4 | 46:113f9121d38b | 
|---|---|
| 155 | 155 | 
| 156 i { | 156 i { | 
| 157 display: none; | 157 display: none; | 
| 158 } | 158 } | 
| 159 | 159 | 
| 160 input { | |
| 161 width: 100%; | |
| 162 margin: 10px 0px; | |
| 163 } | |
| 164 | |
| 160 th span { | 165 th span { | 
| 161 display: block; | 166 display: block; | 
| 162 text-decoration: underline; | 167 text-decoration: underline; | 
| 163 } | 168 } | 
| 164 th span.desc:after { | 169 th span.desc:after { | 
| 197 display: block; | 202 display: block; | 
| 198 } | 203 } | 
| 199 } | 204 } | 
| 200 </style> | 205 </style> | 
| 201 </head> | 206 </head> | 
| 202 <body> | 207 <body id="files"> | 
| 203 <h1>Index of <?php echo tree_link(); ?></h1> | 208 <h1>Index of <?php echo tree_link(); ?></h1> | 
| 204 | 209 | 
| 205 <table id="files"> | 210 <input placeholder="search (non-recursive)" class="search" /> | 
| 211 | |
| 212 <table> | |
| 206 <thead> | 213 <thead> | 
| 207 <tr> | 214 <tr> | 
| 208 <th><span class="sort" data-sort="filename">File</span></th> | 215 <th><span class="sort" data-sort="filename">File</span></th> | 
| 209 <th><span class="sort" data-sort="size">Size</span></th> | 216 <th><span class="sort" data-sort="size">Size</span></th> | 
| 210 <th><span class="sort" data-sort="date">Date</span></th> | 217 <th><span class="sort" data-sort="date">Date</span></th> | 
