21 lines
1.0 KiB
HTML
21 lines
1.0 KiB
HTML
{% extends "base.xhtml" %}
|
|
{% from "macros/page-hero.xhtml" import page_hero %}
|
|
{% block content %}
|
|
<div class="dashboard-page">
|
|
{{ page_hero("Admin", "JSONLint config", "JSON lint rules for the role editor: enable rules, choose error vs warning, and tune line length.") }}
|
|
<section class="dashboard-panel dashboard-panel--primary">
|
|
<div class="dashboard-panel-h">
|
|
<div>
|
|
<h2 class="dashboard-panel-title">JSONLint rules</h2>
|
|
<p class="dashboard-panel-sub">Disabled rules are skipped. “Count as error” controls whether findings block the editor OK state (warnings still show).</p>
|
|
</div>
|
|
</div>
|
|
<div id="admin-json-lint-root" class="admin-lint-grid" aria-busy="true"></div>
|
|
<div class="admin-lint-toolbar admin-lint-toolbar--footer">
|
|
<button type="button" class="btn-muted" id="admin-json-lint-reset-btn">Restore defaults</button>
|
|
<button type="button" class="cta-button" id="admin-json-lint-save-btn">Save</button>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
{% endblock %}
|