🤡(backend) add template editor json in demo
For the demo to be compatible with the new template editor, we need to add the json file that setup correctly the editor. We are able to read and use it, but not edit it, because the demo is in is_public mode.
This commit is contained in:
37
src/backend/demo/data/template/code.txt
Normal file
37
src/backend/demo/data/template/code.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
<body id="iubr">
|
||||
<div id="ix1a" class="gjs-row">
|
||||
<div id="iqey" class="gjs-cell">
|
||||
<div id="ip2l" class="gjs-row">
|
||||
<div id="i9ps" class="gjs-cell">
|
||||
<img
|
||||
id="ioje"
|
||||
src="https://upload.wikimedia.org/wikipedia/fr/7/72/Logo_du_Gouvernement_de_la_R%C3%A9publique_fran%C3%A7aise_%282020%29.svg"
|
||||
/>
|
||||
</div>
|
||||
<div id="ifn8" class="gjs-cell">
|
||||
<div id="i1v9">
|
||||
Direction <br />Interministérielle <br />du numérique
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ipfx3" class="gjs-row">
|
||||
<div id="isc8e" class="gjs-cell">
|
||||
<div id="ix7wo">La directrice</div>
|
||||
<div id="ij1wk">Réf: 12000001</div>
|
||||
</div>
|
||||
<div id="iei3g" class="gjs-cell">
|
||||
<div id="iwp89">Paris, le 28/09/2023</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="i59gh"><b>Note</b><br />à Monsieur Le Premier Ministre</div>
|
||||
<div id="i2egv">Objet: Generated PDF</div>
|
||||
<div id="icpsv">{{ body }}<br /></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="iqn81">
|
||||
Footer: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
|
||||
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
|
||||
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
|
||||
commodo consequat
|
||||
</div>
|
||||
</body>
|
||||
Reference in New Issue
Block a user