From: Greg Burri Date: Thu, 1 May 2008 17:31:44 +0000 (+0000) Subject: ADD oubli de certain fichier en rapport avec la page "about" X-Git-Tag: 1.0.0^2~126 X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=7e02cae82befa6d101d43d97fb8bd79dedba54a4;p=euphorik.git ADD oubli de certain fichier en rapport avec la page "about" --- diff --git a/css/1/pageAbout.css b/css/1/pageAbout.css new file mode 100644 index 0000000..ffb958e --- /dev/null +++ b/css/1/pageAbout.css @@ -0,0 +1,46 @@ + +#page.about { + text-align : left; + padding: 30px 10px 10px 10px; +} + +#page.about h1 { + margin-top: 10px; + margin-left: 0px; + font-size: 18px; + color : #a6b80e +} + +#page.about h2 { + margin-top: 10px; + margin-left: 10px; + font-size: 16px; + color : #899714; +} + +#page.about h3 { + margin-top: 10px; + margin-left: 20px; + font-size: 14px; + color : #79841a; + background-color : #1e2201 +} + +#page.about h4 { + margin-top: 10px; + margin-left: 25px; + font-size: 12px; + color : #646d1d +} + +#page.about p { + margin-top: 3px; + margin-left: 35px; + color : #e9e9e9 +} + +#page.about ul { + margin-top: 3px; + margin-left: 45px; + color: #e9e9e9 +} diff --git a/js/debug.js b/js/debug.js new file mode 100644 index 0000000..a644d27 --- /dev/null +++ b/js/debug.js @@ -0,0 +1,72 @@ +/** + * Affiche un objet quelconque sur la sortie du navigateur. + */ +var dumpObj = function(obj, name) +{ + if (typeof(dump) == "undefined") + return + + dump("---" + (name == undefined ? "" : " : " + name) + "\n") + dump(obj2text(obj)) + dump("\n---\n") +} + +var obj2text = function(obj, curDepth) +{ + if (curDepth == undefined) + curDepth = 0; + + var acc = "" + + if (obj == undefined) + { + acc += "" + } + else if (typeof(obj) == "string") + { + acc += "\"" + obj + "\"" + } + else if (obj.length != undefined) // array + { + acc += "[" + + var i = 0 + for (; i < obj.length; i++) + { + if (i != 0) acc += "," + acc += "\n" + indent(curDepth + 1, obj2text(obj[i], curDepth + 1)) + } + + acc += (i == 0 ? "]" : "\n" + indent(curDepth, "]")) + } + else if (typeof(obj) == "object") + { + acc += "{" + var i = 0 + for (prop in obj) + { + if (i != 0) acc += "," + acc += "\n" + indent(curDepth + 1, prop + " : " + obj2text(obj[prop], curDepth + 1)) + i += 1 + } + acc += "\n" + indent(curDepth, "}") + } + else if (typeof(obj) == "function") + { + acc += "" + } + else // value + { + acc += obj + } + + return acc +} + +var indent = function(depth, text) +{ + var indentText = "" + for (var i = 0; i < depth * 3; i++) + indentText += " " + return indentText + text +} diff --git a/js/pageAbout.js b/js/pageAbout.js new file mode 100644 index 0000000..64f9bd3 --- /dev/null +++ b/js/pageAbout.js @@ -0,0 +1,22 @@ +// coding: utf-8 + +function PageAbout(client, formateur, util) +{ + this.nom = "about" + + this.client = client + this.formateur = formateur + this.util = util +} + +PageAbout.prototype.contenu = function() +{ + var contenu = "" + jQuery.ajax({async: false, url: "pages/about.html", success : function(page) { contenu += page }}) + var email = this.util.rot13("znvygb:tert.oheev@tznvy.pbz") + return contenu.replace("{EMAIL}", "" + email + "").replace("{EMAIL_LIEN}", email) +} + +PageAbout.prototype.charger = function() +{ +} diff --git a/pages/faq.html b/pages/faq.html deleted file mode 100755 index e69de29..0000000