Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Last bits of branding: custom org name, logo and background banner

  • Loading branch information...
commit ebb946f1ecdc8aed51e9e32c78e718e0aea68358 1 parent 8f183f2
@egonw egonw authored
View
2  css/ops.css
@@ -84,6 +84,6 @@ ul.toc, ol.toc {
body {
- background-image: url(http://www.w3.org/StyleSheets/TR/logo-WD);
+ background-image: url(wd.png);
}
View
BIN  css/wd.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
7 js/respec.js
@@ -610,6 +610,9 @@ berjon.respec.prototype = {
else if (statStyle == "base") {
css = "http://www.w3.org/StyleSheets/TR/base";
}
+ else if (this.customcss) {
+ css = this.customcss;
+ }
else {
css = "http://www.w3.org/StyleSheets/TR/W3C-" + statStyle;// + ".css";
}
@@ -830,7 +833,7 @@ berjon.respec.prototype = {
header += "<h2 property='bibo:subtitle' id='subtitle'>" + this.subtitle + "</h2>" ;
}
header +=
- "<h2 property='dcterms:issued' datatype='xsd:dateTime' content='" + this._ISODate(this.publishDate) + "'>" + (this.specStatus == "unofficial" ? "" : "W3C ") +
+ "<h2 property='dcterms:issued' datatype='xsd:dateTime' content='" + this._ISODate(this.publishDate) + "'>" + (this.specStatus == "unofficial" ? "" : this.customorg + " ") +
this.status2text[this.specStatus] + " " + this._humanDate(this.publishDate) + "</h2><dl>";
} else {
header +=
@@ -839,7 +842,7 @@ berjon.respec.prototype = {
header += "<h2 id='subtitle'>" + this.subtitle + "</h2>" ;
}
header +=
- "<h2>" + (this.specStatus == "unofficial" ? "" : "W3C ") +
+ "<h2>" + (this.specStatus == "unofficial" ? "" : this.customorg + " ") +
this.status2text[this.specStatus] + " " + this._humanDate(this.publishDate) + "</h2><dl>";
}
if (!this.isNoTrack) {
View
BIN  logo/ops.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
1  rdfguide/index.html
@@ -11,6 +11,7 @@
orguri: "http://www.openphacts.org/specs/",
orgicon: "<a href='http://www.openphacts.org/'><img height='100' src='../logo/ops.png' alt='Open PHACTS'/></a>",
customorg: "Open PHACTS",
+ customcss: "../css/ops.css",
specStatus: "WD",
shortName: "rdfguide",
publishDate: "2012-03-27",
Please sign in to comment.
Something went wrong with that request. Please try again.