aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/coding-rules/templates/coding-rules-rule-details.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/templates/coding-rules-rule-details.hbs')
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/templates/coding-rules-rule-details.hbs20
1 files changed, 20 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/templates/coding-rules-rule-details.hbs b/server/sonar-web/src/main/js/apps/coding-rules/templates/coding-rules-rule-details.hbs
new file mode 100644
index 00000000000..f889780e6c6
--- /dev/null
+++ b/server/sonar-web/src/main/js/apps/coding-rules/templates/coding-rules-rule-details.hbs
@@ -0,0 +1,20 @@
+<div class="js-rule-meta"></div>
+<div class="js-rule-description"></div>
+<div class="js-rule-parameters"></div>
+
+{{#if isEditable}}
+ <div class="coding-rules-detail-description">
+ <div class="button-group">
+ {{#if isManual}}
+ <button class="js-edit-manual" id="coding-rules-detail-manual-rule-change">{{t 'edit'}}</button>
+ {{else}}
+ <button class="js-edit-custom" id="coding-rules-detail-custom-rule-change">{{t 'edit'}}</button>
+ {{/if}}
+ <button class="button-red js-delete" id="coding-rules-detail-rule-delete" class="button-red">{{t 'delete'}}</button>
+ </div>
+ </div>
+{{/if}}
+
+<div class="js-rule-custom-rules coding-rule-section"></div>
+<div class="js-rule-profiles coding-rule-section"></div>
+<div class="js-rule-issues coding-rule-section"></div>