Changes for page Public Web Site
Last modified by Alex Cotiugă on 2026/05/04 06:16
From version 4.6
edited by Alex Cotiugă
on 2026/05/01 12:13
on 2026/05/01 12:13
Change comment:
There is no comment for this version
To version 3.47
edited by Alex Cotiugă
on 2025/11/24 10:24
on 2025/11/24 10:24
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -5,22 +5,21 @@ 5 5 ## HERO 6 6 <section class="hero hero-centered" aria-labelledby="hero-title"> 7 7 <div class="container hero-inner"> 8 - <h1 id="hero-title">Keep Your XWiki Platform Secure, Stable and Up-to-Date</h1> 9 - <p class="lead">Helping organizations safely upgrade and maintain their XWiki environments.</p> 10 - <ul class="benefits"> 11 - <li><a href="$xwiki.getURL('services.xwiki-upgrades')">Smooth upgrades</a></li> 12 - <li>Reliable support plans</li> 13 - <li>Custom integrations</li> 14 - <li>Secure, optimized platforms</li> 15 - </ul> 8 + <h1 id="hero-title">Professional XWiki solutions, from setup to long-term stability</h1> 9 + <p class="lead">Need your XWiki upgraded, secured, or improved? Let’s make it happen.</p> 16 16 <div class="hero-cta"> 17 - <a href="mailto:alex@agnease.com">Contact Agnease</a> 18 - #*<a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation"> 11 + <a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation"> 19 19 Request a consultation 20 20 </a> 21 - #requestConsultationModal() *#14 + #requestConsultationModal() 22 22 ##data-toggle="modal" data-target="#requestConsultationModal" 23 23 </div> 17 + <ul class="benefits"> 18 + <li>Smooth upgrades</li> 19 + <li>Reliable support plans</li> 20 + <li>Custom integrations</li> 21 + <li>Secure, optimized platforms</li> 22 + </ul> 24 24 </div> 25 25 </section> 26 26 ## WHY CHOOSE ... ... @@ -61,7 +61,6 @@ 61 61 ## SERVICES 62 62 #set ($servicesSectionData = [{ 63 63 'title': 'Upgrades', 64 - 'reference': 'services.xwiki-upgrades', 65 65 'icon': 'refresh', 66 66 'content': 'Stay current with the latest XWiki LTS and keep your instance reliable.', 67 67 'items': [ ... ... @@ -127,13 +127,7 @@ 127 127 <i class="fa fa-$entry.icon" aria-hidden="true"></i> 128 128 </div> 129 129 <div class="service-body"> 130 - <h4> 131 - #if ("$!entry.reference" != '') 132 - <a href="$xwiki.getURL($entry.reference)">$entry.title</a> 133 - #else 134 - $entry.title 135 - #end 136 - </h4> 128 + <h4>$entry.title</h4> 137 137 <p>$entry.content</p> 138 138 <ul> 139 139 #foreach ($item in $entry.items) ... ... @@ -167,59 +167,17 @@ 167 167 </div> 168 168 <div class="modal-body"> 169 169 <div> 170 - ##Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a> 171 - #displayFormFromSheetCode() 162 + $services.localization.render('blog.modal.checkCategorySelection.body') 172 172 </div> 173 173 </div> 174 174 <div class="modal-footer"> 175 - ##<input id="continueCategorySelection" type="button" class="btn btn-default" data-dismiss="modal" 176 - ## value="$escapetool.xml($services.localization.render('yesno_1'))"> 166 + <input id="continueCategorySelection" type="button" class="btn btn-default" data-dismiss="modal" 167 + value="$escapetool.xml($services.localization.render('yesno_1'))"> 168 + <input type="button" class="btn btn-danger" data-dismiss="modal" 169 + value="$escapetool.xml($services.localization.render('blog.modal.checkCategorySelection.footer.no'))"> 177 177 </div> 178 178 </div> 179 179 </div> 180 180 </div> 181 181 #end 182 - 183 -#macro (stripHTMLMacro $displayOutput) 184 - $stringtool.removeEnd($stringtool.removeStart($displayOutput, '{{html clean="false" wiki="false"}}'), '{{/html}}').replace('Agnease.Code.Lead.LeadClass_0_', 'acl-') 185 -#end 186 - 187 -#macro (displayFormFromSheetCode) 188 - #set ($editing = true) 189 - ## The object to display. 190 - #set ($xobject = $doc.newObject('Agnease.Code.Lead.LeadClass')) 191 - ## The class that describes the object properties. 192 - #set ($xclass = $xwiki.getClass('Agnease.Code.Lead.LeadClass')) 193 - ## Make sure the following display* method calls use the right object. 194 - #set ($discard = $doc.use($xobject)) 195 - ## Using the xform vertical form layout. 196 - <div class="xform"> 197 - <dl> 198 - #foreach ($property in $xclass.properties) 199 - #if ($property.name != 'status') 200 - <dt #if (!$editing) 201 - class="editableProperty" 202 - #set ($xobjectPropertyReference = $xobject.getPropertyReference($property.name)) 203 - data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))" 204 - data-property-type="object"#end> 205 - ## This must match the id generated by the $doc.display() method below. 206 - #set ($propertyId = "acl-$property.name") 207 - <label#if ($editing) for="$escapetool.xml($propertyId)"#end> 208 - $escapetool.xml($property.translatedPrettyName) 209 - </label> 210 - ## Support for specifying a translation key as hint in the property definition. 211 - <span class="xHint">$!escapetool.xml($services.localization.render($property.hint))</span> 212 - </dt> 213 - #set ($displayOutput = $doc.display($property.name, 'edit')) 214 - <dd>#stripHTMLMacro($displayOutput)</dd> 215 - #end 216 - #end 217 - #if (!$xclass.properties || $xclass.properties.size() == 0) 218 - ## Keep the empty definition term in order to have valid HTML. 219 - <dt></dt> 220 - <dd>$escapetool.xml($services.localization.render('xclass.defaultObjectSheet.noProperties'))</dd> 221 - #end 222 - </dl> 223 - </div> 224 -#end 225 225 {{/velocity}}
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -34,6 +34,20 @@ 34 34 } 35 35 } 36 36 37 +/* Buttons */ 38 +.btn { 39 + display: inline-flex; 40 + align-items: center; 41 + justify-content: center; 42 + padding: .85rem 1.1rem; 43 + border-radius: 12px; 44 + border: 2px solid transparent; 45 + font-weight: 650; 46 + letter-spacing: .2px; 47 + cursor: pointer; 48 + box-shadow: @shadow-sm; 49 +} 50 + 37 37 /* ===== HERO ===== */ 38 38 .hero { 39 39 overflow: hidden;