-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create new entities-based xlsforms for registration/buildings
- Loading branch information
1 parent
0b23528
commit 7d64844
Showing
5 changed files
with
6 additions
and
24 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
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<?xml version="1.0"?><h:html xmlns="http://www.w3.org/2002/xforms" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://openrosa.org/javarosa" xmlns:orx="http://openrosa.org/xforms" xmlns:odk="http://www.opendatakit.org/xforms" xmlns:entities="http://www.opendatakit.org/xforms/entities"><h:head><h:title>Entity Creation Form</h:title><model odk:xforms-version="1.0.0" entities:entities-version="2022.1.0"><instance><data id="entity_creation_form" version="1"><geometry/><project_id/><task_id/><osm_id/><tags/><version/><changeset/><timestamp/><status/><meta><instanceID/><entity dataset="features" id="" create="1"><label/></entity></meta></data></instance><instance id="features" src="jr://file-csv/features.csv"/><bind nodeset="/data/geometry" type="string" entities:saveto="geometry"/><bind nodeset="/data/project_id" type="string" entities:saveto="project_id"/><bind nodeset="/data/task_id" type="string" entities:saveto="task_id"/><bind nodeset="/data/osm_id" type="string" entities:saveto="osm_id"/><bind nodeset="/data/tags" type="string" entities:saveto="tags"/><bind nodeset="/data/version" type="string" entities:saveto="version"/><bind nodeset="/data/changeset" type="string" entities:saveto="changeset"/><bind nodeset="/data/timestamp" type="string" entities:saveto="timestamp"/><bind nodeset="/data/status" type="string" entities:saveto="status"/><bind nodeset="/data/meta/instanceID" type="string" readonly="true()" jr:preload="uid"/><bind nodeset="/data/meta/entity/@id" type="string" readonly="true()"/><setvalue ref="/data/meta/entity/@id" event="odk-instance-first-load" type="string" readonly="true()" value="uuid()"/><bind nodeset="/data/meta/entity/label" calculate="concat(if( /data/status = '1', "🔒 ", if( /data/status = '2', "✅ ", if( /data/status = '5', "❌ ", if( /data/status = '6', "❌ ", '')))), "Task ", /data/task_id , " ", "Feature ", /data/osm_id )" type="string" readonly="true()"/></model></h:head><h:body><select1 ref="/data/geometry"><label>Feature Location</label><itemset nodeset="instance('features')/root/item"><value ref="name"/><label ref="label"/></itemset></select1><input ref="/data/project_id"><label>Project ID</label></input><input ref="/data/task_id"><label>Task ID</label></input><input ref="/data/osm_id"><label>OSM ID</label></input><input ref="/data/tags"><label>OSM Tags</label></input><input ref="/data/version"><label>Version</label></input><input ref="/data/changeset"><label>Integer</label></input><input ref="/data/timestamp"><label>Timestamp</label></input><input ref="/data/status"><label>Mapping status</label></input></h:body></h:html> |
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