Skip to content

Commit

Permalink
feat: class="template" template_id="id" replaced with template="id"
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jan 2, 2023
1 parent 4bfd537 commit f3b83ba
Show file tree
Hide file tree
Showing 94 changed files with 231 additions and 231 deletions.
4 changes: 2 additions & 2 deletions src/admin/activities/datatable.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@

<tbody template_id="" fetch-collection="" fetch-document filter-name="" filter-value="" filter-sort-name="name" filter-sort-direction="asc" pass_id="datatable">

<tr class="template background:gainsboro:hover border-bottom:1px_solid_darkgray" template_id="" pass_id="datatable" document_id="{{document._id}}" toggle="selected">
<tr class="background:gainsboro:hover border-bottom:1px_solid_darkgray" template="" pass_id="datatable" document_id="{{document._id}}" toggle="selected">
<td class="padding:10px">
<div class="display:flex min-width:200px">
<div class="display:flex justify-content:center width:25px">
Expand Down Expand Up @@ -163,7 +163,7 @@ <h5 name="description" value="description"></h5>
<h2>Coming Soon <a actions="remove" remove-closest=".card"> X</a></h2>
</div>

<script src="https://cdn.cocreate.app/1.38.0/CoCreate.min.js"></script>
<script src="https://cdn.cocreate.app/1.38.1/CoCreate.min.js"></script>

</body>

Expand Down
4 changes: 2 additions & 2 deletions src/admin/apikeys/datatable.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@

<tbody template_id="datatable" fetch-collection="apiKeys" filter-name="" filter-value="" filter-sort-name="name" filter-sort-direction="asc" pass_id="datatable">

<tr class="template background:gainsboro:hover border-bottom:1px_solid_darkgray" template_id="" pass_id="datatable" document_id="{{document._id}}" toggle="selected">
<tr class="background:gainsboro:hover border-bottom:1px_solid_darkgray" template="" pass_id="datatable" document_id="{{document._id}}" toggle="selected">
<td class="padding:10px display:flex min-width:200px align-items:center">
<div class="margin-left:10px">
<a actions="pass, openModal" modal-src="./form.html" modal-width="320px" modal-color="#229954">
Expand Down Expand Up @@ -159,7 +159,7 @@ <h5 collection="{{document.collection}}" document_id="{{document._id}}" name="ap
</a>
</button>

<script src="https://cdn.cocreate.app/1.38.0/CoCreate.min.js"></script>
<script src="https://cdn.cocreate.app/1.38.1/CoCreate.min.js"></script>

</body>

Expand Down
2 changes: 1 addition & 1 deletion src/admin/apikeys/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

</main>

<script src="https://cdn.cocreate.app/1.38.0/CoCreate.min.js"></script>
<script src="https://cdn.cocreate.app/1.38.1/CoCreate.min.js"></script>

</body>

Expand Down
4 changes: 2 additions & 2 deletions src/admin/blocks/datatable.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@

<tbody template_id="datatable" fetch-collection="blocks" filter-sort-name="name" filter-sort-direction="asc" pass_id="datatable">

<tr class="template background:gainsboro:hover border-bottom:1px_solid_darkgray" template_id="" pass_id="datatable" document_id="{{document._id}}" toggle="selected">
<tr class="background:gainsboro:hover border-bottom:1px_solid_darkgray" template="" pass_id="datatable" document_id="{{document._id}}" toggle="selected">
<td class="padding:10px">
<div class="display:flex min-width:200px">
<div class="display:flex justify-content:center width:25px">
Expand Down Expand Up @@ -164,7 +164,7 @@ <h5 name="description" value="description"></h5>
</a>
</button>

<script src="https://cdn.cocreate.app/1.38.0/CoCreate.min.js"></script>
<script src="https://cdn.cocreate.app/1.38.1/CoCreate.min.js"></script>

</body>

Expand Down
6 changes: 3 additions & 3 deletions src/admin/blocks/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<input placeholder="Search" template_id="category">
<div template_id="category" filter-name="type" filter-value="611829a9c0e9580010ea589d"></div>
<cc-options fetch-collection="tags" template_id="category" filter-name="module_id" filter-value="5ff747727005da1c27274194" class="overflow:auto">
<cc-option class="template" template_id="category" value="{{document._id}}">
<cc-option template="category" value="{{document._id}}">
<h3 >{{document.name}}</h3>
</cc-option>
</cc-options>
Expand All @@ -92,7 +92,7 @@ <h3 >{{document.name}}</h3>
<!-- <input placeholder="Search" template_id="type">-->
<!-- <div template_id="type" filter-name="type" filter-value="60edaf79b979b4001744c6fe"></div>-->
<!-- <cc-options fetch-collection="tags" template_id="type" filter-name="module_id" filter-value="5ff747727005da1c27274194" class="overflow:auto">-->
<!-- <cc-option class="template" template_id="type" value="{{document._id}}">-->
<!-- <cc-option template="type" value="{{document._id}}">-->
<!-- <h3>{{document.name}}</h3>-->
<!-- </cc-option>-->
<!-- </cc-options>-->
Expand All @@ -109,7 +109,7 @@ <h3 >{{document.name}}</h3>

</div>

<script src="https://cdn.cocreate.app/1.38.0/CoCreate.min.js"></script>
<script src="https://cdn.cocreate.app/1.38.1/CoCreate.min.js"></script>

</body>
</html>
4 changes: 2 additions & 2 deletions src/admin/blog/datatable.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@

<tbody template_id="" fetch-collection="" fetch-document filter-name="" filter-value="" filter-sort-name="name" filter-sort-direction="asc" pass_id="datatable">

<tr class="template background:gainsboro:hover border-bottom:1px_solid_darkgray" template_id="" pass_id="datatable" document_id="{{document._id}}" toggle="selected">
<tr class="background:gainsboro:hover border-bottom:1px_solid_darkgray" template="" pass_id="datatable" document_id="{{document._id}}" toggle="selected">
<td class="padding:10px">
<div class="display:flex min-width:200px">
<div class="display:flex justify-content:center width:25px">
Expand Down Expand Up @@ -164,7 +164,7 @@ <h5>{{document.description}}</h5>
</a>
</button>

<script src="https://cdn.cocreate.app/1.38.0/CoCreate.min.js"></script>
<script src="https://cdn.cocreate.app/1.38.1/CoCreate.min.js"></script>

</body>

Expand Down
2 changes: 1 addition & 1 deletion src/admin/blog/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
</form>
</main>

<script src="https://cdn.cocreate.app/1.38.0/CoCreate.min.js"></script>
<script src="https://cdn.cocreate.app/1.38.1/CoCreate.min.js"></script>

</body>

Expand Down
4 changes: 2 additions & 2 deletions src/admin/builder/components/filetree.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="margin-left:10px " sortable template_id="$auto" fetch-collection="files" filter-name="directory" filter-value="parent" filter-operator="$eq" filter-sort-name="directory" order_type="asc" render_id="$auto">
<div template_id="$auto" filter-name="content-type" filter-value="directory"></div>
<!--Folder Template -->
<div class="template padding:5px" template_id="$auto" document_id="{{$auto._id}}">
<div class="padding:5px" template="$auto" document_id="{{$auto._id}}">
<span class="" show="#directory{{$auto._id}}" hide="#directory{{$auto._id}}" toggle="fa-caret-down, fa-caret-right" toggle-target="#icon{{$auto._id}}">
<i id="icon{{$auto._id}}" class="fa fa-caret-right" ></i>
</span>
Expand All @@ -13,7 +13,7 @@
<div template_id="$auto" filter-name="content-type" filter-value="text/directory" filter-operator="$ne"></div>

<!--File Template -->
<div class="template padding:5px" template_id="$auto" document_id="{{$auto._id}}">
<div class="padding:5px" template="$auto" document_id="{{$auto._id}}">
<span class=""><i class="fab fa-html5"></i></span>
<span class="margin-left:5px" collection="files" document_id="{{$auto._id}}" name="name"></span>
</div>
Expand Down
16 changes: 8 additions & 8 deletions src/admin/builder/components/left-panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<div id="elements" class="components display:none active" template_id="block-categories" fetch-collection="tags" filter-name="module_id" filter-value="5ff747727005da1c27274194" filter-sort-name="position" filter-sort-direction="asc" render_id="tag">

<!-- Block Categories Template -->
<div class="template" template_id="block-categories" document_id="{{tag._id}}">
<div template="block-categories" document_id="{{tag._id}}">
<div class="padding:5px background:gainsboro" show=".category{{tag._id}}" hide=".category{{tag._id}}">
<span class="category{{tag._id}}" hidden><i class="fas fa-plus"></i></span>
<span class="category{{tag._id}}"><i class="fas fa-minus"></i></span>
Expand All @@ -46,7 +46,7 @@
<!-- Blocks -->
<div class="category{{tag._id}} display:flex flex-wrap:wrap justify-content:center text-align:center padding-bottom:20px" template_id="block{{tag._id}}" fetch-collection="blocks" filter-name="category" filter-value="{{tag._id}}" filter-sort-name="position" filter-sort-direction="asc">
<!-- Blocks Template -->
<div template_id="block{{tag._id}}" class="template card position:relative flex-grow:1 width:70px height:75px margin:5px padding:5px" hover="display:block!important" hover-target="#editblock{{document._id}}" document_id="{{document._id}}">
<div template="block{{tag._id}}" class="card position:relative flex-grow:1 width:70px height:75px margin:5px padding:5px" hover="display:block!important" hover-target="#editblock{{document._id}}" document_id="{{document._id}}">
<div id="editblock{{document._id}}" class="position:absolute top:8px right:8px font-size:11px display:none">
<a actions="pass, openModal" modal-src="./blocks/form.html" pass-collection="{{document.collection}}" pass-document_id="{{document._id}}" pass_to="form-fields" modal-width="320px">
<i class="fas fa-pencil-alt"></i>
Expand All @@ -67,16 +67,16 @@
<div id="components" class="components display:none" template_id="component-categories" fetch-collection="tags" filter-name="module_id" filter-value="5ff747727005da1c27274194" filter-sort-name="position" filter-sort-direction="asc" render_id="tag">

<!-- Components Categories Template -->
<div class="template" template_id="component-categories" document_id="{{tag._id}}">
<div template="component-categories" document_id="{{tag._id}}">
<div class="padding:5px background:gainsboro" show=".category{{tag._id}}" hide=".category{{tag._id}}">
<span class="category{{tag._id}}" hidden><i class="fas fa-plus"></i></span>
<span class="category{{tag._id}}"><i class="fas fa-minus"></i></span>
<span>{{tag.name}}</span>
</div>
<!-- Components -->
<div class="category{{tag._id}} display:flex flex-wrap:wrap justify-content:center text-align:center padding-bottom:20px" template_id="component{{tag._id}}" fetch-collection="blocks" filter-name="category" filter-value="{{tag._id}}" filter-sort-name="position" filter-sort-direction="asc">
<!-- Components Template -->
<div template_id="component{{tag._id}}" class="template card position:relative flex-grow:1 width:70px height:125px margin:5px padding:5px" hover="display:block!important" hover-target="#editblock{{document._id}}">
<!-- Components Template -->
<div template="component{{tag._id}}" class="card position:relative flex-grow:1 width:70px height:125px margin:5px padding:5px" hover="display:block!important" hover-target="#editblock{{document._id}}">
<div id="editblock{{document._id}}" class="position:absolute top:8px right:8px font-size:11px display:none">
<a actions="pass, openModal" modal-src="./blocks/form.html" pass-collection="{{document.collection}}" pass-document_id="{{document._id}}" pass_to="form-fields" modal-width="320px">
<i class="fas fa-pencil-alt"></i>
Expand Down Expand Up @@ -126,7 +126,7 @@
<div id="fetch-files" class="fetch-files margin-left:10px " sortable template_id="$auto" fetch-collection="" fetch-document filter-name="directory" filter-value="/" filter-operator="$eq" filter-sort-name="name" filter-sort-direction="asc" render_id="$auto">
<div template_id="$auto" filter-name="content-type" filter-value="text/directory"></div>
<!--Folder Template -->
<div class="template padding:5px" template_id="$auto" document_id="{{$auto._id}}">
<div class="padding:5px" template="$auto" document_id="{{$auto._id}}">
<span class="" show="#directory{{$auto._id}}" hide="#directory{{$auto._id}}" toggle="fa-caret-down, fa-caret-right" toggle-target="#icon{{$auto._id}}">
<i id="icon{{$auto._id}}" class="fa fa-caret-right" ></i>
</span>
Expand All @@ -140,7 +140,7 @@
<div template_id="$auto" filter-name="content-type" filter-value="text/directory" filter-operator="$ne"></div>

<!-- File Template -->
<div class="template padding:5px" template_id="$auto" document_id="{{$auto._id}}">
<div class="padding:5px" template="$auto" document_id="{{$auto._id}}">
<span class="{{$auto.content-type}}"><i class="fab fa-html5"></i></span>
<span class="margin-left:5px" collection="files" document_id="{{$auto._id}}" name="name"></span>
</div>
Expand Down Expand Up @@ -171,7 +171,7 @@
}
</style>
<!-- Asset Template -->
<div template_id="assets" class="template card position:relative flex-grow:1 width:105px height:90px margin:5px padding:5px" hover="display:block!important" hover-target="#editblock{{document._id}}">
<div template="assets" class="card position:relative flex-grow:1 width:105px height:90px margin:5px padding:5px" hover="display:block!important" hover-target="#editblock{{document._id}}">
<div id="editblock{{document._id}}" class="position:absolute top:8px right:8px font-size:11px display:none">
<a actions="pass, openModal" modal-src="https://server.cocreate.app/CoCreate-plugins/CoCreate-tui-image-editor/demo/index.html" pass-collection="files" pass-document_id="{{document._id}}" pass_to="form-fields" modal-width="900px">
<i class="fas fa-pencil-alt"></i>
Expand Down
Loading

0 comments on commit f3b83ba

Please sign in to comment.