Removing unneeded Sightly code from some HTML files
- or -
Post a project like this- Posted:
- Proposals: 17
- Remote
- #2476487
- Expired
Description
Should be a very easy task for an AEM developer. But I think that a Java developer can fix it too.
Thomas D.
100% (15)New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hello Thomas,
Could you please share 1-2 more templates examples?Thomas D.27 Jul 2019For example in the following file, I need to find out if I can remove this line (almost at the end):
<sly data-sly-call="${clientLib.all @ categories=['shell-common-tagimporter.components.tagimporter']}"/>
<!DOCTYPE HTML>
<html lang="en-GB">
<head>
<!--/* Includes */-->
<sly data-sly-use.clientLib="${'/libs/granite/sightly/templates/clientlib.html'}"/>
<meta charset="utf-8"/>
<title>Tag importer</title>
<link href='//fonts.googleapis.com/css?family=Roboto:300,700' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="wrapper"></div>
<script id="template" type="text/ractive">
<div intro="fade:300"
on-dragover="onDragOver"
on-dragenter="onDragEnter"
on-dragleave="onDragLeave"
on-drop="onDrop"
class="box blue {{#dragCounter}}green{{/dragCounter}}" id="drop-area">
<div class="cell">
<h2>
{{# dragCounter }}
Uploading...
{{ else }}
Drop a TSV file here.
{{/ dragCounter }}
</h2>
</div>
</div>
<div class="box big">
{{ #tags }}
<p>
{{# . }}
<span class="key">{{ name }}: </span>{{ value }}<br/>
{{/ . }}
</p>
{{/ tags }}
{{# msg }}
<p>{{ msg }}</p>
{{/ msg }}
</div>
</script>
<!--/* Client library */-->
<sly data-sly-call="${clientLib.all @ categories=['shell-common-tagimporter.components.tagimporter']}"/>
</body>
</html>