Von Version < 5.1 >
bearbeitet von XIMA Admin
am 20.05.2019, 01:01
Auf Version < 15.1 >
bearbeitet von gru
am 28.11.2019, 17:14
< >
Ä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,6 +1,74 @@
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">
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
71 +
4 4  #macro (display4Cards $cards)
5 5   <div class="row">
6 6   #foreach ($card in $cards)
... ... @@ -14,105 +14,40 @@
14 14   #if ($foreach.index > 0 && $foreach.index % 4 == 0)
15 15   <div class="clearfix visible-lg-block"></div>
16 16   #end
17 - <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
18 - #helpExampleCard($card)
85 + <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 card-main">
86 + #MainMenuCard($card)
87 + ##helpExampleCard($card)
19 19   </div>
20 20   #end
21 21   </div>
22 22  #end
23 23  
93 +##'icon': 'fa fa-support',
94 +##square-edit-outline
24 24  #set ($howToCards = [{
25 - 'icon': 'fa fa-support',
26 - 'title': 'Getting Started',
27 - 'description': 'Easy steps to get you started with XWiki.',
28 - '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"
29 29  }, {
30 - 'icon': 'fa fa-play-circle',
31 - 'title': 'Videos',
32 - 'description': 'View our collection of video tutorials.',
33 - 'documentation': 'Help.Videos.WebHome'
101 + 'iconfc': 'wrench',
102 + 'title': 'Verwaltung',
103 + 'description': 'Benutzerverwaltung, LDAP, Datenbanken, Dateien, Templates und vieles mehr',
104 + 'documentation': 'Formcycle.UserInterface'
34 34  }, {
35 - 'icon': 'fa fa-play-circle',
36 - 'title': 'Videos',
37 - 'description': 'View our collection of video tutorials.',
38 - 'documentation': 'Help.Videos.WebHome'
39 -}])
40 -
41 -#if ($xwiki.exists('Help.History.WebHome'))
42 - #set ($historyURL = $xwiki.getURL('Help.History.WebHome', 'view', $NULL, 'History'))
43 -#else
44 - ## We need to generate the page history because the Extension Manager doesn't import it.
45 - #set ($historyURL = $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({
46 - 'content': 'Check',
47 - 'comment': 'Initial version',
48 - 'form_token': $services.csrf.token,
49 - 'xredirect': $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({
50 - 'title': 'Page History',
51 - 'content': 'Check mate',
52 - 'form_token': $services.csrf.token,
53 - 'xredirect': $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({
54 - 'title': 'History',
55 - 'content': 'Check the **history**.',
56 - 'comment': 'Minor change',
57 - 'minorEdit': 1,
58 - 'form_token': $services.csrf.token,
59 - 'xredirect': $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({
60 - 'content': "Check the **history** tab.$util.newline${util.newline}Compare the versions.",
61 - 'form_token': $services.csrf.token,
62 - 'xredirect': $xwiki.getURL('Help.History.WebHome', 'view', $NULL, 'History')
63 - }))
64 - }))
65 - }))
66 - })))
67 -#end
68 -
69 -#set ($featureCards = [{
70 - 'icon': 'fa fa-pencil',
71 - 'title': 'Page Editing',
72 - 'description': "Use a powerful <a href=""http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing"" class=""wikiexternallink"">WYSIWYG</a> content editor or <a href=""$xwiki.getURL('XWiki.XWikiSyntax')"">syntax</a> to create rich wiki pages.",
73 - 'documentation': 'http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing',
74 - 'examples': $xwiki.getURL('Sandbox.WebHome', 'edit', 'editor=wysiwyg')
106 + 'iconfc': 'inbox',
107 + 'title': 'Posteingang',
108 + 'description': 'Formulardaten organisieren',
109 + 'documentation': 'Formcycle.Inbox'
75 75  }, {
76 - 'icon': 'fa fa-file-text-o',
77 - 'title': 'Templates',
78 - 'description': 'Templates are predefined pages that are copied when creating a new page.',
79 - 'documentation': 'Help.Templates.WebHome',
80 - 'examples': $xwiki.getURL('Help.Templates.WebHome', 'view', $NULL, 'HExamples')
81 -}, {
82 - 'icon': 'fa fa-file-excel-o',
83 - 'title': 'Macros',
84 - 'description': 'Macros are reusable functionality that can be integrated inside a page.',
85 - 'documentation': 'Help.Macros.WebHome',
86 - 'examples': $xwiki.getURL('Help.Macros.WebHome', 'view', $NULL, 'HExamples')
87 -}, {
88 - 'icon': 'fa fa-files-o',
89 - 'title': 'Applications',
90 - 'description': 'Applications allow to group related structured pages together.',
91 - 'documentation': 'Help.Applications.WebHome',
92 - 'examples': $xwiki.getURL('Help.Applications.WebHome', 'view', $NULL, 'HExamples')
93 -}, {
94 - 'icon': 'fa fa-sitemap',
95 - 'title': 'Content Organization',
96 - 'description': 'Organize your content in hierarchical pages, grouped in several (sub)wikis.',
97 - 'documentation': 'http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/',
98 - 'examples': $xwiki.getURL('Main.AllDocs', 'view', 'view=tree')
99 -}, {
100 - 'icon': 'fa fa-history',
101 - 'title': 'Version Control',
102 - 'description': 'View previous versions of a page, compare different versions or rollback to any past version.',
103 - 'documentation': 'http://platform.xwiki.org/xwiki/bin/view/Features/VersionControl',
104 - 'examples': $historyURL
105 -}, {
106 - 'icon': 'fa fa-download',
107 - 'title': 'Import / Export',
108 - 'description': 'Import content from various sources and export it in an open format (XML, HTML, PDF, ODT).',
109 - 'documentation': 'http://platform.xwiki.org/xwiki/bin/view/Features/Imports'
111 + 'iconfc': 'workflow-fill',
112 + 'title': 'Workflow',
113 + 'description': 'Formulardaten verarbeiten',
114 + 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing'
110 110  }])
111 111  {{/velocity}}
112 112  
113 113  {{velocity}}
114 -
115 -
116 116  {{html clean="false"}}
117 117  #display4Cards($howToCards)
118 118  {{/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