diff --git a/admin/template/goto/icon/collapse.png b/admin/template/goto/icon/collapse.png new file mode 100644 index 000000000..a2566d534 Binary files /dev/null and b/admin/template/goto/icon/collapse.png differ diff --git a/admin/template/goto/icon/expand.png b/admin/template/goto/icon/expand.png new file mode 100644 index 000000000..d4aa7b76b Binary files /dev/null and b/admin/template/goto/icon/expand.png differ diff --git a/admin/template/goto/theme/roma/theme.css b/admin/template/goto/theme/roma/theme.css index 2b3a21cc1..5e4d1f1d2 100644 --- a/admin/template/goto/theme/roma/theme.css +++ b/admin/template/goto/theme/roma/theme.css @@ -47,10 +47,14 @@ text-transform:none; font-weight:bold; padding-left:20px; width:54%; } .content dl, dd { margin:5px; } .content div.titrePage { height:55px; } -.instructions { height:450px; overflow:scroll; padding:0 20px 0; text-align:left; margin-bottom: 20px; -font-size:14px; line-height:21px; } -.instructions { overflow-y:scroll; overflow-x:hidden; } -.instructions h3 { text-align: center; margin: 30px 0 0 0; } + +.instructions { text-align:left;} +.instructionBlock {border: 1px solid #666; margin: 5px; overflow: hidden;} +.instructionBlockHeaderCollapsed, .instructionBlockHeaderExpanded {font-size:110%; cursor: pointer; overflow: hidden; background-repeat: no-repeat; background-position: left center; padding-left: 20px; background-color: #111; padding: 5px 20px; color: #ff3363;} +.instructionBlockHeaderCollapsed { background-image: url(../../icon/expand.png);} +.instructionBlockHeaderExpanded { background-image: url(../../icon/collapse.png);} +.instructionBlockContent { padding:5px;} + .content ul.thumbnails span.wrap2:hover { background-color:#111; border:1px solid #FF3363; color:#666; } .content ul.thumbnails span.wrap2 { border:1px solid #666; padding: 4px; } .content ul.thumbnails span.wrap2 { -moz-border-radius-bottomleft:4px; -moz-border-radius-bottomright:4px; -moz-border-radius-topleft:4px; -moz-border-radius-topright:4px; } diff --git a/language/en_UK/help.html b/language/en_UK/help.html index b585cb741..2de471858 100644 --- a/language/en_UK/help.html +++ b/language/en_UK/help.html @@ -1,8 +1,19 @@

Help

-

Quick start

- +
+
+ Quick Start +
+ +
-

Adding elements

- +
+
+ Adding elements +
+ +
-

Thumbnails

- +
+
+ Thumbnails +
+ +
-

Access authorization

- +
+
+ Permissions +
+ +
-

Users Groups

- +
+
+ Groups +
+ +
-

Files upload by users

- +
+
+ Upload by users +
+ +
- -

Links between elements and categories, virtual categories

- + -

Miscellanous informations

- +
+
+ Miscellanous informations +
+ +
+
\ No newline at end of file diff --git a/template-common/scripts.js b/template-common/scripts.js index 519786ab7..f6b22b41c 100644 --- a/template-common/scripts.js +++ b/template-common/scripts.js @@ -90,6 +90,24 @@ function PwgWS(urlRoot) }; }; +function blockToggleDisplay(headerId, contentId) +{ + var revHeader = document.getElementById(headerId); + var revContent = document.getElementById(contentId); + + if (revContent.style.display == 'none') + { + revContent.style.display = 'block'; + revHeader.className = 'instructionBlockHeaderExpanded'; + } + else + { + revContent.style.display = 'none'; + revHeader.className = 'instructionBlockHeaderCollapsed'; + } +} + + PwgWS.prototype = { callService : function(method, parameters, options)