forked from ellekasai/resumecards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
117 lines (117 loc) · 5.13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='//fonts.googleapis.com/css?family=Quando' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Muli' rel='stylesheet' type='text/css'>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="{{ "/stylesheets/resumecards.css" | prepend:site.baseurl }}">
<title>
{{ site.data.resume.name }}'s Resume
</title>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container resume-content">
<div class="row">
<div class="col-sm-8 clearfix">
<figure class="resume-pic">
<img src="{{ site.data.resume.photo }}" class="img-rounded" width="120" height="120">
</figure>
<div class="resume-baseinfo">
<h1>{{ site.data.resume.name }}</h1>
<p>{{ site.data.resume.copy }}</p>
</div>
</div>
<div class="col-sm-4 resume-contact">
{% include nav.html %}
</div>
</div>
<div class="row">
{% for card in site.posts reversed %}
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{{ card.type }}</h3>
</div>
<div class="panel-body">
{% if card.heading %}
<h4>
{{ card.heading }}
</h4>
{% endif %}
{% if card.subheading %}
<p class="resume-subheading">
{{ card.subheading }}
</p>
{% endif %}
{% if card.duration %}
<p class="resume-duration">
{{ card.duration }}
</p>
{% endif %}
{% if card.location %}
<p class="resume-location">
{{ card.location }}
</p>
{% endif %}
{{ card.content }}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
<div class="hidden-print">
<footer class="container">
<nav class="navbar navbar-default hidden-print hidden-xs" role="navigation">
<div class="resume-nav">
<span>Based on <a href="https://github.com/ellekasai/resumecards" target="_blank">ResumeCards</a> by <a href="http://ellekasai.com/" target="_blank">Elle Kasai</a><span class="hidden-sm">, a Markdown based resume generator</span></span>.
<span>Slightly modified by me.</span>
<div class="dropdown resume-dropdown">
<button type="button" class="dropdown-toggle btn btn-default" data-toggle="dropdown" role="button" aria-expanded="false">Theme <span class="caret"></span></button>
<ul class="dropdown-menu resume-dropdown-menu" role="menu">
<li><a href="#" id="default">Default</a></li>
<li><a href="#" id="red">Red</a></li>
<li><a href="#" id="pink">Pink</a></li>
<li><a href="#" id="brown">Brown</a></li>
<li><a href="#" id="blue">Blue</a></li>
<li><a href="#" id="purple">Purple</a></li>
<li><a href="#" id="teal">Teal</a></li>
<li><a href="#" id="green">Green</a></li>
</ul>
</div>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#saveAsPdf">
Save as PDF
</button>
<div class="modal fade" id="saveAsPdf" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<img src="{{ "/images/resume_print_dialog.png" | prepend:site.baseurl }}" class="img-rounded" width="400" height="342">
<p>Warning: Currently, ResumeCards works the best on Chrome.<br>You need to adjust the CSS for Firefox/Safari.</p>
</div>
<div class="modal-footer">
<button onclick="window.print()" class="btn btn-primary">Open Print Dialog</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</nav>
</footer>
</div>
<script src="{{ "/javascripts/jquery.min.js" | prepend:site.baseurl }}"></script>
<script src="{{ "/javascripts/bootstrap.min.js" | prepend:site.baseurl }}"></script>
<script src="{{ "/javascripts/resumecards.js" | prepend:site.baseurl }}"></script>
{% include scripts.html %}
</body>
</html>