Skip to content

Fixes #17, #16 and #7 #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _data/implementations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
github: https://github.com/midguardproject/phpcr-midgard2
website: https://github.com/midguardproject/phpcr-midgard2
description: |
Uses <a href="http://midgard-project.org/midgard2">Midgard2</a> open soruce content repository. Not maintained since 2013
Uses <a href="http://midgard-project.org/midgard2">Midgard2</a> open source content repository. Not maintained since 2013
stability: unstable/unmaintained

- name: Jackalope MongoDB
Expand Down
62 changes: 31 additions & 31 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,44 +25,44 @@ <h1>{{ page.title }}</h1>
<div class="content">
{{ content }}
</div>
<div class="footer">Thanks to all contributors and also to <a href="http://www.seitwerk.de">seitwerks.de</a> for creating the logo</div>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any better suggestions for the footer?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one could link to the PHPCR contributors list .. then again this would then miss the contributors for the other repos. would be cool if there would be an organization contributors list. So for now its fine imho.

</div>
</div>
<script type="text/javascript">
(function (window, document) {
<script type="text/javascript">
(function (window, document) {

var layout = document.getElementById('layout'),
menu = document.getElementById('menu'),
menuLink = document.getElementById('menuLink');
var layout = document.getElementById('layout'),
menu = document.getElementById('menu'),
menuLink = document.getElementById('menuLink');

function toggleClass(element, className) {
var classes = element.className.split(/\s+/),
length = classes.length,
i = 0;
function toggleClass(element, className) {
var classes = element.className.split(/\s+/),
length = classes.length,
i = 0;

for(; i < length; i++) {
if (classes[i] === className) {
classes.splice(i, 1);
break;
}
}
// The className is not found
if (length === classes.length) {
classes.push(className);
}
for(; i < length; i++) {
if (classes[i] === className) {
classes.splice(i, 1);
break;
}
}
// The className is not found
if (length === classes.length) {
classes.push(className);
}

element.className = classes.join(' ');
}
element.className = classes.join(' ');
}

menuLink.onclick = function (e) {
var active = 'active';
menuLink.onclick = function (e) {
var active = 'active';

e.preventDefault();
toggleClass(layout, active);
toggleClass(menu, active);
toggleClass(menuLink, active);
};
e.preventDefault();
toggleClass(layout, active);
toggleClass(menu, active);
toggleClass(menuLink, active);
};

}(this, this.document));
</script>
}(this, this.document));
</script>
</body>
</html>
13 changes: 13 additions & 0 deletions assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -266,3 +266,16 @@ Hides the menu at `48em`, but modify this based on your app's needs.
padding: 12px;
border-radius: 5px;
}

.footer {
color: #aaa;
text-align: center;
font-size: 10px;
margin-top: 100px;
min-height: 100%;
height: auto;
}

.footer a {
color: #444;
}
1 change: 1 addition & 0 deletions documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ title: Documentation
explanation of the CND node type format.
- [JCR Query Cheatsheet (Magnolia)](https://wiki.magnolia-cms.com/display/WIKI/JCR+Query+Cheat+Sheet) - Examples of
the JCR2 query language.
- [JCR 2.0 SQL-2 Grammer Reference](http://www.h2database.com/jcr/grammar.html#name) - Grammer reference for the JCR-SQL-2 query language.

## Slides

Expand Down
4 changes: 2 additions & 2 deletions implementations/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ This page lists all known PHPCR implementations:

{{ implementation.description }}

- **Website**: [{{ implementation.website }}](implementation.website)
- **Github**: [{{ implementation.github }}](implementation.github)
- **Website**: [{{ implementation.website }}]({{ implementation.website }})
- **Github**: [{{ implementation.github }}]({{ implementation.github }})
- **Stability**: {{ implementation.stability }}

{% if implementation.descriptors %}
Expand Down