mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-10-01 19:41:30 +02:00
Changed "graphical glyphs" to solid arrows (#28).
The $or; character was changed to $#x25bc;, while $and; was changed to $#x25b2.
This commit is contained in:
parent
d11bcddc35
commit
dcbc6634f2
@ -56,16 +56,16 @@
|
|||||||
var parentIndex = $(this).index();
|
var parentIndex = $(this).index();
|
||||||
|
|
||||||
if (this.isReversed) {{
|
if (this.isReversed) {{
|
||||||
$(this).append("<strong> ∧</strong>");
|
$(this).append("<strong> ▲</strong>");
|
||||||
}} else {{
|
}} else {{
|
||||||
$(this).append("<strong> ∨</strong>");
|
$(this).append("<strong> ▼</strong>");
|
||||||
}}
|
}}
|
||||||
this.isReversed = !this.isReversed;
|
this.isReversed = !this.isReversed;
|
||||||
}});
|
}});
|
||||||
|
|
||||||
$("table#changes thead tr th:first-child, table#blame thead tr th:first-child").each(function() {{
|
$("table#changes thead tr th:first-child, table#blame thead tr th:first-child").each(function() {{
|
||||||
this.isReversed = true;
|
this.isReversed = true;
|
||||||
$(this).append("<strong> ∨</strong>");
|
$(this).append("<strong> ▼</strong>");
|
||||||
}});
|
}});
|
||||||
|
|
||||||
$("table#changes tfoot tr td:first-child").filter(function() {{
|
$("table#changes tfoot tr td:first-child").filter(function() {{
|
||||||
@ -73,16 +73,16 @@
|
|||||||
return this.hiddenCount > 0;
|
return this.hiddenCount > 0;
|
||||||
}}).each(function() {{
|
}}).each(function() {{
|
||||||
$(this).addClass("hoverable");
|
$(this).addClass("hoverable");
|
||||||
this.innerHTML = "{show_minor_authors} (" + this.hiddenCount + ") ∨";
|
this.innerHTML = "{show_minor_authors} (" + this.hiddenCount + ") ▼";
|
||||||
}}).click(function() {{
|
}}).click(function() {{
|
||||||
this.clicked = !this.clicked;
|
this.clicked = !this.clicked;
|
||||||
|
|
||||||
if (this.clicked) {{
|
if (this.clicked) {{
|
||||||
this.innerHTML = "{hide_minor_authors} (" + this.hiddenCount + ") ∧";
|
this.innerHTML = "{hide_minor_authors} (" + this.hiddenCount + ") ▲";
|
||||||
$(this).parent().parent().parent().find("tbody tr:empty").remove();
|
$(this).parent().parent().parent().find("tbody tr:empty").remove();
|
||||||
$(this).parent().parent().parent().find("tbody tr").show();
|
$(this).parent().parent().parent().find("tbody tr").show();
|
||||||
}} else {{
|
}} else {{
|
||||||
this.innerHTML = "{show_minor_authors} (" + this.hiddenCount + ") ∨";
|
this.innerHTML = "{show_minor_authors} (" + this.hiddenCount + ") ▼";
|
||||||
$(this).parent().parent().parent().find("tbody tr td:last-child").filter(function() {{
|
$(this).parent().parent().parent().find("tbody tr td:last-child").filter(function() {{
|
||||||
return parseFloat(this.innerHTML) < MINOR_AUTHOR_PERCENTAGE;
|
return parseFloat(this.innerHTML) < MINOR_AUTHOR_PERCENTAGE;
|
||||||
}}).parent().each(function() {{
|
}}).parent().each(function() {{
|
||||||
@ -94,15 +94,15 @@
|
|||||||
filterResponsibilities();
|
filterResponsibilities();
|
||||||
var hiddenResponsibilitiesCount = $("div#responsibilities div h3:hidden").length;
|
var hiddenResponsibilitiesCount = $("div#responsibilities div h3:hidden").length;
|
||||||
if (hiddenResponsibilitiesCount > 0) {{
|
if (hiddenResponsibilitiesCount > 0) {{
|
||||||
$("div#responsibilities").prepend("<div class=\"button\">{show_minor_authors} (" + hiddenResponsibilitiesCount + ") ∨</div>");
|
$("div#responsibilities").prepend("<div class=\"button\">{show_minor_authors} (" + hiddenResponsibilitiesCount + ") ▼</div>");
|
||||||
|
|
||||||
$("div#responsibilities div.button").click(function() {{
|
$("div#responsibilities div.button").click(function() {{
|
||||||
this.clicked = !this.clicked;
|
this.clicked = !this.clicked;
|
||||||
if (this.clicked) {{
|
if (this.clicked) {{
|
||||||
this.innerHTML = "{hide_minor_authors} (" + hiddenResponsibilitiesCount + ") ∧";
|
this.innerHTML = "{hide_minor_authors} (" + hiddenResponsibilitiesCount + ") ▲";
|
||||||
$("div#responsibilities div").show();
|
$("div#responsibilities div").show();
|
||||||
}} else {{
|
}} else {{
|
||||||
this.innerHTML = "{show_minor_authors} (" + hiddenResponsibilitiesCount + ") ∨";
|
this.innerHTML = "{show_minor_authors} (" + hiddenResponsibilitiesCount + ") ▼";
|
||||||
filterResponsibilities();
|
filterResponsibilities();
|
||||||
}}
|
}}
|
||||||
}});
|
}});
|
||||||
@ -112,15 +112,15 @@
|
|||||||
filterTimeLine();
|
filterTimeLine();
|
||||||
var hiddenTimelineCount = $("div#timeline table.git tbody tr:hidden").length;
|
var hiddenTimelineCount = $("div#timeline table.git tbody tr:hidden").length;
|
||||||
if (hiddenTimelineCount > 0) {{
|
if (hiddenTimelineCount > 0) {{
|
||||||
$("div#timeline").prepend("<div class=\"button\">{show_minor_rows} (" + hiddenTimelineCount + ") ∨</div>");
|
$("div#timeline").prepend("<div class=\"button\">{show_minor_rows} (" + hiddenTimelineCount + ") ▼</div>");
|
||||||
|
|
||||||
$("div#timeline div.button").click(function() {{
|
$("div#timeline div.button").click(function() {{
|
||||||
this.clicked = !this.clicked;
|
this.clicked = !this.clicked;
|
||||||
if (this.clicked) {{
|
if (this.clicked) {{
|
||||||
this.innerHTML = "{hide_minor_rows} (" + hiddenTimelineCount + ") ∧";
|
this.innerHTML = "{hide_minor_rows} (" + hiddenTimelineCount + ") ▲";
|
||||||
$("div#timeline table.git tbody tr").show().each(colorRows);
|
$("div#timeline table.git tbody tr").show().each(colorRows);
|
||||||
}} else {{
|
}} else {{
|
||||||
this.innerHTML = "{show_minor_rows} (" + hiddenTimelineCount + ") ∨";
|
this.innerHTML = "{show_minor_rows} (" + hiddenTimelineCount + ") ▼";
|
||||||
filterTimeLine();
|
filterTimeLine();
|
||||||
}}
|
}}
|
||||||
}});
|
}});
|
||||||
|
Loading…
Reference in New Issue
Block a user