made issue lists foldable in the site home view
This commit is contained in:
parent
1251037e4b
commit
a382e3979c
@ -38,6 +38,18 @@ function render_wiki()
|
||||
$(function () {
|
||||
render_wiki ();
|
||||
|
||||
<?php if ($issues && count($issues) > 0): ?>
|
||||
$("#site_home_mainarea_result_open_issues").accordion ({
|
||||
collapsible: true
|
||||
});
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($recently_resolved_issues && count($recently_resolved_issues) > 0): ?>
|
||||
$("#site_home_mainarea_result_resolved_issues").accordion ({
|
||||
collapsible: true
|
||||
});
|
||||
<?php endif; ?>
|
||||
|
||||
$("#site_home_sidebar_latest_projects_box").accordion ({
|
||||
collapsible: true
|
||||
});
|
||||
@ -261,7 +273,7 @@ foreach ($latest_projects as $project)
|
||||
|
||||
<?php if ($issues && count($issues) > 0): ?>
|
||||
<div id="site_home_mainarea_result_open_issues">
|
||||
<div><?php print $this->lang->line('Open issues')?></div>
|
||||
<div id="site_home_mainarea_result_open_issues_header"><?php print $this->lang->line('Open issues')?></div>
|
||||
<ul id="site_home_mainarea_result_open_issues_list">
|
||||
<?php
|
||||
foreach ($issues as $issue)
|
||||
@ -290,7 +302,7 @@ foreach ($latest_projects as $project)
|
||||
|
||||
<?php if ($recently_resolved_issues && count($recently_resolved_issues) > 0): ?>
|
||||
<div id="site_home_mainarea_result_resolved_issues">
|
||||
<div><?php print $this->lang->line('Recently resolved issues')?></div>
|
||||
<div id="site_home_mainarea_result_resolved_issues_header"><?php print $this->lang->line('Recently resolved issues')?></div>
|
||||
<ul id="site_home_mainarea_result_resolved_issues_list">
|
||||
<?php
|
||||
foreach ($recently_resolved_issues as $issue)
|
||||
|
2
codepot/src/css/jquery-ui.css
vendored
2
codepot/src/css/jquery-ui.css
vendored
@ -43,7 +43,7 @@
|
||||
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
|
||||
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
|
||||
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
|
||||
.ui-accordion .ui-accordion-header { display: block; cursor: pointer; position: relative; margin-top: 2px; padding: .5em .5em .5em .7em; zoom: 1; }
|
||||
.ui-accordion .ui-accordion-header { display: block; cursor: pointer; position: relative; margin-top: 2px; padding: .5em .5em .5em .7em; zoom: 1; overflow: auto; }
|
||||
.ui-accordion .ui-accordion-icons { padding-left: 2.2em; }
|
||||
.ui-accordion .ui-accordion-noicons { padding-left: .7em; }
|
||||
.ui-accordion .ui-accordion-icons .ui-accordion-icons { padding-left: 2.2em; }
|
||||
|
@ -50,21 +50,38 @@
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
#site_home_mainarea_result_open_issues {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#site_home_mainarea_result_open_issues_header {
|
||||
background: none repeat scroll 0 0 #E5ECF9;
|
||||
border: 1px solid #D4DBE8;
|
||||
color: #1C94C4;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
#site_home_mainarea_result_open_issues_list {
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding: 1em;
|
||||
margin: 0;
|
||||
padding-left: 1.8em;
|
||||
line-height: 1.5em;
|
||||
|
||||
}
|
||||
|
||||
#site_home_mainarea_result_resolved_issues {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#site_home_mainarea_result_resolved_issues_header {
|
||||
background: none repeat scroll 0 0 #E5ECF9;
|
||||
border: 1px solid #D4DBE8;
|
||||
color: #1C94C4;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
#site_home_mainarea_result_resolved_issues_list {
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding: 1em;
|
||||
margin: 0;
|
||||
padding-left: 1.8em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
/*-----------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user