Skip to content

Commit

Permalink
Fixing content insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoffat committed Jul 29, 2022
1 parent 83ecbdc commit bd010d8
Show file tree
Hide file tree
Showing 67 changed files with 110 additions and 112 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public String getTitle() {

@Override
public String getIcon() {
return "/github/kite9-org/kite9/templates/admin/icons/github.png?v=v0.11";
return "/github/kite9-org/kite9/templates/admin/icons/github.png?v=v0.12";
}

@Override
Expand Down Expand Up @@ -89,7 +89,7 @@ public String getTitle() {

@Override
public String getIcon() {
return "/github/kite9-org/kite9/templates/admin/icons/github.png?v=v0.11";
return "/github/kite9-org/kite9/templates/admin/icons/github.png?v=v0.12";
}

@Override
Expand Down Expand Up @@ -281,9 +281,9 @@ private String getIconUrl(Link l, GHContent c) {
if (fs.getFormatFor(c.getName()) instanceof DiagramFileFormat) {
return l.getHref();
} else if (hasIcon(c.getName())) {
return "/github/kite9-org/kite9/templates/admin/icons/"+getExtension(c.getName())+".svg?v=v0.11";
return "/github/kite9-org/kite9/templates/admin/icons/"+getExtension(c.getName())+".svg?v=v0.12";
} else {
return "/github/kite9-org/kite9/templates/admin/icons/unknown.svg?v=v0.11";
return "/github/kite9-org/kite9/templates/admin/icons/unknown.svg?v=v0.12";
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ private String getExtension(String name) {
@Override
public String getIcon() {
if (hasIcon(d.getFilename())) {
return "/github/kite9-org/kite9/templates/admin/icons/"+getExtension(d.getFilename())+".svg?v=v0.11";
return "/github/kite9-org/kite9/templates/admin/icons/"+getExtension(d.getFilename())+".svg?v=v0.12";
} else {
return "/github/kite9-org/kite9/templates/admin/icons/unknown.svg?v=v0.11";
return "/github/kite9-org/kite9/templates/admin/icons/unknown.svg?v=v0.12";
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ protected Document generateRestXML(RepresentationModel<?> t) throws XMLStreamExc
}

private void handleTemplateNaming(Document out) {
out.getDocumentElement().setAttributeNS(Kite9Namespaces.XSL_TEMPLATE_NAMESPACE, "xslt:template", "/github/kite9-org/kite9/templates/admin/admin-template.xsl?v=v0.11");
out.getDocumentElement().setAttributeNS(Kite9Namespaces.XSL_TEMPLATE_NAMESPACE, "xslt:template", "/github/kite9-org/kite9/templates/admin/admin-template.xsl?v=v0.12");
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta property="og:title" content="Kite9 Diagrams" />
<meta property="og:description"
content="Kite9 draws diagrams, automatically. UML, Risk-First, Templated, SVG, Flow-Charts, System Diagrams." />
<meta property="og:image" content="https://www.kite9.org/github/kite9-org/kite9/templates/admin/kite9-preview.png?v=v0.11" />
<meta property="og:image" content="https://www.kite9.org/github/kite9-org/kite9/templates/admin/kite9-preview.png?v=v0.12" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="718" />
<meta property="og:image:height" content="372" />
Expand All @@ -18,7 +18,7 @@
<meta property="twitter:title" content="Kite9" />
<meta property="twitter:description"
content="Kite9 draws diagrams, automatically. UML, Risk-First, Templated, SVG, Flow-Charts, System Diagrams." />
<meta property="twitter:image:src" content="https://www.kite9.org/github/kite9-org/kite9/templates/admin/kite9-preview.png?v=v0.11" />
<meta property="twitter:image:src" content="https://www.kite9.org/github/kite9-org/kite9/templates/admin/kite9-preview.png?v=v0.12" />
<meta property="twitter:image:width" content="718" />
<meta property="twitter:image:height" content="372" />
<meta charset="UTF-8" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function createAdlToSVGResolver(transition, command, metadata) {

const XSL_TEMPLATE_NAMESPACE = "http://www.kite9.org/schema/xslt";
const ADL_NAMESPACE = "http://www.kite9.org/schema/adl";
const DEFAULT_TEMPLATE = "/github/kite9-org/kite9/templates/basic/basic-template.xsl?v=v0.11";
const DEFAULT_TEMPLATE = "/github/kite9-org/kite9/templates/basic/basic-template.xsl?v=v0.12";
const META_NAMESPACE = "http://www.kite9.org/schema/metadata";


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<diagram xslt:template="/github/kite9-org/kite9/templates/basic/basic-template.xsl?v=v0.11"
<diagram xslt:template="/github/kite9-org/kite9/templates/basic/basic-template.xsl?v=v0.12"
xmlns="http://www.kite9.org/schema/adl"
xmlns:xslt="http://www.kite9.org/schema/xslt" id="dia">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<svg:defs>
<svg:style type="text/css">
@import url('/github/kite9-org/kite9/templates/formats/formats-textures.css?v=v0.11');
@import url('/github/kite9-org/kite9/templates/formats/formats-textures.css?v=v0.12');
</svg:style>
</svg:defs>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@ContextConfiguration
public class PrivateGithubIT extends AbstractRestIT {

public static final String JS = "/github/kite9-org/examples/some.js?v=v0.11";
public static final String JS = "/github/kite9-org/examples/some.js?v=v0.12";
public static final String DIR = "/github/kite9-org/examples";


Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
};
</script>
<script xlink:actuate="onLoad" xlink:type="simple" xlink:show="other" type="module" xmlns:xlink="http://www.w3.org/1999/xlink">
import '/github/kite9-org/kite9/templates/risk-first/risk-first.js?v=v0.11'
import '/github/kite9-org/kite9/templates/risk-first/risk-first.js?v=v0.12'
</script>
</defs>
</svg>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
};
</script>
<script xlink:actuate="onLoad" xlink:type="simple" xlink:show="other" type="module" xmlns:xlink="http://www.w3.org/1999/xlink">
import '/github/kite9-org/kite9/templates/risk-first/risk-first.js?v=v0.11'
import '/github/kite9-org/kite9/templates/risk-first/risk-first.js?v=v0.12'
</script>
</defs>
</svg>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit bd010d8

Please sign in to comment.