Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
136 lines (124 sloc) 6.57 KB
<html>
<head>
<title>Bugs Ahoy - find relevant Mozilla bugs</title>
<!--UHOH-->
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="uitooltip.min.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="uitooltip.min.js"></script>
<script type="text/javascript" src="bz-0.2.3.js"></script>
<script type="text/javascript" src="magic.js"></script>
<!--OHNO-->
</head>
<body>
<!--OHDEAR-->
<div id="ba-total-header">
Bugs Ahoy! <div><i>these bugs are relevant to my interests</i></div>
</div>
<div id="ba-content">
Are you interested in:<br><br>
<div id="ba-choices">
<script>
function addCategories(cats) {
var choices = document.getElementById('ba-choices');
for (var i = 0; i < cats.length; i++) {
var elem = document.createElement('div');
var inp = document.createElement('input');
inp.type = "checkbox";
inp.onchange = toggleCategory;
inp.setAttribute('id', cats[i][0]);
var lab = document.createElement('label');
lab.setAttribute('for', cats[i][0]);
var text = document.createTextNode(cats[i][1]);
lab.appendChild(text);
elem.appendChild(inp);
elem.appendChild(lab);
choices.appendChild(elem);
}
}
addCategories([["a11y", "Accessibility"], ["build", "Build System"], ["gfx", "Graphics"], ["net", "Networking"],
["jseng", "Javascript Engine"], ["layout", "Layout"], ["dom", "DOM and CSS technology"],
["editor", "Input handling"], ["internals", "Firefox internals"],
["media", "Media"], ["mobile", "Mobile (Android)"], ["ff", "Firefox UI"],
["devtools", "Firefox Developer Tools"], ["releng", "Release Engineering"],
["automation", "Test Automation"], ["sync", "Firefox Sync"], ["thunderbird", "Thunderbird"],
["seamonkey", "SeaMonkey"], ["calendar", "Calendar"], ["b2g", "Boot2Gecko / Firefox OS"]]);
</script>
<br><br>
Do you know: <br><br>
<script>
addCategories([["py", "Python"], ["java", "Java"], ["sh", "Shell/Makefile/Autoconf"],
["js", "Javascript"], ["cpp", "C/C++"], ["html", "HTML/CSS"]]);
</script>
<br><br>
Display only: <br><br>
<script>
addCategories([["unowned", "Bugs with no owner"]]);
</script>
</div>
<div id="bugs">
<div id="ba-header" role="log">Results <span id="total"></span> <img id="throbber" alt="Fetching results" src="loading.gif" style="visibility: hidden; float: right"></div>
<div id="bugs_content">
<div class="bug"><span>No categories specified.</span></div>
</div>
</div>
</div>
<ul id="ba-extra">
</ul>
<script>
function addExtra(cat, header, content) {
var extra = document.getElementById('ba-extra');
var elem = document.createElement('li');
elem.setAttribute('aria-live', 'assertive');
elem.setAttribute('id', cat + '-extra');
elem.setAttribute('role', 'dialog');
var h = document.createElement('div');
h.setAttribute('class', 'ba-extra_header');
var tn = document.createTextNode(header);
h.appendChild(tn);
elem.appendChild(h);
var c = document.createElement('div');
c.setAttribute('class', 'ba-extra_body');
c.innerHTML = content;
elem.appendChild(c);
extra.appendChild(elem);
}
addExtra('mobile', 'Extra information for Mobile', 'Get involved with the <a href="https://wiki.mozilla.org/Mobile/Get_Involved" target="_blank">Mobile team</a>');
addExtra('java', 'Extra information for Java', 'Get involved with the <a href="https://wiki.mozilla.org/Mobile/Get_Involved" target="_blank">Mobile team</a>');
addExtra('py', 'Do you like Python?', 'Get involved with the <a href="https://wiki.mozilla.org/Auto-tools/New_Contributor/Skills_and_Areas" target="_blank">Auto-Tools</a> team<br>Get involved with the <a href="https://wiki.mozilla.org/ReleaseEngineering:Contribute">Release Engineering</a> team');
addExtra('gfx', 'Extra information for Graphics', 'Get involved with the <a href="https://wiki.mozilla.org/Platform/GFX/Contribute" target="_blank">Graphics</a> team');
addExtra('jseng', 'Extra information for the JS engine', 'Get involved with the <a href="https://wiki.mozilla.org/JavaScript:New_to_SpiderMonkey" target="_blank">JS engine</a> team');
addExtra('a11y', 'Extra information for Accessibility', 'Get involved with the <a href="https://wiki.mozilla.org/Accessibility/Contribute" target="_blank">Accessibility</a> team');
addExtra('releng', 'Extra information for Release Engineering', 'Get involved with the <a href="https://wiki.mozilla.org/ReleaseEngineering:Contribute" target="_blank">Release Engineering</a> team');
addExtra('sync', 'Extra information for Firefox Sync' , 'Get involved with the <a href="https://wiki.mozilla.org/Services/Sync#Get_Involved" target="_blank">Sync</a> team');
addExtra('seamonkey', 'Extra information for SeaMonkey', 'Get involved with the <a href="http://www.seamonkey-project.org" target="_blank">SeaMonkey Project</a>');
addExtra('js', 'Extra information for JS', 'Get involved with the <a href="http://github.com/mozilla/pdf.js" target="_blank">pdf2js project</a><br>Get involved with the <a href="https://github.com/kripken/emscripten/">emscripten project</a>');
addExtra('b2g', 'Extra information for Boot2Gecko', 'Get involved with the <a href="https://wiki.mozilla.org/B2G" target="_blank">Boot2Gecko project</a> and/or the <a href="http://wiki.mozilla.org/Gaia">Gaia project</a>');
addExtra('devtools', 'Extra information for Developer Tools', 'Get involved with the <a href="https://wiki.mozilla.org/DevTools/GetInvolved" target="_blank">devtools team</a>');
function initial_state() {
var query = window.location.search;
if (query.length == 0) return;
function check_state (sVar) {
return unescape(query.replace(new RegExp("^(?:.*[&\\?]" + escape(sVar).replace(/[\.\+\*]/g, "\\$&") + "(?:\\=([^&]*))?)?.*$", "i"), "$1"));
}
var checks = document.getElementsByTagName("input");
for (var i = 0; i < checks.length; i++) {
if (checks[i].type != "checkbox")
continue;
if (check_state(checks[i].id)) {
checks[i].checked = true;
checks[i].onchange({target: checks[i]});
}
}
}
window.onload = initial_state;
</script>
<div id="ba-footer">
<i>Bugs Ahoy!</i> <span>is written by <a href="https://mozillians.org/en-US/u/cba2fc3233">Josh Matthews</a>
(get the <a href="http://github.com/jdm/bugsahoy/">source</a>!)</span>
</div>
<!--OHHDEAR-->
<center><div id="help"></div>
</center>
</body>
</html>