|
43 | 43 | </ul>
|
44 | 44 | </div>
|
45 | 45 | <div content_id="content">
|
| 46 | + <cocreate-select collection="modules" document_id name="kanban-filter" pass_id="module-form" placeholder="Type" set-value=".columns" set-value-key="typeid" class="sortable floating-label"> |
| 47 | + <input placeholder="Search" template_id="type"> |
| 48 | + <cc-options fetch-collection="tags" template_id="type" filter-name="module_id" filter-value="60eb8361b979b4001744b339" class="overflow:auto"> |
| 49 | + <cc-option class="template" template_id="type" value="{{data._id}}"> |
| 50 | + <h3 collection="{{collection}}" document_id="{{data._id}}" name="name">Type Name</h3> |
| 51 | + </cc-option> |
| 52 | + </cc-options> |
| 53 | + </cocreate-select> |
46 | 54 |
|
47 | 55 | <div id="board" class="display:flex overflow:auto">
|
| 56 | + <div filter-name="module_id" filter-value="" filter-operator="$eq" template_id="columns" pass_id="module_id"></div> |
| 57 | + <div id="columns" class="display:flex flex-wrap:nowrap flex-direction:row columns" dnd-group-name="stage" fetch-collection="tags" filter-name="type" filter-value="{{typeid}}" filter-operator="$eq" order-by="stage_position" order-type="asc" template_id="columns" render_id="stage" droppable> |
48 | 58 |
|
49 |
| - <div class="display:flex flex-wrap:nowrap flex-direction:row" dnd-group-name="stage" fetch-collection="tags" filter-name="type" filter-value="60eb93a2b979b4001744b445" filter-operator="$eq" order-by="stage_position" order-type="asc" template_id="filter_test" render_id="stage" pass_id="fetch_value" droppable> |
50 |
| - |
51 |
| - <!-- Stage Column --> |
52 |
| - <div class="template box-shadow-200 position:relative margin:10px background:whitesmoke width:300px" template_id="filter_test" eid="{{stage._id}}" document_id="{{stage._id}}" draggable> |
| 59 | + <!-- Column --> |
| 60 | + <div class="template box-shadow-200 position:relative margin:10px background:whitesmoke width:300px" template_id="columns" eid="{{stage._id}}" document_id="{{stage._id}}" draggable> |
53 | 61 | <div class="box-shadow-bottom position:sticky top:0 padding:15px font-size:18px z-index:1">
|
54 | 62 | <span class="display:inline-block">
|
55 | 63 | <p collection="{{stage.collection}}" document_id="{{stage._id}}" name="name" contenteditable draggable="false"></p>
|
|
62 | 70 | </div>
|
63 | 71 | <div class="card-container padding:10px overflow:auto z-index:0">
|
64 | 72 |
|
65 |
| - <div filter-name="module_id" filter-value="60e73c8eb979b40017448c1b" filter-operator="$eq" template_id="{{stage._id}}"></div> |
66 |
| - <div class="display:flex flex-direction:column height:100% sortable" dnd-group-name="card" fetch-collection="module_activities" filter-name="stage" filter-value="{{stage._id}}" filter-operator="$eq" order-by="stage-index_position" order-type="asc" template_id="{{stage._id}}" droppable> |
| 73 | + <div filter-name="module_id" filter-value="" filter-operator="$eq" template_id="{{stage._id}}" pass_id="module_id"></div> |
| 74 | + <div class="display:flex flex-direction:column height:100% sortable" dnd-group-name="card" fetch-collection="module_activities" fetch-for="lowercase" filter-name='{ "collection":"tags", "document_id":"{{typeid}}", "name":"name" }' filter-value="{{stage._id}}" filter-operator="$eq" order-by="stage-index_position" order-type="asc" template_id="{{stage._id}}" droppable> |
| 75 | + <!--<div class="display:flex flex-direction:column height:100% sortable" dnd-group-name="card" fetch-collection="module_activities" filter-name="status" filter-value="{{stage._id}}" filter-operator="$eq" order-by="stage-index_position" order-type="asc" template_id="{{stage._id}}" droppable>--> |
67 | 76 |
|
68 | 77 | <!-- Card -->
|
69 | 78 | <div class="template card position:relative margin-bottom:10px padding:10px background:white" template_id="{{stage._id}}" value="{{data._id}}" document_id="{{data._id}}" eid="{{data._id}}" draggable>
|
|
144 | 153 |
|
145 | 154 | </div>
|
146 | 155 |
|
147 |
| - <script src="https://cdn.cocreate.app/1.12.4/CoCreate.min.js" ></script> |
148 |
| - |
| 156 | + <!--<script src="https://cdn.cocreate.app/1.12.7/CoCreate.min.js" ></script>--> |
| 157 | + <script src="../../../CoCreateJS/dist/CoCreate.js"></script> |
| 158 | + |
149 | 159 | </body>
|
150 | 160 |
|
151 | 161 | </html>
|
0 commit comments