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

From version 15.4
edited by Alex Cotiugă
on 2026/05/02 12:06
Change comment: There is no comment for this version
To version 15.22
edited by Alex Cotiugă
on 2026/05/02 12:22
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')
XWiki.StyleSheetExtension[0]
code
... ... @@ -66,3 +66,31 @@
66 66   color: @brand;
67 67   font-weight: 700;
68 68  }
69 +
70 +.navbar-default .navbar-nav {
71 + float: right !important;
72 + background-color: #fff;
73 + border-color: #fff;
74 + .menu-horizontal {
75 + background-color: #fff;
76 + border-color: #fff;
77 + }
78 +
79 + margin-left:20px;
80 + li {
81 + align-items: end;
82 + font-size: 20px;
83 + &:hover {
84 + background-color: #fff;
85 + color: #00463c;
86 + }
87 + a {
88 + padding-bottom: 0;
89 + padding-top: 14px;
90 + &:hover {
91 + background-color: #fff;
92 + color: #00463c;
93 + }
94 + }
95 + }
96 +}