summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/hbs
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src/main/hbs')
-rw-r--r--sonar-server/src/main/hbs/api-documentation/api-documentation-action-response.hbs1
-rw-r--r--sonar-server/src/main/hbs/api-documentation/api-documentation-action.hbs51
-rw-r--r--sonar-server/src/main/hbs/api-documentation/api-documentation-actions.hbs5
-rw-r--r--sonar-server/src/main/hbs/api-documentation/api-documentation-layout.hbs16
-rw-r--r--sonar-server/src/main/hbs/api-documentation/api-documentation-web-service.hbs5
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-actions.hbs19
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change-dropdown.hbs25
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change.hbs40
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-custom-rule-creation.hbs83
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-custom-rule-reactivation.hbs7
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-detail-custom-rule.hbs26
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-detail-quality-profile.hbs77
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs156
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-facets.hbs20
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-filter-bar.hbs2
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-header.hbs5
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-layout.hbs16
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-list-empty.hbs1
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-list-item.hbs5
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-profile-filter-detail.hbs10
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-quality-profile-activation.hbs65
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-query-filter.hbs3
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-repository-detail.hbs12
-rw-r--r--sonar-server/src/main/hbs/component-viewer/code-expand.hbs16
-rw-r--r--sonar-server/src/main/hbs/component-viewer/coveragePopup.hbs27
-rw-r--r--sonar-server/src/main/hbs/component-viewer/duplicationPopup.hbs26
-rw-r--r--sonar-server/src/main/hbs/component-viewer/header.hbs139
-rw-r--r--sonar-server/src/main/hbs/component-viewer/header/_header-item.hbs4
-rw-r--r--sonar-server/src/main/hbs/component-viewer/header/_header-link.hbs5
-rw-r--r--sonar-server/src/main/hbs/component-viewer/header/basic-header.hbs48
-rw-r--r--sonar-server/src/main/hbs/component-viewer/header/coverage-header.hbs109
-rw-r--r--sonar-server/src/main/hbs/component-viewer/header/covered-files-popup.hbs26
-rw-r--r--sonar-server/src/main/hbs/component-viewer/header/duplications-header.hbs13
-rw-r--r--sonar-server/src/main/hbs/component-viewer/header/issues-header.hbs100
-rw-r--r--sonar-server/src/main/hbs/component-viewer/header/scm-header.hbs5
-rw-r--r--sonar-server/src/main/hbs/component-viewer/header/tests-header.hbs78
-rw-r--r--sonar-server/src/main/hbs/component-viewer/layout.hbs3
-rw-r--r--sonar-server/src/main/hbs/component-viewer/line-options-popup.hbs15
-rw-r--r--sonar-server/src/main/hbs/component-viewer/more-actions.hbs10
-rw-r--r--sonar-server/src/main/hbs/component-viewer/source.hbs84
-rw-r--r--sonar-server/src/main/hbs/component-viewer/time-changes-popup.hbs9
-rw-r--r--sonar-server/src/main/hbs/component-viewer/workspace.hbs35
-rw-r--r--sonar-server/src/main/hbs/issues/assign-form.hbs9
-rw-r--r--sonar-server/src/main/hbs/issues/change-log.hbs20
-rw-r--r--sonar-server/src/main/hbs/issues/comment-form.hbs17
-rw-r--r--sonar-server/src/main/hbs/issues/issue.hbs142
-rw-r--r--sonar-server/src/main/hbs/issues/manual-issue.hbs44
-rw-r--r--sonar-server/src/main/hbs/issues/plan-form.hbs16
-rw-r--r--sonar-server/src/main/hbs/issues/rule.hbs14
-rw-r--r--sonar-server/src/main/hbs/issues/set-severity-form.hbs16
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-actions.hbs6
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-detail-condition.hbs62
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions-empty.hbs3
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions.hbs45
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-detail-header.hbs14
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-detail-projects.hbs13
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-detail.hbs2
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-edit.hbs22
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-empty.hbs1
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-item.hbs1
-rw-r--r--sonar-server/src/main/hbs/quality-gates/quality-gates-layout.hbs10
61 files changed, 0 insertions, 1859 deletions
diff --git a/sonar-server/src/main/hbs/api-documentation/api-documentation-action-response.hbs b/sonar-server/src/main/hbs/api-documentation/api-documentation-action-response.hbs
deleted file mode 100644
index 6253a6eb8d8..00000000000
--- a/sonar-server/src/main/hbs/api-documentation/api-documentation-action-response.hbs
+++ /dev/null
@@ -1 +0,0 @@
-<code>{{example}}</code> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/api-documentation/api-documentation-action.hbs b/sonar-server/src/main/hbs/api-documentation/api-documentation-action.hbs
deleted file mode 100644
index d728667dc60..00000000000
--- a/sonar-server/src/main/hbs/api-documentation/api-documentation-action.hbs
+++ /dev/null
@@ -1,51 +0,0 @@
-<h3 class="big">
- {{#if post}}POST{{else}}GET{{/if}}
- {{path}}
-</h3>
-<span class="subtitle">
- {{#if since}}Since {{since}}{{#if internal}} -{{/if}}{{/if}}
- {{#if internal}}<span class="internal">For internal use only</span>{{/if}}
-</span>
-<p>{{{description}}}</p>
-{{#if params}}
-<h3>Parameters</h3>
-<table>
- {{#each params}}
- <tr>
- <td style="width:10em">
- <code>{{key}}</code>
- <div class="subtitle">{{#if required}}required{{else}}optional{{/if}}</div>
- </td>
- <td>
- <p>{{{description}}}</p>
-
- {{#if possibleValues}}
- <p>
- <em>Possible values:</em>
- <ul class="possible-values">
- {{#each possibleValues}}
- <li><code>{{this}}</code></li>
- {{/each}}
- </ul>
- </p>
- {{/if}}
-
- {{#if defaultValue}}
- <p>
- <em>Default value:</em> <code>{{defaultValue}}</code>
- </p>
- {{/if}}
-
- {{#if exampleValue}}
- <p>
- <em>Example value:</em> <code>{{exampleValue}}</code>
- </p>
- {{/if}}
- </td>
- </tr>
- {{/each}}
-</table>
-{{/if}}
-{{#if hasResponseExample}}
-<p><a name="example-key" class="example-response">Example response</a></p>
-{{/if}}
diff --git a/sonar-server/src/main/hbs/api-documentation/api-documentation-actions.hbs b/sonar-server/src/main/hbs/api-documentation/api-documentation-actions.hbs
deleted file mode 100644
index b5f7dd79a73..00000000000
--- a/sonar-server/src/main/hbs/api-documentation/api-documentation-actions.hbs
+++ /dev/null
@@ -1,5 +0,0 @@
-<div class="navigator-header">
- <h1 class="navigator-header-title">{{path}}</h1>
-</div>
-<p>{{description}}</p>
-<div class="api-documentation-actions-list"></div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/api-documentation/api-documentation-layout.hbs b/sonar-server/src/main/hbs/api-documentation/api-documentation-layout.hbs
deleted file mode 100644
index 149427d617b..00000000000
--- a/sonar-server/src/main/hbs/api-documentation/api-documentation-layout.hbs
+++ /dev/null
@@ -1,16 +0,0 @@
-<div class="navigator-content">
- <div class="navigator-side">
- <div class="navigator-actions">
- <h1 class="navigator-header-title">API Documentation</h1>
- </div>
- <div class="api-documentation-show-internals subtitle">
- <label for="api-documentation-show-internals">Show internal services</label>
- <input type="checkbox" id="api-documentation-show-internals"/>
- </div>
- <div class="navigator-results api-documentation-nav"></div>
- </div>
- <div class="navigator-main">
- <!--div class="navigator-header"></div-->
- <div class="navigator-details"></div>
- </div>
-</div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/api-documentation/api-documentation-web-service.hbs b/sonar-server/src/main/hbs/api-documentation/api-documentation-web-service.hbs
deleted file mode 100644
index 1e5965cd4d5..00000000000
--- a/sonar-server/src/main/hbs/api-documentation/api-documentation-web-service.hbs
+++ /dev/null
@@ -1,5 +0,0 @@
-<div class="line line-small">
- <h1>{{path}}</h1>
- <span class="subtitle">{{{description}}}</span>
- {{#if internal}}<span class="subtitle internal">internal</span>{{/if}}
-</div>
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-actions.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-actions.hbs
deleted file mode 100644
index 36c94e0a030..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-actions.hbs
+++ /dev/null
@@ -1,19 +0,0 @@
-<div class="navigator-actions-order">
- {{#if sorting}}
- {{t 'coding_rules.ordered_by'}} <strong>{{sorting.sortText}}</strong> {{#if sorting.asc}}<i class="icon-sort-asc"></i>{{else}}<i class="icon-sort-desc"></i>{{/if}}
- {{else}}
- {{t 'coding_rules.order'}}
- {{/if}}
-</div>
-<ul class="navigator-actions-order-choices">
- <li data-sort="" data-asc="">{{t 'coding_rules.sort.relevance'}}</li>
- <li data-sort="createdAt" data-asc="true">{{t 'coding_rules.sort.creation_date'}} <i class="icon-sort-asc"></i></li>
- <li data-sort="createdAt" data-asc="false">{{t 'coding_rules.sort.creation_date'}} <i class="icon-sort-desc"></i></li>
- <li data-sort="name" data-asc="true">{{t 'coding_rules.sort.name'}} <i class="icon-sort-asc"></i></li>
- <li data-sort="name" data-asc="false">{{t 'coding_rules.sort.name'}} <i class="icon-sort-desc"></i></li>
-</ul>
-<div class="navigator-actions-total">
- {{t 'coding_rules.found'}}: <strong>{{paging.total}}</strong>
- {{#if canWrite}}<a class="navigator-actions-bulk"
- title="{{t 'bulk_change'}}"><i class="icon-bulk-change"></i></a>{{/if}}
-</div>
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change-dropdown.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change-dropdown.hbs
deleted file mode 100644
index 3fcb25ba37a..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change-dropdown.hbs
+++ /dev/null
@@ -1,25 +0,0 @@
-{{! activation }}
-
-<a class="coding-rules-bulk-change-dropdown-link" data-action="activate">
- {{t 'coding_rules.activate_in'}}&#8230;
-</a>
-
-{{#if allowActivateOnProfile}}
- <a class="coding-rules-bulk-change-dropdown-link" data-action="activate" data-param="{{qualityProfile}}">
- {{t 'coding_rules.activate_in'}} <strong>{{qualityProfileName}}</strong>
- </a>
-{{/if}}
-
-
-
-{{! deactivation }}
-
-<a class="coding-rules-bulk-change-dropdown-link" data-action="deactivate">
- {{t 'coding_rules.deactivate_in'}}&#8230;
-</a>
-
-{{#if allowDeactivateOnProfile}}
- <a class="coding-rules-bulk-change-dropdown-link" data-action="deactivate" data-param="{{qualityProfile}}">
- {{tp 'coding_rules.deactivate_in'}} <strong>{{qualityProfileName}}</strong>
- </a>
-{{/if}}
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change.hbs
deleted file mode 100644
index ccbb18a32a9..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-bulk-change.hbs
+++ /dev/null
@@ -1,40 +0,0 @@
-<form>
- <div class="modal-head">
- {{#eq action 'activate'}}
- <h2>{{t 'coding_rules.activate_in_quality_profile'}} ({{paging.total}} {{t 'coding_rules._rules'}})</h2>
- {{/eq}}
- {{#eq action 'deactivate'}}
- <h2>{{t 'coding_rules.deactivate_in_quality_profile'}} ({{paging.total}} {{t 'coding_rules._rules'}})</h2>
- {{/eq}}
- </div>
-
- <div class="modal-body modal-body-select2">
- <div class="modal-error"></div>
- <div class="modal-warning"></div>
- <div class="modal-notice"></div>
-
- <div class="modal-field">
- <h3><label for="coding-rules-bulk-change-profile">
- {{#eq action 'change-severity'}}{{t 'coding_rules.change_severity_in'}}{{/eq}}
- {{#eq action 'activate'}}{{t 'coding_rules.activate_in'}}{{/eq}}
- {{#eq action 'deactivate'}}{{t 'coding_rules.deactivate_in'}}{{/eq}}
- </label></h3>
- {{#if qualityProfile}}
- <h3 class="readonly-field">{{qualityProfileName}}{{#notEq action 'change-severity'}} —
- {{t 'are_you_sure'}}{{/notEq}}</h3>
- {{else}}
- <select id="coding-rules-bulk-change-profile">
- {{#each availableQualityProfiles}}
- <option value="{{key}}">{{name}} - {{language}}</option>
- {{/each}}
- </select>
- {{/if}}
- </div>
- </div>
-
- <div class="modal-foot">
- <button id="coding-rules-submit-bulk-change">{{t 'apply'}}</button>
- <a id="coding-rules-cancel-bulk-change" class="action">{{t 'cancel'}}</a>
- <a id="coding-rules-close-bulk-change" class="action" style="display:none">{{t 'close'}}</a>
- </div>
-</form>
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-custom-rule-creation.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-custom-rule-creation.hbs
deleted file mode 100644
index ebc66880c45..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-custom-rule-creation.hbs
+++ /dev/null
@@ -1,83 +0,0 @@
-<form>
- <div class="modal-head">
- {{#if change}}
- <h2>{{t 'coding_rules.update_custom_rule'}}</h2>
- {{else}}
- <h2>{{t 'coding_rules.create_custom_rule'}}</h2>
- {{/if}}
- </div>
-
- <div class="modal-body">
- <div class="modal-error"></div>
- <div class="modal-warning">{{t 'coding_rules.reactivate.help'}}</div>
-
- <table>
- <tr class="property">
- <th><h3>{{t 'name'}} <em class="mandatory">*</em></h3></th>
- <td>
- <input type="text" name="name" id="coding-rules-custom-rule-creation-name" value="{{name}}"/>
- </td>
- </tr>
- <tr class="property">
- <th><h3>{{t 'key'}}{{#unless change}} <em class="mandatory">*</em>{{/unless}}</h3></th>
- <td>
- {{#if change}}
- {{key}}
- {{else}}
- <input type="text" name="key" id="coding-rules-custom-rule-creation-key" value="{{internalKey}}"/>
- {{/if}}
- </td>
- </tr>
- <tr class="property">
- <th><h3>{{t 'description'}} <em class="mandatory">*</em></h3></th>
- <td>
- <textarea type="textarea" name="html_description" id="coding-rules-custom-rule-creation-html-description"
- rows="4" style="width: 100%; margin-bottom: 4px;">{{{htmlDesc}}}</textarea>
- </td>
- </tr>
- <tr class="property">
- <th><h3>{{t 'severity'}}</h3></th>
- <td>
- <select id="coding-rules-custom-rule-creation-severity">
- {{#each severities}}
- <option value="{{this}}">{{t 'severity' this}}</option>
- {{/each}}
- </select>
- </td>
- </tr>
- <tr class="property">
- <th><h3>{{t 'coding_rules.filters.status'}}</h3></th>
- <td>
- <select id="coding-rules-custom-rule-creation-status">
- {{#each statuses}}
- <option value="{{id}}">{{text}}</option>
- {{/each}}
- </select>
- </td>
- </tr>
- {{#each params}}
- <tr class="property">
- <th><h3>{{key}}</h3></th>
- <td>
- {{#eq type 'TEXT'}}
- <textarea class="width100" rows="3" name="{{key}}" placeholder="{{defaultValue}}">{{value}}</textarea>
- {{else}}
- <input type="text" name="{{key}}" value="{{value}}" placeholder="{{defaultValue}}"/>
- {{/eq}}
- <div class="note">{{description}}</div>
- {{#if extra}}
- <div class="note">{{extra}}</div>
- {{/if}}
- </td>
- </tr>
- {{/each}}
- </table>
- </div>
-
- <div class="modal-foot">
- <button id="coding-rules-custom-rule-creation-create">
- {{#if change}}{{t 'save'}}{{else}}{{t 'create'}}{{/if}}
- </button>
- <a id="coding-rules-custom-rule-creation-cancel" class="action">{{t 'cancel'}}</a>
- </div>
-</form>
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-custom-rule-reactivation.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-custom-rule-reactivation.hbs
deleted file mode 100644
index 2de07a6a814..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-custom-rule-reactivation.hbs
+++ /dev/null
@@ -1,7 +0,0 @@
-<button id="coding-rules-custom-rule-creation-reactivate">
- {{t 'coding_rules.reactivate'}}
-</button>
-<button id="coding-rules-custom-rule-creation-create">
- {{#if change}}{{t 'save'}}{{else}}{{t 'create'}}{{/if}}
-</button>
-<a id="coding-rules-custom-rule-creation-cancel" class="action">{{t 'cancel'}}</a>
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-detail-custom-rule.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-detail-custom-rule.hbs
deleted file mode 100644
index 8bd8ba0893c..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-detail-custom-rule.hbs
+++ /dev/null
@@ -1,26 +0,0 @@
-<td class="coding-rules-detail-custom-rule-name">
- <a class="nolink" href="#rule_key={{key}}">{{name}}</a>
-</td>
-
-<td class="coding-rules-detail-custom-rule-severity">
- {{severityIcon severity}} {{t "severity" severity}}
-</td>
-
-<td class="coding-rules-detail-custom-rule-parameters">
- {{#each parameters}}
- <div class="coding-rules-detail-custom-rule-parameter">
- <span class="key">{{key}}</span><span class="sep">:&nbsp;</span><span class="value" title="{{value}}">{{value}}</span>
- </div>
- {{/each}}
- &nbsp;
-</td>
-
-{{#if canWrite}}
-<td class="coding-rules-detail-custom-rule-actions">
- <div class="button-group">
- <button class="coding-rules-detail-custom-rule-delete button-red">
- {{t 'delete'}}
- </button>
- </div>
-</td>
-{{/if}}
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-detail-quality-profile.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-detail-quality-profile.hbs
deleted file mode 100644
index 9f398ea3f2c..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-detail-quality-profile.hbs
+++ /dev/null
@@ -1,77 +0,0 @@
-<table class="width100">
- <tbody>
- <tr>
- <td class="coding-rules-detail-quality-profile-name">
- {{name}}
- {{#if parent}}
- <div class="coding-rules-detail-quality-profile-inheritance">
- {{#eq inherit 'OVERRIDES'}}
- <i class="icon-inheritance" title="{{tp 'coding_rules.overrides' name parent.name}}"></i>
- {{/eq}}
- {{#eq inherit 'INHERITED'}}
- <i class="icon-inheritance" title="{{tp 'coding_rules.inherits' name parent.name}}"></i>
- {{/eq}}
- {{parent.name}}
- </div>
- {{/if}}
- </td>
-
- {{#if severity}}
- <td class="coding-rules-detail-quality-profile-severity">
- {{severityIcon severity}} {{t "severity" severity}}
- {{#if parent}}{{#notEq severity parent.severity}}
- <div class="coding-rules-detail-quality-profile-inheritance">
- {{t 'coding_rules.original'}}&nbsp;{{t 'severity' parent.severity}}
- </div>
- {{/notEq}}{{/if}}
- </td>
-
- {{#unless templateKey}}
- <td class="coding-rules-detail-quality-profile-parameters">
- {{#each parameters}}
- <div class="coding-rules-detail-quality-profile-parameter">
- <span class="key">{{key}}</span><span class="sep">:&nbsp;</span><span class="value" title="{{value}}">{{value}}</span>
- {{#if ../parent}}{{#notEq value original}}
- <div class="coding-rules-detail-quality-profile-inheritance">
- {{t 'coding_rules.original'}}&nbsp;<span class="value">{{original}}</span>
- </div>
- {{/notEq}}{{/if}}
- </div>
- {{/each}}
- &nbsp;
- </td>
- {{/unless}}
-
- {{#if canWrite}}
- <td class="coding-rules-detail-quality-profile-actions">
- <div class="button-group">
- {{#unless isTemplate}}
- <button class="coding-rules-detail-quality-profile-change">{{t 'change_verb'}}</button>
- {{/unless}}
- {{#if parent}}
- {{#eq inherit 'OVERRIDES'}}
- <button class="coding-rules-detail-quality-profile-revert button-red">
- {{t 'coding_rules.revert_to_parent_definition'}}
- </button>
- {{/eq}}
- {{else}}
- <button class="coding-rules-detail-quality-profile-deactivate button-red">
- {{t 'coding_rules.deactivate'}}
- </button>
- {{/if}}
- </div>
- </td>
- {{/if}}
-
- {{else}}
- {{#if canWrite}}{{#unless isTemplate}}
- <td class="coding-rules-detail-quality-profile-actions">
- <div class="button-group">
- <button class="coding-rules-detail-quality-profile-activate">{{t 'coding_rules.activate'}}</button>
- </div>
- </td>
- {{/unless}}{{/if}}
- {{/if}}
- </tr>
- </tbody>
-</table>
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs
deleted file mode 100644
index d2ae4a8a2b6..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs
+++ /dev/null
@@ -1,156 +0,0 @@
-<div class="coding-rules-detail-context"></div>
-
-<h3 class="coding-rules-detail-header">
- {{name}}
- <a class="coding-rules-detail-permalink" href="#rule_key={{key}}">
- <i class="icon-link"></i> {{t 'coding_rules.permalink'}}
- </a>
-</h3>
-<span class="subtitle">{{key}}</span>
-
-<ul class="coding-rules-detail-properties">
- {{#unless isManual}}
- <li class="coding-rules-detail-property">{{severityIcon severity}} {{t "severity" severity}}</li>
- {{/unless}}
- {{#notEq status 'READY'}}
- <li class="coding-rules-detail-property">
- <span class="coding-rules-detail-status">{{status}}</span>
- </li>
- {{/notEq}}
-
-
- <li class="coding-rules-detail-property coding-rules-detail-tag-list {{#if canWrite}}coding-rules-detail-tags-change{{/if}}">
- <i class="icon-tags"></i>
- <span>{{#if allTags}}{{join allTags ', '}}{{else}}{{t 'coding_rules.no_tags'}}{{/if}}</span>
- </li>
- {{#if canWrite}}<li class="coding-rules-detail-property coding-rules-detail-tag-edit">
- {{#if sysTags}}<i class="icon-tags"></i>
- <span>{{join sysTags ', '}}</span>{{/if}}
- <input class="coding-rules-detail-tag-input" type="text" value="{{#if tags}}{{join tags ','}}{{/if}}">
-
- <div class="button-group">
- <button class="coding-rules-detail-tag-edit-done">{{t 'Done'}}</button>
- </div>
- </li>{{/if}}
-
-
- <li class="coding-rules-detail-property">{{subcharacteristic}}</li>
- <li class="coding-rules-detail-property">{{t 'coding_rules.available_since'}} {{d createdAt}}</li>
- <li class="coding-rules-detail-property">{{repository}}{{#unless isManual}} ({{language}}){{/unless}}</li>
-
- {{#if isTemplate}}
- <li class="coding-rules-detail-property" title="{{t 'coding_rules.rule_template.title'}}">{{t 'coding_rules.rule_template'}}</li>
- {{/if}}
- {{#if templateKey}}
- <li class="coding-rules-detail-property" title="{{t 'coding_rules.custom_rule.title'}}">{{t 'coding_rules.custom_rule'}}
- (<a href="#rule_key={{templateKey}}">{{t 'coding_rules.show_template'}}</a>)
- </li>
- {{/if}}
-</ul>
-
-<div class="coding-rules-detail-description rule-desc markdown">{{{htmlDesc}}}</div>
-
-{{#if templateKey}}
- {{#if canWrite}}
- <div class="coding-rules-detail-description">
- <div class="button-group">
- <button id="coding-rules-detail-custom-rule-change">{{t 'edit'}}</button>
- <button id="coding-rules-detail-custom-rule-delete" class="button-red">{{t 'delete'}}</button>
- </div>
- </div>
- {{/if}}
-{{else}}
- {{#unless isManual}}
- <div class="coding-rules-detail-description coding-rules-detail-description-extra">
- <div id="coding-rules-detail-description-extra">
- {{#if htmlNote}}
- <div class="rule-desc marginbottom10 markdown">{{{htmlNote}}}</div>{{/if}}
- {{#if canWrite}}<div class="button-group">
- <button id="coding-rules-detail-extend-description">{{t 'coding_rules.extend_description'}}</button>
- </div>{{/if}}
- </div>
-
- {{#if canWrite}}<div class="coding-rules-detail-extend-description-form">
- <table class="width100">
- <tbody>
- <tr>
- <td class="width100" colspan="2">
- <textarea id="coding-rules-detail-extend-description-text" rows="4"
- style="width: 100%; margin-bottom: 4px;">{{mdNote}}</textarea>
- </td>
- </tr>
- <tr>
- <td>
- <div class="button-group">
- <button id="coding-rules-detail-extend-description-submit">{{t 'save'}}</button>
- {{#if mdNote}}
- <button id="coding-rules-detail-extend-description-remove" class="button-red">{{t 'remove'}}</button>
- {{/if}}
- </div>
- <a id="coding-rules-detail-extend-description-cancel" class="action">{{t 'cancel'}}</a>
- </td>
- <td class="right">
- {{> '_markdown-tips' }}
- </td>
- </tr>
- </tbody>
- </table>
- </div>
-
- <div id="coding-rules-detail-extend-description-spinner">
- <i class="spinner"></i>
- </div>{{/if}}
- </div>
- {{/unless}}
-{{/if}}
-
-
-{{#if params}}
- <h3 class="coding-rules-detail-title">{{t 'coding_rules.parameters'}}</h3>
- <ul class="coding-rules-detail-parameters">
- {{#each params}}
- <li class="coding-rules-detail-parameter">
- <h3 class="coding-rules-detail-parameter-name">{{key}}</h3>
-
- <div class="coding-rules-detail-parameter-description">
- {{#if ../../templateKey}}
- <span class="value">{{defaultValue}}</span>
- {{else}}
- <div class="coding-rules-detail-parameter-description">
- {{desc}}
- {{#if defaultValue}}
- <div>
- {{t 'coding_rules.parameters.default_value'}} {{defaultValue}}
- </div>
- {{/if}}
- </div>
- {{/if}}
- </li>
- {{/each}}
- </ul>
-{{/if}}
-
-{{#if isTemplate}}
-<div class="coding-rules-detail-custom-rules-section">
- <h3 class="coding-rules-detail-title">{{t 'coding_rules.custom_rules'}}</h3>
-
- {{#if canWrite}}<div class="button-group coding-rules-detail-quality-profiles-activation">
- <button id="coding-rules-custom-rules-create">{{t 'coding_rules.create'}}</button>
- </div>{{/if}}
- <div id="coding-rules-detail-custom-rules"></div>
-</div>
-{{/if}}
-
-{{#if qualityProfilesVisible}}
-<div class="coding-rules-detail-quality-profiles-section">
- <h3 class="coding-rules-detail-title">{{t 'coding_rules.quality_profiles'}}</h3>
-
- {{#if canWrite}}{{#unless isTemplate}}<div class="button-group coding-rules-detail-quality-profiles-activation">
- <button id="coding-rules-quality-profile-activate">{{t 'coding_rules.activate'}}</button>
- </div>{{/unless}}{{/if}}
- {{#if isTemplate}}
- <div class="coding-rules-detail-quality-profiles-template-caption warning">{{t 'coding_rules.quality_profiles.template_caption'}}</div>
- {{/if}}
- <div id="coding-rules-detail-quality-profiles"></div>
-</div>
-{{/if}}
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-facets.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-facets.hbs
deleted file mode 100644
index 2bb6a7593d4..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-facets.hbs
+++ /dev/null
@@ -1,20 +0,0 @@
-<div class="navigator-facets-list">
- {{#unless items}}
- {{t 'coding_rules.no_results'}}
- {{/unless}}
- {{#each items}}
- <div class="navigator-facets-list-item" data-property="{{property}}">
- <div class="navigator-facets-list-item-name">{{t property_message}}</div>
- <div class="navigator-facets-list-item-options">
- {{#each values}}
- {{#if count}}
- <a class="navigator-facets-list-item-option" data-key="{{val}}" data-property="{{../property}}">
- <span class="navigator-facets-list-item-option-name">{{text}}</span>
- <span class="navigator-facets-list-item-option-stat">{{count}}</span>
- </a>
- {{/if}}
- {{/each}}
- </div>
- </div>
- {{/each}}
-</div>
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-filter-bar.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-filter-bar.hbs
deleted file mode 100644
index 2e0f52a1b21..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-filter-bar.hbs
+++ /dev/null
@@ -1,2 +0,0 @@
-<div class="navigator-filters-list"></div>
-<button class="navigator-filter-submit">{{t 'search_verb'}}</button> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-header.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-header.hbs
deleted file mode 100644
index 598ded5a8a6..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-header.hbs
+++ /dev/null
@@ -1,5 +0,0 @@
-<h1 class="navigator-header-title">{{t 'coding_rules.page'}}</h1>
-
-<div class="navigator-header-actions button-group">
- <button id="coding-rules-new-search">{{t 'coding_rules.new_search'}}</button>
-</div>
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-layout.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-layout.hbs
deleted file mode 100644
index d824a27fb19..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-layout.hbs
+++ /dev/null
@@ -1,16 +0,0 @@
-<div class="navigator-header"></div>
-<div class="navigator-filters"></div>
-<div class="navigator-facets"></div>
-
-<div class="navigator-content">
- <div class="navigator-side">
- <div style="position:relative; overflow: visible; height: 100%;">
- <div class="navigator-actions"></div>
- <div class="navigator-results"></div>
- <a class="navigator-resizer"><i class="icon-resizer"></i></a>
- </div>
- </div>
- <div class="navigator-main">
- <div class="navigator-details"></div>
- </div>
-</div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-list-empty.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-list-empty.hbs
deleted file mode 100644
index 75e2daf75af..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-list-empty.hbs
+++ /dev/null
@@ -1 +0,0 @@
-{{t 'coding_rules.no_results'}} \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-list-item.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-list-item.hbs
deleted file mode 100644
index 00ec5d80d9d..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-list-item.hbs
+++ /dev/null
@@ -1,5 +0,0 @@
-<div class="line line-small">
- <span class="coding-rules-detail-status">{{language}}</span>
- <div class="line-right">{{#notEq status 'READY'}}{{status}}{{/notEq}}</div>
-</div>
-<div class="line line-nowrap" title="{{name}}" name="{{key}}">{{name}}</div>
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-profile-filter-detail.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-profile-filter-detail.hbs
deleted file mode 100644
index 7bc3562578d..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-profile-filter-detail.hbs
+++ /dev/null
@@ -1,10 +0,0 @@
-<li>
- <label title="{{id}}">
- <input type="checkbox" value="{{id}}" {{#if checked}}checked{{/if}}>
- <span>
- {{text}}
- <br>
- <span class="subtitle">{{language}}</span>
- </span>
- </label>
-</li>
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-quality-profile-activation.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-quality-profile-activation.hbs
deleted file mode 100644
index d604642ce4e..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-quality-profile-activation.hbs
+++ /dev/null
@@ -1,65 +0,0 @@
-<form>
- <div class="modal-head">
- {{#if change}}
- <h2>{{t 'coding_rules.change_details'}}</h2>
- {{else}}
- <h2>{{t 'coding_rules.activate_in_quality_profile'}}</h2>
- {{/if}}
- </div>
-
- <div class="modal-body modal-body-select2">
- <div class="modal-error"></div>
-
- <table>
- <tr class="property">
- <th><h3>{{t 'coding_rules.quality_profile'}}</h3></th>
- <td>
- {{#if key}}
- {{name}}
- {{else}}
- <select id="coding-rules-quality-profile-activation-select">
- {{#each qualityProfiles}}
- <option value="{{key}}">{{name}}</option>
- {{/each}}
- </select>
- {{/if}}
- </td>
- </tr>
- <tr class="property">
- <th><h3>{{t 'severity'}}</h3></th>
- <td>
- <select id="coding-rules-quality-profile-activation-severity">
- {{#each severities}}
- <option value="{{this}}">{{t 'severity' this}}</option>
- {{/each}}
- </select>
- </td>
- </tr>
- {{#unless isCustomRule}}
- {{#each params}}
- <tr class="property">
- <th><h3>{{key}}</h3></th>
- <td>
- {{#eq type 'TEXT'}}
- <textarea class="width100" rows="3" name="{{key}}" placeholder="{{defaultValue}}">{{value}}</textarea>
- {{else}}
- <input type="text" name="{{key}}" value="{{value}}" placeholder="{{defaultValue}}">
- {{/eq}}
- <div class="note">{{description}}</div>
- {{#if extra}}
- <div class="note">{{extra}}</div>
- {{/if}}
- </td>
- </tr>
- {{/each}}
- {{/unless}}
- </table>
- </div>
-
- <div class="modal-foot">
- <button id="coding-rules-quality-profile-activation-activate" {{#unless saveEnabled}}disabled="disabled"{{/unless}}>
- {{#if change}}{{t 'save'}}{{else}}{{t 'coding_rules.activate'}}{{/if}}
- </button>
- <a id="coding-rules-quality-profile-activation-cancel" class="action">{{t 'cancel'}}</a>
- </div>
-</form>
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-query-filter.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-query-filter.hbs
deleted file mode 100644
index 392a69042f2..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-query-filter.hbs
+++ /dev/null
@@ -1,3 +0,0 @@
-<input type="text"
- size="{{size}}" name="{{property}}" value="{{value}}"
- class="query-filter-input"/>
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-repository-detail.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-repository-detail.hbs
deleted file mode 100644
index cb7bc8ad149..00000000000
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-repository-detail.hbs
+++ /dev/null
@@ -1,12 +0,0 @@
-<li>
- <label title="{{id}}">
- <input type="checkbox" value="{{id}}" {{#if checked}}checked{{/if}}>
- <span>
- {{text}}
- {{#if language}}
- <br>
- <span class="subtitle">{{language}}</span>
- {{/if}}
- </span>
- </label>
-</li>
diff --git a/sonar-server/src/main/hbs/component-viewer/code-expand.hbs b/sonar-server/src/main/hbs/component-viewer/code-expand.hbs
deleted file mode 100644
index 0bfd7428146..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/code-expand.hbs
+++ /dev/null
@@ -1,16 +0,0 @@
-<tr class="row row-expand">
- {{#if settings.coverage}}
- <td class="stat coverage-tests"></td>
- <td class="stat coverage-conditions"></td>
- {{/if}}
- {{#if settings.duplications}}
- <td class="stat"></td>
- {{/if}}
- {{#if settings.scm}}
- <td class="stat"></td>
- {{/if}}
- <td class="stat lid">
- <button class="button-clean js-expand" data-from="{{from}}" data-to="{{to}}"><i class="icon-expand"></i></button>
- </td>
- <td class="line"></td>
-</tr>
diff --git a/sonar-server/src/main/hbs/component-viewer/coveragePopup.hbs b/sonar-server/src/main/hbs/component-viewer/coveragePopup.hbs
deleted file mode 100644
index dc559ea3edd..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/coveragePopup.hbs
+++ /dev/null
@@ -1,27 +0,0 @@
-<div class="component-viewer-popup-container">
- <div class="component-viewer-popup-title">{{t 'component_viewer.transition.coverage'}}</div>
-
- {{#each testFiles}}
- <div class="component-viewer-popup-section">
- <a class="component-viewer-popup-test-file link-action" data-key="{{file.key}}" title="{{file.longName}}">
- {{file.longName}}
- </a>
- <ul class="component-viewer-popup-list">
- {{#each tests}}
- <li class="component-viewer-popup-test" title="{{name}}">
- <i class="component-viewer-popup-test-status {{testStatusIconClass status}}"></i>
- <span class="component-viewer-popup-test-name">
- <a class="component-viewer-popup-test-file link-action" title="{{name}}"
- data-key="{{../file.key}}" data-method="{{name}}">
- {{name}}
- </a>
- </span>
- <span class="component-viewer-popup-test-duration">{{durationInMs}}ms</span>
- </li>
- {{/each}}
- </ul>
- </div>
- {{/each}}
-</div>
-
-<div class="component-viewer-popup-arrow"></div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/component-viewer/duplicationPopup.hbs b/sonar-server/src/main/hbs/component-viewer/duplicationPopup.hbs
deleted file mode 100644
index 4444ac429c2..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/duplicationPopup.hbs
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="component-viewer-popup-container">
- <div class="component-viewer-popup-title">{{t 'component_viewer.transition.duplication'}}</div>
- {{#each duplications}}
- <div class="component-viewer-popup-section">
- {{#notEq file.projectName ../component.projectName}}
- <span class="component-viewer-popup-label">{{file.projectName}}</span>
- {{/notEq}}
- <a class="link-action" data-key="{{file.key}}" title="{{file.name}}">
- {{file.name}}
- </a>
-
- <div class="component-viewer-popup-duplications">
- Lines:
- {{#joinEach blocks ','}}
- <a class="link-action" data-key="{{../file.key}}" data-line="{{from}}">
- {{from}} – {{sum from size}}
- </a>
- {{/joinEach}}
- </div>
- </div>
- {{else}}
- {{t 'duplications.block_was_duplicated_by_a_deleted_resource'}}
- {{/each}}
-</div>
-
-<div class="component-viewer-popup-arrow"></div>
diff --git a/sonar-server/src/main/hbs/component-viewer/header.hbs b/sonar-server/src/main/hbs/component-viewer/header.hbs
deleted file mode 100644
index 5f6619ce5b6..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/header.hbs
+++ /dev/null
@@ -1,139 +0,0 @@
-<div class="component-viewer-header-bar">
- <div class="component-viewer-header-component">
- {{#unless state.removed}}
- {{#if component.projectName}}
- <div class="component-viewer-header-component-project">
- {{qualifierIcon 'TRK'}}
- <a class="link-action" href="{{dashboardUrl component.project}}">{{component.projectName}}</a>
- {{#if component.subProjectName}}
- / <a class="link-action" href="{{dashboardUrl component.subProject}}">{{component.subProjectName}}</a>
- {{/if}}
- </div>
- {{/if}}
-
- <div class="component-viewer-header-component-name">
- {{qualifierIcon component.q}} {{default component.path component.longName}}
-
- {{#if state.canMarkAsFavourite}}
- <a class="js-favorite component-viewer-header-favorite"
- title="{{#if component.fav}}{{t 'click_to_remove_from_favorites'}}{{else}}{{t 'click_to_add_to_favorites'}}{{/if}}">
- <i class="{{#if component.fav}}icon-favorite{{else}}icon-not-favorite{{/if}}"></i>
- </a>
- {{/if}}
- </div>
- {{else}}
- <div class="component-viewer-header-component-project removed">{{state.removedMessage}}</div>
- {{/unless}}
- </div>
-
- {{#unless state.removed}}
- <a class="js-actions component-viewer-header-actions" title="{{t 'component_viewer.more_actions'}}">
- <i class="icon-list"></i>
- </a>
-
- <div class="component-viewer-header-measures">
- {{#if component.isUnitTest}}
- <div class="component-viewer-header-measures-scope">
- <a data-scope="tests" class="component-viewer-header-measures-expand js-header-tab-tests">
- <div class="component-viewer-header-measure">
- <span class="component-viewer-header-measure-value">{{component.measures.fTests}}</span>
- <span class="component-viewer-header-measure-label">{{t 'metric.tests.name'}}</span>
- </div>
- <i class="icon-dropdown"></i>
- </a>
- </div>
- {{/if}}
-
- {{#unless component.isUnitTest}}
- <div class="component-viewer-header-measures-scope">
- <span data-scope="basic" class="js-toggle-coverage component-viewer-header-measures-toggle-scope inactive"></span>
- <a data-scope="basic" class="component-viewer-header-measures-expand js-header-tab-basic">
- <div class="component-viewer-header-measure">
- <span class="component-viewer-header-measure-value">{{default component.measures.fNcloc '–'}}</span>
- <span class="component-viewer-header-measure-label">{{t 'metric.ncloc.name'}}</span>
- </div>
- <i class="icon-dropdown"></i>
- </a>
- </div>
- {{/unless}}
-
- <div class="component-viewer-header-measures-scope">
- <a data-scope="issues" class="component-viewer-header-measures-expand js-header-tab-issues">
- <div class="component-viewer-header-measure">
- <span class="component-viewer-header-measure-value">{{default component.measures.fDebt '0'}}</span>
- <span class="component-viewer-header-measure-label">{{t 'component_viewer.header.debt'}}</span>
- </div>
- {{#if component.measures.fIssues}}
- <div class="component-viewer-header-measure">
- <span class="component-viewer-header-measure-value">{{component.measures.fIssues}}</span>
- <span class="component-viewer-header-measure-label">{{t 'metric.violations.name'}}</span>
- </div>
- {{/if}}
- {{#if component.measures.fIssues}}
- <div class="component-viewer-header-measure">
- <div class="component-viewer-header-measure-issues">
- <div class="component-viewer-header-measure-issue s-blocker"
- style="width: {{percent component.measures.fBlockerIssues component.measures.maxIssues}};"></div>
- <div class="component-viewer-header-measure-issue s-critical"
- style="width: {{percent component.measures.fCriticalIssues component.measures.maxIssues}};"></div>
- <div class="component-viewer-header-measure-issue s-major"
- style="width: {{percent component.measures.fMajorIssues component.measures.maxIssues}};"></div>
- <div class="component-viewer-header-measure-issue s-minor"
- style="width: {{percent component.measures.fMinorIssues component.measures.maxIssues}};"></div>
- <div class="component-viewer-header-measure-issue s-info"
- style="width: {{percent component.measures.fInfoIssues component.measures.maxIssues}};"></div>
- </div>
- </div>
- {{/if}}
- <i class="icon-dropdown"></i>
- </a>
- <a data-scope="issues" title="{{t 'component_viewer.header.toggle_issues'}}"
- class="js-toggle-issues component-viewer-header-measures-toggle-scope {{#if settings.issues}}active{{/if}}"></a>
- </div>
-
- {{#inArray state.tabs 'coverage'}}
- <div class="component-viewer-header-measures-scope">
- <a data-scope="coverage" class="component-viewer-header-measures-expand js-header-tab-coverage">
- <div class="component-viewer-header-measure">
- <span class="component-viewer-header-measure-value">{{default component.measures.fCoverage '–'}}</span>
- <span class="component-viewer-header-measure-label">{{t 'metric.coverage.name'}}</span>
- </div>
- <i class="icon-dropdown"></i>
- </a>
- <a data-scope="coverage" title="{{t 'component_viewer.header.toggle_coverage'}}"
- class="js-toggle-coverage component-viewer-header-measures-toggle-scope {{#if settings.coverage}}active{{/if}}"></a>
- </div>
- {{/inArray}}
-
- {{#inArray state.tabs 'duplications'}}
- <div class="component-viewer-header-measures-scope">
- <a data-scope="duplications" class="component-viewer-header-measures-expand js-header-tab-duplications">
- <div class="component-viewer-header-measure">
- <span class="component-viewer-header-measure-value">{{default component.measures.fDuplicationDensity '–'}}</span>
- <span class="component-viewer-header-measure-label">{{t 'metric.duplicated_lines_density.name'}}</span>
- </div>
- <i class="icon-dropdown"></i>
- </a>
- <a data-scope="duplications" title="{{t 'component_viewer.header.toggle_duplications'}}"
- class="js-toggle-duplications component-viewer-header-measures-toggle-scope {{#if settings.duplications}}active{{/if}}"></a>
- </div>
- {{/inArray}}
-
- {{#inArray state.tabs 'scm'}}
- <div class="component-viewer-header-measures-scope">
- <a data-scope="scm" class="component-viewer-header-measures-expand js-header-tab-scm">
- <div class="component-viewer-header-measure">
- <span class="component-viewer-header-measure-value"><i class="icon-calendar"></i></span>
- <span class="component-viewer-header-measure-label">SCM</span>
- </div>
- <i class="icon-dropdown"></i>
- </a>
- <a data-scope="scm" title="{{t 'component_viewer.header.toggle_scm'}}"
- class="js-toggle-scm component-viewer-header-measures-toggle-scope {{#if settings.scm}}active{{/if}}"></a>
- </div>
- {{/inArray}}
- </div>
- {{/unless}}
-</div>
-
-<div class="component-viewer-header-expanded-bar"></div>
diff --git a/sonar-server/src/main/hbs/component-viewer/header/_header-item.hbs b/sonar-server/src/main/hbs/component-viewer/header/_header-item.hbs
deleted file mode 100644
index dba69216aaf..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/header/_header-item.hbs
+++ /dev/null
@@ -1,4 +0,0 @@
-<li><span class="item" data-metric="{{label}}">
- <span class="label">{{t 'metric' label 'name'}}</span>
- <span class="number">{{value}}</span>
-</span></li> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/component-viewer/header/_header-link.hbs b/sonar-server/src/main/hbs/component-viewer/header/_header-link.hbs
deleted file mode 100644
index 70f66492319..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/header/_header-link.hbs
+++ /dev/null
@@ -1,5 +0,0 @@
-<li><a class="item {{cl}}" data-metric="{{label}}">
- <span class="label">{{t 'metric' label 'name'}}</span>
- <span class="number">{{value}}</span>
- <i class="icon-chevron-right"></i>
-</a></li> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/component-viewer/header/basic-header.hbs b/sonar-server/src/main/hbs/component-viewer/header/basic-header.hbs
deleted file mode 100644
index 0e9a93367b2..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/header/basic-header.hbs
+++ /dev/null
@@ -1,48 +0,0 @@
-{{#with component.measures}}
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{t 'component_viewer.measure_section.size'}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{{componentViewerHeaderItem lines 'lines'}}}
- {{{componentViewerHeaderItem ncloc 'ncloc'}}}
- {{{componentViewerHeaderItem generated_lines 'generated_lines'}}}
- {{{componentViewerHeaderItem generated_ncloc 'generated_ncloc'}}}
- </ul>
- </div>
-
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{t 'component_viewer.measure_section.complexity'}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{{componentViewerHeaderItem complexity 'complexity'}}}
- {{{componentViewerHeaderItem function_complexity 'function_complexity'}}}
- </ul>
- </div>
-
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{t 'component_viewer.measure_section.structure'}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{{componentViewerHeaderItem classes 'classes'}}}
- {{{componentViewerHeaderItem functions 'functions'}}}
- {{{componentViewerHeaderItem accessors 'accessors'}}}
- {{{componentViewerHeaderItem statements 'statements'}}}
- </ul>
- </div>
-
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{t 'component_viewer.measure_section.documentation'}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{{componentViewerHeaderItem comment_lines 'comment_lines'}}}
- {{{componentViewerHeaderItem comment_lines_density 'comment_lines_density'}}}
- {{{componentViewerHeaderItem public_api 'public_api'}}}
- {{{componentViewerHeaderItem public_undocumented_api 'public_undocumented_api'}}}
- {{{componentViewerHeaderItem public_documented_api_density 'public_documented_api_density'}}}
- </ul>
- </div>
-{{/with}} \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/component-viewer/header/coverage-header.hbs b/sonar-server/src/main/hbs/component-viewer/header/coverage-header.hbs
deleted file mode 100644
index f43fcf32b12..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/header/coverage-header.hbs
+++ /dev/null
@@ -1,109 +0,0 @@
-{{#if state.hasSource}}
- <div class="component-viewer-header-time-changes">
- <a class="highlighted-link js-coverage-time-changes">
- {{#if period}}Δ {{period.label}}{{else}}<i class="icon-period"></i> {{t 'component_viewer.time_changes'}}{{/if}}
- </a>
- </div>
-{{/if}}
-
-{{#with component.measures}}
- {{#any coverage line_coverage lines_to_cover covered_lines uncovered_lines branch_coverage conditions_to_cover covered_conditions uncovered_conditions it_coverage it_line_coverage it_lines_to_cover it_covered_lines it_uncovered_lines it_branch_coverage it_conditions_to_cover it_covered_conditions it_uncovered_conditions}}
- {{else}}
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{t 'component_viewer.no_coverage'}}
- </div>
- {{/any}}
-
- <span class="nowrap">
- {{#any coverage line_coverage lines_to_cover covered_lines uncovered_lines}}
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{t 'component_viewer.measure_section.unit_tests'}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{{componentViewerHeaderItem coverage 'coverage'}}}
- {{{componentViewerHeaderItem line_coverage 'line_coverage'}}}
- {{#if ../../state.hasSource}}
- {{{componentViewerHeaderLink lines_to_cover 'lines_to_cover' 'js-filter-lines-to-cover'}}}
- {{{componentViewerHeaderLink uncovered_lines 'uncovered_lines' 'js-filter-uncovered-lines'}}}
- {{else}}
- {{{componentViewerHeaderItem lines_to_cover 'lines_to_cover'}}}
- {{{componentViewerHeaderItem uncovered_lines 'uncovered_lines'}}}
- {{/if}}
- </ul>
- </div>
- {{/any}}
-
- {{#any branch_coverage conditions_to_cover covered_conditions uncovered_conditions}}
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{#any coverage line_coverage lines_to_cover covered_lines uncovered_lines}}
- &nbsp;
- {{else}}
- {{t 'component_viewer.measure_section.unit_tests'}}
- {{/any}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{#any coverage line_coverage lines_to_cover covered_lines uncovered_lines}}
- <li><span class="item">&nbsp;</span></li>
- {{/any}}
- {{{componentViewerHeaderItem branch_coverage 'branch_coverage'}}}
- {{#if ../../state.hasSource}}
- {{{componentViewerHeaderLink conditions_to_cover 'conditions_to_cover' 'js-filter-branches-to-cover'}}}
- {{{componentViewerHeaderLink uncovered_conditions 'uncovered_conditions' 'js-filter-uncovered-branches'}}}
- {{else}}
- {{{componentViewerHeaderItem conditions_to_cover 'conditions_to_cover'}}}
- {{{componentViewerHeaderItem uncovered_conditions 'uncovered_conditions'}}}
- {{/if}}
- </ul>
- </div>
- {{/any}}
- </span>
-
- <span class="nowrap">
- {{#any it_coverage it_line_coverage it_lines_to_cover it_covered_lines it_uncovered_lines}}
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{t 'component_viewer.measure_section.integration_tests'}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{{componentViewerHeaderItem it_coverage 'coverage'}}}
- {{{componentViewerHeaderItem it_line_coverage 'line_coverage'}}}
- {{#if ../../state.hasSource}}
- {{{componentViewerHeaderLink it_lines_to_cover 'lines_to_cover' 'js-filter-lines-to-cover-it'}}}
- {{{componentViewerHeaderLink it_uncovered_lines 'uncovered_lines' 'js-filter-uncovered-lines-it'}}}
- {{else}}
- {{{componentViewerHeaderItem it_lines_to_cover 'lines_to_cover'}}}
- {{{componentViewerHeaderItem it_uncovered_lines 'uncovered_lines'}}}
- {{/if}}
- </ul>
- </div>
- {{/any}}
-
- {{#any it_branch_coverage it_conditions_to_cover it_covered_conditions it_uncovered_conditions}}
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{#any it_coverage it_line_coverage it_lines_to_cover it_covered_lines it_uncovered_lines}}
- &nbsp;
- {{else}}
- {{t 'component_viewer.measure_section.integration_tests'}}
- {{/any}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{#any it_coverage it_line_coverage it_lines_to_cover it_covered_lines it_uncovered_lines}}
- <li><span class="item">&nbsp;</span></li>
- {{/any}}
- {{{componentViewerHeaderItem it_branch_coverage 'branch_coverage'}}}
- {{#if ../../state.hasSource}}
- {{{componentViewerHeaderLink it_conditions_to_cover 'conditions_to_cover' 'js-filter-branches-to-cover-it'}}}
- {{{componentViewerHeaderLink it_uncovered_conditions 'uncovered_conditions' 'js-filter-uncovered-branches-it'}}}
- {{else}}
- {{{componentViewerHeaderItem it_conditions_to_cover 'conditions_to_cover'}}}
- {{{componentViewerHeaderItem it_uncovered_conditions 'uncovered_conditions'}}}
- {{/if}}
- </ul>
- </div>
- {{/any}}
- </span>
-{{/with}}
diff --git a/sonar-server/src/main/hbs/component-viewer/header/covered-files-popup.hbs b/sonar-server/src/main/hbs/component-viewer/header/covered-files-popup.hbs
deleted file mode 100644
index f4cd043fe03..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/header/covered-files-popup.hbs
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="component-viewer-popup-container">
-
- {{#notEq test.status 'ERROR'}}
- <div class="component-viewer-popup-title">{{t 'component_viewer.transition.covers'}}</div>
- {{#each items}}
- <div class="component-viewer-popup-section">
- <a class="component-viewer-popup-test-file link-action" data-key="{{key}}" title="{{name}}">{{name}}</a>
- <span class="subtitle">{{tp 'component_viewer.x_lines_are_covered' coveredLines}}</span>
- <br><span class="subtitle" title="{{dir}}">{{dir}}</span>
- </div>
- {{else}}
- {{t 'none'}}
- {{/each}}
- {{/notEq}}
-
- {{#notEq test.status 'OK'}}
- <div class="component-viewer-popup-title">{{t 'component_viewer.details'}}</div>
- {{#if test.message}}
- <pre>{{test.message}}</pre>
- {{/if}}
- <pre>{{test.stackTrace}}</pre>
- {{/notEq}}
-
-</div>
-
-<div class="component-viewer-popup-arrow"></div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/component-viewer/header/duplications-header.hbs b/sonar-server/src/main/hbs/component-viewer/header/duplications-header.hbs
deleted file mode 100644
index f6f599f97fe..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/header/duplications-header.hbs
+++ /dev/null
@@ -1,13 +0,0 @@
-{{#with component.measures}}
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">{{t 'duplications'}}</div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{#if ../state.hasSource}}
- {{{componentViewerHeaderLink duplicated_blocks 'duplicated_blocks' 'js-filter-duplications'}}}
- {{else}}
- {{{componentViewerHeaderItem duplicated_blocks 'duplicated_blocks'}}}
- {{/if}}
- {{{componentViewerHeaderItem duplicated_lines 'duplicated_lines'}}}
- </ul>
- </div>
-{{/with}} \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/component-viewer/header/issues-header.hbs b/sonar-server/src/main/hbs/component-viewer/header/issues-header.hbs
deleted file mode 100644
index 8729e3714b9..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/header/issues-header.hbs
+++ /dev/null
@@ -1,100 +0,0 @@
-{{#if state.hasSource}}
- <div class="component-viewer-header-time-changes">
- <a class="link-action js-issues-time-changes">
- {{#if period}}{{t 'component_viewer.added'}} {{period.label}}{{else}}<i class="icon-period"></i> {{t 'component_viewer.time_changes'}}{{/if}}
- </a>
- </div>
-{{/if}}
-
-<div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{#if hasIssues}}{{t 'component_viewer.measure_section.resolutions'}}{{else}}{{t 'component_viewer.no_issues'}}{{/if}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{#if currentIssue}}
- <li><a class="item js-filter-current-issue">
- <span>{{t 'component_viewer.issues.current_issue'}}</span>
- <i class="icon-chevron-right"></i>
- </a></li>
- {{/if}}
- {{#unless state.removed}}
- <li><a class="item js-filter-unresolved-issues">
- <span>{{t 'component_viewer.issues.unresolved_issues'}}</span>
- <i class="icon-chevron-right"></i>
- </a></li>
- {{/unless}}
- {{#unless state.removed}}
- <li><a class="item js-filter-fixed-issues">
- <span>{{t 'component_viewer.issues.fixed_issues'}}</span>
- <i class="icon-chevron-right"></i>
- </a></li>
- {{/unless}}
- {{#unless state.removed}}
- <li><a class="item js-filter-false-positive-issues">
- <span>{{t 'component_viewer.issues.false_positive_issues'}}</span>
- <i class="icon-chevron-right"></i>
- </a></li>
- {{/unless}}
- </ul>
-</div>
-
-{{#ifNotEmpty state.severities}}
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{t 'component_viewer.measure_section.severities'}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{#each state.severities}}
- {{#unless ../../state.removed}}
- <li><a class="item js-filter-{{key}}-issues">
- <span>{{severityIcon key}} {{name}}</span>
- <span class="number">{{count}}</span>
- <i class="icon-chevron-right"></i>
- </a></li>
- {{else}}
- <li><span class="item">
- <span>{{severityIcon key}} {{name}}</span>
- <span class="number">{{count}}</span>
- </span></li>
- {{/unless}}
- {{/each}}
- </ul>
- </div>
-{{/ifNotEmpty}}
-
-{{#ifNotEmpty state.rules}}
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{t 'component_viewer.measure_section.rules'}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{#each state.rules}}
- {{#unless ../../state.removed}}
- <li><a class="item js-filter-rule" data-rule="{{key}}" title="{{name}}">
- <span>{{name}}</span>
- <span class="number">{{count}}</span>
- <i class="icon-chevron-right"></i>
- </a></li>
- {{else}}
- <li><span class="item">
- <span>{{name}}</span>
- <span class="number">{{count}}</span>
- </span></li>
- {{/unless}}
- {{/each}}
- </ul>
- </div>
-{{/ifNotEmpty}}
-
-{{#if hasIssues}}
- <div class="component-viewer-header-expanded-bar-section component-viewer-header-expanded-bar-section-actions">
- <div class="component-viewer-header-expanded-bar-section-title">&nbsp;</div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{#if state.canBulkChange}}
- <li><a class="link-action js-issues-bulk-change">
- <span><i class="icon-bulk-change"></i> {{t 'bulk_change'}}</span>
- </a></li>
- {{/if}}
- </ul>
- </div>
-{{/if}}
diff --git a/sonar-server/src/main/hbs/component-viewer/header/scm-header.hbs b/sonar-server/src/main/hbs/component-viewer/header/scm-header.hbs
deleted file mode 100644
index d5802abdd57..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/header/scm-header.hbs
+++ /dev/null
@@ -1,5 +0,0 @@
-<div class="component-viewer-header-time-changes">
- <a class="highlighted-link js-scm-time-changes">
- {{#if period}}Δ {{period.label}}{{else}}<i class="icon-period"></i> {{t 'component_viewer.time_changes'}}{{/if}}
- </a>
-</div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/component-viewer/header/tests-header.hbs b/sonar-server/src/main/hbs/component-viewer/header/tests-header.hbs
deleted file mode 100644
index a1040d7a85b..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/header/tests-header.hbs
+++ /dev/null
@@ -1,78 +0,0 @@
-{{#with component.measures}}
- <span class="nowrap">
- {{#any test_success_density test_failures test_errors test_execution_time}}
- <div class="component-viewer-header-expanded-bar-section">
- <div class="component-viewer-header-expanded-bar-section-title">
- {{t 'component_viewer.measure_section.tests'}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{#if test_success_density}}
- <li><span class="item" data-metric="test_success_density">
- <span class="label">{{t 'metric.test_success_density.short_name'}}</span>
- <span class="number">{{test_success_density}}</span>
- </span></li>
- {{/if}}
- {{#if skipped_tests}}
- <li><span class="item" data-metric="skipped_tests">
- <span class="label">{{t 'metric.skipped_tests.short_name'}}</span>
- <span class="number">{{skipped_tests}}</span>
- </span></li>
- {{/if}}
- {{#if test_failures}}
- <li><span class="item" data-metric="test_failures">
- <span class="label">{{t 'metric.test_failures.short_name'}}</span>
- <span class="number">{{test_failures}}</span>
- </span></li>
- {{/if}}
- {{#if test_errors}}
- <li><span class="item" data-metric="test_errors">
- <span class="label">{{t 'metric.test_errors.short_name'}}</span>
- <span class="number">{{test_errors}}</span>
- </span></li>
- {{/if}}
- {{#if test_execution_time}}
- <li><span class="item" data-metric="test_execution_time">
- <span class="label">{{t 'metric.test_execution_time.short_name'}}</span>
- <span class="number">{{test_execution_time}}</span>
- </span></li>
- {{/if}}
- </ul>
- </div>
- {{/any}}
- </span>
-{{/with}}
-
-<div class="component-viewer-header-expanded-bar-section large">
- <div class="component-viewer-header-expanded-bar-section-title justify">
- <span class="ib">{{t 'component_viewer.measure_section.test_names'}}</span>
- {{#if hasCoveragePerTestData}}
- <span class="ib">{{t 'component_viewer.covered_lines'}}</span>
- {{/if}}
- </div>
- <ul class="component-viewer-header-expanded-bar-section-list">
- {{#each component.tests}}
- {{#eq status 'SKIPPED'}}
- <li><span class="item" title="{{name}}" data-status="{{status}}">
- <span class="label">{{testStatusIcon status}}
- <span class="duration subtitle"></span>
- {{name}}</span>
- </span></li>
- {{else}}
- {{#ifTestData this}}
- <li><a class="item js-unit-test" data-name="{{name}}" data-status="{{status}}" title="{{name}}">
- <span class="label">{{testStatusIcon status}}
- <span class="duration subtitle">{{durationInMs}}ms</span>
- {{name}}</span>
- <span class="number">{{coveredLines}}</span>
- <i class="icon-chevron-right"></i>
- </a></li>
- {{else}}
- <li><span class="item" data-name="{{name}}" data-status="{{status}}" title="{{name}}">
- <span class="label">{{testStatusIcon status}}
- <span class="duration subtitle">{{durationInMs}}ms</span> {{name}}</span>
- </span></li>
- {{/ifTestData}}
- {{/eq}}
- {{/each}}
- </ul>
-</div>
diff --git a/sonar-server/src/main/hbs/component-viewer/layout.hbs b/sonar-server/src/main/hbs/component-viewer/layout.hbs
deleted file mode 100644
index a010e4c4803..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/layout.hbs
+++ /dev/null
@@ -1,3 +0,0 @@
-<div class="component-viewer-header"></div>
-<div class="component-viewer-workspace"></div>
-<div class="component-viewer-source"></div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/component-viewer/line-options-popup.hbs b/sonar-server/src/main/hbs/component-viewer/line-options-popup.hbs
deleted file mode 100644
index 04e4e6c6457..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/line-options-popup.hbs
+++ /dev/null
@@ -1,15 +0,0 @@
-<div class="component-viewer-popup-container">
- <div class="component-viewer-popup-title">{{t 'component_viewer.line_actions'}}</div>
-
- <div class="component-viewer-popup-section">
- <a href="#" class="js-get-permalink link-action">{{t 'component_viewer.get_permalink'}}</a>
- </div>
-
- {{#if state.canCreateManualIssue}}
- <div class="component-viewer-popup-section">
- <a href="#" class="js-add-manual-issue link-action">{{t 'component_viewer.add_manual_issue'}}</a>
- </div>
- {{/if}}
-</div>
-
-<div class="component-viewer-popup-arrow"></div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/component-viewer/more-actions.hbs b/sonar-server/src/main/hbs/component-viewer/more-actions.hbs
deleted file mode 100644
index 354436d5cdb..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/more-actions.hbs
+++ /dev/null
@@ -1,10 +0,0 @@
-<a class="js-new-window underlined-link">{{t 'component_viewer.new_window'}}</a>
-<br>
-<a class="js-full-source underlined-link">{{t 'component_viewer.show_full_source'}}</a>
-<br>
-<a class="js-raw-source underlined-link">{{t 'component_viewer.show_raw_source'}}</a>
-
-{{#each state.extensions}}
- <br>
- <a class="js-extension underlined-link" data-key="{{this.[0]}}">{{this.[1]}}</a>
-{{/each}} \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/component-viewer/source.hbs b/sonar-server/src/main/hbs/component-viewer/source.hbs
deleted file mode 100644
index 79c44c4460f..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/source.hbs
+++ /dev/null
@@ -1,84 +0,0 @@
-{{#if state.sourceSecurity}}
-
- <p>{{t 'code_viewer.no_source_code_displayed_due_to_security'}}</p>
-
-{{else}}
-
- {{#if state.duplicationsInDeletedFiles}}
- <p class="marginbottom10">{{t 'duplications.dups_found_on_deleted_resource'}}</p>
- {{/if}}
-
- {{#if issuesLimitReached}}
- <p class="message-alert marginbottom10">{{tp 'component_viewer.issues_limit_reached' issuesLimit}}</p>
- {{/if}}
-
- <table class="code">
- {{#if showZeroLine}}
- <tr class="row row-hidden" data-line-number="0" id="{{uid}}-0">
- {{#if settings.coverage}}
- <td class="stat coverage-tests"></td>
- <td class="stat coverage-conditions"></td>
- {{/if}}
- {{#if settings.duplications}}
- <td class="stat"></td>
- {{/if}}
- {{#if settings.scm}}
- <td class="stat"></td>
- {{/if}}
- <td class="stat lid"></td>
- <td class="line"></td>
- </tr>
- {{/if}}
-
- {{#each source}}
- {{#if show}}
- <tr class="row" data-line-number="{{lineNumber}}" id="{{../../uid}}-{{lineNumber}}">
-
- {{#if ../../settings.scm}}
- <td class="stat {{#if scm}}scm{{/if}}">
- {{#if scm}}
- {{#ifSCMChanged ../../../../source ../../../lineNumber}}
- <span class="scm-date">{{scm.date}}</span>
- <span class="scm-author" title="{{scm.author}}">{{scm.author}}</span>
- {{/ifSCMChanged}}
- {{/if}}
- </td>
- {{/if}}
-
- {{#if ../../settings.duplications}}
- <td class="stat duplications">
- {{#each duplications}}
- <span class="duplication {{#if this}}duplication-exists{{/if}}" data-index="{{this}}"></span>
- {{/each}}
- </td>
- {{/if}}
-
- {{#if ../../settings.coverage}}
- <td class="stat {{#if coverage}}coverage-{{#if coverage.covered}}green{{else}}red{{/if}}{{/if}}">
- {{#if coverage}}
- <span class="coverage-tests" title="{{tp 'coverage_viewer.line_covered_by_x_tests' coverage.testCases}}">
- {{coverage.testCases}}
- </span>
- {{/if}}
- </td>
-
- <td class="stat {{#if coverage}}{{#if coverage.branchCoverageStatus}}coverage-{{coverage.branchCoverageStatus}}{{/if}}{{/if}}">
- {{#if coverage}}
- {{#if coverage.branches}}
- <span class="coverage-branches" title="{{tp 'coverage_viewer.x_covered_branches' coverage.coveredBranches}}">
- {{coverage.coveredBranches}}/{{coverage.branches}}
- </span>
- {{/if}}
- {{/if}}
- </td>
- {{/if}}
-
- <td class="stat lid js-line-actions" title="{{t 'component_viewer.line_actions'}}">{{lineNumber}}</td>
-
- <td class="line"><pre>{{{code}}}</pre></td>
- </tr>
- {{/if}}
- {{/each}}
- </table>
-
-{{/if}}
diff --git a/sonar-server/src/main/hbs/component-viewer/time-changes-popup.hbs b/sonar-server/src/main/hbs/component-viewer/time-changes-popup.hbs
deleted file mode 100644
index 615164e48cf..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/time-changes-popup.hbs
+++ /dev/null
@@ -1,9 +0,0 @@
-<div class="component-viewer-popup-title">Time Changes</div>
-
-<ul class="component-viewer-popup-list">
- {{#each periods}}
- <li><a class="link-action" data-period="{{key}}">{{#if key}}{{../../prefix}}{{/if}} {{label}}</a></li>
- {{/each}}
-</ul>
-
-<div class="component-viewer-popup-arrow"></div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/component-viewer/workspace.hbs b/sonar-server/src/main/hbs/component-viewer/workspace.hbs
deleted file mode 100644
index 32d2e674e36..00000000000
--- a/sonar-server/src/main/hbs/component-viewer/workspace.hbs
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class="component-viewer-workspace-header">
- <div class="component-viewer-workspace-title"
- title="{{t 'component_viewer.workspace.tooltip'}}">{{t 'component_viewer.workspace'}}</div>
- <button class="button-clean component-viewer-workspace-toggle js-toggle-workspace"
- title="{{#if settings.workspace}}{{t 'component_viewer.workspace.hide_workspace'}}{{else}}{{t 'component_viewer.workspace.show_workspace'}}{{/if}}">
- {{#if settings.workspace}}
- <i class="icon-double-chevron-left"></i>
- {{else}}
- <i class="icon-double-chevron-right"></i>
- {{/if}}
- </button>
-</div>
-
-<ul class="component-viewer-workspace-list">
- {{#eachReverse workspace}}
- <li class="component-viewer-workspace-item {{#if active}}active{{/if}}">
- {{qualifierIcon component.q}}
- <a class="link-action" data-key="{{component.key}}">{{component.name}}</a>
- {{#if component.dir}}
- <div class="text-ellipsis subtitle">{{component.dir}}</div>
- {{/if}}
- {{#if options}}
- <div class="component-viewer-workspace-transition">{{t 'component_viewer.transition' ../transition}}</div>
- <ul class="component-viewer-workspace-options">
- {{#each options}}
- <li class="component-viewer-workspace-option text-ellipsis {{#if active}}active{{/if}}" title="{{name}}">
- <a class="link-action" data-workspace-key="{{../component.key}}" data-key="{{key}}">{{name}}</a>
- {{#if subname}}<div class="text-ellipsis subtitle" title="{{subname}}">{{subname}}</div>{{/if}}
- </li>
- {{/each}}
- </ul>
- {{/if}}
- </li>
- {{/eachReverse}}
-</ul> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/issues/assign-form.hbs b/sonar-server/src/main/hbs/issues/assign-form.hbs
deleted file mode 100644
index f25a0503ffa..00000000000
--- a/sonar-server/src/main/hbs/issues/assign-form.hbs
+++ /dev/null
@@ -1,9 +0,0 @@
-<table class="width100">
- <tr>
- <td>
- <input type="text" id="issue-assignee-select">
- <input id="issue-assign-submit" type="submit" value="{{t 'issue.assign.submit'}}">&nbsp;
- <a id="issue-assign-cancel" class="action">{{t 'cancel'}}</a>
- </td>
- </tr>
-</table> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/issues/change-log.hbs b/sonar-server/src/main/hbs/issues/change-log.hbs
deleted file mode 100644
index 256414e8222..00000000000
--- a/sonar-server/src/main/hbs/issues/change-log.hbs
+++ /dev/null
@@ -1,20 +0,0 @@
-<table class="spaced">
- <tbody>
- <tr>
- <td class="thin left top" nowrap>{{dt issue.creationDate}}</td>
- <td class="thin left top" nowrap></td>
- <td class="left top">{{t 'created'}}</td>
- </tr>
- {{#each items}}
- <tr>
- <td class="thin left top" nowrap>{{dt creationDate}}</td>
- <td class="thin left top" nowrap>{{userName}}</td>
- <td class="left top">
- {{#each diffs}}
- {{changelog this}}<br>
- {{/each}}
- </td>
- </tr>
- {{/each}}
- </tbody>
-</table> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/issues/comment-form.hbs b/sonar-server/src/main/hbs/issues/comment-form.hbs
deleted file mode 100644
index a431ea98daa..00000000000
--- a/sonar-server/src/main/hbs/issues/comment-form.hbs
+++ /dev/null
@@ -1,17 +0,0 @@
-<table class="width100">
- <tr>
- <td style="vertical-align:top" colspan="2">
- <textarea id="issue-comment-text" rows="4" name="text" style="width: 100%">{{show raw markdown}}</textarea>
- </td>
- </tr>
- <tr>
- <td style="padding-top: 5px">
- <input id="issue-comment-submit" type="submit"
- value="{{#if id}}{{t 'save'}}{{else}}{{t 'issue.comment.submit'}}{{/if}}" disabled>
- <a id="issue-comment-cancel" class="action">{{t 'cancel'}}</a>
- </td>
- <td align="right">
- {{> '_markdown-tips' }}
- </td>
- </tr>
-</table> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/issues/issue.hbs b/sonar-server/src/main/hbs/issues/issue.hbs
deleted file mode 100644
index ac3a80fd69e..00000000000
--- a/sonar-server/src/main/hbs/issues/issue.hbs
+++ /dev/null
@@ -1,142 +0,0 @@
-<div class="code-issue code-issue-collapsed" data-issue-key="{{key}}" data-issue-component="{{component}}" data-issue-rule="{{rule}}">
- <div class="code-issue-name code-issue-toggle">
- <div class="code-issue-name-rule">
- {{severityIcon severity}}&nbsp;<span class="rulename">{{message}}</span>
- </div>
-
- <div class="code-issue-permalink">
- <a target="_blank" href="{{permalink}}">
- <i class="icon-link"></i>
- </a>
- </div>
- </div>
-
-
- <ul class="code-issue-actions code-issue-list">
- {{#inArray actions "comment"}}
- <li>
- <a id="issue-comment" class="link-action">{{t 'issue.comment.formlink' }}</a>
- </li>
- {{/inArray}}
-
-
- <li>
- {{statusIcon status}}{{t 'issue.status' status}}
- {{#if resolution}}({{t 'issue.resolution' resolution}}){{/if}}
-
- {{#ifNotEmpty transitions}}
- {{#each transitions}}
- <a class="link-action issue-transition spacer-left" data-transition="{{this}}">{{t 'issue.transition' this}}</a>
- {{/each}}
- {{/ifNotEmpty}}
- </li>
-
-
- {{#inArray actions "assign"}}
- <li>
- {{#if assigneeName}}
- <a id="issue-assign" class="link-action">{{t 'assigned_to'}}</a> {{assigneeName}}</li>
- {{else}}
- <a id="issue-assign" class="link-action">{{t 'issue.assign.formlink' }}</a>
- {{#inArray actions "assign_to_me"}}
- [<a id="issue-assign-to-me" class="link-action">{{t 'issue.assign.to_me' }}</a>]
- {{/inArray}}
- {{/if}}
- </li>
- {{else}}
- {{#if assigneeName}}
- <li>{{t 'assigned_to'}} <strong>{{assigneeName}}</strong></li>
- {{/if}}
- {{/inArray}}
-
-
- {{#inArray actions "plan"}}
- <li>
- {{#if actionPlanName}}
- <a id="issue-plan" class="link-action">{{t 'issue.planned_for'}}</a> {{actionPlanName}}
- {{else}}
- <a id="issue-plan" class="link-action">{{t 'issue.do_plan'}}</a>
- {{/if}}
- </li>
- {{else}}
- {{#if actionPlanName}}
- <li>{{t 'issue.planned_for'}} <strong>{{actionPlanName}}</strong></li>
- {{/if}}
- {{/inArray}}
-
-
- {{#ifHasExtraActions actions}}
- <li>
- <div class="dropdown">
- <a class="link-action link-more" onclick="showDropdownMenuOnElement($j(this).next('.dropdown-menu')); return false;">{{t 'more_actions'}}</a>
- <ul style="display: none" class="dropdown-menu">
- {{#inArray actions "set_severity"}}
- <li>
- <a id="issue-set-severity" class="link-action spacer-right">{{t "issue.set_severity"}}</a>
- </li>
- {{/inArray}}
- {{#pluginActions actions}}
- <li>
- <a class="link-action spacer-right issue-action" data-action="{{this}}">{{t "issue.action" this "formlink"}}</a>
- </li>
- {{/pluginActions}}
- </ul>
- </div>
- </li>
- {{else}}
- {{#inArray actions "set_severity"}}
- <li>
- <a id="issue-set-severity" class="link-action">{{t "issue.set_severity"}}</a>
- </li>
- {{/inArray}}
- {{/ifHasExtraActions}}
-
- {{#if debt}}
- <li>{{t 'issue.technical_debt_short'}}: {{debt}}</li>
- {{/if}}
-
- {{#if reporterName}}<li>{{t 'reporter'}}: {{reporterName}}</li>{{/if}}
- {{#if author}}<li>{{t 'author'}}: {{author}}</li>{{/if}}
- </ul>
-
- <div class="code-issue-form" style="display: none;"></div>
-
-
- <div class="code-issue-details">
- <ul class="code-issue-tabs">
- <li>
- <a class="js-tab-link underlined-link" href="#tab-issue-rule">{{t 'rule'}}</a>
- </li>
- <li>
- <a class="js-tab-link underlined-link" href="#tab-issue-changelog">{{t 'changelog'}}</a>
- </li>
- </ul>
-
- <div id="tab-issue-rule" class="js-tab">
- <div class="rule-desc"></div>
- </div>
-
- <div id="tab-issue-changelog" class="js-tab"></div>
- </div>
-
-
- <div class="code-issue-comments">
- {{#each comments}}
- <div class="code-issue-comment" data-comment-key="{{key}}">
- <h4>
- <i class="icon-comment"></i>
- <b>{{userName}}</b>
- ({{fromNow createdAt}})
-
- {{#if updatable}}
- &nbsp;&nbsp;
- <a class="link-action issue-comment-edit">{{t 'edit'}}</a>&nbsp;
- <a class="link-action link-red spacer-right issue-comment-delete"
- data-confirm-msg="{{t 'issue.comment.delete_confirm_message'}}">{{t 'delete'}}</a>
- {{/if}}
- </h4>
- <div class="markdown">{{{show html htmlText}}}</div>
- </div>
- {{/each}}
- </div>
-</div>
diff --git a/sonar-server/src/main/hbs/issues/manual-issue.hbs b/sonar-server/src/main/hbs/issues/manual-issue.hbs
deleted file mode 100644
index 5c567daeac3..00000000000
--- a/sonar-server/src/main/hbs/issues/manual-issue.hbs
+++ /dev/null
@@ -1,44 +0,0 @@
-<form action="" class="js-manual-issue-form code-issue-create-form">
- {{! no manual rules }}
- {{! <div class="warning" style="margin: 10px"> }}
- {{! <% if is_admin %> }}
- {{! <%= message('issue.manual.no_rules.admin') -%> }}
- {{! &nbsp;<a href="<%= ApplicationController.root_context -%>/manual_rules/index"><%= message('manage') -%></a> }}
- {{! <% else %> }}
- {{! <%= message('issue.manual.no_rules.non_admin') -%> }}
- {{! <% end %> }}
- {{! &nbsp;<%= link_to_function message('cancel'), 'closeCreateIssueForm(this)' -%> }}
- {{! </div> }}
-
- <input type="hidden" name="line" value="{{line}}">
- <input type="hidden" name="component" value="{{component}}">
-
- <div class="code-issue-name">
- <select name="rule">
- {{#each rules}}
- <option value="{{key}}">{{name}}</option>
- {{/each}}
- </select>
- </div>
-
- <div class="code-issue-msg">
- <table class="width100">
- <tr>
- <td>
- <textarea rows="4" name="message" class="width100 marginbottom5"></textarea>
- </td>
- </tr>
- <tr>
- <td class="js-submit">
- <input type="submit" value="{{t 'create'}}">
- <a class="js-cancel" href="#">{{t 'cancel'}}</a>
- </td>
- <td class="js-spinner" style="display: none;">
- <i class="spinner"></i>
- </td>
- </tr>
- </table>
- <div class="code-issue-errors error hidden"></div>
- </div>
-
-</form>
diff --git a/sonar-server/src/main/hbs/issues/plan-form.hbs b/sonar-server/src/main/hbs/issues/plan-form.hbs
deleted file mode 100644
index 341068e5a96..00000000000
--- a/sonar-server/src/main/hbs/issues/plan-form.hbs
+++ /dev/null
@@ -1,16 +0,0 @@
-{{#if items}}
- <select id="issue-detail-plan-select">
- {{#if issue.actionPlan}}
- <option value="#unplan">{{t 'issue.unplan.submit'}}</option>
- {{/if}}
- {{#each items}}
- {{#notEq this.status 'CLOSED'}}
- <option value="{{this.key}}">{{this.name}} {{#if this.fDeadLine}}({{this.fDeadLine}}){{/if}}</option>
- {{/notEq}}
- {{/each}}
- </select>
- <input id="issue-plan-submit" type="submit" value="{{t 'issue.plan.submit'}}">&nbsp;
-{{else}}
- <span class="error">{{t 'issue.plan.error.plan_must_be_created_first'}}</span>
-{{/if}}
-<a id="issue-plan-cancel" class="action">{{t 'cancel'}}</a>
diff --git a/sonar-server/src/main/hbs/issues/rule.hbs b/sonar-server/src/main/hbs/issues/rule.hbs
deleted file mode 100644
index ba737972b3e..00000000000
--- a/sonar-server/src/main/hbs/issues/rule.hbs
+++ /dev/null
@@ -1,14 +0,0 @@
-<div class="rule-desc">
- <h1 class="marginbottom10">{{name}}</h1>
- <div class="marginbottom10">{{{htmlDesc}}}</div>
- {{#if htmlNote}}<div class="marginbottom10">{{{htmlNote}}}</div>{{/if}}
-</div>
-
-<ul class="note code-issue-bar">
- <li>{{key}}</li>
- {{#all debtCharName debtSubCharName}}
- <li>{{debtCharName}} > {{debtSubCharName}}</li>
- {{else}}
- <li>{{t 'issue.technical_debt_deleted'}}</li>
- {{/all}}
-</ul>
diff --git a/sonar-server/src/main/hbs/issues/set-severity-form.hbs b/sonar-server/src/main/hbs/issues/set-severity-form.hbs
deleted file mode 100644
index e85c027873c..00000000000
--- a/sonar-server/src/main/hbs/issues/set-severity-form.hbs
+++ /dev/null
@@ -1,16 +0,0 @@
-<table class="width100">
- <tr>
- <td style="vertical-align:top">
- <select id="issue-set-severity-select" autofocus>
- <option class="sev_BLOCKER" value="BLOCKER">{{t 'severity.BLOCKER'}}</option>
- <option class="sev_CRITICAL" value="CRITICAL">{{t 'severity.CRITICAL'}}</option>
- <option class="sev_MAJOR" value="MAJOR" selected>{{t 'severity.MAJOR'}}</option>
- <option class="sev_MINOR" value="MINOR">{{t 'severity.MINOR'}}</option>
- <option class="sev_INFO" value="INFO">{{t 'severity.INFO'}}</option>
- </select>
-
- <input id="issue-set-severity-submit" type="submit" value="{{t 'issue.set_severity.submit'}}">
- <a id="issue-set-severity-cancel" class="action">{{t 'cancel'}}</a>
- </td>
- </tr>
-</table> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/quality-gates/quality-gate-actions.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-actions.hbs
deleted file mode 100644
index efab29d2160..00000000000
--- a/sonar-server/src/main/hbs/quality-gates/quality-gate-actions.hbs
+++ /dev/null
@@ -1,6 +0,0 @@
-<h1 class="navigator-header-title">{{t 'quality_gates.page'}}</h1>
-{{#if canEdit}}
- <div class="navigator-header-actions button-group">
- <button id="quality-gate-add">{{t 'create'}}</button>
- </div>
-{{/if}} \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-condition.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-condition.hbs
deleted file mode 100644
index 79973fe9a38..00000000000
--- a/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-condition.hbs
+++ /dev/null
@@ -1,62 +0,0 @@
-<td nowrap>
- {{metric.name}}
- {{#if metric.hidden}}
- <span class="deprecated">{{t 'deprecated'}}</span>
- {{/if}}
-</td>
-<td width="20%" nowrap>
- {{#if canEdit}}
- <select name="period" style="width: 100%">
- {{#unless isDiffMetric}}<option value="0">{{t 'value'}}</option>{{/unless}}
- {{#each periods}}<option value="{{key}}">&Delta; {{text}}</option>{{/each}}
- </select>
- {{else}}
- {{#if periodText}}&Delta; {{periodText}}
- {{else}}{{t 'value'}}
- {{/if}}
- {{/if}}
-</td>
-<td width="10%" nowrap>
- {{#if canEdit}}
- <select name="operator">
- {{#operators metric.type}}
- <option value="{{this}}">{{t 'quality_gates.operator' this}}</option>
- {{/operators}}
- </select>
- {{else}}
- {{t 'quality_gates.operator' op}}
- {{/if}}
-</td>
-<td width="15%" nowrap="nowrap">
- <i class="icon-alert-warn" title="{{t 'quality_gates.warning_tooltip'}}"></i>
- {{#if canEdit}}
- <input name="warning" class="measure-input" data-type="{{metric.type}}" placeholder="{{metric.placeholder}}"
- type="text">
- {{else}}
- {{warning}}
- {{/if}}
-</td>
-<td width="15%" nowrap="nowrap">
- <i class="icon-alert-error" title="{{t 'quality_gates.error_tooltip'}}"></i>
- {{#if canEdit}}
- <input name="error" class="measure-input" data-type="{{metric.type}}" placeholder="{{metric.placeholder}}"
- type="text">
- {{else}}
- {{error}}
- {{/if}}
-</td>
-<td class="quality-gate-condition-actions" width="120px" nowrap>
- {{#if canEdit}}
- {{#if id}}
- <div class="button-group">
- <button class="update-condition" disabled>{{t 'update_verb'}}</button>
- <button class="button-red delete-condition">{{t 'delete'}}</button>
- </div>
- {{else}}
- <div class="button-group">
- <button class="add-condition">{{t 'add_verb'}}</button>
- <a class="action cancel-add-condition">{{t 'cancel'}}</a>
- </div>
- {{/if}}
- {{/if}}
-</td>
diff --git a/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions-empty.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions-empty.hbs
deleted file mode 100644
index 40c92668496..00000000000
--- a/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions-empty.hbs
+++ /dev/null
@@ -1,3 +0,0 @@
-<td colspan="6">
- {{t 'quality_gates.no_conditions'}}
-</td> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions.hbs
deleted file mode 100644
index 74888876431..00000000000
--- a/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-conditions.hbs
+++ /dev/null
@@ -1,45 +0,0 @@
-<div class="quality-gate-section-name">{{t 'quality_gates.conditions'}}</div>
-
-<div class="quality-gate-introduction">
- <p>{{t 'quality_gates.introduction'}}
- <a class="link-action quality-gate-introduction-show-more">{{t 'more'}}</a>
- </p>
- <div class="quality-gate-introduction-more inline-help">
- {{t 'quality_gates.health_icons'}}
- <ul>
- <li>
- <i class="icon-alert-ok"></i>
- {{t 'alerts.notes.ok'}}
- </li>
- <li>
- <i class="icon-alert-warn"></i>
- {{t 'alerts.notes.warn'}}
- </li>
- <li>
- <i class="icon-alert-error"></i>
- {{t 'alerts.notes.error'}}
- </li>
- </ul>
- </div>
-</div>
-
-{{#if canEdit}}
- <div class="quality-gate-new-condition">
- <label for="quality-gate-new-condition-metric">{{t 'quality_gates.add_condition'}}:</label>
- <select id="quality-gate-new-condition-metric">
- <option></option>
- {{#each metricGroups}}
- <optgroup label="{{domain}}">
- {{#each metrics}}<option value="{{key}}">{{name}}</option>{{/each}}
- </optgroup>
- {{/each}}
- </select>
- </div>
-{{/if}}
-
-<div class="quality-gate-conditions-wrap">
- <table class="data zebra width100 marginbottom10 spaced quality-gate-conditions">
- <thead><tr></tr></thead>
- <tbody></tbody>
- </table>
-</div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-header.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-header.hbs
deleted file mode 100644
index e84a730d379..00000000000
--- a/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-header.hbs
+++ /dev/null
@@ -1,14 +0,0 @@
-<h1 class="navigator-header-title">{{name}}</h1>
-
-{{#if canEdit}}
- <div class="navigator-header-actions button-group">
- <button id="quality-gate-rename">{{t 'rename'}}</button>
- <button id="quality-gate-copy">{{t 'copy'}}</button>
- {{#if default}}
- <button id="quality-gate-unset-as-default">{{t 'unset_as_default'}}</button>
- {{else}}
- <button id="quality-gate-set-as-default">{{t 'set_as_default'}}</button>
- {{/if}}
- <button id="quality-gate-delete" class="button-red">{{t 'delete'}}</button>
- </div>
-{{/if}} \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-projects.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-projects.hbs
deleted file mode 100644
index 989cae0f31e..00000000000
--- a/sonar-server/src/main/hbs/quality-gates/quality-gate-detail-projects.hbs
+++ /dev/null
@@ -1,13 +0,0 @@
-<div class="quality-gate-section-name">{{t 'quality_gates.projects'}}</div>
-
-{{#if default}}
- <p class="quality-gate-default-message">
- {{#if canEdit}}
- {{t 'quality_gates.projects_for_default.edit'}}
- {{else}}
- {{t 'quality_gates.projects_for_default'}}
- {{/if}}
- </p>
-{{else}}
- <div id="select-list-projects"></div>
-{{/if}} \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/quality-gates/quality-gate-detail.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-detail.hbs
deleted file mode 100644
index 0c5467b3476..00000000000
--- a/sonar-server/src/main/hbs/quality-gates/quality-gate-detail.hbs
+++ /dev/null
@@ -1,2 +0,0 @@
-<div id="quality-gate-conditions" class="quality-gate-section"></div>
-<div id="quality-gate-projects" class="quality-gate-section"></div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/quality-gates/quality-gate-edit.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-edit.hbs
deleted file mode 100644
index 805d65ff307..00000000000
--- a/sonar-server/src/main/hbs/quality-gates/quality-gate-edit.hbs
+++ /dev/null
@@ -1,22 +0,0 @@
-<form>
- <div class="modal-head">
- {{#if method}}
- <h2>{{t 'quality_gates' method }}</h2>
- {{/if}}
- </div>
-
- <div class="modal-body">
- <div class="modal-error"></div>
- <div class="modal-field">
- <label for="quality-gate-edit-name">{{t 'name'}} <em class="mandatory">*</em></label>
- <input id="quality-gate-edit-name" type="text" size="50" maxlength="100" value="{{name}}">
- </div>
- </div>
-
- <div class="modal-foot">
- {{#eq method "rename"}}<button>{{t 'save'}}</button>{{/eq}}
- {{#eq method "copy"}}<button>{{t 'copy'}}</button>{{/eq}}
- {{#eq method "create"}}<button>{{t 'create'}}</button>{{/eq}}
- <a id="quality-gate-cancel-create" class="action">{{t 'cancel'}}</a>
- </div>
-</form> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-empty.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-empty.hbs
deleted file mode 100644
index 8b017f09987..00000000000
--- a/sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-empty.hbs
+++ /dev/null
@@ -1 +0,0 @@
-<div class="line line-nowrap">{{t 'quality_gates.noQualityGates'}}</div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-item.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-item.hbs
deleted file mode 100644
index af8d93ae07b..00000000000
--- a/sonar-server/src/main/hbs/quality-gates/quality-gate-sidebar-list-item.hbs
+++ /dev/null
@@ -1 +0,0 @@
-<div class="line line-nowrap">{{name}} {{#if default}}<span class="subtitle">({{t 'default'}})</span>{{/if}}</div> \ No newline at end of file
diff --git a/sonar-server/src/main/hbs/quality-gates/quality-gates-layout.hbs b/sonar-server/src/main/hbs/quality-gates/quality-gates-layout.hbs
deleted file mode 100644
index 22f6fba05e7..00000000000
--- a/sonar-server/src/main/hbs/quality-gates/quality-gates-layout.hbs
+++ /dev/null
@@ -1,10 +0,0 @@
-<div class="navigator-content">
- <div class="navigator-side">
- <div class="navigator-actions"></div>
- <div class="navigator-results quality-gates-nav"></div>
- </div>
- <div class="navigator-main">
- <div class="navigator-header"></div>
- <div class="navigator-details"></div>
- </div>
-</div> \ No newline at end of file