Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hardik Juneja
slapos.core
Commits
498756d5
Commit
498756d5
authored
Dec 02, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement tree +/- indicators.
parent
2cd20d46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_js/vifib.js.xml
...l_skins/vifib_hosting_theme/vifib_hosting_js/vifib.js.xml
+15
-4
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/vifib_style/vifib.css.xml
.../portal_skins/vifib_jauks_theme/vifib_style/vifib.css.xml
+2
-0
No files found.
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_js/vifib.js.xml
View file @
498756d5
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts2283
6301.29
</string>
</value>
<value>
<string>
ts2283
7545.4
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
__name__
</string>
</key>
<key>
<string>
__name__
</string>
</key>
...
@@ -96,13 +96,21 @@ function hashTo(event) {\n
...
@@ -96,13 +96,21 @@ function hashTo(event) {\n
\n
\n
function toggle() {\n
function toggle() {\n
var el = $(\'ul#\' + $(this)[0].id).filter(\':visible\');\n
var el = $(\'ul#\' + $(this)[0].id).filter(\':visible\');\n
if (el.length > 0) { el.hide(); }\n
if (el.length > 0) {\n
$(\'li#\' + el[0].id).addClass(\'software_category_children_collapsed\');\n
$(\'li#\' + el[0].id).removeClass(\'software_category_children_expanded\');\n
el.hide();\n
}\n
else {\n
else {\n
$(\'ul#master\').find(\'ul\').hide();\n
$(\'ul#master\').find(\'ul\').hide();\n
$(\'ul#master\').find(\'li.software_category_children\').removeClass(\'software_category_children_expanded\');\n
$(\'ul#master\').find(\'li.software_category_children\').addClass(\'software_category_children_collapsed\');\n
var me = $(\'ul#\' + $(this)[0].id);\n
var me = $(\'ul#\' + $(this)[0].id);\n
do\n
do\n
{\n
{\n
me.show();\n
me.show();\n
$(\'li#\' + me[0].id).removeClass(\'software_category_children_collapsed\');\n
$(\'li#\' + me[0].id).addClass(\'software_category_children_expanded\');\n
me = me.parent();\n
me = me.parent();\n
} while (me[0].id != \'master\');\n
} while (me[0].id != \'master\');\n
\n
\n
...
@@ -122,6 +130,9 @@ function hasher() {\n
...
@@ -122,6 +130,9 @@ function hasher() {\n
}\n
}\n
\n
\n
function resetCategoryHash() {\n
function resetCategoryHash() {\n
$(\'ul#master\').find(\'ul\').hide();\n
$(\'ul#master\').find(\'li.software_category_children\').removeClass(\'software_category_children_expanded\');\n
$(\'ul#master\').find(\'li.software_category_children\').addClass(\'software_category_children_collapsed\');\n
$(\'.software_category_selected\').removeClass(\'software_category_selected\');\n
$(\'.software_category_selected\').removeClass(\'software_category_selected\');\n
var query_kw = $.deparam.fragment();\n
var query_kw = $.deparam.fragment();\n
delete(query_kw.software_category);\n
delete(query_kw.software_category);\n
...
@@ -150,7 +161,7 @@ function appendSoftwareCategoryTree(data, id) {\n
...
@@ -150,7 +161,7 @@ function appendSoftwareCategoryTree(data, id) {\n
r = appendSoftwareCategoryTree(data[q], q);\n
r = appendSoftwareCategoryTree(data[q], q);\n
if (r) {\n
if (r) {\n
ul.append(r);\n
ul.append(r);\n
li.addClass(\'software_category_children\');\n
li.addClass(\'software_category_children
software_category_children_collapsed
\');\n
li.click(toggle);\n
li.click(toggle);\n
}\n
}\n
li.click(hasher);\n
li.click(hasher);\n
...
@@ -362,7 +373,7 @@ function hashController ()\n
...
@@ -362,7 +373,7 @@ function hashController ()\n
</item>
</item>
<item>
<item>
<key>
<string>
size
</string>
</key>
<key>
<string>
size
</string>
</key>
<value>
<int>
1
0408
</int>
</value>
<value>
<int>
1
1219
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/vifib_style/vifib.css.xml
View file @
498756d5
...
@@ -232,6 +232,8 @@ div#software_category{display:inline;float:left;width:20%;background:url(<tal:bl
...
@@ -232,6 +232,8 @@ div#software_category{display:inline;float:left;width:20%;background:url(<tal:bl
ul.software_category {list-style: none none inside; padding-left: 4px; padding-top: 8px; padding-bottom: 8px;}\n
ul.software_category {list-style: none none inside; padding-left: 4px; padding-top: 8px; padding-bottom: 8px;}\n
li.software_category {cursor : pointer; padding-top: 2px; padding-bottom: 2px;}\n
li.software_category {cursor : pointer; padding-top: 2px; padding-bottom: 2px;}\n
li.software_category_children {padding-top: 4px; padding-bottom: 4px;}\n
li.software_category_children {padding-top: 4px; padding-bottom: 4px;}\n
li.software_category_children_collapsed:before {content: \'+ \';}\n
li.software_category_children_expanded:before {content: \'- \';}\n
li.software_category_children:hover {text-decoration: underline;}\n
li.software_category_children:hover {text-decoration: underline;}\n
li.software_category:hover {\n
li.software_category:hover {\n
color: #2E707C;\n
color: #2E707C;\n
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment