Changeset 2011 for lliurex-mirror


Ignore:
Timestamp:
Jun 25, 2016, 9:42:36 PM (3 years ago)
Author:
kbut
Message:

wip

Location:
lliurex-mirror/trunk/fuentes/admin-center-lliurex-mirror.install/lliurex-mirror
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-mirror/trunk/fuentes/admin-center-lliurex-mirror.install/lliurex-mirror/module.json

    r1969 r2011  
    44  "name": "LliureX Mirror",
    55  "description": "Mirror Manager",
    6   "main":"main.html",
     6  "main":"main2.html",
    77  "icon":"lliurex-mirror.png",
    88  "components": []
  • lliurex-mirror/trunk/fuentes/admin-center-lliurex-mirror.install/lliurex-mirror/src/js/lliurex-mirror.js

    r1964 r2011  
    383383
    384384
    385 var llxMirror=new LliurexMirror();
    386 llxMirror.bindEvents();
    387 llxMirror.bindUIEvents();
     385function LliurexMirror(){
     386
     387}
     388
     389LliurexMirror.prototype.bindEvents = function bindEvents(){
     390  var self = this;
     391  $("#lliruex-mirror").on("componentShow",function(e,args){
     392    console.log("hola");
     393    self.bar = new ProgressBar.Circle('#llxmirrorprogress', {color:'#4caf50',trailcolor:'#9f9f9f',trailWidth:3,strokeWidth: 3,easing: 'easeInOut'});
     394    self.bar.animate(0.4);
     395  });
     396}
     397
     398var llxmirror = new LliurexMirror();
     399llxmirror.bindEvents();
     400// var llxMirror=new LliurexMirror();
     401// llxMirror.bindEvents();
     402// llxMirror.bindUIEvents();
    388403// llxMirror.checkMirrorTimer();
Note: See TracChangeset for help on using the changeset viewer.