Skip to content

Commit

Permalink
Fix Layers buttons styling (OrchardCMS#14815)
Browse files Browse the repository at this point in the history
  • Loading branch information
agriffard authored and urbanit committed Mar 18, 2024
1 parent 41a30e0 commit 1d9b428
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
<span asp-validation-for="Description"></span>
</div>

<input class="button" type="submit" value="@T["Create"]" />
<input class="btn btn-primary" type="submit" value="@T["Create"]" />
</form>
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

@await DisplayAsync(Model.LayerRule)

<input class="button mt-3" type="submit" value="@T["Save"]" />
<input class="btn btn-primary mt-3" type="submit" value="@T["Save"]" />
</form>

@await DisplayAsync(await New.ConditionsModal(Thumbnails: Model.Thumbnails, Name: Model.Name))
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
<p class="alert alert-warning">@T["Please <a href=\"{0}\">create a layer</a> before adding Widgets", Url.Action("Create", "Admin", new { area = "OrchardCore.Layers" })]</p>
}

<a class="button btn-sm" href="@Url.Action("Create", "Admin", new { area = "OrchardCore.Layers" })">@T["Add"]</a>
<a class="btn btn-primary btn-sm" href="@Url.Action("Create", "Admin", new { area = "OrchardCore.Layers" })">@T["Add"]</a>
</div>
</div>

Expand Down

0 comments on commit 1d9b428

Please sign in to comment.