Commit 269dc099 authored by Łukasz Nowak's avatar Łukasz Nowak

Underline only text, without +/- indicators.

parent fa1da33e
...@@ -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>ts23259892.99</string> </value> <value> <string>ts23264610.26</string> </value>
</item> </item>
<item> <item>
<key> <string>__name__</string> </key> <key> <string>__name__</string> </key>
...@@ -158,20 +158,24 @@ function appendSoftwareCategoryTree(data, id) {\n ...@@ -158,20 +158,24 @@ function appendSoftwareCategoryTree(data, id) {\n
}\n }\n
var i = 0;\n var i = 0;\n
var q;\n var q;\n
var span;\n
for (q in data) {\n for (q in data) {\n
var li = $(\'<li>\');\n var li = $(\'<li>\');\n
li.addClass(\'software_category\');\n li.addClass(\'software_category\');\n
li.attr({\'id\': q.replace(\' \', \'_\', \'g\')});\n li.attr({\'id\': q.replace(\' \', \'_\', \'g\')});\n
ul.append(li);\n ul.append(li);\n
var s = q;\n var s = q;\n
span = $(\'<span>\');\n
span.html(s);\n
li.append(span);\n
var r = appendSoftwareCategoryTree(data[q], q);\n var 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 software_category_children_collapsed\');\n li.addClass(\'software_category_children software_category_children_collapsed\');\n
span.addClass(\'software_category_children\');\n
li.click(toggle);\n li.click(toggle);\n
}\n }\n
li.click(hasher);\n li.click(hasher);\n
li.html(s);\n
++i;\n ++i;\n
}\n }\n
if (id !== undefined) {ul.hide(); }\n if (id !== undefined) {ul.hide(); }\n
...@@ -525,7 +529,7 @@ function processAjaxError(jqXHR, textStatus, errorThrown) {\n ...@@ -525,7 +529,7 @@ function processAjaxError(jqXHR, textStatus, errorThrown) {\n
</item> </item>
<item> <item>
<key> <string>size</string> </key> <key> <string>size</string> </key>
<value> <int>16610</int> </value> <value> <int>16720</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -234,7 +234,7 @@ li.software_category {cursor : pointer; padding-top: 2px; padding-bottom: 2px;}\ ...@@ -234,7 +234,7 @@ li.software_category {cursor : pointer; padding-top: 2px; padding-bottom: 2px;}\
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_collapsed:before {content: \'+ \';}\n
li.software_category_children_expanded:before {content: \'- \';}\n li.software_category_children_expanded:before {content: \'- \';}\n
li.software_category_children:hover {text-decoration: underline;}\n span.software_category_children:hover {text-decoration: underline;}\n
li.software_category:hover {\n li.software_category:hover {\n
color: #2E707C;\n color: #2E707C;\n
}\n }\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment