Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Empty file modified Frame/DeviceFrame.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Frame/HomeScreenMockup.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Icons/.DS_Store
Binary file not shown.
Empty file modified Icons/1.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/10.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/11.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/12.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/13.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/14.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/15.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/16.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/17.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/18.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/19.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/2.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/20.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/3.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/4.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/5.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/6.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/7.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/8.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Icons/9.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Icons/Mail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Icons/Messages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Icons/Phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Icons/Safari.png
Binary file added Icons/Telephone.png
Binary file added Icons/message.png
Binary file added Icons/music.png
Binary file added Icons/safari.jpg
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified Wallpaper/Default.jpg
100644 → 100755
65 changes: 65 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="styles.css">
<title>IOS</title>
</head>

<body>

<!-- <header class='ios-header'></header> -->
<!-- <div id='bg'>
<img id='bg-img' src='Wallpaper/Default.jpg' alt=" Default">
</div> -->
<div class='status'>
<div class="status-signal">
<div id='status-signal-01' class='status-signal-attribute'></div>
<div id='status-signal-02' class='status-signal-attribute'></div>
<div id='status-signal-03' class='status-signal-attribute'></div>
<div id='status-signal-04' class='status-signal-attribute'></div>
</div>
<p id='status-date'></p>
<div class="status-battery"></div>
</div>

<div class='ios-body'>
<img class='icon-image' src="icons/1.png" alt="1">
<img class='icon-image' src="icons/2.png" alt="2">
<img class='icon-image' src="icons/3.png" alt="3">
<img class='icon-image' src="icons/4.png" alt="4">
<img class='icon-image' src="icons/5.png" alt="5">
<img class='icon-image' src="icons/6.png" alt="6">
<img class='icon-image' src="icons/7.png" alt="7">
<img class='icon-image' src="icons/8.png" alt="8">
<img class='icon-image' src="icons/9.png" alt="9">
<img class='icon-image' src="icons/10.png" alt="10">
<img class='icon-image' src="icons/11.png" alt="11">
<img class='icon-image' src="icons/12.png" alt="12">
<img class='icon-image' src="icons/13.png" alt="13">
<img class='icon-image' src="icons/14.png" alt="14">
<img class='icon-image' src="icons/15.png" alt="15">
<img class='icon-image' src="icons/16.png" alt="16">
<img class='icon-image' src="icons/17.png" alt="17">
<img class='icon-image' src="icons/18.png" alt="18">
<img class='icon-image' src="icons/19.png" alt="19">
<img class='icon-image' src="icons/20.png" alt="20">
</div>
<div class='page'>
<div class='page-no' id='page-no-01'></div>
<div class='page-no' id='page-no-02'></div>
<div class='page-no' id='page-no-03'></div>
</div>
<footer class='ios-footer'>
<img class='ios-footer-image' src="icons/Telephone.png" alt="phone">
<img class='ios-footer-image' src="icons/Safari.png" alt="Safari">
<img class='ios-footer-image' src="icons/messages.png" alt="Message">
<img class='ios-footer-image' src="icons/music.png" alt="Music">
</footer>
<script src='scripts.js'></script>
</body>

</html>
32 changes: 32 additions & 0 deletions scripts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
function getTodaysDate() {
var today = new Date();
var day = today.getDate();
var month = today.getMonth() + 1;
var year = today.getFullYear();
var hour = today.getHours();
var minute = today.getMinutes();

if (day < 10) {
day = '0' + day
}

if (month < 10) {
month = '0' + month
}

if (hour < 10) {
hour = '0' + hour
}

if (minute < 10) {
minute = '0' + minute
}

today = day + '/' + month + '/' + year + " " + hour + ":" + minute;

return today
}

// var today = getTodaysDate();
var today = document.getElementById('status-date');
today.innerText = getTodaysDate();
135 changes: 135 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
/* html {
background: url('Wallpaper/Default.jpg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
} */

body {
background: url(Wallpaper/Default.jpg) no-repeat center;
background-size: 375px 667px;
;
max-width: 375px;
height: 667px;
overflow: hidden;
margin: auto;
}

.status {
margin-top: 2px;
width: 370px;
}

.status-signal {
display: inline-block;
width: 140px;
height: 30px;
}

.status-signal-attribute {
display: inline-block;
width: 2px;
background-color: white;
margin: 0px;
border-width: 1px;
padding: 0px;
}

#status-signal-01 {
height: 2px;
}

#status-signal-02 {
height: 4px;
}

#status-signal-03 {
height: 6px;
}

#status-signal-04 {
height: 8px;
}

#status-date {
display: inline-block;
color: white;
font-size: 12px;
margin-top: 2px;
width: 100px;
height: 10px;
text-align: center;
}

.status-battery {
display: inline-block;
width: 18px;
height: 8px;
background-color: white;
margin-left: 100px;
border-width: 1px;
padding: 0px;
}

.ios-body {
width: 375px;
height: 550px;
/* margin-left: 30px; */
/* margin-right: 30px; */
border-width: 60px;
/* padding-left: 16px;
padding-right: 16px; */
}

.icon-image {
display: inline-block;
width: 60px;
height: 60px;
padding: 15px;
}

.page {
display: block;
margin-left: 150px;
margin-bottom: 0;
width: 100px;
height: 10px;
}

.page-no {
display: inline-block;
width: 6px;
height: 6px;
background-color: white;
margin-left: 10px;
border-width: 1px;
padding: 0px;
border-radius: 50%;
}

#page-no-01 {
background-color: rgb(228, 222, 222);
}

#page-no-03 {
background-color: rgb(228, 222, 222);
}

.ios-footer {
display: block;
margin-top: 17px;
background-color: rgb(250, 204, 143);
/* padding: 100px; */
/* margin: 0 auto; */
/* border: 0px; */
width: 375px;
height: 80px;
}

.ios-footer-image {
display: inline-block;
width: 60px;
height: 60px;
padding: 15px;
}