Skip to content

Commit

Permalink
Update 3.3a
Browse files Browse the repository at this point in the history
Remove Unused File
Add Form Action
Bug Fix
  • Loading branch information
cyberzilla committed Sep 5, 2018
1 parent d26aacb commit 2806f14
Show file tree
Hide file tree
Showing 321 changed files with 47,308 additions and 98 deletions.
26 changes: 25 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"AppName":"DyCMS",
"AppDesc":"An Other Content Management System",
"AppVersion":"3.3",
"AppVersion":"3.3a",
"AppLink":"index.html",
"AppLogo":"assets/images/AppLogo.png",
"AppWebsite":"https://www.dzakiyyah.com",
Expand Down Expand Up @@ -70,6 +70,30 @@
"subMenuTitle":"Form",
"subMenuDesc": "Manajemen Form",
"subMenuIcon": "fa fa-text-width"
},
{
"subMenuId":"general",
"subMenuUrl":"pages/general.html",
"subMenuTitle":"General Element",
"subMenuDesc": "General Element",
"subMenuIcon": "fa fa-table"
}
]
},
{
"mainMenuId":"production",
"mainMenuTitle":"Production Form for Application",
"mainMenuIcon":"fa fa-folder-open",
"mainMenuUrl":"",
"mainMenuDesc":"",
"mainMenuChild":true,
"mainMenuContent":[
{
"subMenuId":"manageUsers",
"subMenuUrl":"pages/home.html",
"subMenuTitle":"Manage Users For Application Dycms",
"subMenuDesc": "Manage Users",
"subMenuIcon": "fa fa-users"
}
]
}
Expand Down
Binary file added assets/images/img/1-2-fail-stamp-picture.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/img/aby.bmp
Binary file not shown.
Binary file added assets/images/img/close_red.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/img/dz.bmp
Binary file not shown.
Binary file added assets/images/img/failUpload.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/img/user-default-128.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions assets/plugins/animate/animate-dropdown.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
var dropdownSelectors = $('.dropdown, .dropup');
// Custom function to read dropdown data
// =========================
function dropdownEffectData(target) {
//@todo - page level global?
var effectInDefault = null,
effectOutDefault = null;
var dropdown = $(target),
dropdownMenu = $('.dropdown-menu', target);

// var parentUl = dropdown.parents('ul.nav');
// If parent is ul.nav allow global effect settings
// if (parentUl.length() > 0) {
// effectInDefault = parentUl.data('dropdown-in') || null;
// effectOutDefault = parentUl.data('dropdown-out') || null;
// }

return {
target: target,
dropdown: dropdown,
dropdownMenu: dropdownMenu,
effectIn: dropdownMenu.data('dropdown-in') || effectInDefault,
effectOut: dropdownMenu.data('dropdown-out') || effectOutDefault,
};
}
// Custom function to start effect (in or out)
// =========================
function dropdownEffectStart(data, effectToStart) {
if (effectToStart) {
data.dropdown.addClass('dropdown-animating');
data.dropdownMenu.addClass('animated');
data.dropdownMenu.addClass(effectToStart);
}
}
// Custom function to read when animation is over
// =========================
function dropdownEffectEnd(data, callbackFunc) {
var animationEnd = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend';
data.dropdown.one(animationEnd, function() {
data.dropdown.removeClass('dropdown-animating');
data.dropdownMenu.removeClass('animated');
data.dropdownMenu.removeClass(data.effectIn);
data.dropdownMenu.removeClass(data.effectOut);

// Custom callback option, used to remove open class in out effect
if(typeof callbackFunc == 'function'){
callbackFunc();
}
});
}
// Bootstrap API hooks
// =========================
dropdownSelectors.on({
"show.bs.dropdown": function () {
// On show, start in effect
var dropdown = dropdownEffectData(this);
dropdownEffectStart(dropdown, dropdown.effectIn);
},
"shown.bs.dropdown": function () {
// On shown, remove in effect once complete
var dropdown = dropdownEffectData(this);
if (dropdown.effectIn && dropdown.effectOut) {
dropdownEffectEnd(dropdown, function() {});
}
},
"hide.bs.dropdown": function(e) {
// On hide, start out effect
var dropdown = dropdownEffectData(this);
if (dropdown.effectOut) {
e.preventDefault();
dropdownEffectStart(dropdown, dropdown.effectOut);
dropdownEffectEnd(dropdown, function() {
dropdown.dropdown.removeClass('open');
});
}
},
});

0 comments on commit 2806f14

Please sign in to comment.