mirror of
https://github.com/TeamNewPipe/CrashReportToMarkdown
synced 2025-10-05 15:32:41 +02:00
Merge pull request #6 from B0pol/validate_icon_noscript
Validate w3c, new icon, noscript tag
This commit is contained in:
9
icons/report_problem-black-192dp.svg
Normal file
9
icons/report_problem-black-192dp.svg
Normal file
@@ -0,0 +1,9 @@
|
||||
<!-- Material design icon by Google
|
||||
This image is licensed under Apache Licence 2.0
|
||||
Source https://material.io/resources/icons/?icon=report_problem&style=baseline
|
||||
-->
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black" width="192px" height="192px">
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
<path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 400 B |
15
index.html
15
index.html
@@ -1,9 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Error Report to Markdown reporter</title>
|
||||
<link rel="icon" href="icons/report_problem-black-192dp.svg">
|
||||
<style>
|
||||
html, body {
|
||||
font-family: Roboto, Arial, sans-serif;
|
||||
@@ -86,10 +87,12 @@
|
||||
<h3>Paste the JSON bugreport here</h3>
|
||||
<div><textarea rows="1" cols="150" id="input" class="placeholder" placeholder="Paste the JSON bugreport here" onchange="onResize(this)" onkeyup="onResize(this)"></textarea></div>
|
||||
<button onClick="onTransform()">transform</button>
|
||||
<div><textarea rows="1" cols="150" id="output" class="placeholder" placeholder="Click transform and your human readable bugreport will appear here. "></textarea></div>
|
||||
<div><textarea rows="1" cols="150" id="output" class="placeholder" placeholder="Click transform and your human readable bugreport will appear here."></textarea></div>
|
||||
<h3>Paste it into your Github issue</h3>
|
||||
<button onClick="onCopy()">copy to clipboard</button>
|
||||
<a href="https://github.com/TeamNewPipe/NewPipe/issues/new"><button>new issue</button></a>
|
||||
<form style="display:inline;" action="https://github.com/TeamNewPipe/NewPipe/issues/new?assignees=&labels=bug&template=bug_report.md" method="get">
|
||||
<button>new issue</button>
|
||||
</form>
|
||||
<span id="clipboard-message">Copied to clipboard!</span>
|
||||
|
||||
<script>
|
||||
@@ -155,5 +158,11 @@
|
||||
else el.classList.remove("placeholder");
|
||||
}
|
||||
</script>
|
||||
|
||||
<noscript>
|
||||
<p>
|
||||
Please enable javascript, otherwise you won't be able to convert the crash report. You can see its (little) code <a href="https://github.com/TeamNewPipe/CrashReportToMarkdown">here</a>.
|
||||
</p>
|
||||
</noscript>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user