forked from mozilla/zamboni
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds views, template, and css to support Ajax add-on validation (bug …
…609355) Note that the Ajax view is just a stub placeholder and will eventually hook up to the celery addon validator task.
- Loading branch information
Showing
12 changed files
with
337 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{% extends "devhub/base.html" %} | ||
|
||
{% set title = _('Validation Results') %} | ||
{% block title %}{{ dev_page_title(title, addon) }}{% endblock %} | ||
|
||
{% block content %} | ||
<header> | ||
{{ dev_breadcrumbs(addon) }} | ||
<h2>{{ title }}</h2> | ||
</header> | ||
<div id="addon-validator-suite" | ||
data-validateurl="{{ url('devhub.addons.validation_results', addon.id) }}" | ||
data-addonid="{{ addon.id }}"> | ||
<div class="suite-container"> | ||
<div class="suite"> | ||
<div class="tiers"> | ||
<div class="test-tier" data-tier="1"> | ||
<h4>{{ _('General Tests') }}</h4> | ||
<div class="tier-summary"></div> | ||
</div> | ||
<div class="test-tier" data-tier="2"> | ||
<h4>{{ _('Security Tests') }}</h4> | ||
<div class="tier-summary"></div> | ||
</div> | ||
<div class="test-tier" data-tier="3"> | ||
<h4>{{ _('Localization Tests') }}</h4> | ||
<div class="tier-summary"></div> | ||
</div> | ||
<div class="test-tier" data-tier="4"> | ||
<h4>{{ _('Extension Tests') }}</h4> | ||
<div class="tier-summary"></div> | ||
</div> | ||
</div> | ||
<div class="suite-summary"> | ||
<span></span> | ||
<a href="{{ url('devhub.addons.validate', addon.id) }}">{{ _('Revalidate') }}</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="results"> | ||
<div class="result" id="suite-results-tier-1"> | ||
<div class="result-header"> | ||
<ul class="result-nav"> | ||
{# L10n: abbreviation of 'previous' #} | ||
<li>{{ _('Prev') }}</li> | ||
<li><a href="#addon-validator-suite">{{ _('Top') }}</a></li> | ||
<li><a href="#suite-results-tier-2">{{ _('Next') }}</a></li> | ||
</ul> | ||
<h4>{{ _('General Tests') }}</h4> | ||
<div class="result-summary">.</div> | ||
</div> | ||
<div class="tier-results" data-tier="1"></div> | ||
</div> | ||
<div class="result" id="suite-results-tier-2"> | ||
<div class="result-header"> | ||
<ul class="result-nav"> | ||
{# L10n: abbreviation of 'previous' #} | ||
<li><a href="#suite-results-tier-1">{{ _('Prev') }}</li> | ||
<li><a href="#addon-validator-suite">{{ _('Top') }}</a></li> | ||
<li><a href="#suite-results-tier-3">{{ _('Next') }}</a></li> | ||
</ul> | ||
<h4>{{ _('Security Tests') }}</h4> | ||
<div class="result-summary">.</div> | ||
</div> | ||
<div class="tier-results" data-tier="2"></div> | ||
</div> | ||
<div class="result" id="suite-results-tier-3"> | ||
<div class="result-header"> | ||
<ul class="result-nav"> | ||
{# L10n: abbreviation of 'previous' #} | ||
<li><a href="#suite-results-tier-2">{{ _('Prev') }}</li> | ||
<li><a href="#addon-validator-suite">{{ _('Top') }}</a></li> | ||
<li><a href="#suite-results-tier-4">{{ _('Next') }}</a></li> | ||
</ul> | ||
<h4>{{ _('Localization Tests') }}</h4> | ||
<div class="result-summary">.</div> | ||
</div> | ||
<div class="tier-results" data-tier="3"></div> | ||
</div> | ||
<div class="result" id="suite-results-tier-4"> | ||
<div class="result-header"> | ||
<ul class="result-nav"> | ||
{# L10n: abbreviation of 'previous' #} | ||
<li><a href="#suite-results-tier-3">{{ _('Prev') }}</li> | ||
<li><a href="#addon-validator-suite">{{ _('Top') }}</a></li> | ||
<li>{{ _('Next') }}</li> | ||
</ul> | ||
<h4>{{ _('Extension Tests') }}</h4> | ||
<div class="result-summary">.</div> | ||
</div> | ||
<div class="tier-results" data-tier="4"></div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.