Wiki source code of Download Version
Last modified by Simon Urli on 2023/10/10
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | $xwiki.ssx.use("Download.WebHome") | ||
3 | ## Parameters: | ||
4 | ## - downloadURL: URL to the download | ||
5 | ## - projectVersion: specifies the project version | ||
6 | ## - email: passed in the request when submitting the form | ||
7 | ## | ||
8 | #set ($downloadURL = $request.downloadURL) | ||
9 | #set ($projectVersion = $request.projectVersion) | ||
10 | #set ($userEmail = $request.userEmail) | ||
11 | {{html}} | ||
12 | <div class="row"> | ||
13 | <div class="col-xs-12"> | ||
14 | #if ("$!downloadURL" != '' && "$!projectVersion" != '') | ||
15 | $xwiki.jsx.use("Download.DownloadForm", {'downloadURL' : $escapetool.xml($request.downloadURL)}) | ||
16 | <div class="download-container border-green subscribe-area"> | ||
17 | <h3 class="subscribe">Join the Community!</h3> | ||
18 | <div class='webmecanik_form' style='display:none;'> | ||
19 | <script type="text/javascript" src="//news.xwiki.com/form/generate.js?id=19"></script> | ||
20 | </div> | ||
21 | <form id="emailForm" action="" class="xform"> | ||
22 | <input type="hidden" name="downloadURL" value="$downloadURL"/> | ||
23 | <input type="hidden" name="projectVersion" value="$projectVersion"/> | ||
24 | <dl> | ||
25 | <dt> | ||
26 | <label for="user_email" class="hidden">Email</label> | ||
27 | <span class="xHint">Enter your email address to receive news and updates about XWiki (new releases, security alerts, offers from top sponsoring companies, tips and tricks, etc.)</span> | ||
28 | </dt> | ||
29 | <dd> | ||
30 | <input type="email" placeholder="Email" autocomplete="off" name="userEmail" id="userEmail" tabindex="1" autofocus required/> | ||
31 | #if ($userEmail && $userEmail.length() == 0)<span class="xErrorMsg">Please enter a valid email address</span>#end | ||
32 | </dd> | ||
33 | </dl> | ||
34 | <div class="buttons"> | ||
35 | <input type="submit" value="Download" class="btn btn-success" tabindex="2" id="downloadSubmitButton"> | ||
36 | <a class="btn btn-link btn-xs" href="$escapetool.xml($downloadURL)" tabindex="3" id="downloadSkipButton">Skip this form</a> | ||
37 | </div> | ||
38 | </form> | ||
39 | </div> | ||
40 | #end | ||
41 | </div> | ||
42 | </div> | ||
43 | {{/html}} | ||
44 | {{/velocity}} | ||
45 | |||
46 | {{html clean="false"}} | ||
47 | <div class="row download-options"> | ||
48 | {{/html}} | ||
49 | |||
50 | {{html clean="false"}} <div class="col-xs-12 col-lg-4"> | ||
51 | <div class="step_number"><span>1</span></div> | ||
52 | <div class="next-step"> | ||
53 | <h3>Installation Guide</h3> | ||
54 | <p>If you need some help installing XWiki, please check out our step-by-step guide.</p> | ||
55 | {{/html}}[[Read the Installation Guide>>xwiki:Documentation.AdminGuide.Installation]]{{html clean="false"}} </div> | ||
56 | </div>{{/html}} | ||
57 | |||
58 | {{html clean="false"}} <div class="col-xs-12 col-lg-4"> | ||
59 | <div class="step_number"><span>2</span></div> | ||
60 | <div class="next-step"> | ||
61 | <h3>Getting Started</h3> | ||
62 | <p>Learn basic information on how to set up and use XWiki.</p> | ||
63 | {{/html}}[[Read the Getting Started>>xwiki:Documentation.UserGuide.GettingStarted.WebHome]]{{html clean="false"}} </div> | ||
64 | </div>{{/html}} | ||
65 | |||
66 | {{html clean="false"}} | ||
67 | <div class="col-xs-12 col-lg-4"> | ||
68 | <div class="step_number"><span>3</span></div> | ||
69 | <div class="next-step"> | ||
70 | <h3>Advanced Customizations</h3> | ||
71 | <p>Want access to the same team that wrote XWiki for your own support and development needs?</p> | ||
72 | {{/html}} | ||
73 | |||
74 | {{html clean="false"}} <div class="list-group cloudOffers customizationOffers"> | ||
75 | <span class="list-group-item"> | ||
76 | <span class="badge noitems">11 committers</span> | ||
77 | <a href="http://www.xwiki.com/en/"><h4 class="list-group-item-heading">XWiki SAS</h4></a> | ||
78 | <p>We help you modify and extend the functionalities of the XWiki platform, by meeting the specific needs of your business.</p> | ||
79 | <a href="http://info.xwiki.com/xcs-demo-request.html" class="btn btn-primary hidden">XWiki Collaboration Suite</a> | ||
80 | </span> | ||
81 | </div>{{/html}} (% class="noitems" %)See the full list of [[companies sponsoring XWiki>>xwiki:Main.Supporters.SponsoringCompanies]]. | ||
82 | {{html clean="false"}} </div> | ||
83 | </div> | ||
84 | </div>{{/html}} |