Skip to content

Commit 953667a

Browse files
authored
feat: embeded missing css and script files from web ui (#110)
1 parent c85e111 commit 953667a

5 files changed

Lines changed: 26 additions & 5 deletions

File tree

src/Rules.Framework.Providers.InMemory/Rules.Framework.Providers.InMemory.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<RepositoryUrl></RepositoryUrl>
1616
<RepositoryType>Git</RepositoryType>
1717
<PackageTags>rules rulesframework memory inmemory</PackageTags>
18-
<Description>A data source provider implementation using Mongo DB for rules framework.</Description>
18+
<Description>A data source provider implementation using InMemory for rules framework.</Description>
1919
<Copyright></Copyright>
2020
</PropertyGroup>
2121

src/Rules.Framework.WebUI/Rules.Framework.WebUI.csproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@
2929
<ItemGroup>
3030
<EmbeddedResource Include="node_modules/glyphicons-only-bootstrap/**/*" Exclude="**/*/index.html;**/*/*.map;**/*/*.json;**/*/*.md" />
3131
<EmbeddedResource Include="node_modules/jquery/dist/**/*" Exclude="**/*/index.html;**/*/*.map;**/*/*.json;**/*/*.md" />
32-
<EmbeddedResource Include="node_modules/paginationjs/dist/**/*" Exclude="**/*/index.html;**/*/*.map;**/*/*.json;**/*/*.md" />
33-
<EmbeddedResource Include="index.html" />
32+
<EmbeddedResource Include="node_modules/paginationjs/dist/**/*" Exclude="**/*/index.html;**/*/*.map;**/*/*.json;**/*/*.md" />
33+
<EmbeddedResource Include="node_modules/bootstrap/**/*" Exclude="**/*/index.html;**/*/*.map;**/*/*.json;**/*/*.md" />
34+
<EmbeddedResource Include="index.html" />
3435
<EmbeddedResource Include="node_modules/rules_list.ico" />
3536
</ItemGroup>
3637

@@ -62,5 +63,11 @@
6263
<EmbeddedResource Update="node_modules\paginationjs\dist\pagination.min.js">
6364
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6465
</EmbeddedResource>
66+
<EmbeddedResource Update="node_modules\bootstrap\dist\bootstrap.bundle.min.js">
67+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
68+
</EmbeddedResource>
69+
<EmbeddedResource Update="node_modules\bootstrap\css\bootstrap.min.css">
70+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
71+
</EmbeddedResource>
6572
</ItemGroup>
6673
</Project>

src/Rules.Framework.WebUI/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<title>%(DocumentTitle)</title>
66

7-
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous" />
7+
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" />
88
<link rel='stylesheet' href='glyphicons_only_bootstrap/css/bootstrap.min.css' />
99
<link href="paginationjs/dist/pagination.css" rel="stylesheet" />
1010
<link rel="shortcut icon" type="image/x-icon" href="rules_list.ico" />
@@ -227,7 +227,7 @@ <h5 class="mb-3">Rules</h5>
227227
<br />
228228
</div>
229229
</main>
230-
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
230+
<script src="bootstrap/dist/bootstrap.bundle.min.js"></script>
231231

232232
<script>
233233
rules = [];

src/Rules.Framework.WebUI/node_modules/bootstrap/css/bootstrap.min.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Rules.Framework.WebUI/node_modules/bootstrap/dist/bootstrap.bundle.min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)