Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1647)

Unified Diff: appengine/findit/templates/crash/crash_config.html

Issue 2356673002: [Findit] Add cracas config in config page. (Closed)
Patch Set: Rebase. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/findit/model/crash/crash_config.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/templates/crash/crash_config.html
diff --git a/appengine/findit/templates/crash/crash_config.html b/appengine/findit/templates/crash/crash_config.html
index 2a6963b8533957965d86e4ce81457f01ad194e89..2a911e7f03f8e9f03d18fe863d884b701b4f6082 100644
--- a/appengine/findit/templates/crash/crash_config.html
+++ b/appengine/findit/templates/crash/crash_config.html
@@ -7,6 +7,7 @@
<script>
var crash = {};
crash.fracas = {{ fracas | tojson | safe }};
+ crash.cracas = {{ cracas | tojson | safe }};
crash.component_classifier = {{ component_classifier | tojson | safe }};
crash.project_classifier = {{ project_classifier | tojson | safe }};
@@ -21,6 +22,7 @@
function save(e) {
var newConfig = {
'fracas': getJsonOfTextarea('fracas'),
+ 'cracas': getJsonOfTextarea('cracas'),
'component_classifier': getJsonOfTextarea('component-classifier'),
'project_classifier': getJsonOfTextarea('project-classifier'),
};
@@ -36,6 +38,7 @@
$(document).ready(function() {
$('#save-button').click(save);
$('#fracas').val(getStringFromJson(crash.fracas));
+ $('#cracas').val(getStringFromJson(crash.cracas));
$('#component-classifier').val(getStringFromJson(crash.component_classifier));
$('#project-classifier').val(getStringFromJson(crash.project_classifier));
});
@@ -48,6 +51,10 @@
<textarea id="fracas" rows="20" cols="80"></textarea>
</div>
<div>
+ Settings for Cracas:<br>
+ <textarea id="cracas" rows="20" cols="80"></textarea>
+ </div>
+ <div>
Settings for component classifier:<br>
<textarea id="component-classifier" rows="20" cols="80"></textarea>
</div>
« no previous file with comments | « appengine/findit/model/crash/crash_config.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698