Skip to content

Commit

Permalink
added js files
Browse files Browse the repository at this point in the history
  • Loading branch information
JobGetabu committed Nov 28, 2018
1 parent e817cd6 commit 3c1dc83
Show file tree
Hide file tree
Showing 300 changed files with 84,572 additions and 0 deletions.
Binary file added DarasaWeb/images/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/alert/alert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/alert/alert2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/alert/alert3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/alert/alert4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/alert/alert5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/alert/alert6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/alert/alert7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/alert/model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/alert/model2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/alert/model3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/attached-files/img-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/attached-files/img-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/attached-files/img-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/avatar/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/avatar/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/avatar/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/avatar/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/avatar/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DarasaWeb/images/avatar/6.jpg
Binary file added DarasaWeb/images/avatar/7.jpg
Binary file added DarasaWeb/images/avatar/8.jpg
Binary file added DarasaWeb/images/avatar/usa-flag.png
Binary file added DarasaWeb/images/background/error-bg.jpg
Binary file added DarasaWeb/images/background/login-register.jpg
Binary file added DarasaWeb/images/background/profile-bg.jpg
Binary file added DarasaWeb/images/background/socialbg.jpg
Binary file added DarasaWeb/images/background/user-bg.jpg
Binary file added DarasaWeb/images/background/user-info.jpg
Binary file added DarasaWeb/images/bg.jpg
Binary file added DarasaWeb/images/big/img1.jpg
Binary file added DarasaWeb/images/big/img2.jpg
Binary file added DarasaWeb/images/big/img3.jpg
Binary file added DarasaWeb/images/big/img4.jpg
Binary file added DarasaWeb/images/big/img5.jpg
Binary file added DarasaWeb/images/big/img6.jpg
Binary file added DarasaWeb/images/bookingSystem/1.png
Binary file added DarasaWeb/images/bookingSystem/2.png
Binary file added DarasaWeb/images/bookingSystem/3.png
Binary file added DarasaWeb/images/bookingSystem/4.png
Binary file added DarasaWeb/images/bookingSystem/5.png
Binary file added DarasaWeb/images/bookingSystem/6.png
Binary file added DarasaWeb/images/bookingSystem/7.png
Binary file added DarasaWeb/images/bookingSystem/8.png
Binary file added DarasaWeb/images/browser/chrome-logo.png
Binary file added DarasaWeb/images/browser/firefox-logo.png
Binary file added DarasaWeb/images/browser/internet-logo.png
Binary file added DarasaWeb/images/browser/opera-logo.png
Binary file added DarasaWeb/images/browser/safari-logo.png
Binary file added DarasaWeb/images/c1.jpg
Binary file added DarasaWeb/images/c2.jpg
Binary file added DarasaWeb/images/c3.jpg
Binary file added DarasaWeb/images/card/c1.jpg
Binary file added DarasaWeb/images/card/c2.jpg
Binary file added DarasaWeb/images/card/c3.jpg
Binary file added DarasaWeb/images/card/c4.jpg
Binary file added DarasaWeb/images/chat-person-add.png
Binary file added DarasaWeb/images/close.png
Binary file added DarasaWeb/images/custom-select.png
Binary file added DarasaWeb/images/favicon.png
Binary file added DarasaWeb/images/fjords.jpg
Binary file added DarasaWeb/images/gallery/chair.jpg
Binary file added DarasaWeb/images/gallery/chair2.jpg
Binary file added DarasaWeb/images/gallery/chair3.jpg
Binary file added DarasaWeb/images/gallery/chair4.jpg
Binary file added DarasaWeb/images/hand.jpg
Binary file added DarasaWeb/images/lights.jpg
Binary file added DarasaWeb/images/logo-text.png
Binary file added DarasaWeb/images/logo.png
Binary file added DarasaWeb/images/logo2.png
Binary file added DarasaWeb/images/maximize.png
Binary file added DarasaWeb/images/minimize.png
Binary file added DarasaWeb/images/nature.jpg
Binary file added DarasaWeb/images/newyork.jpg
Binary file added DarasaWeb/images/paris.jpg
Binary file added DarasaWeb/images/paypal.png
Binary file added DarasaWeb/images/picture.png
Binary file added DarasaWeb/images/preview1.png
Binary file added DarasaWeb/images/product-2.jpg
Binary file added DarasaWeb/images/product.jpg
Binary file added DarasaWeb/images/product_1/1.jpg
Binary file added DarasaWeb/images/product_1/2.jpg
Binary file added DarasaWeb/images/product_1/3.jpg
Binary file added DarasaWeb/images/product_1/burger.jpg
Binary file added DarasaWeb/images/product_1/download.jpg
Binary file added DarasaWeb/images/product_1/image-10.jpg
Binary file added DarasaWeb/images/product_1/image-9.jpg
Binary file added DarasaWeb/images/product_1/images.jpg
Binary file added DarasaWeb/images/product_1/pizza2.jpg
Binary file added DarasaWeb/images/profile-bg.jpg
Binary file added DarasaWeb/images/rangeSliderimg/sprite-skin-flat.png
Binary file added DarasaWeb/images/rangeSliderimg/sprite-skin-nice.png
Binary file added DarasaWeb/images/sanfran.jpg
Binary file added DarasaWeb/images/scrollable/view-1-1200x800.jpg
Binary file added DarasaWeb/images/smile.png
Binary file added DarasaWeb/images/tooltip/Euclid.png
Binary file added DarasaWeb/images/user-1.png
Binary file added DarasaWeb/images/user-bg.jpg
Binary file added DarasaWeb/images/user-female.png
Binary file added DarasaWeb/images/user-profile.jpg
Binary file added DarasaWeb/images/user.jpg
Binary file added DarasaWeb/images/users/1.jpg
Binary file added DarasaWeb/images/users/2.jpg
Binary file added DarasaWeb/images/users/3.jpg
Binary file added DarasaWeb/images/users/4.jpg
Binary file added DarasaWeb/images/users/5.jpg
Binary file added DarasaWeb/images/users/6.jpg
Binary file added DarasaWeb/images/users/7.jpg
Binary file added DarasaWeb/images/users/8.jpg
Binary file added DarasaWeb/images/users/avatar-1.jpg
Binary file added DarasaWeb/images/users/avatar-2.jpg
Binary file added DarasaWeb/images/users/avatar-3.jpg
Binary file added DarasaWeb/images/users/avatar-4.jpg
Binary file added DarasaWeb/images/users/avatar-5.jpg
Binary file added DarasaWeb/images/users/avatar-6.jpg
Binary file added DarasaWeb/images/users/avatar-7.jpg
Binary file added DarasaWeb/images/users/avatar-8.jpg
Binary file added DarasaWeb/images/users/avatar-9.jpg
Binary file added DarasaWeb/images/users/profile.png
Binary file added DarasaWeb/images/video-cam.png
Binary file added DarasaWeb/images/watch.jpg
131 changes: 131 additions & 0 deletions DarasaWeb/js/custom.min.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
$(function() {
"use strict";
$(function() {
$(".preloader").fadeOut();
}),

jQuery(document).on("click", ".mega-dropdown", function(i) {
i.stopPropagation();
});


var i = function() {
(window.innerWidth > 0 ? window.innerWidth : this.screen.width) < 1170 ? ($("body").addClass("mini-sidebar"),
$(".navbar-brand span").hide(), $(".scroll-sidebar, .slimScrollDiv").css("overflow-x", "visible").parent().css("overflow", "visible"),
$(".sidebartoggler i").addClass("ti-menu")) : ($("body").removeClass("mini-sidebar"),
$(".navbar-brand span").show());
var i = (window.innerHeight > 0 ? window.innerHeight : this.screen.height) - 1;
(i -= 70) < 1 && (i = 1), i > 70 && $(".page-wrapper").css("min-height", i + "px");
};


$(window).ready(i), $(window).on("resize", i), $(".sidebartoggler").on("click", function() {
$("body").hasClass("mini-sidebar") ? ($("body").trigger("resize"), $(".scroll-sidebar, .slimScrollDiv").css("overflow", "hidden").parent().css("overflow", "visible"),
$("body").removeClass("mini-sidebar"), $(".navbar-brand span").show()) : ($("body").trigger("resize"),
$(".scroll-sidebar, .slimScrollDiv").css("overflow-x", "visible").parent().css("overflow", "visible"),
$("body").addClass("mini-sidebar"), $(".navbar-brand span").hide());
}),



$(".fix-header .header").stick_in_parent({}), $(".nav-toggler").click(function() {
$("body").toggleClass("show-sidebar"), $(".nav-toggler i").toggleClass("mdi mdi-menu"),
$(".nav-toggler i").addClass("mdi mdi-close");
}),



$(".search-box a, .search-box .app-search .srh-btn").on("click", function() {
$(".app-search").slideToggle(200);
}),



$(".floating-labels .form-control").on("focus blur", function(i) {
$(this).parents(".form-group").toggleClass("focused", "focus" === i.type || this.value.length > 0);
}).trigger("blur"), $(function() {
for (var i = window.location, o = $("ul#sidebarnav a").filter(function() {
return this.href == i;
}).addClass("active").parent().addClass("active");;) {
if (!o.is("li")) break;
o = o.parent().addClass("in").parent().addClass("active");
}
}),

$(function() {
$("#sidebarnav").metisMenu();
}),

$(".scroll-sidebar").slimScroll({
position: "left",
size: "5px",
height: "100%",
color: "#dcdcdc"
}),

$(".message-center").slimScroll({
position: "right",
size: "5px",
color: "#dcdcdc"
}),

$(".aboutscroll").slimScroll({
position: "right",
size: "5px",
height: "80",
color: "#dcdcdc"
}),

$(".message-scroll").slimScroll({
position: "right",
size: "5px",
height: "570",
color: "#dcdcdc"
}),

$(".chat-box").slimScroll({
position: "right",
size: "5px",
height: "470",
color: "#dcdcdc"
}),

$(".slimscrollright").slimScroll({
height: "100%",
position: "right",
size: "5px",
color: "#dcdcdc"
}),



$("body").trigger("resize"), $(".list-task li label").click(function() {
$(this).toggleClass("task-done");
}),



$("#to-recover").on("click", function() {
$("#loginform").slideUp(), $("#recoverform").fadeIn();
}),



$('a[data-action="collapse"]').on("click", function(i) {
i.preventDefault(), $(this).closest(".card").find('[data-action="collapse"] i').toggleClass("ti-minus ti-plus"),
$(this).closest(".card").children(".card-body").collapse("toggle");
}),



$('a[data-action="expand"]').on("click", function(i) {
i.preventDefault(), $(this).closest(".card").find('[data-action="expand"] i').toggleClass("mdi-arrow-expand mdi-arrow-compress"),
$(this).closest(".card").toggleClass("card-fullscreen");
}),



$('a[data-action="close"]').on("click", function() {
$(this).closest(".card").removeClass().slideUp("fast");
});
});
1 change: 1 addition & 0 deletions DarasaWeb/js/jquery.slimscroll.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 124 additions & 0 deletions DarasaWeb/js/lib/barRating/barRating.init.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
$(function() {
"use strict";
function ratingEnable() {
$('#example-1to10').barrating('show', {
theme: 'bars-1to10'
});

$('#example-movie').barrating('show', {
theme: 'bars-movie'
});

// $('#example-movie').barrating('set', 'Mediocre');

$('#example-square').barrating('show', {
theme: 'bars-square',
showValues: true,
showSelectedRating: false
});

$('#example-pill').barrating('show', {
theme: 'bars-pill',
initialRating: 'A',
showValues: true,
showSelectedRating: false,
allowEmpty: true,
emptyValue: '-- no rating selected --',
onSelect: function(value, text) {
alert('Selected rating: ' + value);
}
});

$('#example-reversed').barrating('show', {
theme: 'bars-reversed',
showSelectedRating: true,
reverse: true
});

$('#example-horizontal').barrating('show', {
theme: 'bars-horizontal',
reverse: true,
hoverState: false
});

$('#example-fontawesome').barrating({
theme: 'fontawesome-stars',
showSelectedRating: false
});

$('#example-css').barrating({
theme: 'css-stars',
showSelectedRating: false
});

$('#example-bootstrap').barrating({
theme: 'bootstrap-stars',
showSelectedRating: false
});

var currentRating = $('#example-fontawesome-o').data('current-rating');

$('.stars-example-fontawesome-o .current-rating')
.find('span')
.html(currentRating);

$('.stars-example-fontawesome-o .clear-rating').on('click', function(event) {
event.preventDefault();

$('#example-fontawesome-o')
.barrating('clear');
});

$('#example-fontawesome-o').barrating({
theme: 'fontawesome-stars-o',
showSelectedRating: false,
initialRating: currentRating,
onSelect: function(value, text) {
if (!value) {
$('#example-fontawesome-o')
.barrating('clear');
} else {
$('.stars-example-fontawesome-o .current-rating')
.addClass('hidden');

$('.stars-example-fontawesome-o .your-rating')
.removeClass('hidden')
.find('span')
.html(value);
}
},
onClear: function(value, text) {
$('.stars-example-fontawesome-o')
.find('.current-rating')
.removeClass('hidden')
.end()
.find('.your-rating')
.addClass('hidden');
}
});
}

function ratingDisable() {
$('select').barrating('destroy');
}

$('.rating-enable').on("click", function(event) {
event.preventDefault();

ratingEnable();

$(this).addClass('deactivated');
$('.rating-disable').removeClass('deactivated');
});

$('.rating-disable').on("click", function(event) {
event.preventDefault();

ratingDisable();

$(this).addClass('deactivated');
$('.rating-enable').removeClass('deactivated');
});

ratingEnable();
});
Loading

0 comments on commit 3c1dc83

Please sign in to comment.