Skip to content

Commit 053d2e0

Browse files
committed
Fixes #17, #16 and #7
- Fixed links from implementation page - Added link to JCR2 Grammer reference - Mentioned seitwerks for providing the logo in footer
1 parent 329e4f6 commit 053d2e0

File tree

5 files changed

+48
-34
lines changed

5 files changed

+48
-34
lines changed

Diff for: _data/implementations.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
github: https://github.com/midguardproject/phpcr-midgard2
9696
website: https://github.com/midguardproject/phpcr-midgard2
9797
description: |
98-
Uses <a href="http://midgard-project.org/midgard2">Midgard2</a> open soruce content repository. Not maintained since 2013
98+
Uses <a href="http://midgard-project.org/midgard2">Midgard2</a> open source content repository. Not maintained since 2013
9999
stability: unstable/unmaintained
100100

101101
- name: Jackalope MongoDB

Diff for: _layouts/default.html

+31-31
Original file line numberDiff line numberDiff line change
@@ -25,44 +25,44 @@ <h1>{{ page.title }}</h1>
2525
<div class="content">
2626
{{ content }}
2727
</div>
28+
<div class="footer">Thanks to all contributors and also to <a href="http://www.seitwerk.de">seitwerks.de</a> for creating the logo</div>
2829
</div>
29-
</div>
30-
<script type="text/javascript">
31-
(function (window, document) {
30+
<script type="text/javascript">
31+
(function (window, document) {
3232

33-
var layout = document.getElementById('layout'),
34-
menu = document.getElementById('menu'),
35-
menuLink = document.getElementById('menuLink');
33+
var layout = document.getElementById('layout'),
34+
menu = document.getElementById('menu'),
35+
menuLink = document.getElementById('menuLink');
3636

37-
function toggleClass(element, className) {
38-
var classes = element.className.split(/\s+/),
39-
length = classes.length,
40-
i = 0;
37+
function toggleClass(element, className) {
38+
var classes = element.className.split(/\s+/),
39+
length = classes.length,
40+
i = 0;
4141

42-
for(; i < length; i++) {
43-
if (classes[i] === className) {
44-
classes.splice(i, 1);
45-
break;
46-
}
47-
}
48-
// The className is not found
49-
if (length === classes.length) {
50-
classes.push(className);
51-
}
42+
for(; i < length; i++) {
43+
if (classes[i] === className) {
44+
classes.splice(i, 1);
45+
break;
46+
}
47+
}
48+
// The className is not found
49+
if (length === classes.length) {
50+
classes.push(className);
51+
}
5252

53-
element.className = classes.join(' ');
54-
}
53+
element.className = classes.join(' ');
54+
}
5555

56-
menuLink.onclick = function (e) {
57-
var active = 'active';
56+
menuLink.onclick = function (e) {
57+
var active = 'active';
5858

59-
e.preventDefault();
60-
toggleClass(layout, active);
61-
toggleClass(menu, active);
62-
toggleClass(menuLink, active);
63-
};
59+
e.preventDefault();
60+
toggleClass(layout, active);
61+
toggleClass(menu, active);
62+
toggleClass(menuLink, active);
63+
};
6464

65-
}(this, this.document));
66-
</script>
65+
}(this, this.document));
66+
</script>
6767
</body>
6868
</html>

Diff for: assets/main.css

+13
Original file line numberDiff line numberDiff line change
@@ -266,3 +266,16 @@ Hides the menu at `48em`, but modify this based on your app's needs.
266266
padding: 12px;
267267
border-radius: 5px;
268268
}
269+
270+
.footer {
271+
color: #aaa;
272+
text-align: center;
273+
font-size: 10px;
274+
margin-top: 100px;
275+
min-height: 100%;
276+
height: auto;
277+
}
278+
279+
.footer a {
280+
color: #444;
281+
}

Diff for: documentation/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ title: Documentation
1414
explanation of the CND node type format.
1515
- [JCR Query Cheatsheet (Magnolia)](https://wiki.magnolia-cms.com/display/WIKI/JCR+Query+Cheat+Sheet) - Examples of
1616
the JCR2 query language.
17+
- [JCR 2.0 SQL-2 Grammer Reference](http://www.h2database.com/jcr/grammar.html#name) - Grammer reference for the JCR-SQL-2 query language.
1718

1819
## Slides
1920

Diff for: implementations/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ This page lists all known PHPCR implementations:
1414

1515
{{ implementation.description }}
1616

17-
- **Website**: [{{ implementation.website }}](implementation.website)
18-
- **Github**: [{{ implementation.github }}](implementation.github)
17+
- **Website**: [{{ implementation.website }}]({{ implementation.website }})
18+
- **Github**: [{{ implementation.github }}]({{ implementation.github }})
1919
- **Stability**: {{ implementation.stability }}
2020

2121
{% if implementation.descriptors %}

0 commit comments

Comments
 (0)