new version
This commit is contained in:
@@ -1,123 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:og="http://ogp.me/ns#"
|
||||
xmlns:fb="https://www.facebook.com/2008/fbml">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
html {
|
||||
font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.28571429em;
|
||||
font-weight: 700;
|
||||
line-height: 1.2857em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.card {
|
||||
font-size: 1em;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: .28571429rem;
|
||||
box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
|
||||
}
|
||||
|
||||
.card-block {
|
||||
font-size: 1em;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: 1em;
|
||||
border: none;
|
||||
border-top: 1px solid rgba(34, 36, 38, .1);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.card-img-top {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-size: 1.28571429em;
|
||||
font-weight: 700;
|
||||
line-height: 1.2857em;
|
||||
}
|
||||
|
||||
.card-text {
|
||||
clear: both;
|
||||
margin-top: .5em;
|
||||
color: rgba(0, 0, 0, .68);
|
||||
}
|
||||
|
||||
.card-footer {
|
||||
font-size: 1em;
|
||||
position: static;
|
||||
top: 0;
|
||||
left: 0;
|
||||
max-width: 100%;
|
||||
padding: .75em 1em;
|
||||
color: rgba(0, 0, 0, .4);
|
||||
border-top: 1px solid rgba(0, 0, 0, .05) !important;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.card-inverse .btn {
|
||||
border: 1px solid rgba(0, 0, 0, .05);
|
||||
}
|
||||
|
||||
.profile {
|
||||
position: absolute;
|
||||
top: -12px;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
margin: 0;
|
||||
border: 1px solid #fff;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.profile-avatar {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.profile-inline {
|
||||
position: relative;
|
||||
top: 0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.profile-inline ~ .card-title {
|
||||
display: inline-block;
|
||||
margin-left: 4px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.text-bold {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.meta {
|
||||
font-size: 1em;
|
||||
color: rgba(0, 0, 0, .4);
|
||||
}
|
||||
|
||||
.meta a {
|
||||
text-decoration: none;
|
||||
color: rgba(0, 0, 0, .4);
|
||||
}
|
||||
|
||||
.meta a:hover {
|
||||
color: rgba(0, 0, 0, .87);
|
||||
}
|
||||
</style>
|
||||
<title>{{text}}</title>
|
||||
<!-- Latest compiled and minified CSS -->
|
||||
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> -->
|
||||
@@ -125,76 +11,105 @@
|
||||
<!-- Optional theme -->
|
||||
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> -->
|
||||
|
||||
<style type="text/css">
|
||||
.full-width-image {
|
||||
height: 300px; // your specified height
|
||||
background: url("images/header.png") no-repeat center center fixed;
|
||||
background-size: cover;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- Latest compiled and minified JavaScript -->
|
||||
<!-- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> -->
|
||||
<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="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.4.0/Chart.min.js"></script>
|
||||
<meta property="og:title" content="EUrom.at: {{text}}"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:url" content="https://eurom.at/fragen/{{url}}"/>
|
||||
<meta property="og:image" content="https://eurom.at/fragen/images/header.png"/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- <fb:like href="https://eurom.at/frage/{{url}}" width="450" height="80"/> -->
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<img src="images/header.jpg" class="img-fluid" alt="Eurom.at"/>
|
||||
<img src="images/header.png" class="img-fluid img-responsive" alt="Eurom.at"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<h4>Wir haben folgende These geprüft:</h4>
|
||||
<h1>{{ text }}</h1>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="col-md-4">
|
||||
<canvas id="myChart" ></canvas>
|
||||
<div class="jumbotron" style="background-color: {{color}}; color: {{textcolor}}">
|
||||
<p>Wir haben folgende These geprüft:</p>
|
||||
<h1>{{ text }}</h1>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="container">
|
||||
<div class="col-md-12">
|
||||
<h5>Zustimmung</h5>
|
||||
<p style="word-wrap: break-word;">{{ZustimmungParteien}}</p>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<h5>Enthaltung</h5>
|
||||
<p>{{EnthaltungParteien}}</p>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<h5>Enthaltung</h5>
|
||||
<p>{{AblehnungParteien}}</p>
|
||||
|
||||
<!-- <div class="row">
|
||||
<div class="col-md-12">
|
||||
<h4>Wir haben folgende These geprüft:</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1>{{ text }}</h1>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="container" style="margin-top: 20px;">
|
||||
<h4>Verteilung der Antworten:</h4>
|
||||
</div>
|
||||
<div class="container" style="margin-top: 20px;">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<canvas id="myChart" ></canvas>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="container">
|
||||
<div class="col-md-12">
|
||||
<h5>Zustimmung ({{ZustimmungParteienCount}})</h5>
|
||||
<p style="word-wrap: break-word;">{{ZustimmungParteien}}</p>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<h5>Enthaltung ({{EnthaltungParteienCount}})</h5>
|
||||
<p>{{EnthaltungParteien}}</p>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<h5>Ablehnung ({{AblehnungParteienCount}})</h5>
|
||||
<p>{{AblehnungParteien}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container" style="margin-top: 20px;">
|
||||
<h4>Antworten der Partein:</h4>
|
||||
<h4>Antworten der Parteien:</h4>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="card-columns">
|
||||
{{#answers}}
|
||||
<div class="col-sm-6 col-md-4 col-lg-3 mt-4">
|
||||
<div class="card">
|
||||
<img class="card-img-top" src="images/{{party}}.png">
|
||||
<!-- <img class="card-img-top" src="images/cdu.png"> -->
|
||||
<div class="card-block">
|
||||
<h4 class="card-title">{{name}}</h4>
|
||||
<div class="card-text">
|
||||
{{text}}
|
||||
</div>
|
||||
|
||||
<div class="card-text">
|
||||
{{#ifEquals answer "Zustimmung"}}
|
||||
<button type="button" class="btn btn-success">Zustimmung</button>
|
||||
{{/ifEquals}}
|
||||
{{#ifEquals answer "Ablehnung"}}
|
||||
<button type="button" class="btn btn-danger">Ablehnung</button>
|
||||
{{/ifEquals}}
|
||||
{{#ifEquals answer "Enthaltung"}}
|
||||
<button type="button" class="btn btn-info">Enthaltung</button>
|
||||
{{/ifEquals}}
|
||||
</div>
|
||||
<div class="card">
|
||||
<img class="card-img-top img-responsive" src="images/{{party}}.jpg" alt="{{name}}">
|
||||
<div class="card-body">
|
||||
<h4 class="card-title">{{name}}</h4>
|
||||
<p class="card-text">
|
||||
{{text}}
|
||||
</p>
|
||||
<div class="card-text">
|
||||
{{#ifEquals answer "Zustimmung"}}
|
||||
<button type="button" class="btn btn-success">Zustimmung</button>
|
||||
{{/ifEquals}}
|
||||
{{#ifEquals answer "Ablehnung"}}
|
||||
<button type="button" class="btn btn-danger">Ablehnung</button>
|
||||
{{/ifEquals}}
|
||||
{{#ifEquals answer "Enthaltung"}}
|
||||
<button type="button" class="btn btn-info">Enthaltung</button>
|
||||
{{/ifEquals}}
|
||||
</div>
|
||||
<!-- <h4 class="card-title">Card title that wraps to a new line</h4>
|
||||
<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> -->
|
||||
</div>
|
||||
</div>
|
||||
{{/answers}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -215,7 +130,11 @@
|
||||
'Ablehnung'
|
||||
]
|
||||
},
|
||||
options: {}
|
||||
options: {
|
||||
legend: {
|
||||
position: 'bottom'
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user