Commit 2e11fafb authored by Daniel Brötzmann's avatar Daniel Brötzmann

Support: Add new Menu and Extensions (XEPs) entry

parent a9b1440f
Pipeline #6425 passed with stage
in 9 seconds
......@@ -12,9 +12,19 @@
url = "screenshots/"
weight = 3
[[main]]
identifier = "support"
name = "Support"
weight = 4
[[main]]
parent = "support"
name = "Wiki"
url = "https://dev.gajim.org/gajim/gajim/wikis/home"
weight = 4
[[main]]
parent = "support"
name = "Erweiterungen"
url = "support/extensions/"
weight = 4
[[main]]
name = "Entwicklung"
url = "development/"
......
......@@ -12,9 +12,19 @@
url = "screenshots/"
weight = 3
[[main]]
identifier = "support"
name = "Support"
weight = 4
[[main]]
parent = "support"
name = "Wiki"
url = "https://dev.gajim.org/gajim/gajim/wikis/home"
weight = 4
[[main]]
parent = "support"
name = "Extensions"
url = "support/extensions/"
weight = 4
[[main]]
name = "Development"
url = "development/"
......
......@@ -12,9 +12,19 @@
url = "screenshots/"
weight = 3
[[main]]
identifier = "support"
name = "Soporte"
weight = 4
[[main]]
parent = "support"
name = "Wiki"
url = "https://dev.gajim.org/gajim/gajim/wikis/home"
weight = 4
[[main]]
parent = "support"
name = "Extensiones"
url = "support/extensions/"
weight = 4
[[main]]
name = "Desarrollo"
url = "development/"
......
......@@ -12,9 +12,19 @@
url = "screenshots/"
weight = 3
[[main]]
identifier = "support"
name = "Support"
weight = 4
[[main]]
parent = "support"
name = "Wiki"
url = "https://dev.gajim.org/gajim/gajim/wikis/home"
weight = 4
[[main]]
parent = "support"
name = "Extensions"
url = "support/extensions/"
weight = 4
[[main]]
name = "Développement"
url = "development/"
......
---
title: Docs
description: Gajim documentation
type: page
layout: single
comments: false
---
---
title: Extensions
description: XEP Support
type: page
comments: false
---
This table lists all features (protocol extensions, called XEPs) Gajim supports at the moment. It always refers to Gajim’s latest development version.
{{< xeps >}}
......@@ -2,3 +2,9 @@
If you want to include any custom html just before </head>, put it in /layouts/partials/head_custom.html
Do not put anything in this file - it's only here so that hugo won't throw an error if /layouts/partials/head_custom.html doesn't exist.
-->
<script>
// This sets iframe height to the content’s height value. We add 25 px to account for horizontal scroll bars inside the frame (mobile).
function resizeIframe(obj) {
obj.style.height = obj.contentWindow.document.documentElement.scrollHeight + 20 + 'px';
}
</script>
<iframe src="/files/gajim.doap" class="xeps" onload="resizeIframe(this)"></iframe>
body {
font-family: sans-serif
}
img {
float: left;
}
table {
width: 100%;
border-collapse: collapse;
clear: both;
}
th {
border: 1px solid rgb(159, 175, 190);
background-color: rgb(112, 128, 144);
color: rgb(255, 255, 255);
padding: 10px;
}
th:nth-child(1) {
padding-left: 2.5rem;
padding-right: 2.5rem;
}
th:nth-child(5) {
text-align: left;
}
tr {
border: 1px solid rgb(233, 233, 233);
}
tr:nth-child(odd) {
background-color: rgb(247, 247, 247);
}
tr:hover {
background-color: rgb(240, 240, 240);
}
td {
padding: 10px;
color: rgb(28, 28, 28)
}
a {
padding: 5px;
color: rgb(70, 130, 180);
text-decoration: none;
}
a:hover {
color: rgb(50, 90, 120);
text-decoration: none;
}
.complete {
color: rgb(81, 134, 81);
background-color: rgb(224, 241, 217);
font-size: small;
padding: 5;
}
.partial {
color: rgb(182, 124, 37);
background-color: rgb(241, 238, 196);
font-size: small;
padding: 5;
}
a.button {
border: none;
color: rgb(255, 255, 255);
background-color: rgb(112, 128, 144);
padding: 12px 24px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 12px 4px 0;
cursor: pointer;
}
a.button:hover {
background-color: rgb(119, 136, 153);
color: rgb(255, 255, 255);
}
.header {
padding: 40px;
text-align: center;
background: linear-gradient(40deg, rgb(215, 223, 226) 0%, rgb(230, 236, 239) 60%);
color: rgb(68, 68, 68);
font-size: 30px;
margin-bottom: 15px;
}
.header b {
font-size: 24px;
}
.header p {
font-size: 14px;
padding: 10px;
}
.os {
margin: auto;
margin-bottom: 30px;
width: 75%;
text-align: center;
color: rgb(65, 78, 90)
}
.os p {
font-weight: bold;
}
.chip {
display: inline-block;
padding: 3px 10px;
margin: 3px 5px 3px 0;
height: 20px;
font-size: 14px;
line-height: 20px;
border-radius: 5px;
background-color: #f1f1f1;
}
\ No newline at end of file
......@@ -917,3 +917,8 @@ input.gsc-input, .gsc-input-box, .gsc-input-box-hover, .gsc-input-box-focus, .gs
font-weight: 400;
margin-right: 1rem;
}
.xeps {
display: block;
border: none;
width: 100%;
}
\ No newline at end of file
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:doap="http://usefulinc.com/ns/doap#"
xmlns:xmpp="https://linkmauve.fr/ns/xmpp-doap#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>
<xsl:template match="doap:Project">
<html>
<head>
<link href="/css/doap.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<table>
<tr><th>XEP</th><th>Version</th><th>Status</th><th>Since</th><th>Notes</th></tr>
<xsl:apply-templates select="doap:implements/*"/>
</table>
</body>
</html>
</xsl:template>
<xsl:template match="xmpp:SupportedXep">
<tr>
<td>
<a href="{xmpp:xep/@rdf:resource}" target="_blank">
XEP-<xsl:value-of select="substring-before(substring-after(xmpp:xep/@rdf:resource, 'https://xmpp.org/extensions/xep-'), '.')"/>
</a>
</td>
<td><xsl:value-of select="xmpp:version"/></td>
<td><span class="{xmpp:status}"><xsl:value-of select="xmpp:status"/></span></td> <td><xsl:value-of select="xmpp:since"/></td>
<td><xsl:value-of select="xmpp:note"/></td>
</tr>
</xsl:template>
</xsl:stylesheet>
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment