Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
node-js-60-2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patiphan Marak
node-js-60-2
Commits
8461a168
Commit
8461a168
authored
Feb 21, 2018
by
Patiphan Marak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
package
parent
1430fc6e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
6 deletions
+46
-6
.gitignore
.gitignore
+3
-2
apple.png
week05/windowapp/assets/icons/png/apple.png
+0
-0
index.html
week05/windowapp/index.html
+41
-3
package-lock.json
week05/windowapp/package-lock.json
+0
-0
package.json
week05/windowapp/package.json
+2
-1
No files found.
.gitignore
View file @
8461a168
node_module/
node_modules/
\ No newline at end of file
release-builds/
\ No newline at end of file
week05/windowapp/assets/icons/png/apple.png
0 → 100644
View file @
8461a168
7.98 KB
week05/windowapp/index.html
View file @
8461a168
...
@@ -4,13 +4,49 @@
...
@@ -4,13 +4,49 @@
<head>
<head>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<title>
Hello World!
</title>
<title>
Hello World!
</title>
<style>
.container
{
position
:
relative
;
width
:
50%
;
}
.image
{
display
:
block
;
width
:
100%
;
height
:
auto
;
}
.overlay
{
position
:
absolute
;
bottom
:
0
;
left
:
0
;
right
:
0
;
background-color
:
#008CBA
;
overflow
:
hidden
;
width
:
100%
;
height
:
0
;
transition
:
.5s
ease
;
}
.container
:hover
.overlay
{
height
:
100%
;
}
.text
{
color
:
white
;
font-size
:
20px
;
position
:
absolute
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
-ms-transform
:
translate
(
-50%
,
-50%
);
text-align
:
center
;
}
</style>
</head>
</head>
<body>
<body>
<h1>
Hello World!
</h1>
<h1>
Hello World!
</h1>
<div
class=
"w3-container"
>
<div
class=
"w3-container"
>
Node version
Node version
<script>
document
.
write
(
process
.
versions
.
node
)
</script>
<script>
document
.
write
(
process
.
versions
.
node
)
</script>
...
@@ -27,6 +63,7 @@
...
@@ -27,6 +63,7 @@
<img
src=
"https://hackr.io/tutorials/learn-electron/svg/electron_logo"
class=
"w3-border"
alt=
"Norway"
style=
"padding:16px;width:50%"
>
<img
src=
"https://hackr.io/tutorials/learn-electron/svg/electron_logo"
class=
"w3-border"
alt=
"Norway"
style=
"padding:16px;width:50%"
>
</div>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
week05/windowapp/package-lock.json
View file @
8461a168
This diff is collapsed.
Click to expand it.
week05/windowapp/package.json
View file @
8461a168
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
"author"
:
"Patiphan"
,
"author"
:
"Patiphan"
,
"license"
:
"ISC"
,
"license"
:
"ISC"
,
"devDependencies"
:
{
"devDependencies"
:
{
"electron"
:
"^1.8.2"
"electron"
:
"^1.8.2"
,
"electron-packager"
:
"^11.0.1"
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment