Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update assets references to use app-relative paths #2893

Merged
merged 2 commits into from
Dec 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@model LinkAdminNodeViewModel

<style asp-src="/OrchardCore.AdminTrees/Styles/admin-trees.css" at="Head" depends-on="admin"></style>
<style asp-src="/OrchardCore.AdminTrees/Styles/admin-trees-icon-picker.css" at="Head" depends-on="admin"></style>
<style asp-src="~/OrchardCore.AdminTrees/Styles/admin-trees.css" at="Head" depends-on="admin"></style>
<style asp-src="~/OrchardCore.AdminTrees/Styles/admin-trees-icon-picker.css" at="Head" depends-on="admin"></style>

<script asp-src="https://vuejs.org/js/vue.min.js" debug-src="https://vuejs.org/js/vue.js" asp-name="vuejs" at="Foot"></script>
<script asp-src="/OrchardCore.AdminTrees/Scripts/admin-trees.js" at="Foot" depends-on="admin"></script>
<script asp-src="/OrchardCore.AdminTrees/Scripts/admin-trees-icon-picker.js" at="Foot" depends-on="admin"></script>
<script asp-src="~/OrchardCore.AdminTrees/Scripts/admin-trees.js" at="Foot" depends-on="admin"></script>
<script asp-src="~/OrchardCore.AdminTrees/Scripts/admin-trees-icon-picker.js" at="Foot" depends-on="admin"></script>

<h5>@T["Link"]</h5>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@model PlaceholderAdminNodeViewModel

<style asp-src="/OrchardCore.AdminTrees/Styles/admin-trees.css"at="Head" depends-on="admin"></style>
<style asp-src="/OrchardCore.AdminTrees/Styles/admin-trees-icon-picker.css" at="Head" depends-on="admin"></style>
<style asp-src="~/OrchardCore.AdminTrees/Styles/admin-trees.css"at="Head" depends-on="admin"></style>
<style asp-src="~/OrchardCore.AdminTrees/Styles/admin-trees-icon-picker.css" at="Head" depends-on="admin"></style>

<script asp-src="https://vuejs.org/js/vue.min.js" debug-src="https://vuejs.org/js/vue.js" asp-name="vuejs" at="Foot"></script>
<script asp-src="/OrchardCore.AdminTrees/Scripts/admin-trees.js" at="Foot" depends-on="admin"></script>
<script asp-src="/OrchardCore.AdminTrees/Scripts/admin-trees-icon-picker.js" at="Foot" depends-on="admin"></script>
<script asp-src="~/OrchardCore.AdminTrees/Scripts/admin-trees.js" at="Foot" depends-on="admin"></script>
<script asp-src="~/OrchardCore.AdminTrees/Scripts/admin-trees-icon-picker.js" at="Foot" depends-on="admin"></script>

<h5>@T["Placeholder"]</h5>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
var index = 0;
}

<script asp-src="/OrchardCore.AdminTrees/Scripts/admin-trees.js" at="Foot" depends-on="admin"></script>
<style asp-src="/OrchardCore.AdminTrees/Styles/admin-trees.css" debug-src="/OrchardCore.AdminTrees/Styles/admin-trees.css"></style>
<script asp-src="~/OrchardCore.AdminTrees/Scripts/admin-trees.js" at="Foot" depends-on="admin"></script>
<style asp-src="~/OrchardCore.AdminTrees/Styles/admin-trees.css" debug-src="~/OrchardCore.AdminTrees/Styles/admin-trees.css"></style>

<div asp-validation-summary="All"></div>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@model AdminTreeEditViewModel
<style asp-src="/OrchardCore.AdminTrees/Styles/admin-trees.css" debug-src="/OrchardCore.AdminTrees/Styles/admin-trees.css"></style>
<style asp-src="~/OrchardCore.AdminTrees/Styles/admin-trees.css" debug-src="~/OrchardCore.AdminTrees/Styles/admin-trees.css"></style>

<h1>@RenderTitleSegments(T["Edit Admin Tree: {0}", Model.Name])</h1>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@model AdminTreeListViewModel

<style asp-src="/OrchardCore.AdminTrees/Styles/admin-trees.css" debug-src="/OrchardCore.AdminTrees/Styles/admin-trees.css" ></style>
<script asp-src="/OrchardCore.AdminTrees/Scripts/admin-trees.js" asp-name="admin-tree" at="Foot" depends-on="admin"></script>
<style asp-src="~/OrchardCore.AdminTrees/Styles/admin-trees.css" debug-src="~/OrchardCore.AdminTrees/Styles/admin-trees.css" ></style>
<script asp-src="~/OrchardCore.AdminTrees/Scripts/admin-trees.js" asp-name="admin-tree" at="Foot" depends-on="admin"></script>

<h1>@RenderTitleSegments(T["Admin Trees"])</h1>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<style asp-src="/OrchardCore.Apis.GraphQL/Styles/graphiql.min.css"
debug-src="/OrchardCore.Apis.GraphQL/Styles/graphiql.css">
<style asp-src="~/OrchardCore.Apis.GraphQL/Styles/graphiql.min.css"
debug-src="~/OrchardCore.Apis.GraphQL/Styles/graphiql.css">
</style>

<style asp-src="/OrchardCore.Apis.GraphQL/Styles/graphiql-orchard.min.css"
debug-src="/OrchardCore.Apis.GraphQL/Styles/graphiql-orchard.css">
<style asp-src="~/OrchardCore.Apis.GraphQL/Styles/graphiql-orchard.min.css"
debug-src="~/OrchardCore.Apis.GraphQL/Styles/graphiql-orchard.css">
</style>

<script asp-src="/OrchardCore.Apis.GraphQL/Scripts/react.min.js"
debug-src="/OrchardCore.Apis.GraphQL/Scripts/react.js"
<script asp-src="~/OrchardCore.Apis.GraphQL/Scripts/react.min.js"
debug-src="~/OrchardCore.Apis.GraphQL/Scripts/react.js"
at="Foot">
</script>

<script asp-src="/OrchardCore.Apis.GraphQL/Scripts/react-dom.min.js"
debug-src="/OrchardCore.Apis.GraphQL/Scripts/react-dom.js"
<script asp-src="~/OrchardCore.Apis.GraphQL/Scripts/react-dom.min.js"
debug-src="~/OrchardCore.Apis.GraphQL/Scripts/react-dom.js"
at="Foot">
</script>

<script asp-src="/OrchardCore.Apis.GraphQL/Scripts/graphiql.min.js"
debug-src="/OrchardCore.Apis.GraphQL/Scripts/graphiql.js"
<script asp-src="~/OrchardCore.Apis.GraphQL/Scripts/graphiql.min.js"
debug-src="~/OrchardCore.Apis.GraphQL/Scripts/graphiql.js"
at="Foot">
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
var multiple = settings.Multiple.ToString().ToLowerInvariant();
}

<script asp-src="/OrchardCore.ContentFields/Scripts/contentPicker.js" asp-name="contentPicker" at="Foot" depends-on="vuejs, vuemultiselect"></script>
<style asp-src="/OrchardCore.ContentFields/Styles/contentPicker.min.css" debug-src="/OrchardCore.ContentFields/Styles/contentPicker.css"></style>
<script asp-src="~/OrchardCore.ContentFields/Scripts/contentPicker.js" asp-name="contentPicker" at="Foot" depends-on="vuejs, vuemultiselect"></script>
<style asp-src="~/OrchardCore.ContentFields/Styles/contentPicker.min.css" debug-src="~/OrchardCore.ContentFields/Styles/contentPicker.css"></style>
<script asp-src="https://vuejs.org/js/vue.min.js" debug-src="https://vuejs.org/js/vue.js" asp-name="vuejs" at="Foot"></script>
<script asp-src="https://unpkg.com/[email protected]/dist/vue-multiselect.min.js" asp-name="vuemultiselect" at="Foot"></script>
<style asp-src="https://unpkg.com/[email protected]/dist/vue-multiselect.min.css"></style>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
var settings = Model.PartFieldDefinition.Settings.ToObject<HtmlFieldSettings>();
}

<script name="trumbowyg" depends-on="admin" asp-src="/OrchardCore.Resources/Scripts/trumbowyg.min.js" debug-src="/OrchardCore.Resources/Scripts/trumbowyg.js" at="Foot"></script>
<style name="trumbowyg" asp-src="/OrchardCore.Resources/Styles/trumbowyg.min.css" debug-src="/OrchardCore.Resources/Styles/trumbowyg.css"></style>
<script name="trumbowyg" depends-on="admin" asp-src="~/OrchardCore.Resources/Scripts/trumbowyg.min.js" debug-src="~/OrchardCore.Resources/Scripts/trumbowyg.js" at="Foot"></script>
<style name="trumbowyg" asp-src="~/OrchardCore.Resources/Styles/trumbowyg.min.css" debug-src="~/OrchardCore.Resources/Styles/trumbowyg.css"></style>

<fieldset class="form-group">
<label asp-for="Html">@Model.PartFieldDefinition.DisplayName()</label>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script asp-src="/OrchardCore.ContentFields/Scripts/trumbowyg.media.min.js" debug-src="/OrchardCore.ContentFields/Scripts/trumbowyg.media.js" at="Foot"></script>
<script asp-src="~/OrchardCore.ContentFields/Scripts/trumbowyg.media.min.js" debug-src="~/OrchardCore.ContentFields/Scripts/trumbowyg.media.js" at="Foot"></script>

<div class="modal fade" id="mediaModalHtmlField">
<div class="modal-dialog modal-lg" role="document">
Expand All @@ -19,8 +19,8 @@
</div>
</div>

<script asp-src="/OrchardCore.Media/Scripts/media.js" asp-name="media" at="Foot" depends-on="admin, vuejs, sortable, vuedraggable"></script>
<style asp-src="/OrchardCore.Media/Styles/media.min.css" debug-src="/OrchardCore.Media/Styles/media.css"></style>
<script asp-src="~/OrchardCore.Media/Scripts/media.js" asp-name="media" at="Foot" depends-on="admin, vuejs, sortable, vuedraggable"></script>
<style asp-src="~/OrchardCore.Media/Styles/media.min.css" debug-src="~/OrchardCore.Media/Styles/media.css"></style>
<script asp-src="https://vuejs.org/js/vue.min.js" debug-src="https://vuejs.org/js/vue.js" asp-name="vuejs" at="Foot"></script>
<script asp-src="https://cdn.jsdelivr.net/sortable/1.4.2/Sortable.min.js" debug-src="https://cdn.jsdelivr.net/sortable/1.4.2/Sortable.js" asp-name="sortable" at="Foot"></script>
<script asp-src="https://cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.14.1/vuedraggable.min.js" debug-src="https://cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.14.1/vuedraggable.js" asp-name="vuedraggable" depends-on="vuejs, sortable" at="Foot"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
string id = Html.IdFor(m => m.Value);
}

<script asp-name="bootstrap-slider" depends-on="admin" asp-src="/OrchardCore.Resources/Scripts/bootstrap-slider.min.js" debug-src="/OrchardCore.Resources/Scripts/bootstrap-slider.js" at="Foot"></script>
<style asp-name="bootstrap-slider" asp-src="/OrchardCore.Resources/Styles/bootstrap-slider.min.css" debug-src="/OrchardCore.Resources/Styles/bootstrap-slider.css"></style>
<script asp-name="bootstrap-slider" depends-on="admin" asp-src="~/OrchardCore.Resources/Scripts/bootstrap-slider.min.js" debug-src="~/OrchardCore.Resources/Scripts/bootstrap-slider.js" at="Foot"></script>
<style asp-name="bootstrap-slider" asp-src="~/OrchardCore.Resources/Styles/bootstrap-slider.min.css" debug-src="~/OrchardCore.Resources/Styles/bootstrap-slider.css"></style>

<fieldset class="form-group">
<div class="row col-sm-2">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
var settings = Model.PartFieldDefinition.Settings.ToObject<TextFieldSettings>();
}

<style name="fontpickerStyle" at="Head" asp-src="/OrchardCore.ContentFields/Styles/fontawesome-iconpicker-min.css" debug-src="/OrchardCore.ContentFields/Styles/fontawesome-iconpicker.css"></style>
<style name="fontpickerCustomStyle" at="Head" asp-src="/OrchardCore.ContentFields/Styles/iconpicker-custom.css"></style>
<style name="fontpickerStyle" at="Head" asp-src="~/OrchardCore.ContentFields/Styles/fontawesome-iconpicker-min.css" debug-src="~/OrchardCore.ContentFields/Styles/fontawesome-iconpicker.css"></style>
<style name="fontpickerCustomStyle" at="Head" asp-src="~/OrchardCore.ContentFields/Styles/iconpicker-custom.css"></style>
<script asp-name="popper" at="Foot"></script>
<script asp-name="bootstrap" at="Foot" depends-on="popper"></script>
<script name="fontpickerScript" asp-src="/OrchardCore.ContentFields/Scripts/fontawesome-iconpicker.min.js" debug-src="/OrchardCore.ContentFields/Scripts/fontawesome-iconpicker.js" at="Foot"></script>
<script name="iconpickerCustomScript" asp-src="/OrchardCore.ContentFields/Scripts/iconpicker-custom.js" at="Foot"></script>
<script name="fontpickerScript" asp-src="~/OrchardCore.ContentFields/Scripts/fontawesome-iconpicker.min.js" debug-src="~/OrchardCore.ContentFields/Scripts/fontawesome-iconpicker.js" at="Foot"></script>
<script name="iconpickerCustomScript" asp-src="~/OrchardCore.ContentFields/Scripts/iconpicker-custom.js" at="Foot"></script>

<fieldset class="form-group">
<label asp-for="Text">@Model.PartFieldDefinition.DisplayName()</label>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@using OrchardCore.ContentFields.Settings
@model OrchardCore.ContentFields.ViewModels.PredefinedListSettingsViewModel

<script asp-src="/OrchardCore.ContentFields/Scripts/optionsEditor.js" asp-name="optionsEditor" at="Foot" depends-on="vuejs, vuemultiselect"></script>
<style asp-src="/OrchardCore.ContentFields/Styles/optionsEditor.min.css" debug-src="/OrchardCore.ContentFields/Styles/optionsEditor.css"></style>
<script asp-src="~/OrchardCore.ContentFields/Scripts/optionsEditor.js" asp-name="optionsEditor" at="Foot" depends-on="vuejs, vuemultiselect"></script>
<style asp-src="~/OrchardCore.ContentFields/Styles/optionsEditor.min.css" debug-src="~/OrchardCore.ContentFields/Styles/optionsEditor.css"></style>
<script asp-src="https://vuejs.org/js/vue.min.js" debug-src="https://vuejs.org/js/vue.js" asp-name="vuejs" at="Foot"></script>
<script asp-src="https://cdn.jsdelivr.net/sortable/1.4.2/Sortable.min.js" debug-src="https://cdn.jsdelivr.net/sortable/1.4.2/Sortable.js" asp-name="sortable" at="Foot"></script>
<script asp-src="https://cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.14.1/vuedraggable.min.js" debug-src="https://cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.14.1/vuedraggable.js" asp-name="vuedraggable" depends-on="vuejs, sortable" at="Foot"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
<div id="previewContentItemId" style="display:none" data-value="@Model.ContentItem.ContentItemId"></div>
<div id="previewContentItemVersionId" style="display:none" data-value="@Model.ContentItem.ContentItemVersionId"></div>

<script asp-src="/OrchardCore.ContentPreview/Scripts/contentpreview.edit.js" depends-on="admin" at="Foot"></script>
<script asp-src="~/OrchardCore.ContentPreview/Scripts/contentpreview.edit.js" depends-on="admin" at="Foot"></script>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<style asp-name="bootstrap"></style>
<script asp-name="bootstrap" at="Foot"></script>
<script asp-src="/OrchardCore.Templates/js.cookie.js" depends-on="jquery" at="Foot"></script>
<script asp-src="~/OrchardCore.Templates/js.cookie.js" depends-on="jquery" at="Foot"></script>

<resources type="Header" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Display.LocalNavigation(Tabs: tabs);
}*@

<style asp-src="/OrchardCore.Contents/Styles/Contents.min.css" debug-src="/OrchardCore.Contents/Styles/Contents.css"></style>
<style asp-src="~/OrchardCore.Contents/Styles/Contents.min.css" debug-src="~/OrchardCore.Contents/Styles/Contents.css"></style>

<div class="edit-container">
<div class="edit-body">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@model ContentTypesAdminNodeViewModel

<style asp-src="/OrchardCore.Contents/Styles/Contents.min.css" debug-src="/OrchardCore.Contents/Styles/Contents.css"></style>
<style asp-src="/OrchardCore.AdminTrees/Styles/admin-trees-icon-picker.css" debug-src="/OrchardCore.AdminTrees/Styles/admin-trees-icon-picker.css" at="Head" depends-on="admin"></style>
<style asp-src="~/OrchardCore.Contents/Styles/Contents.min.css" debug-src="~/OrchardCore.Contents/Styles/Contents.css"></style>
<style asp-src="~/OrchardCore.AdminTrees/Styles/admin-trees-icon-picker.css" debug-src="~/OrchardCore.AdminTrees/Styles/admin-trees-icon-picker.css" at="Head" depends-on="admin"></style>

<script asp-src="https://vuejs.org/js/vue.min.js" debug-src="https://vuejs.org/js/vue.js" asp-name="vuejs" at="Foot"></script>
<script asp-src="/OrchardCore.AdminTrees/Scripts/admin-trees-icon-picker.js" at="Foot" depends-on="admin"></script>
<script asp-src="~/OrchardCore.AdminTrees/Scripts/admin-trees-icon-picker.js" at="Foot" depends-on="admin"></script>

<h5>@T["Content Types"]</h5>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<script asp-name="codemirror-addon-mode-simple" at="Foot"></script>
<script asp-name="codemirror-addon-mode-multiplex" at="Foot"></script>
<script asp-name="codemirror-mode-xml" at="Foot"></script>
<script asp-src="/OrchardCore.Liquid/codemirror/liquid.js" at="Foot"></script>
<script asp-src="~/OrchardCore.Liquid/codemirror/liquid.js" at="Foot"></script>

<script at="Foot">
$(function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<script asp-name="codemirror-addon-mode-simple" at="Foot"></script>
<script asp-name="codemirror-addon-mode-multiplex" at="Foot"></script>
<script asp-name="codemirror-mode-xml" at="Foot"></script>
<script asp-src="/OrchardCore.Liquid/codemirror/liquid.js" at="Foot"></script>
<script asp-src="~/OrchardCore.Liquid/codemirror/liquid.js" at="Foot"></script>

<script at="Foot">
$(function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
Context.Items["BagPart.Edit"] = new object();
<input type="hidden" id="buildEditorUrl" value="@Url.Action("BuildEditor", "Admin", new { area = "OrchardCore.Flows" })" />

<script asp-src="/OrchardCore.Flows/Scripts/flows.edit.js" at="Foot" depends-on="admin"></script>
<style asp-src="/OrchardCore.Flows/Styles/flows.edit.css"></style>
<script asp-src="~/OrchardCore.Flows/Scripts/flows.edit.js" at="Foot" depends-on="admin"></script>
<style asp-src="~/OrchardCore.Flows/Styles/flows.edit.css"></style>
}

@* Rendered only once per type to initialize the scripts its editor will need *@
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
await DisplayAsync(await ContentItemDisplayManager.BuildEditorAsync(contentItem, Model.Updater, true, "", Guid.NewGuid().ToString("n")));
}

<script asp-src="/OrchardCore.Flows/Scripts/flows.edit.js" at="Foot" depends-on="admin"></script>
<style asp-src="/OrchardCore.Flows/Styles/flows.edit.css"></style>
<script asp-src="~/OrchardCore.Flows/Scripts/flows.edit.js" at="Foot" depends-on="admin"></script>
<style asp-src="~/OrchardCore.Flows/Styles/flows.edit.css"></style>
}

<script at="Foot">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
var settings = Model.TypePartDefinition.Settings.ToObject<HtmlBodyPartSettings>();
}

<script asp-name="trumbowyg" depends-on="admin" asp-src="/OrchardCore.Resources/Scripts/trumbowyg.min.js" debug-src="/OrchardCore.Resources/Scripts/trumbowyg.js" at="Foot"></script>
<style asp-name="trumbowyg" asp-src="/OrchardCore.Resources/Styles/trumbowyg.min.css" debug-src="/OrchardCore.Resources/Styles/trumbowyg.css"></style>
<script asp-name="trumbowyg" depends-on="admin" asp-src="~/OrchardCore.Resources/Scripts/trumbowyg.min.js" debug-src="~/OrchardCore.Resources/Scripts/trumbowyg.js" at="Foot"></script>
<style asp-name="trumbowyg" asp-src="~/OrchardCore.Resources/Styles/trumbowyg.min.css" debug-src="~/OrchardCore.Resources/Styles/trumbowyg.css"></style>

<fieldset class="form-group">
<label asp-for="Source">@Model.TypePartDefinition.DisplayName()</label>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script asp-src="/OrchardCore.Html/Scripts/trumbowyg.media.min.js" debug-src="/OrchardCore.Html/Scripts/trumbowyg.media.js" at="Foot"></script>
<script asp-src="~/OrchardCore.Html/Scripts/trumbowyg.media.min.js" debug-src="~/OrchardCore.Html/Scripts/trumbowyg.media.js" at="Foot"></script>

<div class="modal fade" id="mediaModalBody">
<div class="modal-dialog modal-lg" role="document">
Expand All @@ -19,8 +19,8 @@
</div>
</div>

<script asp-src="/OrchardCore.Media/Scripts/media.js" asp-name="media" at="Foot" depends-on="admin, vuejs, sortable, vuedraggable"></script>
<style asp-src="/OrchardCore.Media/Styles/media.min.css" debug-src="/OrchardCore.Media/Styles/media.css"></style>
<script asp-src="~/OrchardCore.Media/Scripts/media.js" asp-name="media" at="Foot" depends-on="admin, vuejs, sortable, vuedraggable"></script>
<style asp-src="~/OrchardCore.Media/Styles/media.min.css" debug-src="~/OrchardCore.Media/Styles/media.css"></style>
<script asp-src="https://vuejs.org/js/vue.min.js" debug-src="https://vuejs.org/js/vue.js" asp-name="vuejs" at="Foot"></script>
<script asp-src="https://cdn.jsdelivr.net/sortable/1.4.2/Sortable.min.js" debug-src="https://cdn.jsdelivr.net/sortable/1.4.2/Sortable.js" asp-name="sortable" at="Foot"></script>
<script asp-src="https://cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.14.1/vuedraggable.min.js" debug-src="https://cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.14.1/vuedraggable.js" asp-name="vuedraggable" depends-on="vuejs, sortable" at="Foot"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script asp-name="codemirror-addon-mode-simple" at="Foot"></script>
<script asp-name="codemirror-addon-mode-multiplex" at="Foot"></script>
<script asp-name="codemirror-mode-xml" at="Foot"></script>
<script asp-src="/OrchardCore.Liquid/codemirror/liquid.js" at="Foot"></script>
<script asp-src="~/OrchardCore.Liquid/codemirror/liquid.js" at="Foot"></script>

<fieldset class="form-group">
<label asp-for="Liquid">@T["Body"]</label>
Expand Down
Loading