Skip to content

Commit 5ad4f07

Browse files
committed
fix: modal href updated to modal-src
1 parent 6c33632 commit 5ad4f07

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/form.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<!-- Render Module Form -->
3333
<li class="margin-right:15px">
34-
<a actions="pass, openModal" href="../modules/form.html" modal-width="320px">
34+
<a actions="pass, openModal" modal-src="../modules/form.html" modal-width="320px">
3535
<i class="fas fa-cog"></i>
3636
<div pass_id="module-form" pass-collection="modules" pass-document_id="" pass_to="form-fields"></div>
3737
<div pass_id="datatable" pass-filter-value="" pass_to="module_id"></div>
@@ -40,15 +40,15 @@
4040

4141
<!-- Render Code Editor -->
4242
<li class="margin-right:15px">
43-
<a actions="pass, openModal" href="../code-editor">
43+
<a actions="pass, openModal" modal-src="../code-editor">
4444
<i class="fas fa-code"></i>
4545
<div pass_id="render" pass-collection="" pass-document_id="" pass-name="" pass_to="code-editor"></div>
4646
</a>
4747
</li>
4848

4949
<!-- Render Builder -->
5050
<li class="margin-right:15px">
51-
<a actions="pass, openModal" href="../builder/">
51+
<a actions="pass, openModal" modal-src="../builder/">
5252
<i class="fas fa-palette"></i>
5353
<div pass_id="render" pass-collection="" pass-document_id="" pass-name="" pass_to="builder"></div>
5454
</a>
@@ -97,7 +97,7 @@ <h3 collection="module_activity" document_id="" name="name">Stage Name</h3>
9797

9898
<!-- Avatar -->
9999
<div class="avatar-wrapper margin:5px">
100-
<a class="avatar round" actions="pass, openModal" href="./users/profile.html" modal-width="300px" modal-height="375px" modal-color="#229954">
100+
<a class="avatar round" actions="pass, openModal" modal-src="./users/profile.html" modal-width="300px" modal-height="375px" modal-color="#229954">
101101
<span collection="users" document_id="{{document._id}}" name="name" class="avatar-name width:1ch letter-spacing:2px overflow:hidden text-transform:uppercase"></span>
102102
<span class="avatar-image">
103103
<img collection="users" document_id="{{document._id}}" name="avatar" onerror="this.style.display='none'" width="40px"/>

src/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h3>{{document.name}}</h3>
8181
<!-- Card -->
8282
<div class="template card position:relative margin-bottom:10px padding:10px background:white" template_id="{{stage._id}}" value="{{document._id}}" document_id="{{document._id}}" eid="{{document._id}}" draggable>
8383
<div id="editblock{{document._id}}" class="position:absolute top:8px right:8px font-size:11px display:none">
84-
<a actions="pass, openModal" href="./form.html" modal-width="320px" modal-color="#229954">
84+
<a actions="pass, openModal" modal-src="./form.html" modal-width="320px" modal-color="#229954">
8585
<i class="fas fa-pencil-alt"></i>
8686
<div pass-collection="{{document.collection}}" pass-document_id="{{document._id}}" pass_to="form-fields"></div>
8787
<div pass_id="form" pass-collection="" pass-document_id="" pass-name="" pass_to="render"></div>
@@ -112,7 +112,7 @@ <h3>{{document.name}}</h3>
112112

113113
<!-- Avatar -->
114114
<div class="avatar-wrapper margin:5px_0px margin-right:10px">
115-
<a class="avatar round" actions="pass, openModal" href="render.html" pass-collection="modules" pass-document_id="5dd010bccbc25f0cdb1a4d9f" pass_to="render" modal-width="300px" modal-height="375px" modal-color="#229954">
115+
<a class="avatar round" actions="pass, openModal" modal-src="render.html" pass-collection="modules" pass-document_id="5dd010bccbc25f0cdb1a4d9f" pass_to="render" modal-width="300px" modal-height="375px" modal-color="#229954">
116116
<span collection="users" document_id="" name="name" class="sessionUser_Id first-letter avatar-name">B</span>
117117
<span collection="users" document_id="" name="profile_image" class="sessionUser_Id avatar-image">
118118
<img src="/_static/Velazquez.jpg" onerror="this.style.display='none'"/>

0 commit comments

Comments
 (0)