Skip to content

Commit bcf647c

Browse files
author
zzzprojects
committed
Many website improvment
Many website improvment
1 parent 9777a22 commit bcf647c

File tree

8 files changed

+86
-14
lines changed

8 files changed

+86
-14
lines changed

docs/_data/meta.csv

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ faq-general,FAQ - General,FAQ - General,,FAQ - General,,,
3838
faq-installation,FAQ - Installation,FAQ - Installation,,FAQ - Installation,,,
3939
faq-license,FAQ - License,FAQ - License,,FAQ - License,,,
4040
problems,Problems,Problems,,Problems,,,
41-
trial-period-expired-exception,trial-period-expired-exception,trial-period-expired-exception,,trial-period-expired-exception,,,
42-
md5-exception,md5-exception,md5-exception,,md5-exception,,,
43-
dbupdateconcurrency-exception,dbupdateconcurrency-exception,dbupdateconcurrency-exception,,dbupdateconcurrency-exception,,,
44-
dbbulkoperationconcurrency-exception,dbbulkoperationconcurrency-exception,dbbulkoperationconcurrency-exception,,dbbulkoperationconcurrency-exception,,,
45-
foreign-key-constraint-autodetectchanges-disabled,foreign-key-constraint-autodetectchanges-disabled,foreign-key-constraint-autodetectchanges-disabled,,foreign-key-constraint-autodetectchanges-disabled,,,
46-
type-not-supported-exception,type-not-supported-exception,type-not-supported-exception,,type-not-supported-exception,,,
41+
trial-period-expired-exception,Trial Expired,Trial Expired,,Trial Expired,,,
42+
md5-exception,MD5 Exception,MD5 Exception,,MD5 Exception,,,
43+
dbupdateconcurrency-exception,DbUpdateConcurrency,DbUpdateConcurrency,,DbUpdateConcurrency,,,
44+
dbbulkoperationconcurrency-exception,DbBulkOperationConcurrency,DbBulkOperationConcurrency,,DbBulkOperationConcurrency,,,
45+
foreign-key-constraint-autodetectchanges-disabled,Foreign Key Constraint,Foreign Key Constraint,,Foreign Key Constraint,,,
46+
type-not-supported-exception,Type not Supported,Type not Supported,,Type not Supported,,,
4747
allow-concurrency,allow-concurrency,allow-concurrency,,allow-concurrency,,no,
4848
allow-duplicate-keys,allow-duplicate-keys,allow-duplicate-keys,,allow-duplicate-keys,,no,
4949
allow-update-primary-keys,allow-update-primary-keys,allow-update-primary-keys,,allow-update-primary-keys,,no,

docs/_layouts/default.html

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,10 @@
9595

9696
{% include site-footer.html %}
9797

98-
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
99-
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
98+
<div id="scroll-to-top"><i class="fa fa-angle-up" aria-hidden="true"></i></div>
99+
100+
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
101+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
100102
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
101103
<script src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js"></script>
102104

@@ -124,7 +126,21 @@
124126
});
125127
});
126128
</script>
127-
129+
130+
<script>
131+
$(window).scroll(function() {
132+
if ($(this).scrollTop() >= 600) {
133+
$('#scroll-to-top').fadeIn(200);
134+
} else {
135+
$('#scroll-to-top').fadeOut(200);
136+
}
137+
});
138+
$('#scroll-to-top').click(function() {
139+
$('body,html').animate({
140+
scrollTop : 0
141+
}, 500);
142+
});
143+
</script>
128144
</body>
129145
</html>
130146

docs/_sass/card-layout-z1.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.card-layout-z1 {
22
border: 1px solid #000;
3-
box-shadow: 10px 10px grey;
3+
box-shadow: 5px 5px 5px #000;
44
border-radius: 0;
55
}
66
.card-layout-z1 .card-body {

docs/_sass/console.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
.card-code .card-header {
1313
border: 0;
1414
border-radius: 0;
15-
font-size: 20px;
15+
font-size: 24px;
1616
}
1717

1818
.card-code-dark-inverse {

docs/_sass/scroll-to-top.scss

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#scroll-to-top {
2+
position: fixed;
3+
bottom: 60px;
4+
right: 20px;
5+
background: rgb(0, 0, 0);
6+
background: rgba(0, 0, 0, 0.7);
7+
width: 50px;
8+
height: 50px;
9+
text-decoration: none;
10+
-webkit-border-radius: 35px;
11+
-moz-border-radius: 35px;
12+
border-radius: 35px;
13+
display: none;
14+
-webkit-transition: all 0.3s linear;
15+
-moz-transition: all 0.3s ease;
16+
-ms-transition: all 0.3s ease;
17+
-o-transition: all 0.3s ease;
18+
transition: all 0.3s ease;
19+
z-index:99999;
20+
}
21+
#scroll-to-top i {
22+
color: #fff;
23+
margin: 0;
24+
position: relative;
25+
top: 7px;
26+
font-size: 24px;
27+
-webkit-transition: all 0.3s ease;
28+
-moz-transition: all 0.3s ease;
29+
-ms-transition: all 0.3s ease;
30+
-o-transition: all 0.3s ease;
31+
transition: all 0.3s ease;
32+
text-align: center;
33+
width: 100%;
34+
font-size: 30px;
35+
}
36+
#scroll-to-top:hover {
37+
background: rgba(0, 0, 0, 0.9);
38+
}
39+
40+
@media (max-width: 575px) {
41+
#scroll-to-top {
42+
bottom: 10px;
43+
right: 20px;
44+
}
45+
}

docs/css/master.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
@import "card-layout-z2";
1414
@import "page-index";
1515
@import "hero";
16+
@import "scroll-to-top";
1617

18+
body {
19+
overflow-x: hidden;
20+
}
1721
/* theme: z */
1822
.fa-check-square-o {
1923
color: #449d44;

docs/pages/problems/trial-period-expired-exception.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ You execute a method from the Entity Framework Extensions library, and the follo
1414

1515
- You are currently evaluating the library and the trial period is expired.
1616
- You have purchased the license but didn't register it correctly.
17+
- You called some method from the library before registering the license.
1718

1819
### Fix
1920

@@ -27,4 +28,8 @@ The latest version always contains a trial for the current month to allows a com
2728

2829
Make sure to follow all recommendation about how to setup your license: [Licensing](http://entityframework-extensions.net/licensing)
2930

30-
Otherwise contact us: {% include infozzzprojects-email.html %}
31+
#### Method called before registering
32+
33+
Make sure to register your license before calling any other methods from our library. Otherwise, you could enable the trial period instead.
34+
35+
Make sure to follow all recommendation about how to setup your license: [Licensing](http://entityframework-extensions.net/licensing)

docs/pages/tutorials/overview.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ context.BulkDelete(list);
2323
context.BulkMerge(list);
2424

2525
// Easy to customize
26-
context.BulkMerge(customers, options => options.ColumnPrimaryKeyExpression = customer => customer.Code);
26+
context.BulkMerge(customers, options =>
27+
options.ColumnPrimaryKeyExpression = customer => customer.Code);
2728
{% endhighlight %}
2829

2930
## Purpose
@@ -92,7 +93,8 @@ context.BulkDelete(list);
9293
context.BulkMerge(list);
9394

9495
// Easy to customize
95-
context.BulkMerge(customers, bulk => bulk.ColumnPrimaryKeyExpression = customer => customer.Code; });
96+
context.BulkMerge(customers, options =>
97+
options.ColumnPrimaryKeyExpression = customer => customer.Code; });
9698
{% endhighlight %}
9799

98100
### Performance Comparisons

0 commit comments

Comments
 (0)