pidgin/nest

bd79d75e6db1
Parents 79b80a6560e8
Children c3b3dcf494c8
Make sure all of our files use UNIX line endings.
--- a/hugo/layouts/partials/donate.html Thu Mar 04 00:56:13 2021 -0600
+++ b/hugo/layouts/partials/donate.html Thu Mar 04 22:33:48 2021 -0600
@@ -1,3 +1,3 @@
-<a href="https://imfreedom.org/donate" class="donate-button">
- <i class="fas fa-heart"></i> {{ T "Donate" }}
-</a>
+<a href="https://imfreedom.org/donate" class="donate-button">
+ <i class="fas fa-heart"></i> {{ T "Donate" }}
+</a>
--- a/hugo/layouts/shortcodes/download-now.html Thu Mar 04 00:56:13 2021 -0600
+++ b/hugo/layouts/shortcodes/download-now.html Thu Mar 04 22:33:48 2021 -0600
@@ -1,66 +1,66 @@
-<div class="download-now">
- <a class="download-btn" href="/install/">
- <span style="vertical-align: middle;">
- <i class="fas fa-download dl-icon"></i> {{ T "Download" }}
- </span>
- </a>
- <b>Platforms:</b>
- <a href="/install/#windows"><i class="fab fa-windows"></i></a>
- <a href="/install/#macos"><i class="fab fa-apple"></i></a>
- <a href="/install/#linux"><i class="fab fa-linux"></i></a>
- <a href="/install/#freebsd"><i class="fab fa-freebsd"></i></a>
- <a href="/install/#source"><i class="fas fa-code"></i></a>
-</div>
-
-<style>
- .download-now {
- display: block;
- text-align: center;
- width: 250px;
- border-radius: 6px;
- background-color: lightgrey;
- margin: 0 auto;
- }
- .download-now .download-btn {
- border-radius: 6px;
- background-color: #8451a1;
- color: white;
- width: 100%;
- padding: 15px;
- font-size: large;
- text-align: center;
- display: block;
- }
- .download-now .download-btn:hover {
- background-color: #322a38;
- text-decoration: none !important;
- }
- .download-now .download-btn::after {
- content: none !important;
- }
- .download-now .download-thing {
- display: table-cell;
- text-align: center;
- vertical-align: middle;
- }
- .download-now .dl-icon {
- display: inline-block;
- vertical-align: middle;
- }
- .download-now .dl-text {
- display: inline-block;
- vertical-align: middle;
- }
- .download-now ul {
- display: block;
- list-style-type: disc;
- margin-block-start: 0;
- margin-block-end: 0;
- margin-inline-start: 0;
- margin-inline-end: 0;
- padding-inline-start: 0;
- }
- .download-now a {
- color: #8451a1;
- }
-</style>
+<div class="download-now">
+ <a class="download-btn" href="/install/">
+ <span style="vertical-align: middle;">
+ <i class="fas fa-download dl-icon"></i> {{ T "Download" }}
+ </span>
+ </a>
+ <b>Platforms:</b>
+ <a href="/install/#windows"><i class="fab fa-windows"></i></a>
+ <a href="/install/#macos"><i class="fab fa-apple"></i></a>
+ <a href="/install/#linux"><i class="fab fa-linux"></i></a>
+ <a href="/install/#freebsd"><i class="fab fa-freebsd"></i></a>
+ <a href="/install/#source"><i class="fas fa-code"></i></a>
+</div>
+
+<style>
+ .download-now {
+ display: block;
+ text-align: center;
+ width: 250px;
+ border-radius: 6px;
+ background-color: lightgrey;
+ margin: 0 auto;
+ }
+ .download-now .download-btn {
+ border-radius: 6px;
+ background-color: #8451a1;
+ color: white;
+ width: 100%;
+ padding: 15px;
+ font-size: large;
+ text-align: center;
+ display: block;
+ }
+ .download-now .download-btn:hover {
+ background-color: #322a38;
+ text-decoration: none !important;
+ }
+ .download-now .download-btn::after {
+ content: none !important;
+ }
+ .download-now .download-thing {
+ display: table-cell;
+ text-align: center;
+ vertical-align: middle;
+ }
+ .download-now .dl-icon {
+ display: inline-block;
+ vertical-align: middle;
+ }
+ .download-now .dl-text {
+ display: inline-block;
+ vertical-align: middle;
+ }
+ .download-now ul {
+ display: block;
+ list-style-type: disc;
+ margin-block-start: 0;
+ margin-block-end: 0;
+ margin-inline-start: 0;
+ margin-inline-end: 0;
+ padding-inline-start: 0;
+ }
+ .download-now a {
+ color: #8451a1;
+ }
+</style>
--- a/hugo/layouts/shortcodes/plugintable.html Thu Mar 04 00:56:13 2021 -0600
+++ b/hugo/layouts/shortcodes/plugintable.html Thu Mar 04 22:33:48 2021 -0600
@@ -1,156 +1,156 @@
-{{/*** Templates ***/}}
-{{ define "trusted" }}
- <span aria-label="{{ T "Trusted" }}" class="tooltipped tooltipped-s">
- <i class="fas fa-check-circle " style="color:#784a85"></i>
- </span>
-{{ end }}
-{{ define "community" }}
- <span aria-label="{{ T "Community" }}" class="tooltipped tooltipped-s">
- <i class="fas fa-users" style="color:green"></i>
- </span>
-{{ end }}
-
-{{/*** Content ***/}}
-<p>
- {{ T "Plugin-Info" }}
-</p>
-
-<ul>
- <li>{{ template "trusted" }} {{ T "Trusted-Info" }}</li>
- <li>{{ template "community" }} {{ T "Community-Info" }}</li>
-</ul>
-
-{{/* No point in showing search filters if there's no JS */}}
-<noscript>
- <style>
- #plugin-filters, #search-link-wrap {
- display: none;
- }
- </style>
-</noscript>
-
-<div id="plugin-filters" class="hidden">
- <div id="publisher-selector">
- <label style="display: inline-block;">
- <input type="radio" id="all" name="publisher" style="margin-right: 0; margin-left: 0.75rem;" value="all" checked>
- All
- </label>
-
- <label style="display: inline-block;">
- <input type="radio" id="pidgin" name="publisher" style="margin-right: 0; margin-left: 0.75rem;" value="pidgin">
- {{ template "trusted" }}
- {{ T "Trusted" }}
- </label>
-
- <label style="display: inline-block;">
- <input type="radio" id="community" name="publisher" style="margin-right: 0; margin-left: 0.75rem;"
- value="community">
- {{ template "community" }}
- {{ T "Community" }}
- </label>
- </div>
-
- <input type="text" id="plugin-filter-search" placeholder="{{ T "Search-placeholder" }}" />
-
- <div id="plugin-selector">
- {{ $types := slice }}
- {{ range .Site.Data.plugins }}
- {{ $types = $types | append ( index . "type" ) }}
- {{ end }}
-
- {{ range uniq $types }}
- <label class="pidgin-plugin-filter-checkbox">
- <input type="checkbox" data-type="{{ . }}">
- {{ . }}
- </label>
- {{ end }}
- </div>
-</div>
-
-<table id="plugin-table">
- <thead>
- <th></th>
- <th>{{ T "Name" }}</th>
- <th></th>
- <th>{{ T "Type" }}</th>
- <th>{{ T "Info" }}</th>
- <th>{{ T "Maintainer" }}</th>
- </thead>
-
- <tbody>
- {{ range .Site.Data.plugins }}
- <tr data-type="{{ .type }}" {{ if .isTrusted }}isTrusted="true"{{ end }}>
- <td class="plugin-icon">
- {{ if .logo }}<img src="{{ .logo }}" alt="{{ .heading | safeHTMLAttr }} logo" />{{ else }}&nbsp;{{ end }}
- </td>
-
- <td class="plugin-heading">
- {{ if .repo }}
- <a href="{{ .repo }}">{{ .heading }}</a>
- {{ else }}
- {{ .heading }}
- {{ end }}
- </td>
-
- <td class="plugin-publisher">
- {{ if eq true .isTrusted }}
- {{ template "trusted" }}
- {{ else }}
- {{ template "community" }}
- {{ end }}
- </td>
-
- <td class="plugin-type">
- {{ .type }}
- </td>
-
- <td class="plugin-info">
- {{ with .info }}{{ . | markdownify }}{{ end }}
- </td>
-
- <td class="plugin-repo">
- {{ .maintainer }}
- </td>
- </tr>
- {{ end }}
- </tbody>
-</table>
-
-
-<p id="search-link-wrap" class="hidden">
- Share this search:<br />
- <a id="search-link"></a>
-</p>
-
-<script src="/js/plugin-table.js"></script>
-
-<style>
- .hidden {
- display: none;
- }
-
- #plugin-filters {
- text-align: right;
- }
-
- #plugin-filter-search {
- text-align: right;
- max-width: 250px;
- display: inline-block;
- }
-
- #plugin-selector label {
- text-align: right;
- display: inline-block;
- }
-
- #plugin-selector input {
- margin: 8px;
- display: inline-block;
- }
-
- #search-link-wrap {
- font-size: small;
- text-align: center;
- }
-</style>
+{{/*** Templates ***/}}
+{{ define "trusted" }}
+ <span aria-label="{{ T "Trusted" }}" class="tooltipped tooltipped-s">
+ <i class="fas fa-check-circle " style="color:#784a85"></i>
+ </span>
+{{ end }}
+{{ define "community" }}
+ <span aria-label="{{ T "Community" }}" class="tooltipped tooltipped-s">
+ <i class="fas fa-users" style="color:green"></i>
+ </span>
+{{ end }}
+
+{{/*** Content ***/}}
+<p>
+ {{ T "Plugin-Info" }}
+</p>
+
+<ul>
+ <li>{{ template "trusted" }} {{ T "Trusted-Info" }}</li>
+ <li>{{ template "community" }} {{ T "Community-Info" }}</li>
+</ul>
+
+{{/* No point in showing search filters if there's no JS */}}
+<noscript>
+ <style>
+ #plugin-filters, #search-link-wrap {
+ display: none;
+ }
+ </style>
+</noscript>
+
+<div id="plugin-filters" class="hidden">
+ <div id="publisher-selector">
+ <label style="display: inline-block;">
+ <input type="radio" id="all" name="publisher" style="margin-right: 0; margin-left: 0.75rem;" value="all" checked>
+ All
+ </label>
+
+ <label style="display: inline-block;">
+ <input type="radio" id="pidgin" name="publisher" style="margin-right: 0; margin-left: 0.75rem;" value="pidgin">
+ {{ template "trusted" }}
+ {{ T "Trusted" }}
+ </label>
+
+ <label style="display: inline-block;">
+ <input type="radio" id="community" name="publisher" style="margin-right: 0; margin-left: 0.75rem;"
+ value="community">
+ {{ template "community" }}
+ {{ T "Community" }}
+ </label>
+ </div>
+
+ <input type="text" id="plugin-filter-search" placeholder="{{ T "Search-placeholder" }}" />
+
+ <div id="plugin-selector">
+ {{ $types := slice }}
+ {{ range .Site.Data.plugins }}
+ {{ $types = $types | append ( index . "type" ) }}
+ {{ end }}
+
+ {{ range uniq $types }}
+ <label class="pidgin-plugin-filter-checkbox">
+ <input type="checkbox" data-type="{{ . }}">
+ {{ . }}
+ </label>
+ {{ end }}
+ </div>
+</div>
+
+<table id="plugin-table">
+ <thead>
+ <th></th>
+ <th>{{ T "Name" }}</th>
+ <th></th>
+ <th>{{ T "Type" }}</th>
+ <th>{{ T "Info" }}</th>
+ <th>{{ T "Maintainer" }}</th>
+ </thead>
+
+ <tbody>
+ {{ range .Site.Data.plugins }}
+ <tr data-type="{{ .type }}" {{ if .isTrusted }}isTrusted="true"{{ end }}>
+ <td class="plugin-icon">
+ {{ if .logo }}<img src="{{ .logo }}" alt="{{ .heading | safeHTMLAttr }} logo" />{{ else }}&nbsp;{{ end }}
+ </td>
+
+ <td class="plugin-heading">
+ {{ if .repo }}
+ <a href="{{ .repo }}">{{ .heading }}</a>
+ {{ else }}
+ {{ .heading }}
+ {{ end }}
+ </td>
+
+ <td class="plugin-publisher">
+ {{ if eq true .isTrusted }}
+ {{ template "trusted" }}
+ {{ else }}
+ {{ template "community" }}
+ {{ end }}
+ </td>
+
+ <td class="plugin-type">
+ {{ .type }}
+ </td>
+
+ <td class="plugin-info">
+ {{ with .info }}{{ . | markdownify }}{{ end }}
+ </td>
+
+ <td class="plugin-repo">
+ {{ .maintainer }}
+ </td>
+ </tr>
+ {{ end }}
+ </tbody>
+</table>
+
+
+<p id="search-link-wrap" class="hidden">
+ Share this search:<br />
+ <a id="search-link"></a>
+</p>
+
+<script src="/js/plugin-table.js"></script>
+
+<style>
+ .hidden {
+ display: none;
+ }
+
+ #plugin-filters {
+ text-align: right;
+ }
+
+ #plugin-filter-search {
+ text-align: right;
+ max-width: 250px;
+ display: inline-block;
+ }
+
+ #plugin-selector label {
+ text-align: right;
+ display: inline-block;
+ }
+
+ #plugin-selector input {
+ margin: 8px;
+ display: inline-block;
+ }
+
+ #search-link-wrap {
+ font-size: small;
+ text-align: center;
+ }
+</style>
--- a/hugo/static/css/custom.css Thu Mar 04 00:56:13 2021 -0600
+++ b/hugo/static/css/custom.css Thu Mar 04 22:33:48 2021 -0600
@@ -1,197 +1,197 @@
-/*td img {
- margin: 0 !important;
- width: 30px;
-}
-*/
-/* stuff from the old pidgin.im */
-ul.condensed {
- display: block;
-}
-
-.condensed li {
- width: 33%;
- display: inline-block;
-}
-
-.donate-button {
- display: inline-block;
- border-radius: 25px;
- color: rgb(0, 0, 0) !important;
- background: #fff;
- padding: 10px;
- width: 100%;
- text-align: center;
- font-weight: bolder;
- font-size: 20px;
-}
-
-/*****************************************************************************
- * Visual fixes
- *****************************************************************************/
-
-#body-inner li p {
- /* This is to fix the unwanted p-tags that blackfriday adds */
- margin-block-start: 0;
- margin-block-end: 0;
-}
-
-#body-inner li pre {
- margin: 1rem 0;
-}
-
-#body-inner li {
- margin-block-start: 0.3rem;
- margin-block-end: 0.3rem;
-}
-
-#body-inner {
- margin-bottom: 0;
-}
-
-nav#TableOfContents ul li:first-child:nth-last-child(1) {
- /* Hide bullets for list items without siblings, aka, the H1 item when
- * all headings are all H2 (or lower). */
- list-style-type: none;
-}
-
-nav#TableOfContents code {
- /* Make titles with code snippets look nicer */
- white-space: nowrap;
- color: #8451a1;
- background: #e2e2fd;
- padding: 0px 2px;
-}
-
-/*****************************************************************************
- * Footline
- *****************************************************************************/
-
-#footline {
- background: rgb(246, 246, 246);
- border-radius: 15px;
- text-align: center;
- margin-top: 15px;
- padding: 1rem;
-}
-
-.footline-block {
- margin-block-end: 1rem;
- margin-top: 0;
-}
-
-.footline-block:last-child {
- margin-block-end: 0;
-}
-
-#page-info {
- padding: 10px;
-}
-
-#page-info > div {
- display: inline-block;
- width: 49%;
-}
-
-.footline-columns {
- vertical-align: top;
- padding: 0;
-}
-
-.footline-columns > li {
- display: inline-block;
- list-style-type: none;
-}
-
-.footline-columns > li::after {
- content: "\00b7";
-}
-
-.footline-columns > li:last-child::after {
- content: "";
-}
-
-.footline-old-site-info > ul {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.footline-old-site-info > ul > li {
- list-style-type: none;
-}
-
-.copyright-text {
- font-size: x-small;
-}
-
-/*****************************************************************************
- * Supporters
- *****************************************************************************/
-
-.supporters {
- padding: 7px;
- text-align: center;
-}
-
-.supporters a {
- display: inline-block;
- margin: 0 5px;
- max-height: 40px;
- max-width: 190px;
- vertical-align: middle;
-}
-
-.supporters img {
- display: inline-block !important;
- margin: 0 !important;
- width: auto;
-}
-
-/*****************************************************************************
- * Pligin Table
- *****************************************************************************/
-
-.plugin-icon {
- vertical-align: top;
- padding: 0.25rem !important;
- text-align: center;
-}
-
-.plugin-icon img {
- margin: 0 !important;
- min-width: 48px !important;
- height: 48px;
- width: 48px;
-}
-
-.plugin-heading,
-.plugin-publisher,
-.plugin-type,
-.plugin-info,
-.plugin-repo {
- vertical-align: top;
-}
-
-.plugin-publisher {
- text-align: center;
- padding: 0.25rem !important;
-}
-
-div.item-nav::after {
- clear: both;
- display: block;
- content: "";
-}
-
-div.next {
- text-align: right;
- float: right;
-}
-
-div.prev {
- text-align: left;
- float: left;
-}
-
-/*****************************************************************************
- * End of structure
- *****************************************************************************/
+/*td img {
+ margin: 0 !important;
+ width: 30px;
+}
+*/
+/* stuff from the old pidgin.im */
+ul.condensed {
+ display: block;
+}
+
+.condensed li {
+ width: 33%;
+ display: inline-block;
+}
+
+.donate-button {
+ display: inline-block;
+ border-radius: 25px;
+ color: rgb(0, 0, 0) !important;
+ background: #fff;
+ padding: 10px;
+ width: 100%;
+ text-align: center;
+ font-weight: bolder;
+ font-size: 20px;
+}
+
+/*****************************************************************************
+ * Visual fixes
+ *****************************************************************************/
+
+#body-inner li p {
+ /* This is to fix the unwanted p-tags that blackfriday adds */
+ margin-block-start: 0;
+ margin-block-end: 0;
+}
+
+#body-inner li pre {
+ margin: 1rem 0;
+}
+
+#body-inner li {
+ margin-block-start: 0.3rem;
+ margin-block-end: 0.3rem;
+}
+
+#body-inner {
+ margin-bottom: 0;
+}
+
+nav#TableOfContents ul li:first-child:nth-last-child(1) {
+ /* Hide bullets for list items without siblings, aka, the H1 item when
+ * all headings are all H2 (or lower). */
+ list-style-type: none;
+}
+
+nav#TableOfContents code {
+ /* Make titles with code snippets look nicer */
+ white-space: nowrap;
+ color: #8451a1;
+ background: #e2e2fd;
+ padding: 0px 2px;
+}
+
+/*****************************************************************************
+ * Footline
+ *****************************************************************************/
+
+#footline {
+ background: rgb(246, 246, 246);
+ border-radius: 15px;
+ text-align: center;
+ margin-top: 15px;
+ padding: 1rem;
+}
+
+.footline-block {
+ margin-block-end: 1rem;
+ margin-top: 0;
+}
+
+.footline-block:last-child {
+ margin-block-end: 0;
+}
+
+#page-info {
+ padding: 10px;
+}
+
+#page-info > div {
+ display: inline-block;
+ width: 49%;
+}
+
+.footline-columns {
+ vertical-align: top;
+ padding: 0;
+}
+
+.footline-columns > li {
+ display: inline-block;
+ list-style-type: none;
+}
+
+.footline-columns > li::after {
+ content: "\00b7";
+}
+
+.footline-columns > li:last-child::after {
+ content: "";
+}
+
+.footline-old-site-info > ul {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+.footline-old-site-info > ul > li {
+ list-style-type: none;
+}
+
+.copyright-text {
+ font-size: x-small;
+}
+
+/*****************************************************************************
+ * Supporters
+ *****************************************************************************/
+
+.supporters {
+ padding: 7px;
+ text-align: center;
+}
+
+.supporters a {
+ display: inline-block;
+ margin: 0 5px;
+ max-height: 40px;
+ max-width: 190px;
+ vertical-align: middle;
+}
+
+.supporters img {
+ display: inline-block !important;
+ margin: 0 !important;
+ width: auto;
+}
+
+/*****************************************************************************
+ * Pligin Table
+ *****************************************************************************/
+
+.plugin-icon {
+ vertical-align: top;
+ padding: 0.25rem !important;
+ text-align: center;
+}
+
+.plugin-icon img {
+ margin: 0 !important;
+ min-width: 48px !important;
+ height: 48px;
+ width: 48px;
+}
+
+.plugin-heading,
+.plugin-publisher,
+.plugin-type,
+.plugin-info,
+.plugin-repo {
+ vertical-align: top;
+}
+
+.plugin-publisher {
+ text-align: center;
+ padding: 0.25rem !important;
+}
+
+div.item-nav::after {
+ clear: both;
+ display: block;
+ content: "";
+}
+
+div.next {
+ text-align: right;
+ float: right;
+}
+
+div.prev {
+ text-align: left;
+ float: left;
+}
+
+/*****************************************************************************
+ * End of structure
+ *****************************************************************************/
--- a/hugo/themes/learn/layouts/partials/footline.html Thu Mar 04 00:56:13 2021 -0600
+++ b/hugo/themes/learn/layouts/partials/footline.html Thu Mar 04 22:33:48 2021 -0600
@@ -1,6 +1,6 @@
-<footer class=" footline">
- {{ with .Params.LastModifierDisplayName }}
- <i class='fas fa-user'></i> <a href="mailto:{{ $.Params.LastModifierEmail }}">{{ . }}</a> {{ with $.Date }} <i class='fas fa-calendar'></i> {{ .Format "02/01/2006" }}{{ end }}
- </div>
- {{ end }}
-</footer>
+<footer class=" footline">
+ {{ with .Params.LastModifierDisplayName }}
+ <i class='fas fa-user'></i> <a href="mailto:{{ $.Params.LastModifierEmail }}">{{ . }}</a> {{ with $.Date }} <i class='fas fa-calendar'></i> {{ .Format "02/01/2006" }}{{ end }}
+ </div>
+ {{ end }}
+</footer>