wip
This commit is contained in:
22
app/plugins/resume/views/admin/create.html
Normal file
22
app/plugins/resume/views/admin/create.html
Normal file
@ -0,0 +1,22 @@
|
||||
<h2>Resume Entry Form</h2>
|
||||
<form action="#" method="POST">
|
||||
<label for="name">Company Name:</label><br>
|
||||
<input type="text" id="name" name="name" required><br><br>
|
||||
|
||||
<label for="position">Position:</label><br>
|
||||
<input type="text" id="position" name="position" required><br><br>
|
||||
|
||||
<label for="start">Start Month/Year:</label><br>
|
||||
<input type="month" id="start" name="start" required><br><br>
|
||||
|
||||
<label for="end">End Month/Year:</label><br>
|
||||
<input type="month" id="end" name="end" required><br><br>
|
||||
|
||||
<label for="details">Details:</label><br>
|
||||
<textarea id="details" name="details" rows="20" cols="50" required></textarea><br><br>
|
||||
|
||||
<label for="details">Details ( No BS ):</label><br>
|
||||
<textarea id="detailsNobs" name="detailsNobs" rows="20" cols="50" required></textarea><br><br>
|
||||
|
||||
<input type="submit" name="submit" value="Submit">
|
||||
</form>
|
22
app/plugins/resume/views/admin/edit.html
Normal file
22
app/plugins/resume/views/admin/edit.html
Normal file
@ -0,0 +1,22 @@
|
||||
<h2>Edit Resume Position</h2>
|
||||
<form action="#" method="POST">
|
||||
<label for="name">Company Name:</label><br>
|
||||
<input type="text" id="name" name="name" value="{name}" required><br><br>
|
||||
|
||||
<label for="position">Position:</label><br>
|
||||
<input type="text" id="position" name="position" value="{position}" required><br><br>
|
||||
|
||||
<label for="start">Start Month/Year:</label><br>
|
||||
<input type="month" id="start" name="start" value="{start}" required><br><br>
|
||||
|
||||
<label for="end">End Month/Year:</label><br>
|
||||
<input type="month" id="end" name="end" value="{end}" required><br><br>
|
||||
|
||||
<label for="details">Details:</label><br>
|
||||
<textarea id="details" name="details" rows="20" cols="50" required>{details}</textarea><br><br>
|
||||
|
||||
<label for="details">Details ( No BS ):</label><br>
|
||||
<textarea id="detailsNobs" name="detailsNobs" rows="20" cols="50" required>{details_nobs}</textarea><br><br>
|
||||
|
||||
<input type="submit" name="submit" value="Submit">
|
||||
</form>
|
46
app/plugins/resume/views/admin/list.html
Normal file
46
app/plugins/resume/views/admin/list.html
Normal file
@ -0,0 +1,46 @@
|
||||
<div class="context-main-bg context-main p-3">
|
||||
<legend class="text-center">Resume Positions</legend>
|
||||
<hr>
|
||||
{ADMIN_BREADCRUMBS}
|
||||
<form action="{ROOT_URL}admin/resume/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 30%">Name</th>
|
||||
<th style="width: 20%">Position</th>
|
||||
<th style="width: 10%">Start</th>
|
||||
<th style="width: 10%">End</th>
|
||||
<th style="width: 10%"></th>
|
||||
<th style="width: 10%"></th>
|
||||
<th style="width: 10%">
|
||||
<INPUT type="checkbox" onchange="checkAll(this)" name="check.b" value="P_[]"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td><a href="{ROOT_URL}admin/resume/view/{ID}" class="text-decoration-none">{name}</a></td>
|
||||
<td>{position}</td>
|
||||
<td>{prettyStart}</td>
|
||||
<td>{prettyEnd}</td>
|
||||
<td><a href="{ROOT_URL}admin/resume/edit/{ID}" class="btn btn-sm btn-warning" role="button"><i class="fa fa-fw fa-pencil"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/resume/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="fa fa-fw fa-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/resume/create" class="btn btn-sm btn-primary" role="button">Create</a>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
||||
</form>
|
||||
</div>
|
8
app/plugins/resume/views/admin/view.html
Normal file
8
app/plugins/resume/views/admin/view.html
Normal file
@ -0,0 +1,8 @@
|
||||
<legend>Resume Position</legend>
|
||||
<div class="resume-position">
|
||||
<h3 class="resume-position-title">{name}</h3>
|
||||
<p><b>{position}</b> from <i>{prettyStart}</i> to <i>{prettyEnd}</i></p>
|
||||
<div class="well">
|
||||
{details}
|
||||
</div>
|
||||
</div>
|
13
app/plugins/resume/views/download.html
Normal file
13
app/plugins/resume/views/download.html
Normal file
@ -0,0 +1,13 @@
|
||||
<div class="my-3 row" role="group" aria-label="Resume Downloads">
|
||||
<!-- Adjusted the col-3 div -->
|
||||
<div class="col-4 col-md-3 d-flex align-items-center justify-content-end">
|
||||
<h3>Download</h3>
|
||||
</div>
|
||||
<!-- Button group -->
|
||||
<div class="btn-group btn-group-justified col-8 col-md-6" role="group" aria-label="Resume Downloads">
|
||||
<a href="/downloads/resume/docx" class="btn btn-primary" role="button" target="_blank" download>Word</a>
|
||||
<a href="/downloads/resume/pdf" class="btn btn-primary" role="button" target="_blank" download>PDF</a>
|
||||
<a href="/downloads/resume/md" class="btn btn-primary" role="button" target="_blank" download>Markdown</a>
|
||||
<a href="/downloads/resume/txt" class="btn btn-primary" role="button" target="_blank" download>Text</a>
|
||||
</div>
|
||||
</div>
|
10
app/plugins/resume/views/nav.html
Normal file
10
app/plugins/resume/views/nav.html
Normal file
@ -0,0 +1,10 @@
|
||||
<div class="mb-3 row" role="group" aria-label="Resume View Type">
|
||||
<div class="btn-group btn-group-justified col-6 offset-lg-3" role="group" aria-label="Resume View Type">
|
||||
<a href="?view=tiimeline" class="btn btn-primary" role="button">Timeline</a>
|
||||
<a href="?" class="btn btn-primary" role="button">Standard</a>
|
||||
</div>
|
||||
<div class="form-check form-switch col-6 col-lg-3 d-flex align-items-center justify-content-center justify-content-lg-start">
|
||||
<input class="form-check-input" type="checkbox" role="switch" name="hidebs" id="hidebs" value="true">
|
||||
<label class="form-check-label ps-2" for="hidebs">Hide the Fluff</label>
|
||||
</div>
|
||||
</div>
|
36
app/plugins/resume/views/resume.html
Normal file
36
app/plugins/resume/views/resume.html
Normal file
@ -0,0 +1,36 @@
|
||||
<div class="col-12 col-md-10 col-lg-8 offset-lg-2 offset-md-1 offset-0 mb-3 mb-lg-5 mt-2 mt-lg-4">
|
||||
<div class="p-2 p-lg-4 mb-lg-4 m-2 rounded-3 context-main context-main-bg">
|
||||
<h2 class="text-center">Resume</h2>
|
||||
<hr>
|
||||
{RESUME_NAV}
|
||||
{LOOP}
|
||||
<div class="card context-main context-third-bg py-2 my-2 rounded">
|
||||
<div class="row g-0 px-3">
|
||||
<div class="col-md-4 d-flex justify-content-center align-items-center p-2">
|
||||
<img class="img-fluid" src="{image}" alt="{name}">
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="card-body">
|
||||
<h4 class="card-title">{name}</h4>
|
||||
<p class="card-text">
|
||||
<b>{position}</b> from <i>{prettyStart}</i> to <i>{prettyEnd}</i>
|
||||
</p>
|
||||
<div class="details card-text">
|
||||
{details}
|
||||
</div>
|
||||
<div class="details_nobs card-text d-none">
|
||||
{details_nobs}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<div class="resume-position">
|
||||
<p>None Found</p>
|
||||
</div>
|
||||
{/ALT}
|
||||
{RESUME_DOWNLOADS}
|
||||
</div>
|
||||
</div>
|
35
app/plugins/resume/views/timeline.html
Normal file
35
app/plugins/resume/views/timeline.html
Normal file
@ -0,0 +1,35 @@
|
||||
<div class="col-12 col-md-10 col-lg-8 offset-lg-2 offset-md-1 offset-0 mb-3 mb-lg-5 mt-2 mt-lg-4">
|
||||
<div class="p-2 p-lg-4 mb-lg-4 m-2 rounded-3 context-main context-main-bg">
|
||||
<h2 class="text-center">Resume</h2>
|
||||
<hr>
|
||||
{RESUME_NAV}
|
||||
<div class="details_nobs card-text d-none text-center col-6 offset-3">
|
||||
<p>
|
||||
Honestly, I really wanted to do something fun and interactive here.
|
||||
Unfortunately I didn't have a specific idea in mind and this was abandoned in favor of spending my time somewhere with a bigger impact.
|
||||
</p>
|
||||
</div>
|
||||
{LOOP}
|
||||
<div class="resume-timeline">
|
||||
<div class="timeline-container {side}">
|
||||
<div class="timeline-content context-third-bg">
|
||||
<h3 class="resume-position-title">{name}</h3>
|
||||
<p><b>{position}</b> from <i>{prettyStart}</i> to <i>{prettyEnd}</i></p>
|
||||
<div class="details card-text">
|
||||
{details}
|
||||
</div>
|
||||
<div class="details_nobs card-text d-none">
|
||||
{details_nobs}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<div class="resume-timeline">
|
||||
<p>None Found</p>
|
||||
</div>
|
||||
{/ALT}
|
||||
{RESUME_DOWNLOADS}
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user