From empty
To version 100.1
edited by Håkon Mosvoll
on 2018/01/26 15:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +Home
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.XWikiGuest
1 +xwiki:XWiki.hnm
Default language
... ... @@ -1,0 +1,1 @@
1 +en
Tags
... ... @@ -1,0 +1,1 @@
1 +px-custom-page
Content
... ... @@ -1,0 +1,3 @@
1 +== Service area ==
2 +
3 +{{ServiceArea ServiceAreaDescription="Vi har alt du trenger for å ta betalt online. Øk dine salgstall på respektive markeder og via alle typer av enheter. En leverandør, en betalingsløsning, ett grensesnitt - enklere enn det blir det ikke!" ServiceAreaIcon="34_ikon_responsiv_design" ServiceAreaName="ECommerce " ServiceAreaPage="Main.ECommerce.WebHome"}}{{/ServiceArea}}
XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,19 @@
1 +#xwikicontent table {
2 + margin: 0
3 +}
4 +
5 +#xwikicontent table td {
6 + border: 0;
7 + padding: 0;
8 + width: 50%;
9 +}
10 +
11 +#xwikicontent table td:first-of-type {
12 + padding-right: 25px;
13 +}
14 +
15 +.floatinginfobox iframe {
16 + border: 0;
17 + height: 169px;
18 + width: 100%;
19 +}
Content Type
... ... @@ -1,0 +1,1 @@
1 +CSS
Use this extension
... ... @@ -1,0 +1,1 @@
1 +currentPage
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,0 +1,14 @@
1 +{{velocity}}
2 +#set($serviceAreaPageURL = $xwiki.getURL($xcontext.macro.params.ServiceAreaPage))
3 +#set($serviceAreaIcon = $xcontext.macro.params.ServiceAreaIcon)
4 +{{html}}
5 +<div class="px-media-item">
6 + <img class="px-media-icon" src="/xwiki/skins/PayEx.XWiki.Skin/svg/${serviceAreaIcon}.svg"/>
7 + <div class="px-media-content">
8 + <h3 class="px-media-heading">$xcontext.macro.params.ServiceAreaName</h3>
9 + <p class="px-media-paragraph">$xcontext.macro.params.ServiceAreaDescription</p>
10 + <a href="$serviceAreaPageURL" class="px-media-link">Documentation</a>
11 + </div>
12 +</div>
13 +{{/html}}
14 +{{/velocity}}
Macro content type
... ... @@ -1,0 +1,1 @@
1 +No content
Default category
... ... @@ -1,0 +1,1 @@
1 +PayEx
Macro description
... ... @@ -1,0 +1,1 @@
1 +Create a list item for a service area. Intended for the front page.
Macro id
... ... @@ -1,0 +1,1 @@
1 +ServiceArea
Macro name
... ... @@ -1,0 +1,1 @@
1 +Service Area
Supports inline mode
... ... @@ -1,0 +1,1 @@
1 +Yes
Macro visibility
... ... @@ -1,0 +1,1 @@
1 +Current Wiki
XWiki.WikiMacroParameterClass[0]
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +Yes
Parameter name
... ... @@ -1,0 +1,1 @@
1 +ServiceAreaName
XWiki.WikiMacroParameterClass[1]
Parameter default value
... ... @@ -1,0 +1,1 @@
1 +ServiceAreaDescription
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +Yes
Parameter name
... ... @@ -1,0 +1,1 @@
1 +ServiceAreaDescription
XWiki.WikiMacroParameterClass[2]
Parameter default value
... ... @@ -1,0 +1,1 @@
1 +ServiceAreaPage
Parameter description
... ... @@ -1,0 +1,1 @@
1 +XWiki page
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +Yes
Parameter name
... ... @@ -1,0 +1,1 @@
1 +ServiceAreaPage
XWiki.WikiMacroParameterClass[3]
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +ServiceAreaIcon