Skip to content

Commit 797fae8

Browse files
committed
Added script/style libraries from bower.
1 parent d9ce98d commit 797fae8

File tree

1,083 files changed

+151341
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,083 files changed

+151341
-2
lines changed

src/AbpCompanyName.AbpProjectName.Web/Views/Shared/_Layout.cshtml

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,27 @@
1313

1414
<title>AbpProjectName</title>
1515

16+
<!-- Global styles -->
17+
1618
<environment names="Development">
1719
<link rel="stylesheet" href="~/lib/bootstrap-paper/bootstrap.css" />
20+
<link rel="stylesheet" href="~/lib/toastr/toastr.css" />
21+
<link rel="stylesheet" href="~/lib/sweetalert/dist/sweetalert.css" />
22+
<link rel="stylesheet" href="~/lib/famfamfam-flags/dist/sprite/famfamfam-flags.css" />
23+
<link rel="stylesheet" href="~/lib/font-awesome/css/font-awesome.css" />
1824
</environment>
1925

2026
<environment names="Staging,Production">
27+
@* TODO: BUNDLE / Get from CDN ? *@
28+
2129
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.6/paper/bootstrap.min.css"
2230
asp-fallback-href="~/lib/bootstrap-paper/bootstrap.min.css"
2331
asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" />
2432

33+
<link rel="stylesheet" href="~/lib/toastr/toastr.min.css" />
34+
<link rel="stylesheet" href="~/lib/sweetalert/dist/sweetalert.css" />
35+
<link rel="stylesheet" href="~/lib/famfamfam-flags/dist/sprite/famfamfam-flags.min.css" />
36+
<link rel="stylesheet" href="~/lib/font-awesome/css/font-awesome.min.css" />
2537
</environment>
2638

2739
<!-- View specific styles -->
@@ -48,15 +60,33 @@
4860
@RenderBody()
4961
</div>
5062

63+
<!-- Global scripts -->
64+
5165
<environment names="Development">
66+
<script src="~/lib/json2/json2.js"></script>
5267
<script src="~/lib/jquery/dist/jquery.js"></script>
5368
<script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
69+
<script src="~/lib/moment/min/moment-with-locales.js"></script>
70+
<script src="~/lib/jquery-validation/dist/jquery.validate.js"></script>
71+
<script src="~/lib/blockUI/jquery.blockUI.js"></script>
72+
<script src="~/lib/toastr/toastr.js"></script>
73+
<script src="~/lib/sweetalert/dist/sweetalert-dev.js"></script>
74+
<script src="~/lib/spin.js/spin.js"></script>
75+
<script src="~/lib/spin.js/jquery.spin.js"></script>
5476

5577
<script src="~/lib/abp-web-resources/Abp/Framework/scripts/abp.js"></script>
5678
<script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.jquery.js"></script>
79+
<script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.toastr.js"></script>
80+
<script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.blockUI.js"></script>
81+
<script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.sweet-alert.js"></script>
82+
<script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.spin.js"></script>
5783
</environment>
5884

5985
<environment names="Staging,Production">
86+
@* TODO: BUNDLE / Get from CDN ? *@
87+
88+
<script src="~/lib/json2/json2.js"></script>
89+
6090
<script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.2.0.min.js"
6191
asp-fallback-src="~/lib/jquery/dist/jquery.min.js"
6292
asp-fallback-test="window.jQuery">
@@ -65,6 +95,21 @@
6595
asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.min.js"
6696
asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal">
6797
</script>
98+
99+
<script src="~/lib/moment/min/moment-with-locales.min.js"></script>
100+
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
101+
<script src="~/lib/blockUI/jquery.blockUI.js"></script>
102+
<script src="~/lib/toastr/toastr.min.js"></script>
103+
<script src="~/lib/sweetalert/dist/sweetalert.min.js"></script>
104+
<script src="~/lib/spin.js/spin.min.js"></script>
105+
<script src="~/lib/spin.js/jquery.spin.js"></script>
106+
107+
<script src="~/lib/abp-web-resources/Abp/Framework/scripts/abp.js"></script>
108+
<script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.jquery.js"></script>
109+
<script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.toastr.js"></script>
110+
<script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.blockUI.js"></script>
111+
<script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.sweet-alert.js"></script>
112+
<script src="~/lib/abp-web-resources/Abp/Framework/scripts/libs/abp.spin.js"></script>
68113
</environment>
69114

70115
<script>
@@ -75,10 +120,11 @@
75120
</script>
76121

77122
<!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) -->
78-
<script src="~/AbpServiceProxies/GetAll?v=@(Clock.Now.Ticks)"></script>
123+
<script src="~/AbpServiceProxies/GetAll?v=@(Clock.Now.Ticks)" type="text/javascript"></script>
79124
<script src="~/AbpScripts/GetScripts?v=@(Clock.Now.Ticks)" type="text/javascript"></script>
80125

81126
<!-- View specific scripts -->
127+
82128
@RenderSection("scripts", required: false)
83129
</body>
84130
</html>

src/AbpCompanyName.AbpProjectName.Web/bower.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
"dependencies": {
55
"bootstrap": "3.3.6",
66
"jquery": "2.2.0",
7-
"abp-web-resources": "^0.10.0"
7+
"abp-web-resources": "^0.10.0",
8+
"toastr": "^2.1.2",
9+
"sweetalert": "^1.1.3",
10+
"famfamfam-flags": "^1.0.0",
11+
"font-awesome": "^4.6.3",
12+
"json2": "*",
13+
"moment": "^2.14.1",
14+
"jquery-validation": "^1.15.0",
15+
"blockUI": "jquery.blockUI#*",
16+
"spin.js": "^2.3.2"
817
}
918
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "blockUI",
3+
"title": "BlockUI",
4+
"description": "Simulate synchronous ajax by blocking - not locking - the UI. This plugin lets you block user interaction with the page or with a specific element on the page. Also great at displaying modal dialogs.",
5+
"keywords": [
6+
"block",
7+
"overlay",
8+
"dialog",
9+
"modal"
10+
],
11+
"author": {
12+
"name": "M. Alsup",
13+
"url": "http://jquery.malsup.com"
14+
},
15+
"licenses": [
16+
{
17+
"type": "MIT",
18+
"url": "http://malsup.github.com/mit-license.txt"
19+
},
20+
{
21+
"type": "GPL",
22+
"url": "http://malsup.github.com/gpl-license-v2.txt"
23+
}
24+
],
25+
"bugs": "https://github.com/malsup/blockui/issues",
26+
"homepage": "http://jquery.malsup.com/block/",
27+
"docs": "http://jquery.malsup.com/block/",
28+
"download": "http://malsup.github.com/jquery.blockUI.js",
29+
"dependencies": {
30+
"jquery": ">=1.7"
31+
},
32+
"main": "jquery.blockUI.js",
33+
"_release": "316f6e5d76",
34+
"_resolution": {
35+
"type": "branch",
36+
"branch": "master",
37+
"commit": "316f6e5d76a33266970778e80507149d9ef6a02d"
38+
},
39+
"_source": "https://github.com/malsup/blockui.git",
40+
"_target": "*",
41+
"_originalSource": "jquery.blockUI",
42+
"_direct": true
43+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# BlockUI - Page or element overlay
2+
3+
## Getting Started
4+
Download either the [production version][min] or the [development version][max] of BlockUI.
5+
6+
[min]: http://malsup.github.com/min/jquery.blockUI.min.js
7+
[max]: http://malsup.github.com/jquery.blockUI.js
8+
9+
In your web page:
10+
11+
<pre>
12+
&lt;!-- include jQuery -->
13+
&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js">&lt;/script>
14+
&lt;!-- include BlockUI -->
15+
&lt;script src="http://path/to/your/copy/of/jquery.blockUI.js">&lt;/script>
16+
&lt;script>
17+
// invoke blockUI as needed -->
18+
$(document).on('click', '#myButton', function() {
19+
$.blockUI();
20+
});
21+
>&lt;/script>
22+
</pre>
23+
24+
## Documentation, Demos and FAQ
25+
Everything you need to know can be found here:
26+
[http://jquery.malsup.com/block/](http://jquery.malsup.com/block/)
27+
28+
29+
## Copyright and License
30+
Copyright &copy; 2007-2013 M. Alsup.
31+
32+
The BlockUI plugin is dual licensed under the [MIT](http://malsup.github.com/mit-license.txt) and [GPL](http://malsup.github.com/gpl-license-v2.txt) licenses.
33+
34+
You may use either license. The MIT license is recommended for most projects because it is simple and easy to understand and it places almost no restrictions on what you can do with the plugin.
35+
36+
If the GPL suits your project better you are also free to use the plugin under that license.
37+
38+
You do not have to do anything special to choose one license or the other and you don't have to notify anyone which license you are using. You are free to use the BlockUI plugin in commercial projects as long as the copyright header is left intact.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "blockUI",
3+
"title": "BlockUI",
4+
"description": "Simulate synchronous ajax by blocking - not locking - the UI. This plugin lets you block user interaction with the page or with a specific element on the page. Also great at displaying modal dialogs.",
5+
"keywords": [
6+
"block",
7+
"overlay",
8+
"dialog",
9+
"modal"
10+
],
11+
"version": "2.70.0-2014.11.23",
12+
"author": {
13+
"name": "M. Alsup",
14+
"url": "http://jquery.malsup.com"
15+
},
16+
"licenses": [
17+
{
18+
"type": "MIT",
19+
"url": "http://malsup.github.com/mit-license.txt"
20+
},
21+
{
22+
"type": "GPL",
23+
"url": "http://malsup.github.com/gpl-license-v2.txt"
24+
}
25+
],
26+
"bugs": "https://github.com/malsup/blockui/issues",
27+
"homepage": "http://jquery.malsup.com/block/",
28+
"docs": "http://jquery.malsup.com/block/",
29+
"download": "http://malsup.github.com/jquery.blockUI.js",
30+
"dependencies": {
31+
"jquery": ">=1.7"
32+
}
33+
}
34+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "blockUI",
3+
"title": "BlockUI",
4+
"description": "Simulate synchronous ajax by blocking - not locking - the UI. This plugin lets you block user interaction with the page or with a specific element on the page. Also great at displaying modal dialogs.",
5+
"keywords": [
6+
"block",
7+
"overlay",
8+
"dialog",
9+
"modal"
10+
],
11+
"version": "2.70",
12+
"author": {
13+
"name": "M. Alsup",
14+
"url": "http://jquery.malsup.com"
15+
},
16+
"licenses": [
17+
{
18+
"type": "MIT",
19+
"url": "http://malsup.github.com/mit-license.txt"
20+
},
21+
{
22+
"type": "GPL",
23+
"url": "http://malsup.github.com/gpl-license-v2.txt"
24+
}
25+
],
26+
"bugs": "https://github.com/malsup/blockui/issues",
27+
"homepage": "http://jquery.malsup.com/block/",
28+
"docs": "http://jquery.malsup.com/block/",
29+
"download": "http://malsup.github.com/jquery.blockUI.js",
30+
"dependencies": {
31+
"jquery": ">=1.7"
32+
},
33+
"main": "jquery.blockUI.js"
34+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "components/jquery-blockui",
3+
"description": "Simulate synchronous ajax by blocking - not locking - the UI. This plugin lets you block user interaction with the page or with a specific element on the page. Also great at displaying modal dialogs.",
4+
"keywords": [
5+
"block",
6+
"overlay",
7+
"dialog",
8+
"modal"
9+
],
10+
"license": ["MIT", "GPL"],
11+
"type": "component",
12+
"homepage": "http://jquery.malsup.com/block/",
13+
"authors": [
14+
{
15+
"name": "M. Alsup",
16+
"homepage": "http://jquery.malsup.com"
17+
}
18+
],
19+
"require": {
20+
"robloach/component-installer": "*",
21+
"components/jquery": ">=1.7"
22+
},
23+
"extra": {
24+
"component": {
25+
"scripts": [
26+
"jquery.blockUI.js"
27+
],
28+
"shim": {
29+
"deps": [
30+
"jquery"
31+
]
32+
}
33+
}
34+
}
35+
}

0 commit comments

Comments
 (0)