gustavo luigi helped me with that
parent
ab8a80542c
commit
7ae5392948
|
@ -1,7 +1,12 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="63513c45-0a61-435e-8541-3831c195f7c0" name="Changes" comment="" />
|
<list default="true" id="63513c45-0a61-435e-8541-3831c195f7c0" name="Changes" comment="">
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/content-types.json" beforeDir="false" afterPath="$PROJECT_DIR$/content-types.json" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/content/contents/solarmodule.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/content/contents/solarmodule.blade.php" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/content/master.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/content/master.blade.php" afterDir="false" />
|
||||||
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
|
@ -57,7 +62,7 @@
|
||||||
<workItem from="1662027309116" duration="11385000" />
|
<workItem from="1662027309116" duration="11385000" />
|
||||||
<workItem from="1662115692620" duration="1346000" />
|
<workItem from="1662115692620" duration="1346000" />
|
||||||
<workItem from="1662283223529" duration="4523000" />
|
<workItem from="1662283223529" duration="4523000" />
|
||||||
<workItem from="1662312260637" duration="7783000" />
|
<workItem from="1662312260637" duration="10666000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
|
|
@ -1,54 +1,9 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name":"Balkonkraftwerk",
|
"slug":"solarmodule",
|
||||||
"description":"Produkt",
|
|
||||||
"icon":"shopping-bag",
|
|
||||||
"status":1,
|
|
||||||
"blade":"balkonkraftwerk",
|
|
||||||
"fields":[
|
|
||||||
{
|
|
||||||
"name":"Preis",
|
|
||||||
"type":"number",
|
|
||||||
"description":"",
|
|
||||||
"attr":{"step":"0.01"},
|
|
||||||
"position":1,
|
|
||||||
"required":1,
|
|
||||||
"default_value":""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name":"Lieferumfang",
|
|
||||||
"type":"textfield",
|
|
||||||
"description":"",
|
|
||||||
"position":2,
|
|
||||||
"required":1,
|
|
||||||
"default_value":""
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name":"Solarmodule",
|
"name":"Solarmodule",
|
||||||
"description":"Produkt",
|
"description":"Solarmodule",
|
||||||
"icon":"shopping-bag",
|
"icon":"solar-panel",
|
||||||
"status":1,
|
"status":1,
|
||||||
"blade":"solarmodule",
|
"blade":"solarmodule",
|
||||||
"fields":[
|
"fields":[{"name":"Beschreibung","type":"textfield","description":"","position":1,"required":0,"default_value":""},{"name":"Hersteller","type":"select","description":"","position":2,"required":1,"default_value":"","options":["JA Solar","Longi"]},{"name":"Preis","type":"number","description":"","attr":{"min":"0","step":"0.01"},"position":5,"required":1,"default_value":""},{"name":"Lieferumfang","type":"textfield","description":"","position":3,"required":1,"default_value":""},{"name":"preis_5","type":"number","description":"Preis pro Modul bei Abnahme ab 5 St\u00fcck","attr":{"max":"500","min":"0","step":"0.01"},"position":4,"required":0,"default_value":""},{"name":"preis_10","type":"number","description":"Preis pro Modul bei Abnahme ab 10 St\u00fcck","attr":{"min":"0","step":"0.01"},"position":6,"required":0,"default_value":""},{"name":"preis_palette","type":"number","description":"Preis pro Modul bei Abnahme von einer geschlossenen Palette","attr":{"min":"0","step":"0.01"},"position":7,"required":0,"default_value":""},{"name":"Module pro Palette","type":"number","description":"","attr":{"max":"50","min":"0","step":"1"},"position":8,"required":1,"default_value":""},{"name":"Leistung","type":"number","description":"Leistung in Wp des Moduls","attr":{"min":"0","step":"1"},"position":9,"required":1,"default_value":""}]},{"slug":"balkonkraftwerk","name":"Balkonkraftwerk","description":"Produkt","icon":"shopping-bag","status":1,"blade":"balkonkraftwerk","fields":[{"name":"Preis","type":"number","description":"","position":1,"required":1,"default_value":""},{"name":"Lieferumfang","type":"textfield","description":"","position":2,"required":1,"default_value":""}]}]
|
||||||
{
|
|
||||||
"name":"Preis",
|
|
||||||
"type":"number",
|
|
||||||
"description":"",
|
|
||||||
"attr":{"step":"0.01"},
|
|
||||||
"position":1,
|
|
||||||
"required":1,
|
|
||||||
"default_value":""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name":"Lieferumfang",
|
|
||||||
"type":"textfield",
|
|
||||||
"description":"",
|
|
||||||
"position":2,
|
|
||||||
"required":1,
|
|
||||||
"default_value":""
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
li{list-style: none; margin-bottom: 4px; }
|
li{list-style: none; margin-bottom: 4px; }
|
||||||
</style>
|
</style>
|
||||||
|
<meta name="product-id" content="{{$content->id}}">
|
||||||
@stop
|
@stop
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -81,35 +82,35 @@
|
||||||
|
|
||||||
<canvas id="myChart" width="400" height="400"></canvas>
|
<canvas id="myChart" width="400" height="400"></canvas>
|
||||||
<script>
|
<script>
|
||||||
const ctx = document.getElementById('myChart').getContext('2d');
|
const ctx = document.getElementById('myChart').getContext('2d');
|
||||||
const myChart = new Chart(ctx, {
|
const myChart = new Chart(ctx, {
|
||||||
type: 'line',
|
type: 'line',
|
||||||
data: {
|
data: {
|
||||||
labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'],
|
labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'],
|
||||||
datasets: [{
|
datasets: [{
|
||||||
label: 'Modulpreis in €',
|
label: 'Modulpreis in €',
|
||||||
data: [12, 19, 3, 5, 2, 3],
|
data: [12, 19, 3, 5, 2, 3],
|
||||||
backgroundColor: [
|
backgroundColor: [
|
||||||
'rgba(255, 99, 132, 0.2)',
|
'rgba(255, 99, 132, 0.2)',
|
||||||
'rgba(54, 162, 235, 0.2)',
|
'rgba(54, 162, 235, 0.2)',
|
||||||
'rgba(255, 206, 86, 0.2)',
|
'rgba(255, 206, 86, 0.2)',
|
||||||
'rgba(75, 192, 192, 0.2)',
|
'rgba(75, 192, 192, 0.2)',
|
||||||
'rgba(153, 102, 255, 0.2)',
|
'rgba(153, 102, 255, 0.2)',
|
||||||
'rgba(255, 159, 64, 0.2)'
|
'rgba(255, 159, 64, 0.2)'
|
||||||
],
|
],
|
||||||
borderColor: [
|
borderColor: [
|
||||||
'rgba(255, 99, 132, 1)',
|
'rgba(255, 99, 132, 1)',
|
||||||
'rgba(54, 162, 235, 1)',
|
'rgba(54, 162, 235, 1)',
|
||||||
'rgba(255, 206, 86, 1)',
|
'rgba(255, 206, 86, 1)',
|
||||||
'rgba(75, 192, 192, 1)',
|
'rgba(75, 192, 192, 1)',
|
||||||
'rgba(153, 102, 255, 1)',
|
'rgba(153, 102, 255, 1)',
|
||||||
'rgba(255, 159, 64, 1)'
|
'rgba(255, 159, 64, 1)'
|
||||||
],
|
],
|
||||||
borderWidth: 1
|
borderWidth: 1
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -254,7 +254,7 @@
|
||||||
<div class="input-group input-group-lg">
|
<div class="input-group input-group-lg">
|
||||||
|
|
||||||
<input type="text" class="form-control cart-link" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-lg" style="box-shadow: none;" readonly>
|
<input type="text" class="form-control cart-link" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-lg" style="box-shadow: none;" readonly>
|
||||||
<span class="input-group-text" id="btn-copy-cart-link">
|
<span class="input-group-text" id="btn-copy-cart-link" style="cursor: copy;">
|
||||||
<svg style="fill: currentColor; width: 18px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM352 32.491a15.88 15.88 0 0 1 7.431 4.195l51.882 51.883A15.885 15.885 0 0 1 415.508 96H352V32.491zM288 464c0 8.822-7.178 16-16 16H48c-8.822 0-16-7.178-16-16V144c0-8.822 7.178-16 16-16h80v240c0 26.51 21.49 48 48 48h112v48zm128-96c0 8.822-7.178 16-16 16H176c-8.822 0-16-7.178-16-16V48c0-8.822 7.178-16 16-16h144v72c0 13.2 10.8 24 24 24h72v240z"/></svg>
|
<svg style="fill: currentColor; width: 18px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM352 32.491a15.88 15.88 0 0 1 7.431 4.195l51.882 51.883A15.885 15.885 0 0 1 415.508 96H352V32.491zM288 464c0 8.822-7.178 16-16 16H48c-8.822 0-16-7.178-16-16V144c0-8.822 7.178-16 16-16h80v240c0 26.51 21.49 48 48 48h112v48zm128-96c0 8.822-7.178 16-16 16H176c-8.822 0-16-7.178-16-16V48c0-8.822 7.178-16 16-16h144v72c0 13.2 10.8 24 24 24h72v240z"/></svg>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue