jekyll-theme-centos 2.51.1.beta.52 → 2.51.1.beta.54
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/base/announcements.html +1 -1
- data/_includes/base/banner.html +86 -0
- data/_includes/base/breadcrumbs.html +1 -1
- data/_includes/base/copyright.html +6 -6
- data/_includes/base/languages.html +10 -33
- data/_layouts/base/default.html +7 -1
- data/_sass/base/_customization.scss +0 -7
- data/assets/icons/android-chrome-192.png +0 -0
- data/assets/icons/android-chrome-512.png +0 -0
- data/assets/icons/apple-touch-icon.png +0 -0
- data/assets/icons/favicon-16.png +0 -0
- data/assets/img/base/page.svg +1688 -0
- data/assets/img/base/page.webp +0 -0
- data/assets/img/base/page_with_banner.webp +0 -0
- data/assets/img/centos-motif.png +0 -0
- metadata +18 -10
- data/assets/img/base/default-layout.svg +0 -945
- data/assets/img/base/default-layout.webp +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz: '
|
3
|
+
metadata.gz: c512bf1b9823f8e6695ec3308386a0c3c96b038b6681cbcf0fe2384b858c49cd
|
4
|
+
data.tar.gz: '0084f9efd74d2d462da9aefad409673b3b3f01f6db8fdb5f6709a787fda713a1'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8781ead1b5a6500904a5667624037797cff9dbafdc7ae510a1676e85d6b2dca8ef6a9661006607af24c56f14884e2d8ddf90dd7bfb1d453f9ae2f736ff0983b
|
7
|
+
data.tar.gz: 8abf8e6c6b164a8684f32d8da04fba5fd2f318a3922d6c7584655f4b966301c16a93bd3f7d603b21aee5dfa671375423e28911b9f6e8569eb6a3edece05f8201
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="alert alert-{{ include.color | default: 'primary' }} alert-dismissible fade show shadow" role="alert">
|
1
|
+
<div class="alert alert-{{ include.color | default: 'primary' }} alert-dismissible fade show shadow mb-3" role="alert">
|
2
2
|
<div class="container d-flex justify-content-between align-items-center">
|
3
3
|
<div class="me-3">
|
4
4
|
<div class="h5 mb-0"><i class="{{ include.icon | default: 'fa-solid fa-bullhorn' }}"></i></div>
|
@@ -0,0 +1,86 @@
|
|
1
|
+
{%- capture html_banner %}
|
2
|
+
{%- comment %}
|
3
|
+
Usage:
|
4
|
+
{% include base/banner.html %}
|
5
|
+
|
6
|
+
Optional Parameters:
|
7
|
+
* name (string) : ""
|
8
|
+
* image (string) : ""
|
9
|
+
* image_height (string) : "92"
|
10
|
+
* icon (string) : ""
|
11
|
+
* description (string) : ""
|
12
|
+
* actions (list) : [{"name":"","url":""}]
|
13
|
+
* resources (list) : [{"name":"","url":"","icon":""}]
|
14
|
+
|
15
|
+
Output:
|
16
|
+
Page banner.
|
17
|
+
{%- endcomment %}
|
18
|
+
|
19
|
+
{%- assign image = page.with_banner.image | default: include.image %}
|
20
|
+
{%- assign image_height = page.with_banner.image_height | default: include.image_height | default: '92' %}
|
21
|
+
{%- assign icon = page.with_banner.icon | default: include.icon %}
|
22
|
+
{%- assign name = page.with_banner.name | default: include.name %}
|
23
|
+
{%- assign description = page.with_banner.description | default: include.description %}
|
24
|
+
{%- assign actions = page.with_banner.actions | default: include.actions %}
|
25
|
+
{%- assign resources = page.with_banner.resources | default: include.resources %}
|
26
|
+
|
27
|
+
{%- capture html_banner_image -%}
|
28
|
+
{%- if name == nil and description == nil and actions == nil and resources == nil %}
|
29
|
+
{%- assign mb = "1" %}
|
30
|
+
{%- else %}
|
31
|
+
{%- assign mb = "5" %}
|
32
|
+
{%- endif %}
|
33
|
+
<div class="mt-1 mb-{{ mb }}"><img src="{{ site.url }}{{ site.baseurl }}/assets/img/{{ image }}" height="{{ image_height }}" alt="{{ name }}"></div>
|
34
|
+
{%- endcapture %}
|
35
|
+
|
36
|
+
{%- capture html_banner_icon -%}
|
37
|
+
{%- if name == nil and description == nil and actions == nil and resources == nil %}
|
38
|
+
{%- assign mb = "1" %}
|
39
|
+
{%- else %}
|
40
|
+
{%- assign mb = "5" %}
|
41
|
+
{%- endif %}
|
42
|
+
<div class="display-4 mb-{{ mb }}"><i class="{{ icon }}"></i></div>
|
43
|
+
{%- endcapture %}
|
44
|
+
|
45
|
+
{%- capture html_banner_name -%}
|
46
|
+
<div class="display-4 fw-bold mb-1">{{ name }}</div>
|
47
|
+
{%- endcapture %}
|
48
|
+
|
49
|
+
{%- capture html_banner_description -%}
|
50
|
+
{%- if actions == nil and resources == nil %}
|
51
|
+
{%- assign mb = "1" %}
|
52
|
+
{%- else %}
|
53
|
+
{%- assign mb = "3" %}
|
54
|
+
{%- endif %}
|
55
|
+
<div class="lead mb-{{ mb }}">{{ description }}</div>
|
56
|
+
{%- endcapture %}
|
57
|
+
|
58
|
+
{%- capture html_banner_actions -%}
|
59
|
+
<div class="d-flex align-items-start">
|
60
|
+
{%- for action in actions %}
|
61
|
+
<div class="me-1 mb-1">{% include base/link.html class="btn btn-primary text-nowrap" role="button" name=action.name url=action.url %}</div>
|
62
|
+
{% endfor %}
|
63
|
+
</div>
|
64
|
+
{%- endcapture %}
|
65
|
+
|
66
|
+
{%- capture html_banner_resources -%}
|
67
|
+
<div class="d-flex bg-primary text-bg-primary text-center rounded-bottom">
|
68
|
+
{%- for resource in resources %}
|
69
|
+
<div class="col d-grid">
|
70
|
+
{% include base/link.html class="btn btn-primary text-nowrap" role="button" name=resource.name url=resource.url icon=resource.icon %}
|
71
|
+
</div>
|
72
|
+
{%- endfor %}
|
73
|
+
</div>
|
74
|
+
{%- endcapture -%}
|
75
|
+
<div class="d-flex justify-content-center bg-dark bg-image text-bg-dark px-3 rounded-top{% if resources == nil %} rounded-bottom{% endif %}">
|
76
|
+
<div class="col-sm-12 col-lg-8 py-5">
|
77
|
+
{%- if image %}{{ html_banner_image }}{% endif %}
|
78
|
+
{%- if icon %}{{ html_banner_icon }}{% endif %}
|
79
|
+
{%- if name %}{{ html_banner_name }}{% endif %}
|
80
|
+
{%- if description %}{{ html_banner_description }}{% endif %}
|
81
|
+
{%- if actions.size > 0 %}{{ html_banner_actions }}{% endif %}
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
{%- if resources.size > 0 %}{{ html_banner_resources }}{% endif %}
|
85
|
+
{%- endcapture -%}
|
86
|
+
{{- html_banner -}}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<nav aria-label="{{ include.arialabel | default: 'breadcrumb' }}">
|
2
|
-
<ol class="breadcrumb">
|
2
|
+
<ol class="breadcrumb mb-0">
|
3
3
|
{%- assign crumbs = page.url | remove:'/index.html' | split: '/' %}
|
4
4
|
<li class="breadcrumb-item"><a class="link-offset-3 link-offset-3-hover link-underline link-underline-opacity-25 link-underline-opacity-75-hover" href="{{ site.baseurl }}/">Home</a></li>
|
5
5
|
{%- for crumb in crumbs offset: 1 %}
|
@@ -7,14 +7,14 @@
|
|
7
7
|
{%- assign color = include.color | default: "light" -%}
|
8
8
|
{%- capture legals -%}
|
9
9
|
{%- for item in copyright.legals -%}
|
10
|
-
{%-
|
11
|
-
|
12
|
-
|
10
|
+
{%- include base/link.html
|
11
|
+
class="border-start ms-2 ps-2 link-light link-offset-3 link-offset-3-hover link-underline-light link-underline-opacity-25 link-underline-opacity-75-hover"
|
12
|
+
url=item.link
|
13
|
+
name=item.text
|
14
|
+
-%}
|
13
15
|
{%- endfor -%}
|
14
16
|
{%- endcapture -%}
|
15
17
|
|
16
18
|
<div class="row my-3">
|
17
|
-
<div class="col">
|
18
|
-
<div>Copyright © {{ site.time | date: "%Y" }} {{ copyright.author }} {{ legals }}</div>
|
19
|
-
</div>
|
19
|
+
<div class="col">Copyright © {{ site.time | date: "%Y" }} {{ copyright.author }} {{ legals }}</div>
|
20
20
|
</div>
|
@@ -1,35 +1,12 @@
|
|
1
1
|
{% assign locales = page.with_locales.size | plus: 1 %}
|
2
|
-
|
3
|
-
<
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
{%
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
</button>
|
13
|
-
|
14
|
-
<div class="modal fade" id="languageModal-{{ modal_id }}" tabindex="-1" aria-labelledby="languageModalLabel-{{ modal_id }}">
|
15
|
-
<div class="modal-dialog">
|
16
|
-
<div class="modal-content">
|
17
|
-
<div class="modal-header">
|
18
|
-
<h1 class="modal-title fs-4" id="languageModalLabel-{{ modal_id }}">{{ modal_title }}</h1>
|
19
|
-
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
20
|
-
</div>
|
21
|
-
<div class="modal-body">
|
22
|
-
<p>{{ modal_preamble }}</p>
|
23
|
-
<a href="{{ site.baseurl }}{{ page.url }}" role="button" class="btn btn-sm btn-primary">{{ site.data.base.languages["en"] }}</a>
|
24
|
-
{% for locale in page.with_locales %}
|
25
|
-
<a href="{{ site.baseurl }}/{{ locale }}{{ page.url }}" role="button" class="btn btn-sm btn-primary">{{ site.data.base.languages[locale] }}</a>
|
26
|
-
{% endfor %}
|
27
|
-
</div>
|
28
|
-
{% if modal_footer != "" %}
|
29
|
-
<div class="modal-footer">
|
30
|
-
<p class="small">{{ modal_footer }}</p>
|
31
|
-
</div>
|
32
|
-
{% endif %}
|
33
|
-
</div>
|
34
|
-
</div>
|
2
|
+
<div class="dropdown">
|
3
|
+
<button class="btn btn-sm btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
|
4
|
+
<i class="fa-solid fa-language"></i> Languages
|
5
|
+
</button>
|
6
|
+
<ul class="dropdown-menu">
|
7
|
+
<li><a class="dropdown-item" href="{{ site.baseurl }}{{ page.url }}">{{ site.data.base.languages["en"] }}</a></li>
|
8
|
+
{% for locale in page.with_locales %}
|
9
|
+
<li><a class="dropdown-item" href="{{ site.baseurl }}/{{ locale }}{{ page.url }}">{{ site.data.base.languages[locale] }}</a></li>
|
10
|
+
{% endfor %}
|
11
|
+
</ul>
|
35
12
|
</div>
|
data/_layouts/base/default.html
CHANGED
@@ -14,6 +14,7 @@
|
|
14
14
|
title=news.title
|
15
15
|
content=news.content
|
16
16
|
color=news.color
|
17
|
+
icon=news.icon
|
17
18
|
url=news.url
|
18
19
|
-%}
|
19
20
|
{% endfor %}
|
@@ -40,12 +41,13 @@
|
|
40
41
|
title=announcement.title
|
41
42
|
content=announcement.content
|
42
43
|
color=announcement.color
|
44
|
+
icon=announcement.icon
|
43
45
|
-%}
|
44
46
|
{% endfor %}
|
45
47
|
{% endif -%}
|
46
48
|
|
47
49
|
{% if page.with_breadcrumbs == true or page.with_locales.size > 0 %}
|
48
|
-
<div class="row
|
50
|
+
<div class="row align-items-center small mb-3">
|
49
51
|
<div class="col">
|
50
52
|
{% if page.with_breadcrumbs == true %}
|
51
53
|
{% include base/breadcrumbs.html %}
|
@@ -59,6 +61,10 @@
|
|
59
61
|
</div>
|
60
62
|
{% endif %}
|
61
63
|
|
64
|
+
{% if page.with_banner != false %}
|
65
|
+
{% include base/banner.html %}
|
66
|
+
{% endif %}
|
67
|
+
|
62
68
|
{% if page.with_title == true -%}
|
63
69
|
<div class="row justify-content-center my-5">
|
64
70
|
<div class="col-sm-12 col-lg-8">
|
@@ -170,13 +170,6 @@ main {
|
|
170
170
|
}
|
171
171
|
}
|
172
172
|
// --------------------------------------------------------------------------------
|
173
|
-
// Tuneup first paragraph top margin when it is the first element inside
|
174
|
-
// content.
|
175
|
-
// --------------------------------------------------------------------------------
|
176
|
-
> p:first-child {
|
177
|
-
margin-top: 3rem;
|
178
|
-
}
|
179
|
-
// --------------------------------------------------------------------------------
|
180
173
|
// Tables
|
181
174
|
// --------------------------------------------------------------------------------
|
182
175
|
div.dataTables_wrapper {
|
Binary file
|
Binary file
|
Binary file
|
data/assets/icons/favicon-16.png
CHANGED
Binary file
|