This commit is contained in:
Joey Kimsey
2024-12-02 17:43:55 -05:00
parent 113499254b
commit de5530b1e3
95 changed files with 3192 additions and 509 deletions

View File

@ -0,0 +1,19 @@
<h2>Add Portfolio Link</h2>
<form action="#" method="POST">
<label for="section">Section Name:</label><br>
<input type="text" id="section" name="section" required><br><br>
<label for="title">Title:</label><br>
<input type="text" id="title" name="title" required><br><br>
<label for="image">Image:</label><br>
<input type="text" id="image" name="image" required><br><br>
<label for="url">URL:</label><br>
<input type="text" id="url" name="url" required><br><br>
<label for="description">Description:</label><br>
<textarea id="description" name="description" rows="20" cols="50" required></textarea><br><br>
<input type="submit" name="submit" value="Submit">
</form>

View File

@ -0,0 +1,19 @@
<h2>Edit Portfolio Link</h2>
<form action="#" method="POST">
<label for="section">Section Name:</label><br>
<input type="text" id="section" name="section" value="{section}" required><br><br>
<label for="title">Title:</label><br>
<input type="text" id="title" name="title" value="{title}" required><br><br>
<label for="image">Image:</label><br>
<input type="text" id="image" name="image" value="{image}" required><br><br>
<label for="url">URL:</label><br>
<input type="text" id="url" name="url" value="{url}" required><br><br>
<label for="description">Description</label><br>
<textarea id="description" name="description" rows="20" cols="50" required>{description}</textarea><br><br>
<input type="submit" name="submit" value="Submit">
</form>

View File

@ -0,0 +1,41 @@
<legend>Portfolio Links</legend>
{PAGINATION}
<form action="{ROOT_URL}admin/portfolio/delete" method="post">
<table class="table table-striped">
<thead>
<tr>
<th style="width: 30%">title</th>
<th style="width: 30%">section</th>
<th style="width: 25%">url</th>
<th style="width: 5%"></th>
<th style="width: 5%"></th>
<th style="width: 5%">
<INPUT type="checkbox" onchange="checkAll(this)" name="check.b" value="B_[]"/>
</th>
</tr>
</thead>
<tbody>
{LOOP}
<tr>
<td><a href="{ROOT_URL}admin/portfolio/view/{ID}">{title}</a></td>
<td>{section}</td>
<td>{url}</td>
<td><a href="{ROOT_URL}admin/portfolio/edit/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
<td><a href="{ROOT_URL}admin/portfolio/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
<td>
<input type="checkbox" value="{ID}" name="P_[]">
</td>
</tr>
{/LOOP}
{ALT}
<tr>
<td colspan="7">
No results to show.
</td>
</tr>
{/ALT}
</tbody>
</table>
<a href="{ROOT_URL}admin/portfolio/create" class="btn btn-sm btn-primary" role="button">Create</a>
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger">Delete</button>
</form>

View File

@ -0,0 +1,16 @@
<legend>Portfolio Link</legend>
<hr>
<div class="media portfolio-link">
<div class="media-left">
<a href="#">
<img class="media-object" src="{image}" alt="{title} preview">
</a>
</div>
<div class="media-body">
<h4 class="media-heading"><a href="{url}">{title}</a></h4>
{description}
</div>
</div>

View File

@ -0,0 +1,20 @@
<h1>Portfolio</h1>
<hr>
{LOOP}
<div class="media portfolio-link col-md-8 col-md-offset-2">
<div class="media-left">
<a href="#">
<img class="media-object" src="{image}" alt="{title} preview">
</a>
</div>
<div class="media-body">
<h4 class="media-heading"><a href="{url}">{title}</a></h4>
{description}
</div>
</div>
{/LOOP}
{ALT}
<div class="portfolio-link">
<p>None Found</p>
</div>
{/ALT}