Page MenuHomeDevCentral

D3121.id7958.diff
No OneTemporary

D3121.id7958.diff

diff --git a/.arcconfig b/.arcconfig
new file mode 100644
--- /dev/null
+++ b/.arcconfig
@@ -0,0 +1,4 @@
+{
+ "phabricator.uri": "https://devcentral.nasqueron.org",
+ "repository.callsign": "FORMS"
+}
diff --git a/.arclint b/.arclint
new file mode 100644
--- /dev/null
+++ b/.arclint
@@ -0,0 +1,16 @@
+{
+ "linters": {
+ "chmod": {
+ "type": "chmod"
+ },
+ "filename": {
+ "type": "filename"
+ },
+ "merge-conflict": {
+ "type": "merge-conflict"
+ },
+ "spelling": {
+ "type": "spelling"
+ }
+ }
+}
diff --git a/README.md b/README.md
new file mode 100644
--- /dev/null
+++ b/README.md
@@ -0,0 +1,5 @@
+## Nasqueron forms collection
+
+This repository has been created to save forms in XForms format created with Orbeon builder.
+
+Reference: https://en.wikipedia.org/wiki/XForms
diff --git a/join/application.xml b/join/application.xml
new file mode 100644
--- /dev/null
+++ b/join/application.xml
@@ -0,0 +1,281 @@
+<xh:html xmlns:xh="http://www.w3.org/1999/xhtml"
+ xmlns:xxf="http://orbeon.org/oxf/xml/xforms"
+ xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
+ xmlns:saxon="http://saxon.sf.net/"
+ xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
+ xmlns:xf="http://www.w3.org/2002/xforms"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sql="http://orbeon.org/oxf/xml/sql"
+ xmlns:ev="http://www.w3.org/2001/xml-events"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:exf="http://www.exforms.org/exf/1-0"
+ xmlns:array="http://www.w3.org/2005/xpath-functions/array"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:math="http://www.w3.org/2005/xpath-functions/math"
+ xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
+ xmlns:map="http://www.w3.org/2005/xpath-functions/map"
+ xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
+ <xh:head>
+ <xh:title>Nasqueron :: Application</xh:title>
+ <xf:model id="fr-form-model" xxf:expose-xpath-types="true" xxf:analysis.calculate="true">
+
+ <!-- Main instance -->
+ <xf:instance id="fr-form-instance" xxf:exclude-result-prefixes="#all" xxf:index="id">
+ <form>
+ <section-contact>
+ <grid-contact>
+ <contact-name/>
+ <contact-mail/>
+ <contact-username/>
+ </grid-contact>
+ </section-contact>
+ <section-application>
+ <grid-1>
+ <application-preamble/>
+ <application-scope/>
+ <application-interest/>
+ <application-documents/>
+ <application-text/>
+ </grid-1>
+ </section-application>
+ </form>
+ </xf:instance>
+
+ <!-- Bindings -->
+ <xf:bind id="fr-form-binds" ref="instance('fr-form-instance')">
+ <xf:bind id="section-contact-bind" name="section-contact" ref="section-contact">
+ <xforms:bind xmlns:xforms="http://www.w3.org/2002/xforms" id="grid-contact-bind"
+ ref="grid-contact"
+ name="grid-contact">
+ <xf:bind id="contact-name-bind" name="contact-name" ref="contact-name"
+ xxf:whitespace="trim"/>
+ <xf:bind id="contact-mail-bind" ref="contact-mail" name="contact-mail" type="xf:email"
+ xxf:whitespace="trim"/>
+ <xf:bind id="contact-username-bind" ref="contact-username" name="contact-username"
+ xxf:whitespace="trim"/>
+ </xforms:bind>
+ </xf:bind>
+ <xf:bind id="section-application-bind" ref="section-application"
+ name="section-application">
+ <xf:bind id="grid-1-bind" ref="grid-1" name="grid-1">
+ <xf:bind id="application-scope-bind" ref="application-scope" name="application-scope"/>
+ <xf:bind id="application-interest-bind" ref="application-interest"
+ name="application-interest"/>
+ <xf:bind id="application-preamble-bind" ref="application-preamble"
+ name="application-preamble"/>
+ <xf:bind id="application-documents-bind" ref="application-documents"
+ name="application-documents"/>
+ <xf:bind id="application-text-bind" ref="application-text" name="application-text"/>
+ </xf:bind>
+ </xf:bind>
+ </xf:bind>
+
+ <!-- Metadata -->
+ <xf:instance id="fr-form-metadata" xxf:readonly="true" xxf:exclude-result-prefixes="#all">
+ <metadata>
+ <application-name>nasqueron-join</application-name>
+ <form-name>contact</form-name>
+ <title xml:lang="en">Application</title>
+ <description xml:lang="en">Contact us to apply for an internship or mentoring opportunity.</description>
+ <created-with-version>2022.1.202212310353 CE</created-with-version>
+ <updated-with-version>2022.1.202212310353 CE</updated-with-version>
+ <library-versions>
+ <orbeon>1</orbeon>
+ </library-versions>
+ </metadata>
+ </xf:instance>
+
+ <!-- Attachments -->
+ <xf:instance id="fr-form-attachments" xxf:exclude-result-prefixes="#all">
+ <attachments/>
+ </xf:instance>
+
+ <!-- All form resources -->
+ <xf:instance xxf:readonly="true" id="fr-form-resources" xxf:exclude-result-prefixes="#all">
+ <resources>
+ <resource xml:lang="en">
+ <application-preamble>
+ <text xmlns:xbl="http://www.w3.org/ns/xbl" xmlns:p="http://www.orbeon.com/oxf/pipeline"
+ xmlns:xxbl="http://orbeon.org/oxf/xml/xbl">&lt;div&gt;We're glad you wish to apply.&lt;/div&gt;
+&lt;div&gt; &lt;/div&gt;
+&lt;div&gt;All the fields in this section are optional, so if you don't know what would be a good fit for you, just leave the field blank and we'll be able to figure that together.&lt;/div&gt;</text>
+ </application-preamble>
+ <application-scope>
+ <label>What do you want to do?</label>
+ <hint>Tell us what you'd like</hint>
+ <item>
+ <label>Internship, as part of studies</label>
+ <hint/>
+ <value>intern-student</value>
+ </item>
+ <item>
+ <label>Internship, to get a first experience</label>
+ <hint/>
+ <value>intern-firstxp</value>
+ </item>
+ <item>
+ <label>Mentoring</label>
+ <hint/>
+ <value>mentor</value>
+ </item>
+ <item>
+ <label>Be an open source contributor</label>
+ <hint/>
+ <value>contributor</value>
+ </item>
+ </application-scope>
+ <application-interest>
+ <label>You're interested in</label>
+ <hint>Check any you'd like to explore</hint>
+ <item>
+ <label>Development</label>
+ <hint/>
+ <value>dev</value>
+ </item>
+ <item>
+ <label>DevOps / SRE / Operations</label>
+ <hint/>
+ <value>ops</value>
+ </item>
+ <item>
+ <label>Security</label>
+ <hint/>
+ <value>sec</value>
+ </item>
+ <item>
+ <label>Design / UX</label>
+ <hint/>
+ <value>design</value>
+ </item>
+ </application-interest>
+ <application-documents>
+ <label>If you've prepared a CV or have any document you wish we're aware of, you can join them there.</label>
+ <hint>We don't think a CV is a requirement to discuss an internship or mentoring opportunity, but if you have one and would like to share it, go ahead.</hint>
+ </application-documents>
+ <application-text>
+ <label>And finally, do you wish to tell us something?</label>
+ <hint>You can tell us about your projects, what you'd like, organization details or just leave this field blank.</hint>
+ </application-text>
+ <section-contact>
+ <label>Contact information</label>
+ </section-contact>
+ <section-application>
+ <label>Application</label>
+ </section-application>
+ <contact-name>
+ <label>Full name or your nickname</label>
+ <hint>Use any name you'd like we use to contact you</hint>
+ </contact-name>
+ <contact-mail>
+ <label>E-mail address</label>
+ <hint>We'll use it only to reach you for this application</hint>
+ <alert>Use e-mail format with @</alert>
+ </contact-mail>
+ <contact-username>
+ <label>Username you use on IRC or GitHub or DevCentral (if any)</label>
+ <hint>You can left this blank if you don't have one</hint>
+ </contact-username>
+ </resource>
+ </resources>
+ </xf:instance>
+ </xf:model>
+ </xh:head>
+ <xh:body>
+ <fr:view>
+ <fr:body xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:xbl="http://www.w3.org/ns/xbl"
+ xmlns:oxf="http://www.orbeon.com/oxf/processors">
+ <fr:section id="section-contact-section" bind="section-contact-bind">
+ <xf:label ref="$form-resources/section-contact/label"/>
+ <fr:grid id="grid-contact-grid" bind="grid-contact-bind">
+ <fr:c y="1" x="1" w="7">
+ <xf:input id="contact-name-control" bind="contact-name-bind" class="fr-summary fr-search">
+ <xf:label ref="$form-resources/contact-name/label"/>
+ <xf:hint ref="$form-resources/contact-name/hint"/>
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+ </xf:input>
+ </fr:c>
+ <fr:c x="8" y="1" w="5" h="1"/>
+ <fr:c x="1" y="2" w="7">
+ <xf:input id="contact-mail-control" bind="contact-mail-bind" class="fr-search fr-summary">
+ <xf:label ref="$form-resources/contact-mail/label"/>
+ <xf:hint ref="$form-resources/contact-mail/hint"/>
+ <xf:alert ref="$form-resources/contact-mail/alert"/>
+ </xf:input>
+ </fr:c>
+ <fr:c x="8" y="2" w="5"/>
+ <fr:c x="1" y="3" w="7">
+ <xf:input id="contact-username-control" bind="contact-username-bind">
+ <xf:label ref="$form-resources/contact-username/label"/>
+ <xf:hint ref="$form-resources/contact-username/hint"/>
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+
+ </xf:input>
+ </fr:c>
+ <fr:c x="8" y="3" w="5"/>
+ </fr:grid>
+ </fr:section>
+ <fr:section id="section-application-section" bind="section-application-bind">
+ <xf:label ref="$form-resources/section-application/label"/>
+ <fr:grid id="grid-1-grid" bind="grid-1-bind">
+ <fr:c x="1" y="1" w="11">
+ <fr:explanation xmlns:xxbl="http://orbeon.org/oxf/xml/xbl" id="application-preamble-control"
+ bind="application-preamble-bind">
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+ <fr:text ref="$form-resources/application-preamble/text" mediatype="text/html"/>
+ </fr:explanation>
+ </fr:c>
+ <fr:c x="12" y="1" w="1"/>
+ <fr:c x="1" y="2" w="6">
+ <fr:open-select1 xmlns:xxbl="http://orbeon.org/oxf/xml/xbl" id="application-scope-control"
+ bind="application-scope-bind"
+ class="fr-summary fr-search"
+ appearance="full">
+ <xf:label ref="$form-resources/application-scope/label"/>
+ <xf:hint ref="$form-resources/application-scope/hint"/>
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+ <xf:itemset ref="$form-resources/application-scope/item">
+ <xf:label ref="label"/>
+ <xf:value ref="value"/>
+ <xf:hint ref="hint"/>
+ </xf:itemset>
+ </fr:open-select1>
+ </fr:c>
+ <fr:c x="7" y="2" w="6">
+ <xf:select id="application-interest-control" appearance="full"
+ bind="application-interest-bind"
+ class="fr-search">
+ <xf:label ref="$form-resources/application-interest/label"/>
+ <xf:hint ref="$form-resources/application-interest/hint"/>
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+ <xf:itemset ref="$form-resources/application-interest/item">
+ <xf:label ref="label"/>
+ <xf:value ref="value"/>
+ <xf:hint ref="hint"/>
+ </xf:itemset>
+ </xf:select>
+ </fr:c>
+ <fr:c x="1" y="3" w="12">
+ <fr:attachment xmlns="http://orbeon.org/oxf/xml/form-builder" multiple="true"
+ id="application-documents-control"
+ bind="application-documents-bind"
+ class="fr-attachment">
+ <xf:label ref="$form-resources/application-documents/label"/>
+ <xf:hint ref="$form-resources/application-documents/hint"/>
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+
+ </fr:attachment>
+ </fr:c>
+ <fr:c x="1" y="4" w="12">
+ <xf:textarea id="application-text-control" bind="application-text-bind" class="fr-search">
+ <xf:label ref="$form-resources/application-text/label"/>
+ <xf:hint ref="$form-resources/application-text/hint"/>
+ <xf:alert ref="$fr-resources/detail/labels/alert"/>
+
+ </xf:textarea>
+ </fr:c>
+ </fr:grid>
+ </fr:section>
+ </fr:body>
+ </fr:view>
+ </xh:body>
+</xh:html>

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 18:36 (22 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250820
Default Alt Text
D3121.id7958.diff (17 KB)

Event Timeline