Last modified by Alex Cotiugă on 2026/05/02 12:23

From version 15.1
edited by Alex Cotiugă
on 2026/05/02 09:29
Change comment: There is no comment for this version
To version 15.23
edited by Alex Cotiugă
on 2026/05/02 12:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,7 +4,7 @@
4 4   #set ($now = $datetool.get('yyyyMMddHHmm'))
5 5   #set ($random = $mathtool.random(100000, 999999))
6 6   #set ($uniqueName = "ContactRequest-${now}-${random}")
7 - #set ($contactRequestDoc = $xwiki.getDocument('ContactRequests.' + $uniqueName))
7 + #set ($contactRequestDoc = $xwiki.getDocumentAsAuthor('ContactRequests.' + $uniqueName))
8 8   #set ($contactRequestObj = $contactRequestDoc.getObject('Agnease.Code.ContactRequest.ContactRequestClass', true))
9 9   #set ($statusCode = 200)
10 10   #set ($message = 'Your request was successfully sent.')
... ... @@ -17,6 +17,8 @@
17 17   #end
18 18  
19 19   #set ($discard = $contactRequestDoc.saveAsAuthor())
20 +
21 + #set ($message = "$message")
20 20  
21 21   ##set ($statusCode = 400)
22 22   ##set ($message = 'error')
... ... @@ -35,7 +35,7 @@
35 35  You do not need to have a full specification. A short description is enough to start the conversation.
36 36  {{html clean="false"}}
37 37   <div class="row">
38 - <div class="xform col-xs-7">
40 + <div class="xform col-md-7">
39 39   <form id="contactForm">
40 40   <dl>
41 41   #foreach ($property in $xclass.properties)
... ... @@ -86,7 +86,7 @@
86 86   {{/html}}
87 87   {{html clean="false"}}
88 88   </div>
89 - <div class="col-xs-5">
91 + <div class="col-md-5">
90 90   <div class="widget">
91 91   <h4>$services.icon.renderHTML('check') How Agnease can help</h4>
92 92   <ul>
XWiki.StyleSheetExtension[0]
code
... ... @@ -66,3 +66,33 @@
66 66   color: @brand;
67 67   font-weight: 700;
68 68  }
69 +
70 +
71 +/* ===== MENU Style ===== */
72 +.navbar-default .navbar-nav {
73 + float: right !important;
74 + background-color: #fff;
75 + border-color: #fff;
76 + .menu-horizontal {
77 + background-color: #fff;
78 + border-color: #fff;
79 + }
80 +
81 + margin-left:20px;
82 + li {
83 + align-items: end;
84 + font-size: 20px;
85 + &:hover {
86 + background-color: #fff;
87 + color: #00463c;
88 + }
89 + a {
90 + padding-bottom: 0;
91 + padding-top: 14px;
92 + &:hover {
93 + background-color: #fff;
94 + color: #00463c;
95 + }
96 + }
97 + }
98 +}