Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design2
/
2016104137
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
유희정
2020-06-14 17:07:51 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a9d4de8032e69cec85eeeaaf9d449f960020b5c5
a9d4de80
1 parent
70d7ad5c
modify some functions
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
source/forensic_tool/assets/css/p_date.css
source/forensic_tool/src/photo_classification/p_date.html
source/forensic_tool/src/photo_classification/select_date.js
source/forensic_tool/src/timeline.js
source/forensic_tool/assets/css/p_date.css
View file @
a9d4de8
...
...
@@ -85,6 +85,14 @@ p.float_left{
height
:
60px
;
float
:
left
;
}
#d
{
float
:
top
;
margin-top
:
-3px
;
}
#n
{
float
:
top
;
margin-top
:
-16px
;
}
.check
{
width
:
40px
;
height
:
60px
;
...
...
source/forensic_tool/src/photo_classification/p_date.html
View file @
a9d4de8
...
...
@@ -100,9 +100,11 @@
path
=
result
[
i
].
path
;
var
num
=
path
.
indexOf
(
"DCIM"
);
var
folder_path
=
new
String
();
var
time
=
new
Date
(
Number
(
result
[
i
].
date_added
)
*
1000
);
var
month
=
time
.
getMonth
()
+
1
;
folder_path
=
"../../photos/"
+
path
.
substring
(
num
);
myHTML
+=
'<div class="photo"><div class="top"><img id="p" src="'
+
folder_path
+
'"></div><div class="bottom"><div class="name"><p id="
title
">'
+
result
[
i
].
display_name
+
'</p></div>'
;
+
'"></div><div class="bottom"><div class="name"><p id="
d">['
+
month
+
'/'
+
time
.
getDate
()
+
']</p><p id="n
">'
+
result
[
i
].
display_name
+
'</p></div>'
;
var
replacement
=
folder_path
.
replace
(
/ /g
,
"#%&!"
);
myHTML
+=
"<div class='check'><input type='checkbox' name='save' value="
+
replacement
+
"></div></div></div>"
}
...
...
source/forensic_tool/src/photo_classification/select_date.js
View file @
a9d4de8
...
...
@@ -34,8 +34,8 @@ closeBtn.addEventListener("click", () => {
var
st
=
new
Date
(
start_date
);
var
et
=
new
Date
(
end_date
);
st
.
setHours
(
st
.
getHours
()
-
9
);
et
.
setHours
(
et
.
getHours
()
+
15
);
st
.
setHours
(
st
.
getHours
());
et
.
setHours
(
et
.
getHours
()
+
24
);
et
.
setMilliseconds
(
et
.
getMilliseconds
()
-
1
);
var
sTimestamp
=
st
.
getTime
();
...
...
source/forensic_tool/src/timeline.js
View file @
a9d4de8
...
...
@@ -193,7 +193,7 @@ function makeTimeline(){
type
=
"부재 중"
}
else
{
type
=
"스팸"
return
;
}
myHTML
+=
'<div class="timeline">'
+
'<a href="#" class="timeline-content">'
...
...
Please
register
or
login
to post a comment