This repository has been archived by the owner on Nov 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
189 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?php | ||
/** | ||
* Created by PhpStorm. | ||
* User: Rhilip | ||
* Date: 7/19/2019 | ||
* Time: 7:39 PM | ||
* | ||
* @var League\Plates\Template\Template $this | ||
* @var array $tags | ||
* @var string $search | ||
* @var int $count | ||
* @var int $limit | ||
*/ | ||
?> | ||
|
||
<?= $this->layout('layout/base') ?> | ||
|
||
<?php $this->start('title')?>Tags List<?php $this->end();?> | ||
|
||
<?php $this->start('container')?> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="row"> | ||
<div class="col-md-6 col-md-offset-3"> | ||
<form method="get"> | ||
<div class="input-group"> | ||
<div class="input-control search-box search-box-circle has-icon-left has-icon-righ" | ||
id="tags_search_div"> | ||
<input id="tags_search_input" type="text" name="search" class="form-control search-input" value="<?= $search ?? '' ?>"> | ||
<label for="tags_search_input" class="input-control-icon-left search-icon"> | ||
<i class="icon icon-search"></i> | ||
</label> | ||
</div> | ||
<span class="input-group-btn"> | ||
<button class="btn btn-primary" type="submit">Search</button> | ||
</span> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-md-10 col-md-offset-1"> | ||
<div id="tags_list"> | ||
<?php foreach ($tags as $tag): ?> | ||
<a class="btn" href="/torrents/search?tags=<?= $tag['tag'] ?>"><?= $tag['tag'] ?> <span class="label label-badge <?= $tag['class_name'] ?>"><?= $tag['count'] ?></span></a> | ||
<?php endforeach; ?> | ||
</div> | ||
<div class="text-center"> | ||
<ul class="pager" data-ride="remote_pager" data-rec-total="<?= $count ?>" data-rec-per-page="<?= $limit ?? 50 ?>"></ul> | ||
</div> | ||
</div> | ||
</div> | ||
<?php $this->end();?> | ||
|
||
|