-
Notifications
You must be signed in to change notification settings - Fork 18
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
Corentin Mors
committed
Feb 24, 2021
1 parent
ecc75f3
commit ba9c5d3
Showing
3 changed files
with
62 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class="card h-100"> | ||
<img src="https://via.placeholder.com/200" class="card-img-top" alt="User image"> | ||
<div class="card-body"> | ||
<h5 class="card-title">John Smith</h5> | ||
<p class="card-text">Premium user</p> | ||
</div> | ||
<div class="card-footer"> | ||
<small class="text-muted">Last updated 3 mins ago</small> | ||
</div> | ||
</div> |
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,51 @@ | ||
<?php | ||
$page_name = "Posts List"; | ||
include "partials/_header.php"; | ||
include "partials/_menu.php"; | ||
?> | ||
|
||
<main role="main" class="container"> | ||
|
||
<div class="row"> | ||
<div class="col-12"> | ||
|
||
<h2>Users</h2> | ||
|
||
<hr> | ||
|
||
<?php for ($i = 1; $i <= 3; $i++) : ?> | ||
<div class="row row-cols-1 row-cols-md-2 g-4 mb-4"> | ||
<?php for ($y = 1; $y <= 5; $y++) : ?> | ||
<div class="col"> | ||
<?php | ||
include "components/userCards.php"; | ||
?> | ||
</div> | ||
<?php endfor; ?> | ||
</div> | ||
<?php endfor; ?> | ||
|
||
<hr /> | ||
|
||
<nav aria-label="Page navigation example"> | ||
<ul class="pagination justify-content-end"> | ||
<li class="page-item disabled"> | ||
<a class="page-link" href="#" tabindex="-1">Previous</a> | ||
</li> | ||
<li class="page-item"><a class="page-link" href="#">1</a></li> | ||
<li class="page-item"><a class="page-link" href="#">2</a></li> | ||
<li class="page-item"><a class="page-link" href="#">3</a></li> | ||
<li class="page-item"> | ||
<a class="page-link" href="#">Next</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
|
||
</div> | ||
</div> | ||
|
||
</main><!-- /.container --> | ||
|
||
<?php | ||
include "partials/_footer.php"; | ||
?> |