Von Version < 7.1 >
bearbeitet von XIMA Admin
am 20.05.2019, 01:03
Auf Version < 15.2 >
bearbeitet von gru
am 28.11.2019, 17:21
< >
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.ximaadmin
1 +XWiki.gru
Inhalt
... ... @@ -1,30 +1,121 @@
1 1  {{include reference="Help.Code.VelocityMacros"/}}
2 2  
3 3  {{velocity output="false"}}
4 +#macro (MainMenuCard $data)
5 + #set ($documentationURL = $NULL)
6 + #if ($data.documentation)
7 + #set ($externalDocumentation = $data.documentation.contains('://'))
8 + #if ($externalDocumentation)
9 + #set ($documentationURL = $data.documentation)
10 + #else
11 + #set ($documentationURL = $xwiki.getURL($data.documentation))
12 + #end
13 + #end
14 + #set ($examplesURL = $NULL)
15 + #if ($data.examples)
16 + #if ($data.examples.startsWith('/'))
17 + ## Relative internal URL
18 + #set ($examplesURL = $data.examples)
19 + #else
20 + ## Page reference
21 + #set ($examplesURL = $xwiki.getURL($data.examples))
22 + #end
23 + #set ($url = $examplesURL)
24 + #else
25 + #set ($url = $documentationURL)
26 + #end
27 + <div class="well">
28 + #if ($data.icon)
29 + <span class="icon $data.icon" style="color:#504e4c"></span>
30 + #end
31 + #if ($data.iconfc)
32 + ##{{ficon name="$data.iconfc" size="1em"/}} title="$title"
33 + <span class="ico-fc-$data.iconfc" style="font-size:3em"></span>
34 + #end
35 + <h6>
36 + <a href="$!url">
37 + $escapetool.xml($data.title)
38 + </a>
39 + </h6>
40 + #if ($data.description)
41 + <p class="noitems" style="height:4em">
42 + $data.description
43 + </p>
44 + #end
45 + #if (($data.examples && $data.documentation) || !$data.thumbnail)
46 + <ul class="noitems">
47 + #if ($data.examples)
48 + <li>
49 + <a href="$examplesURL">$services.localization.render('help.example.label')</a>
50 + </li>
51 + #end
52 + #if ($data.documentation)
53 + <li>
54 + <a href="$documentationURL"#if ($externalDocumentation) class="wikiexternallink"#end>
55 + ##ervices.localization.render('help.more.label')
56 + Mehr erfahren
57 + </a>
58 + </li>
59 + #end
60 + </ul>
61 + #end
62 + #if ($data.thumbnail)
63 + <a href="$!url">
64 + #set ($attachmentReference = $services.model.resolveAttachment($data.thumbnail))
65 + <img src="$xwiki.getURL($attachmentReference)" class="thumbnail"
66 + alt="$escapetool.xml($attachmentReference.name)" />
67 + </a>
68 + #end
69 + </div>
70 +#end
4 4  
72 +#macro (display4Cards $cards)
73 + <div class="row">
74 + #foreach ($card in $cards)
75 + ## See http://getbootstrap.com/css/#grid-responsive-resets .
76 + #if ($foreach.index > 0 && $foreach.index % 2 == 0)
77 + <div class="clearfix visible-sm-block "></div>
78 + #end
79 + #if ($foreach.index > 0 && $foreach.index % 3 == 0)
80 + <div class="clearfix visible-md-block"></div>
81 + #end
82 + #if ($foreach.index > 0 && $foreach.index % 4 == 0)
83 + <div class="clearfix visible-lg-block"></div>
84 + #end
85 + <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 card-main">
86 + #MainMenuCard($card)
87 + ##helpExampleCard($card)
88 + </div>
89 + #end
90 + </div>
91 +#end
5 5  
93 +##'icon': 'fa fa-support',
94 +##square-edit-outline
6 6  #set ($howToCards = [{
7 - 'icon': 'fa fa-support',
8 - 'title': 'Getting Started',
9 - 'description': 'Easy steps to get you started with XWiki.',
10 - 'documentation': "http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/WebHome?version=$escapetool.url($xwiki.version)"
96 + 'iconfc': 'square-edit-outline',
97 + 'title': 'Formulardesigner',
98 + 'description': 'Arbeiten mit dem Formulardesigner',
99 + 'documentation': "Formcycle.FormDesigner"
11 11  }, {
12 - 'icon': 'fa fa-play-circle',
13 - 'title': 'Videos',
14 - 'description': 'View our collection of video tutorials.',
15 - 'documentation': 'Help.Videos.WebHome'
101 + 'iconfc': 'wrench',
102 + 'title': 'Verwaltung',
103 + 'description': 'Benutzerverwaltung, LDAP, Datenbanken, Dateien, Templates und vieles mehr',
104 + 'documentation': 'Formcycle.UserInterface'
16 16  }, {
17 - 'icon': 'fa fa-play-circle',
18 - 'title': 'Videos',
19 - 'description': 'View our collection of video tutorials.',
20 - 'documentation': 'Help.Videos.WebHome'
106 + 'iconfc': 'inbox',
107 + 'title': 'Posteingang',
108 + 'description': 'Formulardaten organisieren',
109 + 'documentation': 'Formcycle.Inbox'
110 +}, {
111 + 'iconfc': 'workflow-fill',
112 + 'title': 'Workflow',
113 + 'description': 'Formulardaten verarbeiten',
114 + 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing'
21 21  }])
22 -
23 23  {{/velocity}}
24 24  
25 25  {{velocity}}
26 -
27 -
28 28  {{html clean="false"}}
29 29  #display4Cards($howToCards)
30 30  {{/html}}
XWiki.XWikiRights[0]
Erlauben/Verbieten
... ... @@ -1,0 +1,1 @@
1 +Zulassen
Gruppen
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiDevelop
Ebenen
... ... @@ -1,0 +1,1 @@
1 +view
XWiki.XWikiRights[1]
Erlauben/Verbieten
... ... @@ -1,0 +1,1 @@
1 +Zulassen
Gruppen
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiAllGroup
Ebenen
... ... @@ -1,0 +1,1 @@
1 +view
XWiki.XWikiRights[2]
Erlauben/Verbieten
... ... @@ -1,0 +1,1 @@
1 +Zulassen
Gruppen
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiAdminGroup
Ebenen
... ... @@ -1,0 +1,1 @@
1 +view
XWiki.XWikiRights[3]
Erlauben/Verbieten
... ... @@ -1,0 +1,1 @@
1 +Zulassen
Ebenen
... ... @@ -1,0 +1,1 @@
1 +view
Benutzer
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Copyright 2000-2024