/home/aqcert/public_html/admin/dash/js
NameSizeModeActions
bootstrap.js688900644editdlrm
bootstrap.min.js368160644editdlrm
jquery-ui-1.10.1.custom.min.js2281470644editdlrm
jquery.app.js120650644editdlrm
jquery.chat.js19880644editdlrm
jquery.dashboard.js41400644editdlrm
jquery.min.js957860644editdlrm
jquery.nicescroll.js593640644editdlrm
jquery.scrollTo.min.js24340644editdlrm
jquery.todo.js51370644editdlrm
jquery.validate.min.js230730644editdlrm
modernizr.min.js151530644editdlrm
npm.js4840644editdlrm
skycons.min.js80970644editdlrm
tinymce.js10370644editdlrm
waves.js694630644editdlrm
wow.min.js47770644editdlrm
Edit: /home/aqcert/public_html/admin/dash/js/jquery.todo.js (5137B)
/** * Theme: Velonic Admin Template * Author: Coderthemes * Todo Application */ !function($) { "use strict"; var TodoApp = function() { this.$body = $("body"), this.$todoContainer = $('#todo-container'), this.$todoMessage = $("#todo-message"), this.$todoRemaining = $("#todo-remaining"), this.$todoTotal = $("#todo-total"), this.$archiveBtn = $("#btn-archive"), this.$todoList = $("#todo-list"), this.$todoDonechk = ".todo-done", this.$todoForm = $("#todo-form"), this.$todoInput = $("#todo-input-text"), this.$todoBtn = $("#todo-btn-submit"), this.$todoData = [ { 'id': '1', 'text': 'Design One page theme', 'done': false }, { 'id': '2', 'text': 'Build a js based app', 'done': true }, { 'id': '3', 'text': 'Creating component page', 'done': true }, { 'id': '4', 'text': 'Testing??', 'done': true }, { 'id': '5', 'text': 'Hehe!! This is looks cool!', 'done': false }, { 'id': '6', 'text': 'Build an angular app', 'done': true }]; this.$todoCompletedData = []; this.$todoUnCompletedData = []; }; //mark/unmark - you can use ajax to save data on server side TodoApp.prototype.markTodo = function(todoId, complete) { for(var count=0; count
'); else { remaining = remaining + 1; this.$todoList.prepend('
  • '); } } //set total in ui this.$todoTotal.text(this.$todoData.length); //set remaining this.$todoRemaining.text(remaining); }, //init todo app TodoApp.prototype.init = function () { var $this = this; //generating todo list this.generate(); //binding archive this.$archiveBtn.on("click", function(e) { e.preventDefault(); $this.archives(); return false; }); //binding todo done chk $(document).on("change", this.$todoDonechk, function() { if(this.checked) $this.markTodo($(this).attr('id'), true); else $this.markTodo($(this).attr('id'), false); //regenerate list $this.generate(); }); //binding the new todo button this.$todoBtn.on("click", function() { if ($this.$todoInput.val() == "" || typeof($this.$todoInput.val()) == 'undefined' || $this.$todoInput.val() == null) { sweetAlert("Oops...", "You forgot to enter todo text", "error"); $this.$todoInput.focus(); } else { $this.addTodo($this.$todoInput.val()); } }); }, //init TodoApp $.TodoApp = new TodoApp, $.TodoApp.Constructor = TodoApp }(window.jQuery), //initializing todo app function($) { "use strict"; $.TodoApp.init() }(window.jQuery);