Toggle navigation
Toggle navigation
This project
Loading...
Sign in
신동해
/
Omniscient-Public-Point-Of-View
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
4
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
신동해
2021-12-09 08:32:12 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0118da0821fc3d1ce3315308a98eb53a0c8b8a9f
0118da08
1 parent
755ca66d
Update result_lib.ejs, result_pro.ejs : enable link button, add text_processing
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
views/result_lib.ejs
views/result_pro.ejs
views/result_lib.ejs
View file @
0118da0
...
...
@@ -15,12 +15,12 @@
<h4
class=
"ml-2 my-3 text-center"
>
보수 측 검색 결과
</h4>
<div
class=
"container"
>
<ul
class=
"list-group"
>
<
% for (var i =
1; i
< posts
.
display
;
i
++){
%
>
<
% for (var i =
0; i
< num
;
i
++){
%
>
<li
class=
"list-group-item"
>
<p
style=
"font-weight:bold; font-size:120%"
>
제목 :
<
%= posts.item
s[i].title.replace(/(
<b>
|
<
\/b>|
&
quot)/gi,'') %>
</p>
<p
>
내용 :
<
%= posts.item
s[i].description.replace(/(
<b>
|
<
\/b>|
&
quot)/gi,'') %>
</p>
<p
>
날짜 :
<
%= posts.item
s[i].pubDate %>
</p>
<button
class=
"btn btn-secondary
"
>
뉴스 보기
</button>
<p
style=
"font-weight:bold; font-size:120%"
>
제목 :
<
%= post
s[i].title.replace(/(
<b>
|
<
\/b>|
&
quot)/gi,'') %>
</p>
<p
>
내용 :
<
%= post
s[i].description.replace(/(
<b>
|
<
\/b>|
&
quot)/gi,'') %>
</p>
<p
>
날짜 :
<
%= post
s[i].pubDate %>
</p>
<button
class=
"btn btn-secondary"
onclick=
"location.href='<%= posts[i].originallink %>'
"
>
뉴스 보기
</button>
</li>
<
% } %>
</ul>
...
...
views/result_pro.ejs
View file @
0118da0
...
...
@@ -15,12 +15,12 @@
<h4
class=
"ml-2 my-3 text-center"
>
진보 측 검색 결과
</h4>
<div
class=
"container"
>
<ul
class=
"list-group"
>
<
% for (var i =
1; i
< posts
.
display
;
i
++){
%
>
<
% for (var i =
0; i
< num
;
i
++){
%
>
<li
class=
"list-group-item"
>
<p
style=
"font-weight:bold; font-size:120%"
>
제목 :
<
%= posts.item
s[i].title.replace(/(
<b>
|
<
\/b>|
&
quot)/gi,'') %>
</p>
<p
>
내용 :
<
%= posts.item
s[i].description.replace(/(
<b>
|
<
\/b>|
&
quot)/gi,'') %>
</p>
<p
>
날짜 :
<
%= posts.item
s[i].pubDate %>
</p>
<button
class=
"btn btn-secondary
"
>
뉴스 보기
</button>
<p
style=
"font-weight:bold; font-size:120%"
>
제목 :
<
%= post
s[i].title.replace(/(
<b>
|
<
\/b>|
&
quot)/gi,'') %>
</p>
<p
>
내용 :
<
%= post
s[i].description.replace(/(
<b>
|
<
\/b>|
&
quot)/gi,'') %>
</p>
<p
>
날짜 :
<
%= post
s[i].pubDate %>
</p>
<button
class=
"btn btn-secondary"
onclick=
"location.href='<%= posts[i].originallink %>'
"
>
뉴스 보기
</button>
</li>
<
% } %>
</ul>
...
...
Please
register
or
login
to post a comment