gustavo luigi helped me with that

master
Benjamin Völkl 2022-09-05 10:55:38 +02:00
parent ab8a80542c
commit 7ae5392948
4 changed files with 42 additions and 81 deletions

View File

@ -1,7 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<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="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -57,7 +62,7 @@
<workItem from="1662027309116" duration="11385000" />
<workItem from="1662115692620" duration="1346000" />
<workItem from="1662283223529" duration="4523000" />
<workItem from="1662312260637" duration="7783000" />
<workItem from="1662312260637" duration="10666000" />
</task>
<servers />
</component>

View File

@ -1,54 +1,9 @@
[
{
"name":"Balkonkraftwerk",
"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":""
}
]
},
{
"slug":"solarmodule",
"name":"Solarmodule",
"description":"Produkt",
"icon":"shopping-bag",
"description":"Solarmodule",
"icon":"solar-panel",
"status":1,
"blade":"solarmodule",
"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":""
}
]
}
]
"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":""}]}]

View File

@ -4,6 +4,7 @@
<style type="text/css">
li{list-style: none; margin-bottom: 4px; }
</style>
<meta name="product-id" content="{{$content->id}}">
@stop
@section('content')
<div class="container">
@ -81,8 +82,8 @@

<canvas id="myChart" width="400" height="400"></canvas>
<script>
const ctx = document.getElementById('myChart').getContext('2d');
const myChart = new Chart(ctx, {
const ctx = document.getElementById('myChart').getContext('2d');
const myChart = new Chart(ctx, {
type: 'line',
data: {
labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'],
@ -108,8 +109,8 @@ const myChart = new Chart(ctx, {
borderWidth: 1
}]
}
});
</script>
});
</script>

</div>


View File

@ -254,7 +254,7 @@
<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>
<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>
</span>
</div>