|
1 | 1 | <!DOCTYPE html>
|
2 | 2 | <html lang="en">
|
3 |
| - <head> |
4 |
| - <title>Clone | CoCreateJS</title> |
5 |
| - <!-- CoCreate Favicon --> |
6 |
| - <link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16"> |
7 |
| - |
8 |
| - <style> |
9 |
| - .stage{ |
10 |
| - background-color:gray; |
11 |
| - margin:15px; |
12 |
| - padding-top:10px; |
13 |
| - } |
14 |
| - .card{ |
15 |
| - background-color:beige; |
16 |
| - margin:15px; |
17 |
| - min-height:100px; |
18 |
| - |
19 |
| - } |
20 |
| - .tasklist{ |
21 |
| - background-color:lightgray; |
22 |
| - margin:15px; |
23 |
| - |
24 |
| - } |
25 |
| - span { |
26 |
| - display: inline-block; |
27 |
| - |
28 |
| - } |
29 |
| - </style> |
30 |
| - </head> |
31 |
| -<body> |
32 |
| - |
33 |
| - <a data-clone_id="stage" class="cloneBtn" actions="createClone">New Stage</a> |
34 |
| - <!--<div id="saveFetch1" --> |
35 |
| - <!-- class="domEditor" --> |
36 |
| - <!-- name='clonehtml7' --> |
37 |
| - <!-- collection="module_activity124" --> |
38 |
| - <!-- document_id="5fbd3b198b0e4d7391255615" --> |
39 |
| - <!-- pass_id="me1234">--> |
40 |
| - |
41 |
| - <div class="Sortable"> |
42 |
| - |
43 |
| - <div id="stage" class="Sortable stage template" style="padding:15px" class=""> |
44 |
| - <span style="color:#fff; font-size:20px" class="noDrag">Stage</span> |
45 |
| - <span style="float:right;"><a data-clone_id="stage" class="deleteBtn noDrag"><i class="fas fa-times"></i></a></span> |
46 |
| - |
47 |
| - <div class="Sortable" dnd-group-name="cards" data-place1_id="[prefix]-place_id"> |
48 |
| - <div id="card" class="card template" style="padding:15px"> |
49 |
| - <span class="noDrag">Card</span> |
50 |
| - <span style="float:right;"><a data-clone_id="card" class="deleteBtn noDrag"><i class="fas fa-times"></i></a></span> |
51 |
| - |
52 |
| - <div class="Sortable" dnd-group-name="taskliste"> |
53 |
| - <div id="tasklist" class="tasklist template" style=""> |
54 |
| - <span class="noDrag">Tasklist</span> |
55 |
| - <span style="float:right;"><a data-clone_id="tasklist" class="deleteBtn noDrag"><i class="fas fa-times"></i></a></span> |
56 |
| - |
57 |
| - <form collection="module_activity" class="Sortable" dnd-group-name="task-itemse" id="testForm"> |
58 |
| - <div id="task-item" style="" class="template"> |
59 |
| - <div style="display:inline-block;width: calc(100% - 20px);"> |
60 |
| - <input class="floating-label" data-module_activity_id="5d8c79e7e4be424681b5e48d" name="taskname" placeholder="Task Name"></div> |
61 |
| - <span style="float:right;"><a data-clone_id="task-item" class="deleteBtn noDrag"><i class="fas fa-times"></i></a></span> |
62 |
| - </div> |
63 |
| - </form> |
64 |
| - <a data-clone_id="task-item" class="cloneBtn noDrag" style="display: block">Add Task</a> |
65 |
| - </div><!-- Cloneable Tasklist element --> |
66 |
| - </div><!-- Sortable Tasklist Container --> |
67 |
| - |
68 |
| - <div style=width="100%" class="noDrag"> |
69 |
| - <input id="tasklist-name"><a data-clone_id="tasklist" class="cloneBtn noDrag" style="display: block" data-clone_name="tasklist-name">New Tasklist</a> |
70 |
| - |
71 |
| - |
72 |
| - </div> |
73 |
| - |
74 |
| - </div><!-- Cloneable Card element --> |
75 |
| - </div><!-- Sortable Card Container --> |
76 |
| - |
77 |
| - <a data-clone_id="card" class="cloneBtn noDrag" data-clone_name="card-name">New Card</a><input id="card-name"> |
78 |
| - |
79 |
| - </div><!-- sortable and clonable stage --> |
80 |
| - |
81 |
| - </div><!-- sortable project --> |
82 |
| - |
83 |
| - <!--</div><!-- saveFetch -->--> |
84 |
| - |
85 |
| - <script> |
86 |
| - var config = { |
87 |
| - apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a', |
88 |
| - organization_Id: '5de0387b12e200ea63204d6c', |
89 |
| - host: 'ws.cocreate.app' |
90 |
| - } |
91 |
| - </script> |
92 |
| - |
93 |
| - <!--<script src="../dist/CoCreate-clone.js"></script>--> |
94 |
| - <script src="../../../CoCreateJS/dist/CoCreate.js" ></script> |
95 |
| - |
96 |
| - </body> |
| 3 | + |
| 4 | + <head> |
| 5 | + <title>Clone | CoCreateJS</title> |
| 6 | + <!-- CoCreate Favicon --> |
| 7 | + <link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16"> |
| 8 | + |
| 9 | + <style> |
| 10 | + .stage { |
| 11 | + background-color: gray; |
| 12 | + margin: 15px; |
| 13 | + padding-top: 10px; |
| 14 | + } |
| 15 | + |
| 16 | + .card { |
| 17 | + background-color: beige; |
| 18 | + margin: 15px; |
| 19 | + min-height: 100px; |
| 20 | + |
| 21 | + } |
| 22 | + |
| 23 | + .tasklist { |
| 24 | + background-color: lightgray; |
| 25 | + margin: 15px; |
| 26 | + |
| 27 | + } |
| 28 | + |
| 29 | + span { |
| 30 | + display: inline-block; |
| 31 | + |
| 32 | + } |
| 33 | + </style> |
| 34 | + </head> |
| 35 | + |
| 36 | + <body> |
| 37 | + |
| 38 | + <a data-clone_id="stage" actions="createClone">New Stage</a> |
| 39 | + <!--<div id="saveFetch1" --> |
| 40 | + <!-- class="domEditor" --> |
| 41 | + <!-- name='clonehtml7' --> |
| 42 | + <!-- collection="module_activity124" --> |
| 43 | + <!-- document_id="5fbd3b198b0e4d7391255615" --> |
| 44 | + <!-- pass_id="me1234">--> |
| 45 | + |
| 46 | + <div class="Sortable"> |
| 47 | + |
| 48 | + <div id="stage" class="Sortable stage template" style="padding:15px" class=""> |
| 49 | + <span style="color:#fff; font-size:20px" class="noDrag">Stage</span> |
| 50 | + <span style="float:right;"><a data-clone_id="stage" class="deleteBtn noDrag"><i class="fas fa-times"></i></a></span> |
| 51 | + |
| 52 | + <div class="Sortable" dnd-group-name="cards" data-place1_id="[prefix]-place_id"> |
| 53 | + |
| 54 | + <div id="card" class="card template" style="padding:15px"> |
| 55 | + <span class="noDrag">Card</span> |
| 56 | + <span style="float:right;"><a data-clone_id="card" class="deleteBtn noDrag"><i class="fas fa-times"></i></a></span> |
| 57 | + |
| 58 | + <div class="Sortable" dnd-group-name="taskliste"> |
| 59 | + <div id="tasklist" class="tasklist template"> |
| 60 | + <span class="noDrag">Tasklist</span> |
| 61 | + <span style="float:right;"><a data-clone_id="tasklist" class="deleteBtn noDrag"><i class="fas fa-times"></i></a></span> |
| 62 | + |
| 63 | + <form collection="module_activity" class="Sortable" dnd-group-name="task-itemse" id="testForm"> |
| 64 | + <div id="task-item" style="" class="template"> |
| 65 | + <div style="display:inline-block;width: calc(100% - 20px);"> |
| 66 | + <input class="floating-label" data-module_activity_id="5d8c79e7e4be424681b5e48d" name="taskname" placeholder="Task Name"></div> |
| 67 | + <span style="float:right;"><a data-clone_id="task-item" class="deleteBtn noDrag"><i class="fas fa-times"></i></a></span> |
| 68 | + </div> |
| 69 | + </form> |
| 70 | + <a data-clone_id="task-item" class="cloneBtn noDrag" style="display: block">Add Task</a> |
| 71 | + </div> |
| 72 | + <!-- Cloneable Tasklist element --> |
| 73 | + </div> |
| 74 | + <!-- Sortable Tasklist Container --> |
| 75 | + |
| 76 | + <div style=width="100%" class="noDrag"> |
| 77 | + <input id="tasklist-name"><a data-clone_id="tasklist" actions="createClone" class=" noDrag" style="display: block" data-clone_name="tasklist-name">New Tasklist</a> |
| 78 | + |
| 79 | + |
| 80 | + </div> |
| 81 | + |
| 82 | + </div> |
| 83 | + <!-- Cloneable Card element --> |
| 84 | + </div> |
| 85 | + <!-- Sortable Card Container --> |
| 86 | + |
| 87 | + <a data-clone_id="card" actions="createClone" class="noDrag" data-clone_name="card-name">New Card</a><input id="card-name"> |
| 88 | + |
| 89 | + </div> |
| 90 | + <!-- sortable and clonable stage --> |
| 91 | + |
| 92 | + </div> |
| 93 | + <!-- sortable project --> |
| 94 | + |
| 95 | + <!--</div><!-- saveFetch --> |
| 96 | + |
| 97 | + <script> |
| 98 | + var config = { |
| 99 | + apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a', |
| 100 | + organization_Id: '5de0387b12e200ea63204d6c', |
| 101 | + host: 'ws.cocreate.app' |
| 102 | + } |
| 103 | + </script> |
| 104 | + |
| 105 | + <!--<script src="../dist/CoCreate-clone.js"></script>--> |
| 106 | + <script src="../../../CoCreateJS/dist/CoCreate.js"></script> |
| 107 | + |
| 108 | + </body> |
| 109 | + |
97 | 110 | </html>
|
0 commit comments