-
Notifications
You must be signed in to change notification settings - Fork 0
/
cv.html
69 lines (55 loc) · 5.14 KB
/
cv.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
<!doctype html>
<html>
<head>
<title>CV</title>
<style>
body {
color: #d3d3d3;
font: 12pt arial;
background-color: #ffffff;
margin: 0;
padding: 0;
width: 100vw;
height: 100vh;
}
#mynetwork {
width: 100%;
height: 100%;
border: 1px solid #444444;
background-color: #ffffff;
}
.vis-item .vis-item-overflow {
overflow: visible;
}
</style>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.8.2/vis.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.8.2/vis.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="timeline"></div>
<script type="text/javascript">
var color = 'gray';
var len = undefined;
var cv = [{"index": 1, "company": "Telenor", "role": "Arkitekt", "end": null, "start": "2015-04-01"}, {"index": 7, "company": "Bonnier News", "role": "Produkt\u00e4garE", "end": "2015-06-30", "start": "2014-07-01"}, {"index": 13, "company": "Bonnier News", "role": "Projektledare", "end": "2014-09-30", "start": "2014-04-01"}, {"index": 19, "company": "Bonnier News", "role": "Streamingarkitekt", "end": "2014-06-30", "start": "2013-10-01"}, {"index": 26, "company": "MTG", "role": "arkitekt", "end": null, "start": "2013-04-01"}, {"index": 32, "company": "MTG", "role": "Streamingarkitekt", "end": null, "start": "2013-04-01"}, {"index": 38, "company": "UDS", "role": "Arkitekt", "end": null, "start": "2013-01-01"}, {"index": 44, "company": "TDC", "role": "Utbildare", "end": null, "start": "2012-10-01"}, {"index": 50, "company": "EcoGuard", "role": "Expert p\u00e5 Datalagring", "end": null, "start": "2013-01-01"}, {"index": 56, "company": "Bonnier Digital", "role": "Arkitektur / systemutveckling", "end": "2013-03-31", "start": "2012-10-01"}, {"index": 63, "company": "Rebtel Networks AB", "role": "Produkt\u00e4gare", "end": "2012-12-31", "start": "2012-04-01"}, {"index": 69, "company": "IGT Interactive / Entraction", "role": "Utvecklingschef", "end": "2012-06-30", "start": "2012-01-01"}, {"index": 77, "company": "IGT Interactive / Entraction", "role": "Systemutvecklare", "end": "2012-03-31", "start": "2011-07-01"}, {"index": 83, "company": "Cee Services AB (STIM)", "role": "Teknisk expert", "end": null, "start": "2011-04-01"}, {"index": 88, "company": "Sveriges Radio", "role": "Systemarkitekt / systemutvecklare", "end": "2011-09-30", "start": "2010-07-01"}, {"index": 95, "company": "PayEx", "role": "Teknisk expert", "end": null, "start": "2011-04-01"}, {"index": 100, "company": "Nyheter 24", "role": "Arkitekt/workshopledare", "end": null, "start": "2010-10-01"}, {"index": 105, "company": "Sveriges Radio", "role": "Teknisk projektledare", "end": null, "start": "2010-10-01"}, {"index": 113, "company": "Lantm\u00e4nnen", "role": "BI-arkitekt / prestandaexpert", "end": null, "start": "2010-10-01"}, {"index": 118, "company": "Sveriges Radio", "role": "Prestanda-/databasspecialist", "end": "2010-06-30", "start": "2010-01-01"}, {"index": 124, "company": "Sveriges Radio", "role": "Systemutvecklare / databasdesigner", "end": "2010-06-30", "start": "2009-10-01"}, {"index": 130, "company": "Call Norwegian", "role": "Utvecklingschef", "end": "2009-12-31", "start": "2009-01-01"}, {"index": 137, "company": "Betsson", "role": "Systemdesigner, systemutvecklare", "end": "2008-09-30", "start": "2008-01-01"}, {"index": 145, "company": "Betsson", "role": "Systemutvecklare, Configuration Manager", "end": "2008-03-31", "start": "2007-10-01"}, {"index": 152, "company": "Svenska Dagbladet", "role": "Business Intelligence-projektledare", "end": null, "start": "2007-10-01"}, {"index": 159, "company": "Post- och Telestyrelsen", "role": "Systemutvecklare, systemintegration", "end": "2007-12-31", "start": "2007-07-01"}, {"index": 164, "company": "Extralives / Buzzerbeater.org", "role": "Teknisk expert", "end": "2007-06-30", "start": "2007-01-01"}, {"index": 168, "company": "Extralives", "role": "Teknisk chef, systemarkitekt", "end": "2007-09-30", "start": "2006-01-01"}, {"index": 176, "company": "Extralives", "role": "Systemutvecklare, systemarkitekt", "end": "2005-12-31", "start": "2004-01-01"}, {"index": 183, "company": "Extralives", "role": "Systemutvecklare, systemarkitekt", "end": "2003-12-31", "start": "2003-01-01"}, {"index": 190, "company": "Link\u00f6pings universitet, IT-enheten (UNIT)", "role": "Systemutvecklare", "end": "2003-06-30", "start": "2003-01-01"}, {"index": 195, "company": "Extralives", "role": "Systemutvecklare, systemarkitekt", "end": "2002-12-31", "start": "2002-01-01"}]
;
console.log(cv)
var nodes = cv.map(function(obj) {
var result = {};
result["id"] = obj.index;
result["content"] = obj.company;
result["start"] = obj.start;
if (obj.end) {
result["end"] = obj.end;
result["type"] = "range";
}
return result; });
console.log(nodes)
// create a timeline
var container = document.getElementById('timeline');
var data = new vis.DataSet(nodes);
var options = {
};
timeline = new vis.Timeline(container, data, options);
</script>
</body>
</html>