Skip to content

Commit

Permalink
updated resume #15
Browse files Browse the repository at this point in the history
  • Loading branch information
hannaa12 committed Jul 30, 2023
1 parent 3fa5f3a commit aabc537
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions templates/resume.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


<div class="row">
{% if session.is_admin == 0 %}
<div class="col s12">
<h2>Upload Resume</h2>
<embed src="/docs/{{session.username}}" width="500" height="375">
Expand All @@ -23,6 +24,14 @@ <h6 class="text-success">{{ msg_name }}</h6>
<input type="submit" name="submit" value="UPLOAD" class="btn btn-outline-warning">
</form>
</div>
{% endif %}

{% if session.is_admin == 2 %}
<div class="col s12">
<h2>Candidate Resume</h2>
<embed src="/docs/{{username}}" width="500" height="375">
{% endif %}
</div>


{% endblock %}

0 comments on commit aabc537

Please sign in to comment.