mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
Resolve Conflicts
This commit is contained in:
@@ -32,11 +32,9 @@
|
|||||||
.dark-bg {
|
.dark-bg {
|
||||||
background-color: #2E3338;
|
background-color: #2E3338;
|
||||||
}
|
}
|
||||||
.left-aligned,
|
|
||||||
.text-left {
|
.text-left {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
.right-aligned,
|
|
||||||
.text-right {
|
.text-right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
@@ -333,6 +331,12 @@ a:visited {
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
@media screen and (min-width: 991px) {
|
||||||
|
.container,
|
||||||
|
.page-content-wrapper {
|
||||||
|
max-width: 991px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@media screen and (min-width: 1199px) {
|
@media screen and (min-width: 1199px) {
|
||||||
.container,
|
.container,
|
||||||
.page-content-wrapper {
|
.page-content-wrapper {
|
||||||
|
|||||||
@@ -41,12 +41,10 @@
|
|||||||
background-color: @text-dark;
|
background-color: @text-dark;
|
||||||
}
|
}
|
||||||
|
|
||||||
.left-aligned,
|
|
||||||
.text-left {
|
.text-left {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-aligned,
|
|
||||||
.text-right {
|
.text-right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -102,6 +102,10 @@ a {
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
||||||
|
@media screen and (min-width: @screen-sm) {
|
||||||
|
max-width: @screen-sm;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (min-width: @screen-md) {
|
@media screen and (min-width: @screen-md) {
|
||||||
max-width: @screen-md;
|
max-width: @screen-md;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -128,12 +128,31 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
frappe.ready(function() {
|
frappe.ready(function() {
|
||||||
var d = new Date();
|
var d = new Date();
|
||||||
var currentYear = d.getFullYear();
|
var currentYear = d.getFullYear();
|
||||||
$("#year").text(currentYear);
|
$("#year").text(currentYear);
|
||||||
|
$('.js-subscribe-form').on('submit', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
const form = this;
|
||||||
|
const formdata = new FormData(this);
|
||||||
|
const email = formdata.get('email');
|
||||||
|
const input = $(form).find('input');
|
||||||
|
const button = $(form).find('button');
|
||||||
|
erpnext.subscribe_to_newsletter({
|
||||||
|
email,
|
||||||
|
callback(r) {
|
||||||
|
if (!r.exc) {
|
||||||
|
form.reset();
|
||||||
|
button.text('Added');
|
||||||
|
setTimeout(() => {
|
||||||
|
button.text('Subscribe');
|
||||||
|
}, 3000);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user