-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dafa956
commit a7e7505
Showing
3 changed files
with
792 additions
and
355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,103 +1,193 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16"> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link | ||
rel="icon" | ||
href="https://cdn.cocreate.app/favicon.ico" | ||
type="image/ico" | ||
sizes="16x16" /> | ||
<title>Module Form | CoCreate</title> | ||
|
||
<!-- CoCreateCSS --> | ||
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css"/> | ||
|
||
<link rel="manifest" href="/manifest.webmanifest" /> | ||
</head> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdn.cocreate.app/latest/CoCreate.min.css" | ||
type="text/css" /> | ||
|
||
<link rel="manifest" href="/manifest.webmanifest" /> | ||
</head> | ||
<body> | ||
<div id="modal-viewport" hidden></div> | ||
<div class="nav display:flex align-items:center background:whitesmoke " | ||
content_id="content" | ||
scroll="sticky-nav, hide-nav" | ||
scroll-up="5" | ||
scroll-down="5"> | ||
|
||
<ul class="overflow:auto display:inline-flex direction:rtl font-size:20px align-items:center list-style-type:none width:100% height:50px"> | ||
<li class="margin-right:15px"> | ||
<a actions="closeModal"><i class="display:flex height:18px fill:#505050" src="/assets/svg/times.svg"></i></a> | ||
</li> | ||
<li class="margin-right:15px"> | ||
<a actions="minMaxModal"> | ||
<i toggle="/assets/svg/window-restore.svg, /assets/svg/window-maximize.svg" toggle-attribute="src" class="display:flex height:18px fill:#505050" src="/assets/svg/window-maximize.svg"></i> | ||
</a> | ||
</li> | ||
<li class="margin-right:15px"> | ||
<a actions="parkModal"><i class="display:flex height:18px fill:#505050" src="/assets/svg/window-minimize.svg"></i></a> | ||
</li> | ||
|
||
<!-- Render Code Editor --> | ||
<li class="margin-right:15px"> | ||
<a actions="pass, openModal" | ||
pass-collection="module-views" | ||
pass-document_id="5fa899804b4c3e4dea76abf0" | ||
pass-name="html" | ||
pass_to="render" | ||
modal-width="100%" | ||
modal-header="false"> | ||
<i class="display:flex height:18px fill:#505050" src="/assets/svg/code.svg"></i> | ||
<div pass_id="render" pass-collection="" pass-document_id="" pass-name="" pass_to="code-editor"></div> | ||
</a> | ||
</li> | ||
|
||
<!-- Render Builder --> | ||
<li class="margin-right:15px"> | ||
<a actions="pass, openModal" | ||
pass-collection="module-views" | ||
pass-document_id="5fa86bfd4b4c3e4dea76abec" | ||
pass-name="html" | ||
pass_to="render" | ||
modal-width="100%" | ||
modal-header="false" | ||
class="sessionBuilderUI_Id"> | ||
<i class="display:flex height:18px fill:#505050" src="/assets/svg/palette.svg"></i> | ||
<div pass_id="render" pass-collection="" pass-document_id="" pass-name="" pass_to="builder"></div> | ||
</a> | ||
</li> | ||
|
||
<!-- deleteDocument--> | ||
<li class="margin-right:15px"> | ||
<a collection="" document_id="" pass_id="form-fields" actions="deleteDocument, closeModal"> | ||
<i class="height:18px fill:#505050" src="/assets/svg/trash-alt.svg"></i> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
<div class="padding:10px" content_id="content"> | ||
<form realtime="true" collection="test" class="margin-bottom:75px" document_id="" pass_id="form-fields"> | ||
|
||
<input type="text" name="name" id="name" placeholder="Title" pass_id="form-fields" class="floating-label"> | ||
|
||
<input type="text" name="description" id="description" placeholder="Description" class="floating-label"> | ||
|
||
<input type="date" class="floating-label" placeholder="Date" name="start_date" id="start_date" pass_id="start_date"> | ||
|
||
<input type="time" class="floating-label" placeholder="Time" name="start_time" id="start_time" pass_id="form-fields" pass_id="start_time"> | ||
|
||
<input type="date" class="floating-label" placeholder="Date" name="end_date" id="end_date" pass_id="end_date"> | ||
|
||
<input type="time" class="floating-label" placeholder="Time" name="end_time" id="end_time" pass_id="end_time"> | ||
|
||
<div class="padding-top:10px"> | ||
<input type="checkbox" placeholder="Time" name="allDay" id="allDayCheckbox" pass_id="allDay"> | ||
<label class="padding-left:1rem" for="allDayCheckbox"> All Day</label> | ||
|
||
</div> | ||
<a class="position:fixed bottom:15px right:15px padding:15px background-color:blue border-radius:50% color:white" actions="save"><i class="height:20px fill:#505050" src="/assets/svg/save.svg"></i></a> | ||
<div | ||
class="nav display:flex align-items:center background:whitesmoke" | ||
content_id="content" | ||
scroll="sticky-nav, hide-nav" | ||
scroll-up="5" | ||
scroll-down="5"> | ||
<ul | ||
class="overflow:auto display:inline-flex direction:rtl font-size:20px align-items:center list-style-type:none width:100% height:50px"> | ||
<li class="margin-right:15px"> | ||
<a actions="closeModal" | ||
><i | ||
class="display:flex height:18px fill:#505050" | ||
src="/assets/svg/times.svg"></i | ||
></a> | ||
</li> | ||
<li class="margin-right:15px"> | ||
<a actions="minMaxModal"> | ||
<i | ||
toggle="/assets/svg/window-restore.svg, /assets/svg/window-maximize.svg" | ||
toggle-attribute="src" | ||
class="display:flex height:18px fill:#505050" | ||
src="/assets/svg/window-maximize.svg"></i> | ||
</a> | ||
</li> | ||
<li class="margin-right:15px"> | ||
<a actions="parkModal" | ||
><i | ||
class="display:flex height:18px fill:#505050" | ||
src="/assets/svg/window-minimize.svg"></i | ||
></a> | ||
</li> | ||
|
||
<!-- Render Code Editor --> | ||
<li class="margin-right:15px"> | ||
<a | ||
actions="pass, openModal" | ||
pass-collection="module-views" | ||
pass-document_id="5fa899804b4c3e4dea76abf0" | ||
pass-name="html" | ||
pass_to="render" | ||
modal-width="100%" | ||
modal-header="false"> | ||
<i | ||
class="display:flex height:18px fill:#505050" | ||
src="/assets/svg/code.svg"></i> | ||
<div | ||
pass_id="render" | ||
pass-collection="" | ||
pass-document_id="" | ||
pass-name="" | ||
pass_to="code-editor"></div> | ||
</a> | ||
</li> | ||
|
||
<!-- Render Builder --> | ||
<li class="margin-right:15px"> | ||
<a | ||
actions="pass, openModal" | ||
pass-collection="module-views" | ||
pass-document_id="5fa86bfd4b4c3e4dea76abec" | ||
pass-name="html" | ||
pass_to="render" | ||
modal-width="100%" | ||
modal-header="false" | ||
class="sessionBuilderUI_Id"> | ||
<i | ||
class="display:flex height:18px fill:#505050" | ||
src="/assets/svg/palette.svg"></i> | ||
<div | ||
pass_id="render" | ||
pass-collection="" | ||
pass-document_id="" | ||
pass-name="" | ||
pass_to="builder"></div> | ||
</a> | ||
</li> | ||
|
||
<!-- deleteDocument--> | ||
<li class="margin-right:15px"> | ||
<a | ||
collection="" | ||
document_id="" | ||
pass_id="form-fields" | ||
actions="deleteDocument, closeModal"> | ||
<i | ||
class="height:18px fill:#505050" | ||
src="/assets/svg/trash-alt.svg"></i> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
<div class="padding:10px" content_id="content"> | ||
<form | ||
realtime="true" | ||
collection="test" | ||
class="margin-bottom:75px" | ||
document_id="" | ||
pass_id="form-fields"> | ||
<input | ||
type="text" | ||
name="name" | ||
id="name" | ||
placeholder="Title" | ||
pass_id="form-fields" | ||
class="floating-label" /> | ||
|
||
<input | ||
type="text" | ||
name="description" | ||
id="description" | ||
placeholder="Description" | ||
class="floating-label" /> | ||
|
||
<input | ||
type="date" | ||
class="floating-label" | ||
placeholder="Date" | ||
name="start_date" | ||
id="start_date" | ||
pass_id="start_date" /> | ||
|
||
<input | ||
type="time" | ||
class="floating-label" | ||
placeholder="Time" | ||
name="start_time" | ||
id="start_time" | ||
pass_id="start_time" /> | ||
|
||
<input | ||
type="date" | ||
class="floating-label" | ||
placeholder="Date" | ||
name="end_date" | ||
id="end_date" | ||
pass_id="end_date" /> | ||
|
||
<input | ||
type="time" | ||
class="floating-label" | ||
placeholder="Time" | ||
name="end_time" | ||
id="end_time" | ||
pass_id="end_time" /> | ||
|
||
</form> | ||
</div> | ||
|
||
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script> | ||
<div class="padding-top:10px"> | ||
<input | ||
type="checkbox" | ||
placeholder="Time" | ||
name="allDay" | ||
id="allDayCheckbox" | ||
pass_id="allDay" /> | ||
<label class="padding-left:1rem" for="allDayCheckbox"> | ||
All Day</label | ||
> | ||
</div> | ||
<a | ||
class="position:fixed bottom:15px right:15px padding:15px background-color:blue border-radius:50% color:white" | ||
actions="save" | ||
><i | ||
class="height:20px fill:#505050" | ||
src="/assets/svg/save.svg"></i | ||
></a> | ||
</form> | ||
</div> | ||
|
||
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script> | ||
</body> | ||
</html> | ||
</html> |
Oops, something went wrong.