appscms-tools-theme 3.9.6 → 3.9.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,132 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ {% include appscms/head/bloghead.html %}
4
+ <style>
5
+ .authors-heading {
6
+ font-size: 50px;
7
+ font-weight: 900;
8
+ }
9
+
10
+ .authors-info {
11
+ padding: 32px;
12
+ display: flex;
13
+ flex-direction: column;
14
+ justify-content: center;
15
+ text-align: center;
16
+ height: 100%;
17
+ width: 100%;
18
+ background: white;
19
+ box-shadow: 2px 4px 8px #d0cdcd;
20
+ border-radius: 15px;
21
+ margin-bottom: 100px;
22
+ }
23
+
24
+ .authors-info .authors-image img {
25
+ display: inline-block;
26
+ width: 150px;
27
+ height: 150px;
28
+ padding: 8px;
29
+ border-radius: 50%;
30
+ object-fit: cover;
31
+ user-select: none;
32
+ }
33
+
34
+ .authors-info .authors-name {
35
+ margin: 1rem;
36
+ font-size: 23px;
37
+ color: #000;
38
+ font-weight: 600;
39
+ }
40
+
41
+ .authors-info .authors-bio {
42
+ color: #121315;
43
+ font-size: 14px;
44
+ }
45
+
46
+ .authors-posts-count {
47
+ font-size: 16px;
48
+ font-weight: 400;
49
+ color: #000 !important;
50
+ text-decoration: underline !important;
51
+ }
52
+ </style>
53
+
54
+ <body>
55
+ {%- include appscms/navbars/navbar.html -%} {%- include
56
+ appscms/navbars/toolbar.html -%}
57
+ <section class="authors-list" style="margin-top: 50px">
58
+ <div class="container">
59
+ <div class="row">
60
+ <div class="col-md-12">
61
+ <h1 class="mb-5 text-center authors-heading">Our Authors</h1>
62
+ <div class="row">
63
+ {% assign minCommonAuthor = 1 %} {% assign sameAuthorCount = 0 %}
64
+ {% assign posts = site.posts | where_exp:"post","post.url !=
65
+ page.url" %} {% assign seen_authors = '' %} {% for post in
66
+ site.posts %} {% unless seen_authors contains post.author %} {%
67
+ assign seen_authors = seen_authors | append: post.author | append:
68
+ ',' %}
69
+ <!-- Render your author here -->
70
+ {%- include /authors/authors.html -%} {%- if authorName contains
71
+ authorName -%}
72
+ <div class="col-md-4 mb-5">
73
+ <div class="authors-info">
74
+ <a
75
+ class="authors-image"
76
+ href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
77
+ >
78
+ <img
79
+ loading="lazy"
80
+ src="{{image}}"
81
+ alt="{{ authorName }}"
82
+ />
83
+ </a>
84
+ <a
85
+ class="authors-name"
86
+ href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
87
+ >{{authorName | capitalize }}</a
88
+ >
89
+ <a href="/blog" class="authors-posts-count"
90
+ >{{ site.posts | where: 'author', post.author | size }}
91
+ Posts</a
92
+ >
93
+ <p class="authors-bio mt-3">{{bio}}</p>
94
+ </div>
95
+ </div>
96
+ {%- endif -%} {% endunless %} {% endfor %} {% for post in posts %}
97
+ {%- include /authors/authors.html -%} {%- if post.author contains
98
+ authorName -%}
99
+ <div class="d-none col-md-4 mb-4">
100
+ <div class="authors-info">
101
+ <a
102
+ class="authors-image"
103
+ href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
104
+ >
105
+ <img
106
+ loading="lazy"
107
+ src="{{image}}"
108
+ alt="{{ authorName }}"
109
+ />
110
+ </a>
111
+ <a
112
+ class="authors-name"
113
+ href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
114
+ >{{authorName | capitalize }}</a
115
+ >
116
+ <a href="/blog" class="authors-posts-count"
117
+ >{{ site.posts | where: 'author', post.author | size }}
118
+ Posts</a
119
+ >
120
+ <p class="authors-bio mt-3">{{bio}}</p>
121
+ </div>
122
+ </div>
123
+ {%- endif -%} {% endfor %}
124
+ </div>
125
+ </div>
126
+ </div>
127
+ </div>
128
+ {% include section/count.html %}
129
+ </section>
130
+ {%- include appscms/footer/static-footer.html -%} {% include script.html %}
131
+ </body>
132
+ </html>
@@ -34,7 +34,7 @@ layout: appscms-feature
34
34
  <div class="d-flex align-items-center">
35
35
  <button
36
36
  id="download-button"
37
- style="background-color: var(--primary-color)"
37
+ style="background: var(--primary-color)"
38
38
  >
39
39
  <svg
40
40
  xmlns="http://www.w3.org/2000/svg"
@@ -229,10 +229,7 @@
229
229
  </div>
230
230
  </section>
231
231
  {%- include section/count.html -%}
232
- {%- include section/alertbar.html -%}
233
- {% include script.html %}
234
- <script src="{{ '/assets/js/TopScroll.js' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%- endif
235
- -%}></script>
232
+ {%- include appscms/scripts/script.html -%}
236
233
  {%- if site.crossorigin -%}
237
234
  <script>
238
235
  const getImages = document.getElementsByTagName('img')
data/_layouts/batch.html CHANGED
@@ -1,126 +1,177 @@
1
1
  ---
2
2
  layout: feature
3
3
  ---
4
+
4
5
  <div class="container-fluid">
5
- {%- assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
6
- <div class="custom-box" style="padding-bottom: 250px; padding-top: 0px;" data-color="{{boxColor}}">
7
- <div style="display:none;" id="file-loader">
8
- <img src="/assets/images/spinner.gif" alt="loading..." {%-
6
+ {%- assign boxColor =
7
+ site.data[page.folderName][page.lang][page.fileName].color -%}
8
+ <div
9
+ class="custom-box"
10
+ style="padding-bottom: 250px; padding-top: 0px"
11
+ data-color="{{boxColor}}"
12
+ >
13
+ <div style="display: none" id="file-loader">
14
+ <img
15
+ src="/assets/images/spinner.gif"
16
+ alt="loading..."
17
+ {%-
18
+ if
19
+ site.crossorigin
20
+ -%}
21
+ crossorigin
22
+ {%-
23
+ endif
24
+ -%}
25
+ />
26
+ <p>Please Wait ,Loading Your file</p>
27
+ </div>
28
+
29
+ <div class="file-input">
30
+ <div class="d-flex justify-content-center align-items-center">
31
+ <div id="Inputbox" class="boxes">
32
+ <img
33
+ height="21px"
34
+ width="21px"
35
+ src="/assets/images/add.svg"
36
+ {%-
37
+ if
38
+ site.crossorigin
39
+ -%}
40
+ crossorigin
41
+ {%-
42
+ endif
43
+ -%}
44
+ />
45
+ <span class="ml-1">CHOOSE FILE</span>
46
+ </div>
47
+ <div class="file-pick-dropdown">
48
+ <i class="fas arrow-sign fa-angle-down"></i>
49
+ <div class="file-picker-dropdown" style="display: none">
50
+ <button id="filepicker">
51
+ <img
52
+ width="18px"
53
+ height="18px"
54
+ src="/assets/images/google-drive.png"
55
+ {%-
9
56
  if
10
57
  site.crossorigin
11
58
  -%}
12
59
  crossorigin
13
60
  {%-
14
61
  endif
15
- -%}>
16
- <p>Please Wait ,Loading Your file </p>
17
- </div>
18
-
19
- <div class="file-input">
20
- <div class="d-flex justify-content-center align-items-center ">
21
- <div id="Inputbox" class="boxes">
22
- <img height="21px" width="21px"
23
- src="/assets/images/add.svg" {%-
24
- if
25
- site.crossorigin
26
- -%}
27
- crossorigin
28
- {%-
29
- endif
30
- -%}>
31
- <span class='ml-1'>CHOOSE FILE</span>
32
- </div>
33
- <div class="file-pick-dropdown">
34
- <i class="fas arrow-sign fa-angle-down"></i>
35
- <div class="file-picker-dropdown" style="display: none;">
36
- <button id='filepicker'>
37
- <img width="18px" height="18px" src="/assets/images/google-drive.png" {%-
38
- if
39
- site.crossorigin
40
- -%}
41
- crossorigin
42
- {%-
43
- endif
44
- -%}
45
- alt="google-drive-icon">
46
- </button>
47
- <button id="dropbox">
48
- <img {%-
49
- if
50
- site.crossorigin
51
- -%}
52
- crossorigin
53
- {%-
54
- endif
55
- -%} width="18px" height="18px" src="/assets/images/dropbox.png" alt="dropbox-icon">
56
- </button>
57
- </div>
58
- </div>
59
-
60
- </div>
61
- <p id="dropfile" class="text-dark">or drop your image here</p>
62
+ -%}
63
+ alt="google-drive-icon"
64
+ />
65
+ </button>
66
+ <button id="dropbox">
67
+ <img
68
+ {%-
69
+ if
70
+ site.crossorigin
71
+ -%}
72
+ crossorigin
73
+ {%-
74
+ endif
75
+ -%}
76
+ width="18px"
77
+ height="18px"
78
+ src="/assets/images/dropbox.png"
79
+ alt="dropbox-icon"
80
+ />
81
+ </button>
82
+ </div>
62
83
  </div>
84
+ </div>
85
+ <p id="dropfile" class="text-dark">or drop your image here</p>
63
86
  </div>
64
- <div class="workspace" style="display: none;">
65
- <div class="row">
66
- <div class="col-md-8">
67
- <div class="files-panel d-none">
68
- <div id="saving-data" style="display: none;">
69
- <img {%-
70
- if
71
- site.crossorigin
72
- -%}
73
- crossorigin
74
- {%-
75
- endif
76
- -%} loading="lazy" src="/img/save.gif" alt="saving"> <span class="ml-2">Saving your
77
- images...</span>
78
- </div>
87
+ </div>
88
+ <div class="workspace" style="display: none">
89
+ <div class="row">
90
+ <div class="col-md-8">
91
+ <div class="files-panel d-none">
92
+ <div id="saving-data" style="display: none">
93
+ <img
94
+ {%-
95
+ if
96
+ site.crossorigin
97
+ -%}
98
+ crossorigin
99
+ {%-
100
+ endif
101
+ -%}
102
+ loading="lazy"
103
+ src="/img/save.gif"
104
+ alt="saving"
105
+ />
106
+ <span class="ml-2">Saving your images...</span>
107
+ </div>
79
108
 
80
- <!-- <label>
109
+ <!-- <label>
81
110
  <p class="inputfiles-label"> Input files</p> -->
82
- <input style="display: none;" onchange="fileOnChange()" type="file" id="file" multiple />
83
- <!-- </label> -->
84
-
85
- <div class="selectedFilesList text-left"></div>
86
- </div>
87
-
88
- <div class="files-container-box">
89
- <div class="add-more-files">
90
- <button class="btn add-more-files-button">
91
- <input style="display: none;" onchange="fileOnChange2()" type="file" id="file2" multiple />
92
- <img {%-
93
- if
94
- site.crossorigin
95
- -%}
96
- crossorigin
97
- {%-
98
- endif
99
- -%} src="/assets/images/add.png" alt="add-more-files">
100
- Add more files
101
- </button>
102
- </div>
103
- <table class="table files-processing-list m-0"></table>
104
- </div>
105
- <div class="justify-content-end align-items-center bottom-section-container">
106
-
107
- <div class="download-wrapper">
108
- <button style="background-color:{{boxColor}};" id="download-zip">
109
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"
110
- style="width: 20px; height:20px; margin-right:10px; fill:#fff;">
111
- <path
112
- d="M256 0C114.6 0 0 114.6 0 256c0 141.4 114.6 256 256 256s256-114.6 256-256C512 114.6 397.4 0 256 0zM382.6 302.6l-103.1 103.1C270.7 414.6 260.9 416 256 416c-4.881 0-14.65-1.391-22.65-9.398L129.4 302.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 306.8V128c0-17.69 14.33-32 32-32s32 14.31 32 32v178.8l49.38-49.38c12.5-12.5 32.75-12.5 45.25 0S395.1 290.1 382.6 302.6z">
113
- </path>
114
- </svg>
115
- Download Zip</button>
116
- </div>
111
+ <input
112
+ style="display: none"
113
+ onchange="fileOnChange()"
114
+ type="file"
115
+ id="file"
116
+ multiple
117
+ />
118
+ <!-- </label> -->
117
119
 
120
+ <div class="selectedFilesList text-left"></div>
121
+ </div>
118
122
 
119
- </div>
120
- </div>
121
- <div class="col-md-4">
122
- {{content}}
123
- </div>
123
+ <div class="files-container-box">
124
+ <div class="add-more-files">
125
+ <button class="btn add-more-files-button">
126
+ <input
127
+ style="display: none"
128
+ onchange="fileOnChange2()"
129
+ type="file"
130
+ id="file2"
131
+ multiple
132
+ />
133
+ <img
134
+ {%-
135
+ if
136
+ site.crossorigin
137
+ -%}
138
+ crossorigin
139
+ {%-
140
+ endif
141
+ -%}
142
+ src="/assets/images/add.png"
143
+ alt="add-more-files"
144
+ />
145
+ Add more files
146
+ </button>
147
+ </div>
148
+ <table class="table files-processing-list m-0"></table>
149
+ </div>
150
+ <div
151
+ class="justify-content-end align-items-center bottom-section-container"
152
+ >
153
+ <div class="download-wrapper">
154
+ <button style="background:{{boxColor}};" id="download-zip">
155
+ <svg
156
+ xmlns="http://www.w3.org/2000/svg"
157
+ viewBox="0 0 512 512"
158
+ style="
159
+ width: 20px;
160
+ height: 20px;
161
+ margin-right: 10px;
162
+ fill: #fff;
163
+ "
164
+ >
165
+ <path
166
+ d="M256 0C114.6 0 0 114.6 0 256c0 141.4 114.6 256 256 256s256-114.6 256-256C512 114.6 397.4 0 256 0zM382.6 302.6l-103.1 103.1C270.7 414.6 260.9 416 256 416c-4.881 0-14.65-1.391-22.65-9.398L129.4 302.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 306.8V128c0-17.69 14.33-32 32-32s32 14.31 32 32v178.8l49.38-49.38c12.5-12.5 32.75-12.5 45.25 0S395.1 290.1 382.6 302.6z"
167
+ ></path>
168
+ </svg>
169
+ Download Zip
170
+ </button>
171
+ </div>
124
172
  </div>
173
+ </div>
174
+ <div class="col-md-4">{{content}}</div>
125
175
  </div>
126
- </div>
176
+ </div>
177
+ </div>
data/_layouts/blog.html CHANGED
@@ -1,95 +1,131 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
- {% include custom-head.html %}
3
+ {% include custom-head.html %}
4
4
 
5
- <body>
5
+ <body>
6
6
  {%- include header/blogHeader.html -%}
7
7
 
8
8
  <section class="section_post">
9
- <div class="container">
10
- {%- if site.monumetricId -%}
11
- <div class="row">
12
- <div class="col-md-9 mx-auto">
13
- {%- endif -%}
14
- <div class="row justify-content-center section-title-wrap">
15
- <div class="col-lg-12">
16
- <h1 style="font-weight: 900;" class="display-4 m-0 small_description">{{
17
- site.data.blog.blog.h1 }}
18
- </h1>
19
- <p class="lead mb-5 mt-1" style="font-size: 18px;">
20
- {{ site.data.blog.blog.description }}
21
- </p>
22
- </div>
23
- </div>
24
- {%- if site.monumetricId -%}
25
- </div>
26
- </div>
9
+ <div class="container">
10
+ {%- if site.monumetricId -%}
11
+ <div class="row">
12
+ <div class="col-md-9 mx-auto">
27
13
  {%- endif -%}
28
- <div class="main-content">
29
- {{content}}
14
+ <div class="row justify-content-center section-title-wrap">
15
+ <div class="col-lg-12">
16
+ <h1
17
+ style="font-weight: 900"
18
+ class="display-4 m-0 small_description"
19
+ >
20
+ {{ site.data.blog.blog.h1 }}
21
+ </h1>
22
+ <p class="lead mb-5 mt-1" style="font-size: 18px">
23
+ {{ site.data.blog.blog.description }}
24
+ </p>
25
+ </div>
30
26
  </div>
27
+ {%- if site.monumetricId -%}
28
+ </div>
29
+ </div>
30
+ {%- endif -%}
31
+ <div class="main-content">{{content}}</div>
32
+ <div class="row">
33
+ {%- if site.monumetricId -%}
34
+ <div class="col-md-9 mx-auto">
31
35
  <div class="row">
32
- {%- if site.monumetricId -%}
33
- <div class="col-md-9 mx-auto">
34
- <div class="row">
35
- {%- endif -%}
36
- {% for post in paginator.posts %}
37
- <div class="
38
- {%- if site.monumetricId -%}
39
- col-md-6 mb-4 card-group
40
- {%- else -%}
41
- col-lg-4 col-md-6 mb-4 card-group
42
- {%- endif -%}
43
-
44
- ">
45
- <div class="card h-100">
46
- <a href="{{ post.url }}">
47
- <img src="{{ post.image }}" loading="lazy" height="215px" width="100%"
48
- class="card-img-top" alt="{{post.title}}" {%- if site.crossorigin -%}
49
- crossorigin="anonymous" {%- endif -%}>
50
- </a>
51
- <div class="card-body">
52
- <a href="{{ post.url }}" class="anchor_link">
53
- <h4 class="card-title mb-4">{{ post.title }}</h4>
54
- </a>
55
- </div>
56
- {%- include authors/authors.html -%}
57
- <div class="card-footer bg-white">
58
- <div class="wrapfooter">
59
- {% if post.author %}
60
- <a target="_blank" href="/authors/{{authorName | downcase | replace: ' ' , '-' }}" class="meta-footer-thumb">
61
- <img class="author-thumb" loading="lazy" src="{{ image }}"
62
- alt="{{ authorName }}" {%- if site.crossorigin -%}
63
- crossorigin="anonymous" {%- endif -%}>
64
- </a>
65
- {% endif %}
36
+ {%- endif -%} {% for post in paginator.posts %}
37
+ <div
38
+ class="{%- if site.monumetricId -%} col-md-6 mb-4 card-group {%- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%}"
39
+ >
40
+ <div class="card h-100">
41
+ <a href="{{ post.url }}">
42
+ <img
43
+ src="{{ post.image }}"
44
+ loading="lazy"
45
+ height="215px"
46
+ width="100%"
47
+ class="card-img-top"
48
+ alt="{{post.title}}"
49
+ {%-
50
+ if
51
+ site.crossorigin
52
+ -%}
53
+ crossorigin="anonymous"
54
+ {%-
55
+ endif
56
+ -%}
57
+ />
58
+ </a>
59
+ <div class="card-body">
60
+ <a href="{{ post.url }}" class="anchor_link">
61
+ <h4 class="card-title mb-4">{{ post.title }}</h4>
62
+ </a>
63
+ </div>
64
+ {%- include authors/authors.html -%}
65
+ <div class="card-footer bg-white">
66
+ <div class="wrapfooter">
67
+ {% if post.author %}
68
+ <a
69
+ target="_blank"
70
+ href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
71
+ class="meta-footer-thumb"
72
+ >
73
+ <img
74
+ class="author-thumb"
75
+ loading="lazy"
76
+ src="{{ image }}"
77
+ alt="{{ authorName }}"
78
+ {%-
79
+ if
80
+ site.crossorigin
81
+ -%}
82
+ crossorigin="anonymous"
83
+ {%-
84
+ endif
85
+ -%}
86
+ />
87
+ </a>
88
+ {% endif %}
66
89
 
67
- <span class="author-meta">
68
- <span class="post-name">
69
- <a target="_blank" href="/authors/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName}}</a>
70
- </span><br>
71
- <span class="post-date">{{post.date | date_to_string }}</span>
72
- </span>
73
- </div>
74
- </div>
75
- </div>
76
- </div>
77
- {% endfor %}
78
- {%- if site.monumetricId -%}
90
+ <span class="author-meta">
91
+ <span class="post-name">
92
+ <a
93
+ target="_blank"
94
+ href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
95
+ >{{authorName}}</a
96
+ > </span
97
+ ><br />
98
+ <span class="post-date"
99
+ >{{post.date | date_to_string }}</span
100
+ >
101
+ </span>
79
102
  </div>
103
+ </div>
80
104
  </div>
81
- {%- endif -%}
105
+ </div>
106
+ {% endfor %} {%- if site.monumetricId -%}
82
107
  </div>
83
- {%- include paginationBlogPage.html -%}
108
+ </div>
109
+ {%- endif -%}
84
110
  </div>
111
+ {%- include paginationBlogPage.html -%}
112
+ </div>
85
113
 
86
- {% include section/count.html %}
114
+ {% include section/count.html %}
87
115
  </section>
88
116
  <!-- {%- include section/alertbar.html -%} -->
89
117
 
90
118
  {% include script.html %}
91
- <script src="{{ '/assets/js/TopScroll.js' | relative_url }}" {%- if site.crossorigin -%} crossorigin="anonymous" {%-
92
- endif -%}></script>
93
- </body>
94
-
95
- </html>
119
+ <script
120
+ src="{{ '/assets/js/TopScroll.js' | relative_url }}"
121
+ {%-
122
+ if
123
+ site.crossorigin
124
+ -%}
125
+ crossorigin="anonymous"
126
+ {%-
127
+ endif
128
+ -%}
129
+ ></script>
130
+ </body>
131
+ </html>