-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
96 lines (91 loc) · 4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="he">
<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">
<title>OfekTwitter</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
<link rel="stylesheet" href="styles/style.css">
<script src="js/tweets.js"></script>
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="index.html">OfekTwitter</a>
</div>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="users.html">Users</a>
</li>
<li>
<a href="sign-up.html">Sign Up</a>
</li>
<li>
<a href="sign-in.html">Sign In</a>
</li>
</ul>
</div>
</nav>
<div class="container">
<section class="tweet-box">
<div class="row">
<div class="col-xs-12 col-md-6 col-md-offset-3">
<div class="form-group">
<label for="tweet-input">Whats Up?</label>
<textarea class="form-control" rows="5" id="tweet-input" placeholder="Tell us what's on your mind!"></textarea>
</div>
<button type="button" class="btn btn-primary btn-block" onclick="publishTweet('USERNAME', document.getElementById('tweet-input').value)">Tweet!</button>
</div>
</div>
</section>
<section id="tweets-section">
<blockquote class="tweet">
<div class="tweeter-avatar">
<img src="images/avatar.jpg" alt="avatar" class="avatar">
</div>
<p class="tweet-text">This is what yarin saidsss ssssssss ssssssssssss ssssssssss sssssssssss ssssss.</p>
<footer class="tweeter-username">Yarin</footer>
</blockquote>
<!-- Hard-coded tweets are currently irrelevant, and kept for historical reference only -->
<div class="tweet">
<div class="tweeter-avatar">
<img src="images/avatar.jpg" alt="avatar" class="avatar">
</div>
<div class="tweeter-username">User1 says:</div>
<div class="tweet-text">some tweet text</div>
</div>
<div class="tweet">
<div class="tweeter-avatar">
<img src="images/avatar.jpg" alt="avatar" class="avatar">
</div>
<div class="tweeter-username">User2 says:</div>
<div class="tweet-text">some other tweet text</div>
</div>
<div class="tweet">
<div class="tweeter-avatar">
<img src="images/avatar.jpg" alt="avatar" class="avatar">
</div>
<div class="tweeter-username">User3 says:</div>
<div class="tweet-text">some completly different tweet text</div>
</div>
<div class="tweet">
<div class="tweeter-avatar">
<img src="images/avatar.jpg" alt="avatar" class="avatar">
</div>
<div class="tweeter-username">User4 says:</div>
<div class="tweet-text">tweet text that was never seen before</div>
</div>
<div class="tweet">
<div class="tweeter-avatar">
<img src="images/avatar.jpg" alt="avatar" class="avatar">
</div>
<div class="tweeter-username">User5 says:</div>
<div class="tweet-text">the most uniqe tweet text ever</div>
</div>
</section>
</div>
</body>
</html>