Last modified by Alex Cotiugă on 2026/05/04 06:15

From version 13.49
edited by Alex Cotiugă
on 2026/05/02 07:23
Change comment: There is no comment for this version
To version 12.5
edited by Alex Cotiugă
on 2026/05/01 15:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,66 +1,38 @@
1 1  {{velocity}}
2 -#set ($discard = $xwiki.ssx.use('contact.WebHome'))
3 3  #set ($xobject = $doc.getObject('Agnease.Code.ContactForm.ContactFormClass'))
4 4  #set ($xclass = $xobject.xWikiClass)
5 5  #set ($editing = true)
6 -= Tell Us More About Your Project =
7 -You do not need to have a full specification. A short description is enough to start the conversation.
8 8  {{html clean="false"}}
9 - <div class="row">
10 - <div class="xform col-xs-7">
11 - <form id="contactForm">
12 - <dl>
13 - #foreach ($property in $xclass.properties)
14 - #if ($property.name == 'hosting')
15 - <hr>
16 - #end
17 - <dt #if (!$editing && $hasEdit)
18 - class="editableProperty"
19 - #set ($xobjectPropertyReference = $xobject.getPropertyReference($property.name))
20 - data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))"
21 - data-property-type="object"#end>
22 - ## This must match the id generated by the $doc.display() method below.
23 - #set ($propertyId = "${xclass.name}_${xobject.number}_$property.name")
24 - <label#if ($editing) for="$escapetool.xml($propertyId)"#end>
25 - $escapetool.xml($property.translatedPrettyName)
26 - </label>
27 - ## Support for specifying a translation key as hint in the property definition.
28 - <span class="xHint">$!escapetool.xml($services.localization.render($property.hint))</span>
29 - </dt>
30 - <dd>$doc.display($property.name, 'edit').replace('{{html clean="false" wiki="false"}}', '').replace("{{/html}}", '')</dd>
31 - #end
32 - #if (!$xclass.properties || $xclass.properties.size() == 0)
33 - ## Keep the empty definition term in order to have valid HTML.
34 - <dt></dt>
35 - <dd>$escapetool.xml($services.localization.render('xclass.defaultObjectSheet.noProperties'))</dd>
36 - #end
37 - </dl>
38 - <p>Your information will only be used to respond to this request.</p>
39 - ##<p>Your information will only be used to respond to this request. See the Privacy Policy for details.</p>
40 - <input id="contactSubmit" type="submit" class="btn btn-primary" value="Send my request" disabled="disabled">
41 - </form>
42 - </div>
43 - <div class="col-xs-5">
44 - <div class="widget">
45 - <h4>$services.icon.renderHTML('check') How Agnease can help</h4>
46 - <ul>
47 - <li>XWiki upgrades and long-term maintenance</li>
48 - <li>Knowledge bases, intranets, SOP and documentation workflows</li>
49 - <li>Custom XWiki applications and integrations</li>
50 - <li>LDAP, SSO, OIDC, SAML, and MFA setup</li>
51 - <li>Migrations from SharePoint, Confluence, MediaWiki, or file-based documentation</li>
52 - <li>Security-aware reviews and platform stabilization</li>
53 - </ul>
54 - </div>
55 - <div class="widget">
56 - <h4>$services.icon.renderHTML('right') What happens next?</h4>
57 - <ol>
58 - <li>Your request is reviewed.</li>
59 - <li>You receive a reply with clarifying questions or suggested next steps.</li>
60 - <li>If useful, we schedule a short call to discuss scope, timeline, and estimated effort.</li>
61 - </ol>
62 - </div>
63 - </div>
6 + <div class="xform half">
7 + <form>
8 + <h1>Get in Touch About Your XWiki Project</h1>
9 + ##<h2>Tell us a bit about your needs and we'll help you shape the right solution.</h2>
10 + <dl>
11 + #foreach ($property in $xclass.properties)
12 + <dt #if (!$editing && $hasEdit)
13 + class="editableProperty"
14 + #set ($xobjectPropertyReference = $xobject.getPropertyReference($property.name))
15 + data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))"
16 + data-property-type="object"#end>
17 + ## This must match the id generated by the $doc.display() method below.
18 + #set ($propertyId = "${xclass.name}_${xobject.number}_$property.name")
19 + <label#if ($editing) for="$escapetool.xml($propertyId)"#end>
20 + $escapetool.xml($property.translatedPrettyName)
21 + </label>
22 + ## Support for specifying a translation key as hint in the property definition.
23 + <span class="xHint">$!escapetool.xml($services.localization.render($property.hint))</span>
24 + </dt>
25 + <dd>$doc.display($property.name, 'edit').replace('{{html clean="false" wiki="false"}}', '').replace("{{/html}}", '')</dd>
26 + #end
27 + #if (!$xclass.properties || $xclass.properties.size() == 0)
28 + ## Keep the empty definition term in order to have valid HTML.
29 + <dt></dt>
30 + <dd>$escapetool.xml($services.localization.render('xclass.defaultObjectSheet.noProperties'))</dd>
31 + #end
32 + </dl>
33 + <input type="submit" class="btn btn-primary" value="Send my request">
34 + <p>Your information will only be used to respond to your request.</p>
35 + </form>
64 64   </div>
65 65  {{/html}}
66 66  {{/velocity}}
Agnease.Code.ContactForm.ContactFormClass[0]
alreadyUseXWiki
... ... @@ -1,1 +1,0 @@
1 -1
customDevelopment
... ... @@ -1,1 +1,0 @@
1 -1
hosting
... ... @@ -1,1 +1,0 @@
1 -1
users
... ... @@ -1,1 +1,0 @@
1 -1
XWiki.JavaScriptExtension[0]
cache
... ... @@ -1,1 +1,0 @@
1 -long
use
... ... @@ -1,1 +1,0 @@
1 -currentPage
XWiki.StyleSheetExtension[0]
cache
... ... @@ -1,1 +1,0 @@
1 -long
code
... ... @@ -1,68 +1,0 @@
1 -@brand: #00937D;
2 -@brand-strong: #007B6A;
3 -@text: #2D3A34;
4 -@muted: #5B6B64;
5 -@line: #E4ECE9;
6 -@radius: 16px;
7 -@shadow-sm: 0 6px 20px rgba(0,0,0,.06);
8 -@shadow: 0 12px 36px rgba(0,0,0,.08);
9 -@maxw: 1140px;
10 -
11 -/* ===== Contact page widgets ===== */
12 -#mainContentArea {
13 - padding: 0;
14 -}
15 -
16 -.col-xs-5 {
17 - padding-top: 45px;
18 -}
19 -
20 -.col-xs-5 .widget {
21 - margin-bottom: 16px;
22 - padding: 16px;
23 -}
24 -
25 -.col-xs-5 .widget h4 {
26 - display: flex;
27 - align-items: center;
28 - gap: 8px;
29 - margin: 0 0 10px;
30 - padding-bottom: 8px;
31 - border-bottom: 1px solid fade(@line, 60%);
32 - color: @text;
33 - font-size: 18px;
34 - line-height: 1.25;
35 -}
36 -
37 -.col-xs-5 .widget h4 .fa,
38 -.col-xs-5 .widget h4 .glyphicon {
39 - color: @brand;
40 - font-size: 15px;
41 -}
42 -
43 -.col-xs-5 .widget ul,
44 -.col-xs-5 .widget ol {
45 - margin: 0;
46 - padding-left: 1.2rem;
47 - color: @muted;
48 -}
49 -
50 -.col-xs-5 .widget li {
51 - margin: 5px 0;
52 - line-height: 1.4;
53 -}
54 -
55 -.col-xs-5 .widget p {
56 - margin: 0 0 8px;
57 - color: @muted;
58 - line-height: 1.45;
59 -}
60 -
61 -.col-xs-5 .widget p:last-child {
62 - margin-bottom: 0;
63 -}
64 -
65 -.col-xs-5 .widget a {
66 - color: @brand;
67 - font-weight: 700;
68 -}
contentType
... ... @@ -1,1 +1,0 @@
1 -LESS
use
... ... @@ -1,1 +1,0 @@
1 -currentPage