-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
337 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
*{ | ||
|
||
font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif; | ||
} | ||
|
||
|
||
/*.card { | ||
background: #fff; | ||
border-radius: 2px; | ||
display: inline-block; | ||
height: 300px; | ||
margin: 1rem; | ||
position: relative; | ||
width: 300px; | ||
}*/ | ||
|
||
.card-1 { | ||
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); | ||
transition: all 0.3s cubic-bezier(.25,.8,.25,1); | ||
} | ||
|
||
/*.card-1:hover { | ||
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22); | ||
}*/ | ||
|
||
.card-2 { | ||
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); | ||
} | ||
|
||
.card-3 { | ||
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); | ||
} | ||
|
||
.card-4 { | ||
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22); | ||
} | ||
|
||
.card-5 { | ||
box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22); | ||
} | ||
|
||
|
||
.university--header{ | ||
text-align:center; | ||
} | ||
|
||
.university--logo { | ||
display: block; | ||
height: 60px; | ||
width: 60px; | ||
line-height: 60px; | ||
margin: 30px auto 5px; | ||
padding:10px; | ||
background-color: black; | ||
color: white; | ||
text-align: center; | ||
-moz-border-radius: 50%; | ||
border-radius: 50%; | ||
/*background: rgb(223, 223, 223);*/ | ||
background: rgb(255, 255, 255); | ||
border: 4px solid rgb(223, 223, 223); | ||
overflow: hidden !important; | ||
} | ||
|
||
.university--logo img { | ||
height:40px; | ||
width:40px; | ||
|
||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
$( document ).ready(function() { | ||
$.urlParam = function(name){ | ||
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href); | ||
return results[1] || 0; | ||
} | ||
|
||
$('#url-input').val($.urlParam('url')); | ||
|
||
var data = { | ||
labels: [ | ||
"Methods", | ||
"Management", | ||
"Information Systems", | ||
"Computer Science"] | ||
, | ||
datasets: [ | ||
{ | ||
data: [0.2, 0.3, 0.4, 0.1], | ||
backgroundColor: [ | ||
"#ECEFF1", | ||
"#FDB45C", | ||
"#F7464A", | ||
"#97BBCD"] | ||
}] | ||
}; | ||
var bisePillars = $("#bisePillars"); | ||
var bisePillarsDoughnutChart = new Chart(bisePillars, { | ||
type: 'doughnut', | ||
data: data, | ||
options: { | ||
animation : false, | ||
animateRotate : false, | ||
animateScale : false, | ||
tooltipTemplate: '<%=label%> <%= Math.round(circumference / 6.283 * 100) %> ', | ||
legend: { | ||
display: false | ||
} | ||
} | ||
}); | ||
|
||
var jobProfiles = $("#jobProfiles"); | ||
|
||
var data = { | ||
labels: ["Administration", "Consulting", "Computer Science", "IT management", "SW Engineering"], | ||
datasets: [ | ||
{ | ||
data: [0, 0, 0, 0, 0] | ||
} | ||
] | ||
}; | ||
|
||
var jobProfilesRadarChart = new Chart(jobProfiles, { | ||
type: 'radar', | ||
data: data, | ||
options: { | ||
scaleOverride: true, | ||
animation : false, | ||
scaleSteps: 4, | ||
scaleStepWidth: 0.125, | ||
showTooltips: false, | ||
legend: { | ||
display: false | ||
}, | ||
scale: { | ||
ticks: { | ||
display: false | ||
}, | ||
} | ||
|
||
} | ||
}); | ||
|
||
|
||
var map = L.map('map').setView([51.505, -0.09], 13); | ||
|
||
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { | ||
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' | ||
}).addTo(map); | ||
|
||
L.marker([51.5, -0.09]).addTo(map) | ||
.bindPopup('University of London') | ||
.openPopup(); | ||
|
||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<!-- Required meta tags --> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
|
||
<!-- Bootstrap CSS --> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous"> | ||
|
||
<link rel="stylesheet" href="assets/css/style.css" > | ||
|
||
<link rel="shortcut icon" type="image/png" href="assets/img/edugraph-logo.png"/> | ||
|
||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ||
|
||
<title>EduGraph University Preview</title></title> | ||
</head> | ||
<body> | ||
|
||
<nav class="navbar" style="background-color:#33691E; color:white;"> | ||
<span class="navbar-brand" href="#">EduGraph University Preview </span> | ||
|
||
|
||
</nav> | ||
|
||
|
||
<div class="d-flex align-items-center align-self-center" style="background-color:rgb(76,175,80); color:white; height:500px;"> | ||
|
||
<div class="mx-auto text-center" style="max-width:700px;"> | ||
<form action="" method="get"> | ||
<h1 class="display-5" style="margin-bottom:40px;font-weight:300;">Preview your university structured data</h1> | ||
|
||
<div class="input-group input-group-lg" style="width:700px;"> | ||
<span class="input-group-addon" id="sizing-addon1"><i class="material-icons">public</i></span> | ||
<input type="url" class="form-control" name="url" placeholder="Enter a URL to preview" aria-describedby="sizing-addon1"> | ||
</div> | ||
|
||
<div style="margin-top:24px;"> | ||
<button type="submit" class="btn btn-primary" style="text-transform: uppercase;">Get preview</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
<div class="container" style="margin-bottom:50px;"> | ||
|
||
</div> | ||
|
||
|
||
<!-- jQuery first, then Tether, then Bootstrap JS. --> | ||
<script src="https://code.jquery.com/jquery-3.1.1.min.js" ></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script> | ||
|
||
<script src="assets/js/app.js" ></script> | ||
|
||
</body> | ||
</html> | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<!-- Required meta tags --> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
|
||
<!-- Bootstrap CSS --> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous"> | ||
|
||
<link rel="stylesheet" href="assets/css/style.css" > | ||
|
||
<link rel="shortcut icon" type="image/png" href="assets/img/edugraph-logo.png"/> | ||
|
||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ||
|
||
|
||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" /> | ||
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script> | ||
|
||
<title>EduGraph University Preview</title></title> | ||
</head> | ||
<body> | ||
|
||
<nav class="navbar card-3" style="background-color:#33691E; color:white;"> | ||
<span class="navbar-brand" style="margin-bottom:10px;" href="#">EduGraph University Preview </span> | ||
|
||
|
||
<div class="input-group input-group-lg card-5" style="opacity: 0.5;margin-bottom:10px;"> | ||
<span class="input-group-addon" id="sizing-addon1"><i class="material-icons">public</i></span> | ||
<input id="url-input" type="url" class="form-control" name="url" placeholder="Enter a URL to preview" aria-describedby="sizing-addon1"> | ||
<span class="input-group-addon" id="sizing-addon2"><i class="material-icons">refresh</i></span> | ||
</div> | ||
|
||
|
||
</nav> | ||
|
||
|
||
<div class="container" style="margin-top:20px;"> | ||
|
||
<div class="row"> | ||
<div class="col-6 "> | ||
<div class="card card-2"> | ||
|
||
<div class="card-block"> | ||
<h4 class="card-title" id="card-detail-title">Wirtschafsinformatik Bachelor</h4> | ||
|
||
<canvas id="bisePillars" width="400" height="200px"></canvas> | ||
|
||
<canvas id="jobProfiles" width="400" height="200px"></canvas> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="col-6"> | ||
|
||
<div class="card card-2"> | ||
<div class="card-block"> | ||
<div class="university--header"> | ||
<div class="university--logo"> | ||
<img src="http://fbwmoss2010.fh-brandenburg.de/websites/workspace/Freigegebene%20Dokumente/FHB%20-%20Logo.png"> | ||
</div> | ||
<div class="university--title"> | ||
Technische Hochschule Brandenburg | ||
</div> | ||
Die Fachhochschule Brandenburg (kurz: FHB) ist eine staatliche Fachhochschule in Brandenburg an der Havel. Der Schwerpunkt des Studienangebots in drei Fachbereichen konzentriert sich auf die sogenannten MINT-Fächer. | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="card card-2"> | ||
<img class="card-img-top" src="https://lh5.googleusercontent.com/proxy/6LrOygncTEdngNyKYxJbh6ufkN130LLvxnJLSwwEx29BRqMIU5ugUiEPGQL4tObVPu4LHMl9gz_szdswHYWxFLEN1m_muQ=w409-h256" alt="Card image cap"> | ||
<h3 class="card-block" style="margin-top:-70px; color:white;">Brandenburg an der Havel</h3> | ||
<div class="card-block"> | ||
That my text | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="col-12"> | ||
<div class="card card-2"> | ||
<div id="map" style="height:280px;"></div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
|
||
|
||
|
||
|
||
</div> | ||
|
||
|
||
|
||
<!-- jQuery first, then Tether, then Bootstrap JS. --> | ||
<script src="https://code.jquery.com/jquery-3.1.1.min.js" ></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script> | ||
|
||
|
||
|
||
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.bundle.min.js" ></script>--> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js" ></script> | ||
|
||
|
||
|
||
<script src="assets/js/app.js" ></script> | ||
|
||
</body> | ||
</html> | ||
|
||
|
||
|
||
|