js:wrap_fetch

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
js:wrap_fetch [2024/11/04 13:06] avillepreuxjs:wrap_fetch [2024/11/04 15:54] (Version actuelle) avillepreux
Ligne 1: Ligne 1:
  
 <CSS> <CSS>
 +
 +.redmine-stats table.table > :is(thead, tbody) > tr > :is(th,td) {
 +    padding: .1em 1ch .1em 3ch;
 +    text-align: right;
 +}
 </CSS> </CSS>
 <JS> <JS>
Ligne 16: Ligne 21:
     var params = html.split("/");     var params = html.split("/");
          
-    wrap.htm("...");+    wrap.html("...");
          
     console.log("CYA EMBED", "Parsing...", "Found", this, params);     console.log("CYA EMBED", "Parsing...", "Found", this, params);
Ligne 23: Ligne 28:
          
     console.log("CYA EMBED", "Parsing...", "Found known service", params[0]);     console.log("CYA EMBED", "Parsing...", "Found known service", params[0]);
-    url = "https://web.cyanide-studio.com/tools/redmine/?key=cron-trd6soihq4hedr687ioj685re5364se&format=md&project=" + params[1];+    url = "https://web.cyanide-studio.com/tools/redmine/?key=cron-trd6soihq4hedr687ioj685re5364se&format=html&project=" + params[1];
     }     }
          
Ligne 40: Ligne 45:
           this.html(html);           this.html(html);
           console.log("CYA EMBED", "Embeded !");           console.log("CYA EMBED", "Embeded !");
 +        },
 +        error: function(html) {
 +        
 +   console.log("CYA EMBED", "Error !", html);
 +        },
 +        complete:    function(html) {
 +        
 +   console.log("CYA EMBED", "Complete !", html);
         }         }
       });       });
  • js/wrap_fetch.1730721971.txt.gz
  • Dernière modification : 2024/11/04 13:06
  • de avillepreux