diff --git a/README.md b/README.md
index 57199bd..96cc4dc 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,5 @@
# Tilework
+[](https://sonarcloud.io/summary/new_code?id=tileworkdev_tilework)
## About
diff --git a/tilework.ui/Components/Dialogs/RuleDialog.razor b/tilework.ui/Components/Dialogs/RuleDialog.razor
index a324eed..f3b6480 100644
--- a/tilework.ui/Components/Dialogs/RuleDialog.razor
+++ b/tilework.ui/Components/Dialogs/RuleDialog.razor
@@ -15,58 +15,96 @@
- @foreach (var condition in Rule.Conditions)
- {
-
- }
-
-
-
-
-
-
- Add condition
-
-
-
-
- @foreach (var type in AvailableConditionTypes)
- {
- @type.GetDescription()
- }
-
-
-
-
-
-
- @foreach (var type in AllowedActionTypes)
- {
- @type.GetDescription()
- }
-
-
- @if (Rule.Action?.Type == RuleActionType.Forward)
- {
-
- @foreach (var group in TargetGroups)
- {
- @group.Name
- }
-
- }
- else if (Rule.Action?.Type == RuleActionType.Redirect)
- {
-
-
- }
- else if (Rule.Action?.Type == RuleActionType.FixedResponse)
- {
-
-
-
- }
+
+
+
+
+
+ Details
+
+
+
+
+
+
+
+
+
+
+
+
+ Conditions
+
+
+
+ @foreach (var condition in Rule.Conditions)
+ {
+
+
+ }
+
+
+
+
+
+
+ Add condition
+
+
+
+
+ @foreach (var type in AvailableConditionTypes)
+ {
+ @type.GetDescription()
+ }
+
+
+
+
+
+
+
+
+
+
+
+ Action
+
+
+
+
+ @foreach (var type in AllowedActionTypes)
+ {
+ @type.GetDescription()
+ }
+
+
+ @if (Rule.Action?.Type == RuleActionType.Forward)
+ {
+
+ @foreach (var group in TargetGroups)
+ {
+ @group.Name
+ }
+
+ }
+ else if (Rule.Action?.Type == RuleActionType.Redirect)
+ {
+
+
+ }
+ else if (Rule.Action?.Type == RuleActionType.FixedResponse)
+ {
+
+
+
+ }
+
+
+
+
diff --git a/tilework.ui/Components/Forms/ConditionForm.razor b/tilework.ui/Components/Forms/ConditionForm.razor
index 1258dcd..1d010be 100644
--- a/tilework.ui/Components/Forms/ConditionForm.razor
+++ b/tilework.ui/Components/Forms/ConditionForm.razor
@@ -5,28 +5,36 @@
@namespace Tilework.Ui.Components.Forms
-
-
- @Condition.Type.GetDescription()
-
-
-
-
- @for (var i = 0; i < Condition.Values.Count; i++)
- {
- var index = i;
-
-
-
-
- }
-
-
- Add OR condition value
-
+
+
+
+ @Condition.Type.GetDescription()
+
+
+
+
+ @for (var i = 0; i < Condition.Values.Count; i++)
+ {
+ var index = i;
+
+ @(index == 0 ? "=" : "or")
+
+
+ }
+
+
+
+ Add
+
-
+
@code {
[Parameter] public Condition Condition { get; set; }