Commit 01388e16 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Manual.rst: fix subrecord example

parent 11dd37ec
......@@ -2768,9 +2768,9 @@ will be rendered inside the form as a HTML table.
* Examples::
SELECT note1 AS 'Comment', note2 AS 'Comment|50' , note3 AS 'title=Comment|width=100|nostrip', note4 AS '50|Comment',
{{!SELECT id, note1 AS 'Comment', note2 AS 'Comment|50' , note3 AS 'title=Comment|width=100|nostrip', note4 AS '50|Comment',
'checked.png' AS 'Status|icon', email AS 'mailto', CONCAT(homepage, '|Homepage') AS 'url',
ELT(status,'info','warning','danger') AS '_rowClass', help AS '_rowTitle' ...
ELT(status,'info','warning','danger') AS '_rowClass', help AS '_rowTitle' ...}}
* *FormElement.parameter*
......
<!-- CONTENT ELEMENT, uid:42/qfq_qfq [begin] -->
<div id="c42"><h1>BROKEN data!!!!!</h1>
<div class="col-md-6 col-sm-9">
<div style="height: 1024px; width: 640px;"><h3>Number requests per Institute</h3>
<canvas id="barchart" width="1240" height="640"></canvas>
<!-- CONTENT ELEMENT, uid:4/html [begin] -->
<div id="c4">
<!-- Raw HTML content: [begin] -->
<a href="?u10" class="button-big blue play">U10</a>
<a href="?u12" class="button-big blue crayon">U12</a>
<a href="?u14" class="button-big blue library">U14</a>
<a href="?fs" class="button-big blue promo font-big">Frühstudium</a>
<a href="?u18" class="button-big blue blackboard">U18</a>
<a href="?olympics" class="button-big blue track font-big">Olympics</a>
<!-- Raw HTML content: [end] -->
</div>
<script src="typo3conf/ext/qfq/Resources/Public/JavaScript/Chart.min.js"></script>
<script> $(function () {
var ctx = document.getElementById("barchart");
var barChart = new Chart(ctx, {
type: 'horizontalBar',
data: {
labels: ['Theologische Fakultät', 'Rechtswissenschaftliche Fakultät', 'Wirtschaftwissenschaftliche Fakultät', 'Medizinische Fakultät', 'Vetsuisse-Fakultät', 'Philosophische Fakultät', 'Mathematisch-naturwissenschaftliche Fakultät'],
datasets: [{
data: ['3', '1', '12', '12', '1', '16', '10'],
backgroundColor: ['rgba(255, 99, 132, 1)', 'rgba(54, 162, 235, 1)', 'rgba(255, 206, 86, 1)', 'rgba(75, 192, 192, 1)', 'rgba(153, 102, 255, 1)', 'rgba(255, 159, 64, 1)', 'rgba(0, 255, 0, 1)'],
label: "Requests"
}]
}
});
}); </script>
<!-- CONTENT ELEMENT, uid:4/html [end] -->
</div>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment