first commit

This commit is contained in:
ryanwong
2022-06-30 05:46:02 -04:00
commit a96eaec33b
859 changed files with 199842 additions and 0 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+195
View File
@@ -0,0 +1,195 @@
/******FOOTER *****************/
.auth-footer{
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 17px;
color: #545D74;
}
.nav-link a{
color: #FBFDFF !important;
}
.footer-right{
text-align: right;
}
.theme{
background-color: #0C143F !important;
}
.required:before {
content:"* ";
color: red;
}
.auth-footer-content{
border-top : 1px solid #ccc;
}
.sign-up-text{
text-align: center;
}
.sign-up-text p{
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 19px;
letter-spacing: -0.01em;
color: #545D74;
}
.sign-up-text h1{
font-style: normal;
font-weight: 600;
font-size: 36px;
line-height: 44px;
letter-spacing: -0.01em;
color: #0C143F;
}
.form-container{
width: 100%;
border: 1px solid #ccc;
height: auto;
}
.btn-accent-light{
background-color: #2A42DD !important;
color: #fff;
font-weight: 500;
border-radius: 2px;
min-height: 46px;
padding: 12px 24px;
}
.btn-accent-light-outline{
border: 1.5px solid #2A42DD !important;
color: #2A42DD ;
background-color: #fff;
font-weight: 700;
padding: 12px 24px;
}
.btn-accent-light-outline:hover{
color:#2A42DD ;
}
.btn-accent-light:hover{
color:#f3f3f3;
}
.form-container p, .form-container label{
color: #545D74;
}
.ln-text{
text-align: center;
width: 100%;
}
.ln-text span{
display: flex;
flex-direction: row;
color: #545D74;
}
.site-input{
border : 1px solid #0C143F !important;
}
.ln-text span:after,
.ln-text span:before{
content: "";
flex: 1 1;
border-bottom: 1px solid #ccc;
margin: auto;
}
.ln-text span:before {
margin-right: 10px
}
.ln-text span:after {
margin-left: 10px
}
body{
background-color: #FBFDFF;
max-width: 100%;
overflow-x: hidden;
}
.feedback{
padding: 2%;
text-align: center;
font-style: normal;
color: red;
border: 1px solid red;
}
.auth-footer-link{
color: #545D74;
}
.auth-footer-mb-nav{
list-style: none;
margin: 0;
padding: 0;
}
.auth-footer-link:hover{
text-decoration: none;
}
/**********PROFILE DETAILS****************************/
.profile-tab{
background-color: #2A42DD !important;
color: #fff;
font-weight: 500;
border-radius: 0px;
}
/***********PROFILE TAB STEP 2*******************************/
#affiliate-options{
max-width: 100%;
justify-content: space-between;
padding-left: 2%;
padding-right: 2%;
}
.affiliation-item:hover{
cursor: pointer;
background-color: #f3f3f3;
}
/*
*@overide
*/
.ms-container{
margin: auto !important;
justify-self: self-start !important;
}
/****************PAYMENT DETAILS********************************************************/
.subscription-details{
border: 2px solid #0C143F ;
width: 100%;
min-height: 100px;
text-align: center;
}
@media (max-width: 768px) {
.auth-wrap, .form-container{
padding: 4% !important;
}
.footer-right{
text-align: left;
}
}
+694
View File
@@ -0,0 +1,694 @@
.select2-container {
box-sizing: border-box;
display: inline-block;
margin: 0;
position: relative;
vertical-align: middle;
}
.select2-container .select2-selection--single {
box-sizing: border-box;
cursor: pointer;
display: block;
height: 28px;
user-select: none;
-webkit-user-select: none;
}
.select2-container .select2-selection--single .select2-selection__rendered {
display: block;
padding-left: 8px;
padding-right: 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.select2-container .select2-selection--single .select2-selection__clear {
background-color: transparent;
border: none;
font-size: 1em;
}
.select2-container[dir="rtl"]
.select2-selection--single
.select2-selection__rendered {
padding-right: 8px;
padding-left: 20px;
}
.select2-container .select2-selection--multiple {
box-sizing: border-box;
cursor: pointer;
display: block;
min-height: 32px;
user-select: none;
-webkit-user-select: none;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
display: inline;
list-style: none;
padding: 0;
}
.select2-container .select2-selection--multiple .select2-selection__clear {
background-color: transparent;
border: none;
font-size: 1em;
}
.select2-container .select2-search--inline .select2-search__field {
box-sizing: border-box;
border: none;
font-size: 100%;
margin-top: 5px;
margin-left: 5px;
padding: 0;
}
.select2-container
.select2-search--inline
.select2-search__field::-webkit-search-cancel-button {
-webkit-appearance: none;
}
.select2-dropdown {
background-color: white;
border: 1px solid #aaa;
border-radius: 4px;
box-sizing: border-box;
display: block;
position: absolute;
left: -100000px;
width: 100%;
z-index: 1051;
}
.select2-results {
display: block;
}
.select2-results__options {
list-style: none;
margin: 0;
padding: 0;
}
.select2-results__option {
padding: 6px;
user-select: none;
-webkit-user-select: none;
}
.select2-results__option--selectable {
cursor: pointer;
}
.select2-container--open .select2-dropdown {
left: 0;
}
.select2-container--open .select2-dropdown--above {
border-bottom: none;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.select2-container--open .select2-dropdown--below {
border-top: none;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.select2-search--dropdown {
display: block;
padding: 4px;
}
.select2-search--dropdown .select2-search__field {
padding: 4px;
width: 100%;
box-sizing: border-box;
}
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
-webkit-appearance: none;
}
.select2-search--dropdown.select2-search--hide {
display: none;
}
.select2-close-mask {
border: 0;
margin: 0;
padding: 0;
display: block;
position: fixed;
left: 0;
top: 0;
min-height: 100%;
min-width: 100%;
height: auto;
width: auto;
opacity: 0;
z-index: 99;
background-color: #fff;
filter: alpha(opacity=0);
}
.select2-hidden-accessible {
border: 0 !important;
clip: rect(0 0 0 0) !important;
-webkit-clip-path: inset(50%) !important;
clip-path: inset(50%) !important;
height: 1px !important;
overflow: hidden !important;
padding: 0 !important;
position: absolute !important;
width: 1px !important;
white-space: nowrap !important;
}
.select2-container--default .select2-selection--single {
background-color: #fff;
border: 1px solid #aaa;
border-radius: 4px;
}
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
color: #444;
line-height: 28px;
}
.select2-container--default
.select2-selection--single
.select2-selection__clear {
cursor: pointer;
float: right;
font-weight: bold;
height: 26px;
margin-right: 20px;
padding-right: 0px;
}
.select2-container--default
.select2-selection--single
.select2-selection__placeholder {
color: #999;
}
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
height: 26px;
position: absolute;
top: 1px;
right: 1px;
width: 20px;
}
.select2-container--default
.select2-selection--single
.select2-selection__arrow
b {
border-color: #888 transparent transparent transparent;
border-style: solid;
border-width: 5px 4px 0 4px;
height: 0;
left: 50%;
margin-left: -4px;
margin-top: -2px;
position: absolute;
top: 50%;
width: 0;
}
.select2-container--default[dir="rtl"]
.select2-selection--single
.select2-selection__clear {
float: left;
}
.select2-container--default[dir="rtl"]
.select2-selection--single
.select2-selection__arrow {
left: 1px;
right: auto;
}
.select2-container--default.select2-container--disabled
.select2-selection--single {
background-color: #eee;
cursor: default;
}
.select2-container--default.select2-container--disabled
.select2-selection--single
.select2-selection__clear {
display: none;
}
.select2-container--default.select2-container--open
.select2-selection--single
.select2-selection__arrow
b {
border-color: transparent transparent #888 transparent;
border-width: 0 4px 5px 4px;
}
.select2-container--default .select2-selection--multiple {
background-color: white;
border: 1px solid #aaa;
border-radius: 4px;
cursor: text;
padding-bottom: 5px;
padding-right: 5px;
}
.select2-container--default
.select2-selection--multiple
.select2-selection__clear {
cursor: pointer;
float: right;
font-weight: bold;
height: 20px;
margin-right: 10px;
margin-top: 5px;
padding: 1px;
}
.select2-container--default
.select2-selection--multiple
.select2-selection__choice {
background-color: #e4e4e4;
border: 1px solid #aaa;
border-radius: 4px;
display: inline-block;
margin-left: 5px;
margin-top: 5px;
padding: 0;
}
.select2-container--default
.select2-selection--multiple
.select2-selection__choice__display {
cursor: default;
padding-left: 2px;
padding-right: 5px;
}
.select2-container--default
.select2-selection--multiple
.select2-selection__choice__remove {
background-color: transparent;
border: none;
border-right: 1px solid #aaa;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
color: #999;
cursor: pointer;
font-size: 1em;
font-weight: bold;
padding: 0 4px;
}
.select2-container--default
.select2-selection--multiple
.select2-selection__choice__remove:hover,
.select2-container--default
.select2-selection--multiple
.select2-selection__choice__remove:focus {
background-color: #f1f1f1;
color: #333;
outline: none;
}
.select2-container--default[dir="rtl"]
.select2-selection--multiple
.select2-selection__choice {
margin-left: 5px;
margin-right: auto;
}
.select2-container--default[dir="rtl"]
.select2-selection--multiple
.select2-selection__choice__display {
padding-left: 5px;
padding-right: 2px;
}
.select2-container--default[dir="rtl"]
.select2-selection--multiple
.select2-selection__choice__remove {
border-left: 1px solid #aaa;
border-right: none;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.select2-container--default[dir="rtl"]
.select2-selection--multiple
.select2-selection__clear {
float: left;
margin-left: 10px;
margin-right: auto;
}
.select2-container--default.select2-container--focus
.select2-selection--multiple {
border: solid black 1px;
outline: 0;
}
.select2-container--default.select2-container--disabled
.select2-selection--multiple {
background-color: #eee;
cursor: default;
}
.select2-container--default.select2-container--disabled
.select2-selection__choice__remove {
display: none;
}
.select2-container--default.select2-container--open.select2-container--above
.select2-selection--single,
.select2-container--default.select2-container--open.select2-container--above
.select2-selection--multiple {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.select2-container--default.select2-container--open.select2-container--below
.select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below
.select2-selection--multiple {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
border: 1px solid #aaa;
}
.select2-container--default .select2-search--inline .select2-search__field {
background: transparent;
border: none;
outline: 0;
box-shadow: none;
-webkit-appearance: textfield;
}
.select2-container--default .select2-results > .select2-results__options {
max-height: 200px;
overflow-y: auto;
}
.select2-container--default .select2-results__option .select2-results__option {
padding-left: 1em;
}
.select2-container--default
.select2-results__option
.select2-results__option
.select2-results__group {
padding-left: 0;
}
.select2-container--default
.select2-results__option
.select2-results__option
.select2-results__option {
margin-left: -1em;
padding-left: 2em;
}
.select2-container--default
.select2-results__option
.select2-results__option
.select2-results__option
.select2-results__option {
margin-left: -2em;
padding-left: 3em;
}
.select2-container--default
.select2-results__option
.select2-results__option
.select2-results__option
.select2-results__option
.select2-results__option {
margin-left: -3em;
padding-left: 4em;
}
.select2-container--default
.select2-results__option
.select2-results__option
.select2-results__option
.select2-results__option
.select2-results__option
.select2-results__option {
margin-left: -4em;
padding-left: 5em;
}
.select2-container--default
.select2-results__option
.select2-results__option
.select2-results__option
.select2-results__option
.select2-results__option
.select2-results__option
.select2-results__option {
margin-left: -5em;
padding-left: 6em;
}
.select2-container--default .select2-results__option--group {
padding: 0;
}
.select2-container--default .select2-results__option--disabled {
color: #999;
}
.select2-container--default .select2-results__option--selected {
background-color: #ddd;
}
.select2-container--default
.select2-results__option--highlighted.select2-results__option--selectable {
background-color: #5897fb;
color: white;
}
.select2-container--default .select2-results__group {
cursor: default;
display: block;
padding: 6px;
}
.select2-container--classic .select2-selection--single {
background-color: #f7f7f7;
border: 1px solid #aaa;
border-radius: 4px;
outline: 0;
background-image: -webkit-linear-gradient(top, #fff 50%, #eee 100%);
background-image: -o-linear-gradient(top, #fff 50%, #eee 100%);
background-image: linear-gradient(to bottom, #fff 50%, #eee 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
}
.select2-container--classic .select2-selection--single:focus {
border: 1px solid #5897fb;
}
.select2-container--classic
.select2-selection--single
.select2-selection__rendered {
color: #444;
line-height: 28px;
}
.select2-container--classic
.select2-selection--single
.select2-selection__clear {
cursor: pointer;
float: right;
font-weight: bold;
height: 26px;
margin-right: 20px;
}
.select2-container--classic
.select2-selection--single
.select2-selection__placeholder {
color: #999;
}
.select2-container--classic
.select2-selection--single
.select2-selection__arrow {
background-color: #ddd;
border: none;
border-left: 1px solid #aaa;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
height: 26px;
position: absolute;
top: 1px;
right: 1px;
width: 20px;
background-image: -webkit-linear-gradient(top, #eee 50%, #ccc 100%);
background-image: -o-linear-gradient(top, #eee 50%, #ccc 100%);
background-image: linear-gradient(to bottom, #eee 50%, #ccc 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0);
}
.select2-container--classic
.select2-selection--single
.select2-selection__arrow
b {
border-color: #888 transparent transparent transparent;
border-style: solid;
border-width: 5px 4px 0 4px;
height: 0;
left: 50%;
margin-left: -4px;
margin-top: -2px;
position: absolute;
top: 50%;
width: 0;
}
.select2-container--classic[dir="rtl"]
.select2-selection--single
.select2-selection__clear {
float: left;
}
.select2-container--classic[dir="rtl"]
.select2-selection--single
.select2-selection__arrow {
border: none;
border-right: 1px solid #aaa;
border-radius: 0;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
left: 1px;
right: auto;
}
.select2-container--classic.select2-container--open .select2-selection--single {
border: 1px solid #5897fb;
}
.select2-container--classic.select2-container--open
.select2-selection--single
.select2-selection__arrow {
background: transparent;
border: none;
}
.select2-container--classic.select2-container--open
.select2-selection--single
.select2-selection__arrow
b {
border-color: transparent transparent #888 transparent;
border-width: 0 4px 5px 4px;
}
.select2-container--classic.select2-container--open.select2-container--above
.select2-selection--single {
border-top: none;
border-top-left-radius: 0;
border-top-right-radius: 0;
background-image: -webkit-linear-gradient(top, #fff 0%, #eee 50%);
background-image: -o-linear-gradient(top, #fff 0%, #eee 50%);
background-image: linear-gradient(to bottom, #fff 0%, #eee 50%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
}
.select2-container--classic.select2-container--open.select2-container--below
.select2-selection--single {
border-bottom: none;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
background-image: -webkit-linear-gradient(top, #eee 50%, #fff 100%);
background-image: -o-linear-gradient(top, #eee 50%, #fff 100%);
background-image: linear-gradient(to bottom, #eee 50%, #fff 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0);
}
.select2-container--classic .select2-selection--multiple {
background-color: white;
border: 1px solid #aaa;
border-radius: 4px;
cursor: text;
outline: 0;
padding-bottom: 5px;
padding-right: 5px;
}
.select2-container--classic .select2-selection--multiple:focus {
border: 1px solid #5897fb;
}
.select2-container--classic
.select2-selection--multiple
.select2-selection__clear {
display: none;
}
.select2-container--classic
.select2-selection--multiple
.select2-selection__choice {
background-color: #e4e4e4;
border: 1px solid #aaa;
border-radius: 4px;
display: inline-block;
margin-left: 5px;
margin-top: 5px;
padding: 0;
}
.select2-container--classic
.select2-selection--multiple
.select2-selection__choice__display {
cursor: default;
padding-left: 2px;
padding-right: 5px;
}
.select2-container--classic
.select2-selection--multiple
.select2-selection__choice__remove {
background-color: transparent;
border: none;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
color: #888;
cursor: pointer;
font-size: 1em;
font-weight: bold;
padding: 0 4px;
}
.select2-container--classic
.select2-selection--multiple
.select2-selection__choice__remove:hover {
color: #555;
outline: none;
}
.select2-container--classic[dir="rtl"]
.select2-selection--multiple
.select2-selection__choice {
margin-left: 5px;
margin-right: auto;
}
.select2-container--classic[dir="rtl"]
.select2-selection--multiple
.select2-selection__choice__display {
padding-left: 5px;
padding-right: 2px;
}
.select2-container--classic[dir="rtl"]
.select2-selection--multiple
.select2-selection__choice__remove {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.select2-container--classic.select2-container--open
.select2-selection--multiple {
border: 1px solid #5897fb;
}
.select2-container--classic.select2-container--open.select2-container--above
.select2-selection--multiple {
border-top: none;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.select2-container--classic.select2-container--open.select2-container--below
.select2-selection--multiple {
border-bottom: none;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.select2-container--classic .select2-search--dropdown .select2-search__field {
border: 1px solid #aaa;
outline: 0;
}
.select2-container--classic .select2-search--inline .select2-search__field {
outline: 0;
box-shadow: none;
}
.select2-container--classic .select2-dropdown {
background-color: #fff;
border: 1px solid transparent;
}
.select2-container--classic .select2-dropdown--above {
border-bottom: none;
}
.select2-container--classic .select2-dropdown--below {
border-top: none;
}
.select2-container--classic .select2-results > .select2-results__options {
max-height: 200px;
overflow-y: auto;
}
.select2-container--classic .select2-results__option--group {
padding: 0;
}
.select2-container--classic .select2-results__option--disabled {
color: grey;
}
.select2-container--classic
.select2-results__option--highlighted.select2-results__option--selectable {
background-color: #3875d7;
color: #fff;
}
.select2-container--classic .select2-results__group {
cursor: default;
display: block;
padding: 6px;
}
.select2-container--classic.select2-container--open .select2-dropdown {
border-color: #5897fb;
}
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
line-height: 36px !important;
}
.select2-container--default .select2-selection--single {
height: 100% !important;
}
+729
View File
@@ -0,0 +1,729 @@
.select2-container {
width: 100% !important;
}
@charset "UTF-8";
#mkd-login-container,
.mkd-form-signup-container {
width: 412px;
margin: 10vh auto;
background-color: #f3f3f3;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#mkd-login-container form,
.mkd-form-signup-container form {
width: 100%;
max-width: 410px;
padding: 15px;
margin: auto;
}
#mkd-login-container .form-control,
.mkd-form-signup-container .form-control {
position: relative;
box-sizing: border-box;
height: auto;
padding: 10px;
font-size: 16px;
}
#mkd-login-container .form-control:focus,
.mkd-form-signup-container .form-control:focus {
z-index: 2;
}
#mkd-login-container .mkd-login-form-container input[type='email'],
.mkd-form-signup-container .mkd-login-form-container input[type='email'] {
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
#mkd-login-container .mkd-login-form-container input[type='password'],
.mkd-form-signup-container .mkd-login-form-container input[type='password'] {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
#mkd-login-container .social-login,
.mkd-form-signup-container .social-login {
width: 390px;
margin: 0 auto;
margin-bottom: 14px;
}
#mkd-login-container .social-btn,
.mkd-form-signup-container .social-btn {
font-weight: 100;
color: white;
width: 49%;
display: inline;
font-size: 0.9rem;
margin: 0 2px;
padding-top: 5px;
}
#mkd-login-container a,
.mkd-form-signup-container a {
display: block;
padding-top: 10px;
color: black;
}
#mkd-login-container .lines {
width: 200px;
border: 1px solid red;
}
#mkd-login-container button[type='submit'] {
margin-top: 10px;
}
#mkd-login-container .facebook-btn {
background-color: #3c589c;
}
#mkd-login-container .google-btn {
background-color: #df4b3b;
}
#mkd-login-container input {
margin-bottom: 10px;
}
th {
white-space: nowrap;
}
@media screen and (max-width: 500px) {
#mkd-login-container {
width: 300px;
}
#mkd-login-container .social-login {
width: 200px;
margin: 0 auto;
margin-bottom: 10px;
}
#mkd-login-container .social-btn {
font-size: 1.3rem;
font-weight: 100;
color: white;
width: 200px;
height: 56px;
display: block;
line-height: 45px;
}
#mkd-login-container .social-btn:nth-child(1) {
margin-bottom: 5px;
}
#mkd-login-container .social-btn span {
display: none;
}
#mkd-login-container .facebook-btn:after {
content: 'Facebook';
}
#mkd-login-container .google-btn:after {
content: 'Google+';
}
}
body {
background: #e9ecef;
font-family: 'Inter', sans-serif;
font-size: 16px;
}
a {
color: inherit;
text-decoration: none;
transition: all 0.3s;
}
a:hover {
color: inherit;
text-decoration: none;
transition: all 0.3s;
}
a:focus {
color: inherit;
text-decoration: none;
transition: all 0.3s;
}
.navbar {
padding: 15px 10px;
background: #fff;
border: none;
border-radius: 0;
margin-bottom: 40px;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
.navbar-btn {
box-shadow: none;
outline: none !important;
border: none;
}
.line {
width: 100%;
height: 1px;
border-bottom: 1px dashed #ddd;
margin: 40px 0;
}
.wrapper {
display: flex;
width: 100%;
align-items: stretch;
}
.copyright {
font-size: 6px;
display: block;
}
#sidebar {
min-width: 240px;
max-width: 240px;
background: #151515;
color: #fff;
z-index: 2;
transition: all 0.3s;
-webkit-box-shadow: 2px 0px 4px 0px rgba(0, 0, 0, 0.75);
-moz-box-shadow: 2px 0px 4px 0px rgba(0, 0, 0, 0.75);
box-shadow: 2px 0px 4px 0px rgba(0, 0, 0, 0.75);
}
#sidebar .sidebar-header {
padding: 15px;
background: #2c5ed6;
}
#sidebar ul.components {
padding: 0px 0px 20px 0px;
}
#sidebar ul p {
color: #fff;
padding: 10px;
}
#sidebar ul li a {
padding: 10px;
font-size: 1.1em;
display: block;
}
#sidebar ul li a:hover {
color: #151515 !important;
background: #fff !important;
}
#sidebar ul li.active > a {
color: #fff;
background: #151515;
}
#sidebar a.active {
color: black;
background-color: #fff;
}
#sidebar.active {
margin-left: -250px;
}
a[aria-expanded='true'] {
color: #fff;
background: #151515;
}
a[data-toggle='collapse'] {
position: relative;
}
.dropdown-toggle::after {
display: block;
position: absolute;
top: 50%;
right: 20px;
transform: translateY(-50%);
}
ul ul a {
font-size: 0.9em !important;
padding-left: 30px !important;
background: #151515;
}
#content {
width: 100%;
padding: 0px;
min-height: 100vh;
transition: all 0.3s;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus {
outline: none;
box-shadow: none;
}
*:focus:not(a) {
outline: none;
box-shadow: none !important;
}
#snackbar {
visibility: hidden;
/* Hidden by default. Visible on click */
min-width: 250px;
/* Set a default minimum width */
margin-left: -125px;
/* Divide value of min-width by 2 */
background-color: #333;
/* Black background color */
color: #fff;
/* White text color */
text-align: center;
/* Centered text */
border-radius: 2px;
/* Rounded borders */
padding: 16px;
/* Padding */
position: fixed;
/* Sit on top of the screen */
z-index: 1;
/* Add a z-index if needed */
left: 50%;
/* Center the snackbar */
bottom: 30px;
/* 30px from the bottom */
}
#snackbar .show {
visibility: visible;
/* Show the snackbar */
/* Add animation: Take 0.5 seconds to fade in and out the snackbar.
However, delay the fade out process for 2.5 seconds */
-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
.required_field {
color: #df4b3b;
font-size: 15px;
}
.csv_file_style {
position: absolute;
top: 25px;
left: 13px;
}
.luckysheet-share-logo {
height: 32px;
width: 152px;
z-index: 1;
/* background-color: #E9ECEF !important; */
background-image: url() !important;
}
.media-upload {
display: flex;
align-content: flex-start;
width: 100%;
padding: 10px;
}
@-webkit-keyframes fadein {
from {
bottom: 0;
opacity: 0;
}
to {
bottom: 30px;
opacity: 1;
}
}
@keyframes fadein {
from {
bottom: 0;
opacity: 0;
}
to {
bottom: 30px;
opacity: 1;
}
}
@-webkit-keyframes fadeout {
from {
bottom: 30px;
opacity: 1;
}
to {
bottom: 0;
opacity: 0;
}
}
@keyframes fadeout {
from {
bottom: 30px;
opacity: 1;
}
to {
bottom: 0;
opacity: 0;
}
}
@media (max-width: 768px) {
#sidebar {
margin-left: -250px;
}
#sidebar.active {
margin-left: 0;
}
}
@media (min-width: 992px) {
.modal-xl {
max-width: 1200px;
}
}
.mkd-image-container {
max-width: 100px;
}
.mkd-upload-btn-wrapper {
position: relative;
overflow: hidden;
display: inline-block;
margin: 100px auto;
}
.mkd-upload-btn-wrapper input[type='file'] {
font-size: 100px;
position: absolute;
left: 0;
top: 0;
opacity: 0;
}
.mkd-upload-btn-wrapper .mkd-upload-btn {
border: 2px solid gray;
color: gray;
background-color: white;
padding: 8px 20px;
border-radius: 8px;
font-size: 20px;
font-weight: bold;
}
.mkd-upload-form-btn-wrapper {
position: relative;
overflow: hidden;
display: inline-block;
}
.mkd-upload-form-btn-wrapper input[type='file'] {
font-size: 100px;
position: absolute;
left: 0;
top: 0;
opacity: 0;
}
/* .mkd-upload-form-btn-wrapper .mkd-upload-btn {
border: 2px solid gray;
color: gray;
background-color: white;
padding: 4px 10px;
border-radius: 8px;
font-size: 10px;
font-weight: bold; } */
#mkd-media-upload-container,
#mkd-media-crop-container {
display: none;
}
.mkd-media-panel-2,
.mkd-media-panel-3 {
display: none;
text-align: right;
}
#mkd-crop-upload-container-wrapper {
margin: 0 auto;
}
#mkd-media-gallery-wrapper img {
-webkit-box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.75);
-moz-box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.75);
box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.75);
}
.mkd-gallery-image-image:hover {
outline: 5px dotted black;
}
.mkd-gallery-image-image.active {
outline: 5px solid black;
}
.mkd-choose-image {
display: inline-block;
margin-top: 15px;
}
.form-group img {
display: block;
}
.croppie-container {
width: 100%;
height: 100%;
}
.croppie-container .cr-image {
z-index: -1;
position: absolute;
top: 0;
left: 0;
transform-origin: 0 0;
max-height: none;
max-width: none;
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
}
.croppie-container .cr-boundary {
position: relative;
overflow: hidden;
margin: 0 auto;
z-index: 1;
width: 100%;
height: 100%;
}
.croppie-container .cr-viewport {
position: absolute;
border: 2px solid #fff;
margin: auto;
top: 0;
bottom: 0;
right: 0;
left: 0;
box-shadow: 0 0 2000px 2000px rgba(0, 0, 0, 0.5);
z-index: 0;
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
}
.croppie-container .cr-resizer {
position: absolute;
border: 2px solid #fff;
margin: auto;
top: 0;
bottom: 0;
right: 0;
left: 0;
box-shadow: 0 0 2000px 2000px rgba(0, 0, 0, 0.5);
z-index: 0;
z-index: 2;
box-shadow: none;
pointer-events: none;
}
.croppie-container .cr-resizer-vertical {
position: absolute;
pointer-events: all;
bottom: -5px;
cursor: row-resize;
width: 100%;
height: 10px;
}
.croppie-container .cr-resizer-vertical::after {
display: block;
position: absolute;
box-sizing: border-box;
border: 1px solid black;
background: #fff;
width: 10px;
height: 10px;
content: '';
left: 50%;
margin-left: -5px;
}
.croppie-container .cr-resizer-horisontal {
position: absolute;
pointer-events: all;
right: -5px;
cursor: col-resize;
width: 10px;
height: 100%;
}
.croppie-container .cr-resizer-horisontal::after {
display: block;
position: absolute;
box-sizing: border-box;
border: 1px solid black;
background: #fff;
width: 10px;
height: 10px;
content: '';
top: 50%;
margin-top: -5px;
}
.croppie-container .cr-original-image {
display: none;
}
.croppie-container .cr-vp-circle {
border-radius: 50%;
}
.croppie-container .cr-overlay {
z-index: 1;
position: absolute;
cursor: move;
touch-action: none;
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
}
.croppie-container .cr-slider-wrap {
width: 75%;
margin: 15px auto;
text-align: center;
}
.croppie-result {
position: relative;
overflow: hidden;
}
.croppie-result img {
position: absolute;
}
.cr-slider {
-webkit-appearance: none;
width: 300px;
max-width: 100%;
padding-top: 8px;
padding-bottom: 8px;
background-color: transparent;
}
.cr-slider::-webkit-slider-runnable-track {
width: 100%;
height: 3px;
background: rgba(0, 0, 0, 0.5);
border: 0;
border-radius: 3px;
}
.cr-slider::-webkit-slider-thumb {
-webkit-appearance: none;
border: none;
height: 16px;
width: 16px;
border-radius: 50%;
background: #ddd;
margin-top: -6px;
}
.cr-slider:focus {
outline: none;
}
.cr-slider:focus::-ms-fill-lower {
background: rgba(0, 0, 0, 0.5);
}
.cr-slider:focus::-ms-fill-upper {
background: rgba(0, 0, 0, 0.5);
}
.cr-slider::-moz-range-track {
width: 100%;
height: 3px;
background: rgba(0, 0, 0, 0.5);
border: 0;
border-radius: 3px;
}
.cr-slider::-moz-range-thumb {
border: none;
height: 16px;
width: 16px;
border-radius: 50%;
background: #ddd;
margin-top: -6px;
}
.cr-slider:-moz-focusring {
outline: 1px solid white;
outline-offset: -1px;
}
.cr-slider::-ms-track {
width: 100%;
height: 5px;
background: transparent;
border-color: transparent;
border-width: 6px 0;
color: transparent;
}
.cr-slider::-ms-fill-lower {
background: rgba(0, 0, 0, 0.5);
border-radius: 10px;
}
.cr-slider::-ms-fill-upper {
background: rgba(0, 0, 0, 0.5);
border-radius: 10px;
}
.cr-slider::-ms-thumb {
border: none;
height: 16px;
width: 16px;
border-radius: 50%;
background: #ddd;
margin-top: 1px;
}
.cr-rotate-controls {
position: absolute;
bottom: 5px;
left: 5px;
z-index: 1;
}
.cr-rotate-controls button {
border: 0;
background: none;
}
.cr-rotate-controls i:before {
display: inline-block;
font-style: normal;
font-weight: 900;
font-size: 22px;
}
.cr-rotate-l i:before {
content: '↺';
}
.cr-rotate-r i:before {
content: '↻';
}
#sidebar ul.collapse li a {
background-color: #3e3f40;
}
.table .thead-light th:first-child,
table .tbody-light td:first-child {
border-left: 1px solid #dee2e6;
}
.table .thead-light th:last-child,
table .tbody-light td:last-child {
border-right: 1px solid #dee2e6;
}
.table .tbody-light tr:last-child {
border-bottom: 1px solid #dee2e6;
}
.breadcrumb-link {
color: #2c549c;
}
.navigation-row {
background-color: white;
padding: 20px 20px 20px 10px;
}
.text-underline {
text-decoration: underline !important;
}
.btn-light {
background-color: white;
border: none;
}
#sidebar ul.collapse li a.active {
background-color: white;
}
.btn-link {
padding: 0px 5px;
font-size: 12px;
}
+16122
View File
File diff suppressed because one or more lines are too long
+84
View File
@@ -0,0 +1,84 @@
.select2-container {
width: 100% !important;
}
#logo{
width: 180px;
}
.card-horizontal {
display: flex;
flex: 1 1 auto;
}
#about_image{
background: url("../img/woman-3083377_1920.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
}
.back_img{
background:
/* top, transparent red, faked with gradient */
linear-gradient(
rgba(0, 0, 0, 0.45),
rgba(0, 0, 0, 0.45)
),
/* bottom, image */
url(../img/banner_book.jpg);
/* background-image: url(../img/banner_book.jpg); */
background-attachment:local;
background-size: cover;
background-repeat: no-repeat;
}
.hel{
background-image: url(../img/meeting-1245776_1920.jpg);
background-attachment:local;
background-size: cover;
background-repeat: no-repeat;
height: auto;
width: 100%;
}
.oel{
background-image: url(../img/office-1081807_1920.jpg);
background-attachment:local;
background-size: cover;
background-repeat: no-repeat;
}
.bel{
background-image: url(../img/woman-3083377_1920.jpg);
background-attachment:local;
background-size: cover;
background-repeat: no-repeat;
}
.text_div{
min-height: 170px;
max-height: 170px;
}
@media screen and (max-width: 1202px) {
.text_div{
min-height: 256px;
max-height: 256px;
}
}
@media screen and (max-width: 990px) {
.text_div{
min-height: 170px;
max-height: 170px;
}
.order-first img{
/* width: 106%;
margin-left: -15px; */
}
}
@media screen and (max-width: 767px) {
.card-group .row .col-12 img {
width: 100%;
margin: 0; }
.card-group .row .col-12 {
padding: 0 !important; }
.card-group .row .card.col-12 {
padding: 0 20px !important;
}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 KiB

+34
View File
@@ -0,0 +1,34 @@
// searc bar autocomplete
var tags = [ "c++", "java", "php", "coldfusion", "javascript", "asp", "ruby" ];
// $( "#autocomplete" ).autocomplete({
// source: function( request, response ) {
// var matcher = new RegExp( "^" + $.ui.autocomplete.escapeRegex( request.term ), "i" );
// response( $.grep( tags, function( item ){
// return matcher.test( item );
// }) );
// }
// });
// login_register_toggle
// $(document).on('click', '#register_btn', function(){
// $('#loginModal').modal('toggle');
// $('#registerModal').modal('show');
// return false;
// })
// // login_purchase_toggle
// $(document).on('click', '#loginButton', function(){
// $('#loginModal').modal('toggle');
// $('#purchaseModal').modal('show');
// return false;
// })
// // purchase_download_toggle
// $(document).on('click', '#purchaseButton', function(){
// $('#purchaseModal').modal('toggle');
// $('#downloadModal').modal('show');
// return false;
// })
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M13.03 8.22a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06 0L3.47 9.28a.75.75 0 011.06-1.06l2.97 2.97V3.75a.75.75 0 011.5 0v7.44l2.97-2.97a.75.75 0 011.06 0z"></path></svg>

After

Width:  |  Height:  |  Size: 283 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M3.47 7.78a.75.75 0 010-1.06l4.25-4.25a.75.75 0 011.06 0l4.25 4.25a.75.75 0 01-1.06 1.06L9 4.81v7.44a.75.75 0 01-1.5 0V4.81L4.53 7.78a.75.75 0 01-1.06 0z"></path></svg>

After

Width:  |  Height:  |  Size: 280 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="13" height="25" viewBox="0 0 13 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.69 23.561L0.970001 12.841C0.900218 12.7715 0.844851 12.6889 0.807068 12.598C0.769285 12.507 0.749817 12.4095 0.749817 12.311C0.749817 12.2125 0.769285 12.115 0.807068 12.0241C0.844851 11.9331 0.900218 11.8505 0.970001 11.781L11.69 1.06104" stroke="#FAFAFA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 49 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 722 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 956 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 KiB

+1
View File
@@ -0,0 +1 @@
Forbidden Access
+1
View File
@@ -0,0 +1 @@
Forbidden Access
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

+5
View File
@@ -0,0 +1,5 @@
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.505 12H23.255" stroke="#34393F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M19.505 15.7539L23.255 12.0039L19.505 8.25391" stroke="#34393F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M15.754 16.5V21C15.7712 21.3796 15.6373 21.7505 15.3817 22.0316C15.126 22.3127 14.7695 22.4811 14.39 22.5H2.11703C1.73783 22.4806 1.38169 22.312 1.12634 22.0309C0.870994 21.7499 0.73716 21.3793 0.754028 21V3C0.736894 2.62061 0.870635 2.24985 1.12604 1.96878C1.38144 1.68771 1.73774 1.51917 2.11703 1.5H14.39C14.7695 1.51891 15.126 1.68734 15.3817 1.96844C15.6373 2.24955 15.7712 2.62044 15.754 3V7.5" stroke="#34393F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 851 B

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

+661
View File
@@ -0,0 +1,661 @@
/*Powered By: Manaknightdigital Inc. https://manaknightdigital.com/ Year: 2021*/
var mkd_events = (function () {
var topics = {};
var hOP = topics.hasOwnProperty;
return {
subscribe: function (topic, listener) {
// Create the topic's object if not yet created
if (!hOP.call(topics, topic)) topics[topic] = [];
// Add the listener to queue
var index = topics[topic].push(listener) - 1;
// Provide handle back for removal of topic
return {
remove: function () {
delete topics[topic][index];
}
};
},
publish: function (topic, info) {
// If the topic doesn't exist, or there's no listeners in queue, just leave
if (!hOP.call(topics, topic)) return;
// Cycle through topics queue, fire!
topics[topic].forEach(function (item) {
item(info != undefined ? info : {});
});
}
};
})();
let image_id_uppload_library = '';
let image_url_uppload_library = '';
jQuery(document).ready(function () {
jQuery("#sidebarCollapse").on("click", function () {
jQuery("#sidebar").toggleClass("active");
});
//import csv code
jQuery("#btn-choose-csv").click(function (e) {
e.preventDefault();
jQuery("#csv-file").trigger("click");
});
jQuery("#csv-file").change(function () {
jQuery("#import-csv").trigger("submit");
});
jQuery("#import-csv").submit(function (e) {
e.preventDefault();
var formData = new FormData(this);
var url = jQuery(this).attr("action");
jQuery(this).addClass("d-none");
jQuery.ajax({
url: url,
type: "POST",
data: formData,
success: function (res) {
var html = "";
if (res.preview == true) {
var data = res.data;
for (var i = 0; i < data.length; i++) {
html += "<tr>";
for (var x = 0; x < data[i].length; x++) {
html += "<td>" + data[i][x] + "</td>";
}
html += "</tr>";
}
jQuery("#csv-table-body").html(html);
jQuery("#csv-table").removeClass("d-none");
jQuery("#btn-save-csv").removeClass("d-none");
}
},
cache: false,
contentType: false,
processData: false,
});
});
jQuery("#btn-save-csv").click(function (e) {
e.preventDefault();
var model = jQuery("#btn-csv-upload-dialog").data("model");
jQuery("#import-csv").attr("action", "/v1/api/file/import/" + model);
jQuery("#import-csv").trigger("submit");
});
jQuery(".modal-image").click(function () {
var src = jQuery(this).attr("src");
jQuery("#modal-image-slot").attr("src", src);
jQuery("#modal-image-show").modal("show");
});
var page = 0;
var num_page = 0;
var image_selected = "";
var field = "";
// ====== Assets ===========
window.asset_page = 0;
window.asset_num_page = 0;
window.asset_per_page = 0;
window.asset_num_item = 0;
window.asset_selected_id = 0;
window.asset_selected_img = "";
// ====== CROPPING ===========
window.crop_object = null;
window.crop_width = 500;
window.crop_height = 500;
window.crop_boundary_width = 500;
window.crop_boundary_height = 500;
window.crop_output_image = "output_image";
window.crop_image_id = 0;
window.crop_image_url = "";
jQuery(".mkd-close-modal").click(function () {
jQuery("#mkd-media-gallery-wrapper").html("");
window.asset_page = 0;
window.asset_num_page = 0;
window.asset_per_page = 0;
window.asset_num_item = 0;
window.asset_selected_id = 0;
window.asset_selected_img = "";
if (window.crop_object) {
window.crop_object.destroy();
}
window.crop_object = null;
window.crop_width = 500;
window.crop_height = 500;
window.crop_boundary_width = 500;
window.crop_boundary_height = 500;
window.crop_output_image = "output_image";
window.crop_image_id = 0;
window.crop_image_url = "";
});
jQuery("#mkd-media-choose").click(function () {
if (window.asset_selected_id != 0) {
jQuery("#" + window.crop_image_id).val(window.asset_selected_id);
jQuery("#" + window.crop_image_url).val(window.asset_selected_img);
jQuery("#" + window.crop_output_image).attr("src", window.asset_selected_img);
jQuery("#mkd-media-gallery").modal("hide");
jQuery("#mkd-media-upload-container").hide();
jQuery("#mkd-media-crop-container").hide();
jQuery("#mkd-media-gallery-container").show();
jQuery(".mkd-media-panel-1").show();
jQuery(".mkd-media-panel-2").hide();
jQuery(".mkd-media-panel-3").hide();
jQuery("#mkd-media-gallery-wrapper").html("");
window.asset_page = 0;
window.asset_num_page = 0;
window.asset_per_page = 0;
window.asset_num_item = 0;
window.asset_selected_id = 0;
window.asset_selected_img = "";
window.crop_object = null;
window.crop_width = 500;
window.crop_height = 500;
window.crop_boundary_width = 500;
window.crop_boundary_height = 500;
window.crop_output_image = "output_image";
window.crop_image_id = 0;
window.crop_image_url = "";
}
});
jQuery("#mkd-load-more").click(function () {
if (window.asset_page + window.asset_per_page >= window.asset_num_item) {
jQuery("#mkd-load-more-container").hide();
}
jQuery.ajax({
type: "GET",
url: "/v1/api/assets/" + window.asset_page
}).done(function (result) {
window.asset_page = result.page;
window.asset_num_page = result.num_page;
window.asset_num_item = result.num_item;
window.asset_per_page = result.per_page;
var items = result.item;
for (var i = 0; i < items.length; i++) {
var element = items[i];
jQuery("#mkd-media-gallery-wrapper").append(
'<div class="col-md-3 mb-3"><img data-id="' +
element.id +
'"src="' +
element.url +
'" alt="" class="img-fluid mkd-gallery-image-image"></div>'
);
}
if (window.asset_page + window.asset_per_page >= window.asset_num_item) {
jQuery("#mkd-load-more-container").hide();
}
window.asset_page = window.asset_page + window.asset_per_page;
jQuery(".mkd-gallery-image-image").click(function () {
var id = Number(jQuery(this).attr("data-id"));
jQuery(this).addClass("active");
window.asset_selected_id = id;
window.asset_selected_img = jQuery(this).attr("src");
});
});
});
jQuery(".mkd-choose-image").click(function () {
var view_width = Number(jQuery(this).attr("data-view-width"));
var view_height = Number(jQuery(this).attr("data-view-height"));
var boundary_width = Number(jQuery(this).attr("data-boundary-width"));
var boundary_height = Number(jQuery(this).attr("data-boundary-height"));
var image_preview = jQuery(this).attr("data-image-preview");
var image_id = jQuery(this).attr("data-image-id");
var image_url = jQuery(this).attr("data-image-url");
window.crop_output_image = image_preview;
window.crop_image_id = image_id;
window.crop_image_url = image_url;
if (Number.isInteger(view_width)) {
window.crop_width = Number(view_width);
}
if (Number.isInteger(view_height)) {
window.crop_height = Number(view_height);
}
if (Number.isInteger(boundary_width)) {
window.crop_boundary_width = Number(boundary_width);
}
if (Number.isInteger(boundary_height)) {
window.crop_boundary_height = Number(boundary_height);
}
jQuery("#mkd-media-gallery").modal("show");
jQuery("#mkd-load-more-container").show();
jQuery.ajax({
type: "GET",
url: "/v1/api/assets/0"
}).done(function (result) {
window.asset_page = result.page;
window.asset_num_page = result.num_page;
window.asset_num_item = result.num_item;
window.asset_per_page = result.per_page;
var items = result.item;
for (var i = 0; i < items.length; i++) {
var element = items[i];
jQuery("#mkd-media-gallery-wrapper").append(
'<div class="col-md-3 mb-3"><img data-id="' +
element.id +
'"src="' +
element.url +
'" alt="" class="img-fluid mkd-gallery-image-image"></div>'
);
}
if (result.page + result.per_page >= result.num_item) {
jQuery("#mkd-load-more-container").hide();
}
window.asset_page = window.asset_page + window.asset_per_page;
jQuery(".mkd-gallery-image-image").click(function () {
var id = Number(jQuery(this).attr("data-id"));
jQuery(this).addClass("active");
window.asset_selected_id = id;
window.asset_selected_img = jQuery(this).attr("src");
});
});
});
jQuery("#mkd-media-upload").click(function () {
jQuery("#mkd-media-gallery-container").hide();
jQuery(".mkd-media-panel-1").hide();
jQuery(".mkd-media-panel-3").hide();
jQuery("#mkd-media-upload-container").show();
jQuery(".mkd-media-panel-2").show();
});
mkd_events.subscribe("crop_image", function (e) {
jQuery("#mkd-media-upload-container").hide();
jQuery("#mkd-media-crop-container").show();
jQuery(".mkd-media-panel-1").hide();
jQuery(".mkd-media-panel-2").hide();
jQuery(".mkd-media-panel-3").show();
var el = document.getElementById("mkd-crop-upload-container");
window.crop_object = new Croppie(el, {
enableExif: true,
viewport: {
width: window.crop_width,
height: window.crop_height
},
boundary: {
width: window.crop_boundary_width,
height: window.crop_boundary_height
}
});
window.crop_object.bind({
url: e.url
});
jQuery("#mkd-media-crop").click(function () {
window.crop_object
.result({
type: "base64",
format: "png"
})
.then(function (base64) {
jQuery.ajax({
type: "POST",
url: "/v1/api/image/upload",
data: {
image: base64
}
})
.done(function (result) {
mkd_events.publish("image_uploaded", result);
})
.fail(function (jqXHR, textStatus) {
alert("Image Upload Failed");
console.log(jqXHR)
});
});
});
});
mkd_events.subscribe("file_upload", function (e) {
var formData = new FormData();
formData.append("file", e.url, "file");
jQuery.ajax({
url: "/v1/api/file/upload",
type: "post",
data: formData,
processData: false,
contentType: false,
cache: false,
async: false,
success: function (data) {
jQuery("#" + e.id).val(data.file);
jQuery("#" + e.id + "_id").val(data.id);
jQuery("#" + e.id + "_text").html(data.file);
}
});
});
mkd_events.subscribe("image_uploaded", function (e) {
jQuery("#mkd-media-gallery").modal("hide");
jQuery("#mkd-media-upload-container").hide();
jQuery("#mkd-media-crop-container").hide();
jQuery("#mkd-media-gallery-container").show();
jQuery(".mkd-media-panel-1").show();
jQuery(".mkd-media-panel-2").hide();
jQuery(".mkd-media-panel-3").hide();
jQuery("#" + window.crop_output_image).attr("src", e.image);
jQuery("#" + window.crop_image_id).val(e.id);
jQuery("#" + window.crop_image_url).val(e.image);
jQuery("#mkd-media-gallery-wrapper").html("");
window.asset_page = 0;
window.asset_num_page = 0;
window.asset_num_item = 0;
window.asset_selected_id = 0;
window.asset_selected_img = "";
if (window.crop_object) {
window.crop_object.destroy();
}
window.crop_object = null;
window.crop_width = 500;
window.crop_height = 500;
window.crop_boundary_width = 500;
window.crop_boundary_height = 500;
window.crop_output_image = "output_image";
window.crop_image_id = 0;
window.crop_image_url = "";
});
mkd_events.subscribe("file_import", function (e) {
var formData = new FormData();
formData.append("file", e.url, "file");
jQuery.ajax({
url: "/v1/api/file/import/" + e.model,
type: "post",
data: formData,
processData: false,
contentType: false,
cache: false,
async: false,
success: function (data) {
alert("Imported Data successfully");
},
error: function (error) {
alert("Error: " + error.responseJSON.message);
}
});
});
//Spreadsheet ==================
jQuery("#Spreadsheet_update").submit(function (e) {
e.preventDefault();
var id = jQuery("#spreadsheet_id").val();
var sheet_data = luckysheet.getAllSheets();
jQuery.ajax({
type: "POST",
url: "/v1/api/update_sheet/" + id,
data: JSON.stringify(sheet_data),
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (result) {
location.replace("/admin/spreadsheet/0");
},
error: function (error) {
location.replace("/admin/spreadsheet/0");
}
});
});
//Marketing Site
/**
*
* Marketing js function to generate slug
*/
jQuery(document).on('keyup , paste', '.generate_slug_marketing', function (e) {
e.preventDefault();
var title = jQuery(this).val();
if (title.length > 0) {
jQuery.ajax({
url: '/v1/api/get_marketing_slug/' + title,
timeout: 30000,
method: 'POST',
dataType: 'JSON',
success: function (response) {
if (response.slug) {
jQuery('#form_slug_marketing').val(response.slug);
}
if (response.error) {
alert('Something went wrong!');
}
},
error: function () {
// alert('Connection time out!');
}
});
}
});
//SUNEDITOR
/**
* Sun editor code
*/
if (document.getElementsByClassName('sun-editor-component').length > 0) {
var sun_editor_list = document.getElementsByClassName('sun-editor-component');
for (let i = 0; i < sun_editor_list.length; i++) {
var editor_data = SUNEDITOR.create((document.getElementById(sun_editor_list[i].id) || 'sun-editor'), {
"buttonList": [
[
"undo",
"redo",
"font",
"fontSize",
"formatBlock",
"paragraphStyle",
"blockquote",
"bold",
"underline",
"italic",
"strike",
"subscript",
"superscript",
"fontColor",
"hiliteColor",
"textStyle",
"removeFormat",
"outdent",
"indent",
"align",
"horizontalRule",
"list",
"lineHeight",
"table",
"link",
"image",
"video",
"audio",
"imageGallery",
"fullScreen",
"showBlocks",
"codeView",
"preview",
"print",
"save",
"template"
]
],
height: '800px'
});
jQuery(window).click(function () {
document.getElementById(sun_editor_list[i].id).value = editor_data.getContents();
});
}
}
//per pages
jQuery('#change_per_page').change(function () {
per_page = jQuery('#change_per_page').val();
jQuery('#form_per_page').val(per_page);
var url = new URL(window.location.href);
var url_sort = jQuery(this).attr('data-sorturl');
url.pathname = url_sort;
url.searchParams.set('per_page_sort', per_page);
window.location.href = url.href;
});
//uppload
var picture = new window.uppload_Uppload({
call: ".uppload-button",
bind: ".uppload-image",
lang: window.uppload_en,
uploader: window.uppload_fetchUploader({
endpoint: "/v1/api/file/upload",
responseFunction: json =>
{
jQuery("#" + image_url_uppload_library).val(json.file);
jQuery("#" + image_url_uppload_library + "_id").val(json.id);
jQuery("#" + image_url_uppload_library + "_text").html(json.file);
jQuery("#" + image_url_uppload_library + "_complete").text("Upload Complete");
jQuery("#" + image_url_uppload_library + "_complete").parent().find('.edit-preview-image').attr('src', json.file);
jQuery("#" + image_url_uppload_library + "_complete").parent().find('.img-delete-close').remove();
jQuery("#" + image_url_uppload_library + "_complete").parent().find('label').after('<span class="img-delete-close"><i class="fa fa-trash img-wrapper-delete-close"></i></span>');
}
})
});
jQuery(document).on('click', '.image_id_uppload_library', function () {
image_id_uppload_library = jQuery(this).attr('data-image-id');
image_url_uppload_library = jQuery(this).attr('data-image-url');
});
jQuery(document).on('click','.img-delete-close',function(){
jQuery(this).parent().find('.edit-preview-image').attr('src','');
jQuery(this).parent().find('.check_change_event').val('');
jQuery(this).parent().find('.feature_image_complete').text('');
jQuery(this).remove();
});
jQuery(document).on('click', '.media-gallery-upload', function () {
jQuery.ajax({
type: "POST",
url: "/v1/api/image/get_all",
data: {},
success: function (response) {
},
error: function (response) {
}
})
.done(function (result) {
mkd_events.publish("image_uploaded", result);
})
.fail(function (jqXHR, textStatus) {
alert("Image Upload Failed");
console.log(jqXHR)
});
});
picture.use([
new window.uppload_Local(),
new window.uppload_Camera(),
new window.uppload_Instagram(),
new window.uppload_Facebook(),
new window.uppload_URL(),
new window.uppload_Screenshot(),
new window.uppload_Pinterest(),
new window.uppload_Flickr(),
new window.uppload_NineGag(),
new window.uppload_DeviantArt(),
new window.uppload_ArtStation(),
new window.uppload_Twitter(),
new window.uppload_Flipboard(),
new window.uppload_Fotki(),
new window.uppload_LinkedIn(),
new window.uppload_Reddit(),
new window.uppload_Tumblr(),
new window.uppload_WeHeartIt(),
new window.uppload_Crop(),
new window.uppload_Brightness(),
new window.uppload_Rotate(),
new window.uppload_Flip(),
new window.uppload_Preview(),
new window.uppload_Blur(),
new window.uppload_Contrast(),
new window.uppload_Grayscale(),
new window.uppload_HueRotate(),
new window.uppload_Invert(),
new window.uppload_Sepia(),
new window.uppload_Saturate(),
]);
});
function onFileSelected(event) {
var selectedFile = event.target.files[0];
var reader = new FileReader();
reader.onload = function (e) {
mkd_events.publish("crop_image", {
url: e.target.result
});
};
reader.readAsDataURL(selectedFile);
}
function onFileUploaded(event, id) {
var selectedFile = event.target.files[0];
var reader = new FileReader();
reader.onload = function (e) {
mkd_events.publish("file_upload", {
url: selectedFile,
id: id
});
};
reader.readAsDataURL(selectedFile);
}
function onFileImport(event, model) {
alert(
"Remember to have to the following in CSV: \n1.All field seperate by ;. \n2.ID is first field. \n3.All field wrap around with double quotes.\n4.1 line per row.\n5.No header row."
);
var selectedFile = event.target.files[0];
var reader = new FileReader();
reader.onload = function (e) {
mkd_events.publish("file_import", {
url: selectedFile,
model: model
});
};
reader.readAsDataURL(selectedFile);
}
function mkd_is_number(evt, obj) {
var charCode = evt.which ? evt.which : event.keyCode;
var value = obj.value;
var dotcontains = value.indexOf(".") != -1;
if (dotcontains) {
if (charCode == 46) {
return false;
}
}
if (charCode == 46) {
return true;
}
if (charCode > 31 && (charCode < 48 || charCode > 57)) {
return false;
}
return true;
}
+92
View File
@@ -0,0 +1,92 @@
document.addEventListener('DOMContentLoaded', function()
{
var ajaxURLPath = document.location.origin + '/';
$(".get_schools_select2").select2({
minimumInputLength: 1,
ajax: {
url: ajaxURLPath + 'v1/api/schools',
dataType: 'json',
type: "POST",
quietMillis: 50,
minimumResultsForSearch: 50,
data: function (term)
{
return term;
},
results: function (data)
{
return { results: data };
}
}
});
$(".get_professors_select2").select2({
minimumInputLength: 1,
ajax: {
url: ajaxURLPath + 'v1/api/professors',
dataType: 'json',
type: "GET",
quietMillis: 50,
minimumResultsForSearch: 50,
data: function (term)
{
return term;
},
results: function (data)
{
return { results: data };
}
}
});
$(".get_courses_select2").select2({
minimumInputLength: 1,
ajax: {
url: ajaxURLPath + 'v1/api/courses',
dataType: 'json',
type: "GET",
quietMillis: 50,
minimumResultsForSearch: 50,
data: function (term)
{
return term;
},
results: function (data)
{
return { results: data };
}
}
});
$(".get_textbooks_select2").select2({
minimumInputLength: 1,
ajax: {
url: ajaxURLPath + 'v1/api/textbooks',
dataType: 'json',
type: "GET",
quietMillis: 50,
minimumResultsForSearch: 50,
data: function (term)
{
return term;
},
results: function (data)
{
return { results: data };
}
}
});
}, false)
+1
View File
@@ -0,0 +1 @@
console.log('guest');
+31
View File
@@ -0,0 +1,31 @@
$(document).ready( function () {
$.noConflict();
$('.select2').select2();
$('.datatable').DataTable();
} );
function show_image_gallery(image, image_id)
{
$('#image_gallery').modal('toggle');
$('#image_gallery').attr('data-image_url_field', image);
$('#image_gallery').attr('data-image_id_field', image_id);
}
$('.image-row').click(function()
{
image_url = $(this).attr('data-image_url');
$('.image-row').removeClass('active-image-row');
$(this).addClass('active-image-row');
$('#image_viewer').attr('src', image_url);
});
$('#select_image').click(function()
{
image_url = $('.active-image-row').attr('data-image_url');
image_id = $('.active-image-row').attr('data-image_id');
image_url_field = $('#image_gallery').attr('data-image_url_field');
image_id_field = $('#image_gallery').attr('data-image_id_field');
$('#'+image_url_field).val(image_url);
$('#'+image_id_field).val(image_id);
$('#' + image_url_field + '_complete').html('Upload Completed');
$('#image_gallery').modal('toggle');
});
+2
View File
File diff suppressed because one or more lines are too long
+35
View File
@@ -0,0 +1,35 @@
/*Powered By: Manaknightdigital Inc. https://manaknightdigital.com/ Year: 2021*/
$(document).ready(function() {
$(".mkd-setting-change").blur(function() {
var id = $(this).attr("data-id");
var value = $(this).val();
$.ajax({
type: "POST",
url: "/v1/api/admin/settings/edit/" + id,
data: {
value: value
}
}).done(function(data) {
$("#snackbar").css("visibility", "visible");
setTimeout(function() {
$("#snackbar").css("visibility", "hidden");
}, 2000);
});
});
$(".mkd-setting-select-change").change(function() {
var id = $(this).attr("data-id");
var value = $(this).val();
$.ajax({
type: "POST",
url: "/v1/api/admin/settings/edit/" + id,
data: {
value: value
}
}).done(function(data) {
$("#snackbar").css("visibility", "visible");
setTimeout(function() {
$("#snackbar").css("visibility", "hidden");
}, 2000);
});
});
});
+289
View File
File diff suppressed because one or more lines are too long