-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
290 lines (272 loc) · 19 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/css/materialize.min.css"/>
<link rel="stylesheet" type="text/css" href="style.css">
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<div class="row">
<nav class="nav-extended">
<div class="nav-wrapper">
<a href="#" class="brand-logo">#2 Cloud Technology</a>
<a href="#" data-activates="mobile-demo" class="button-collapse"><i class="material-icons">menu</i></a>
<ul class="side-nav" id="mobile-demo">
<li><a href="#">Session 1</a></li>
<li><a href="#">Session 2</a></li>
<li><a href="#">Session 3</a></li>
</ul>
<ul class="tabs tabs-transparent">
<li class="tab"><a class="active" href="#test1">Question</a></li>
<li class="tab"><a href="#test2">Q&A</a></li>
<li class="tab"><a href="#test3">About Session</a></li>
<li class="tab"><a href="#test4">Additional Reading</a></li>
<li class="tab"><a href="#test5">Leaderboard</a></li>
</ul>
</div>
</nav>
<div id="test1" class="col s12">
<div class="row">
<div class="col s12">
<div class="input-field col s12">
<select>
<option value="" disabled selected>Sort By</option>
<option value="1">Votes</option>
<option value="2">New</option>
<option value="3">Old</option>
</select>
</div>
</div>
<div id="ques" class="col s12">
<div class="card">
<div class="card-content">
<p>Hello, what did you mean by IaaS in your presentaion?</p>
<span>John asked 24 minutes ago</span>
</div>
<div class="card-action">
<a href="#">3 Comments</a>
<a href="#">10 Votes</a>
<a href="#" class="waves-effect waves-light btn"><i class="material-icons left">add</i>vote</a>
<a href="#" class="waves-effect waves-light btn"><i class="material-icons left">star</i>rate</a>
</div>
<div class="card-action">
<textarea id="textarea1" class="materialize-textarea"></textarea>
</div>
<div class="card-action">
<a href="#" class="waves-effect waves-light btn">comment</a>
</div>
</div><!-- Q1 -->
<div class="card">
<div class="card-content">
<p>Hello, what did you mean by IaaS in your presentaion?</p>
<span>Jane asked 14 minutes ago</span>
</div>
<div class="card-content" style="margin-left: 30px">
<p>IaaS stands for Infrastructure as a Service</p>
<span>Answered by Donald</span>
</div>
<div class="card-action">
<a href="#">1 Comment</a>
<a href="#">5 Votes</a>
<a href="#" class="waves-effect waves-light btn"><i class="material-icons left">add</i>vote</a>
</div>
</div>
<div class="card">
<div class="card-content">
<p>Hello, what did you mean by IaaS in your presentaion?</p>
<span>Jane asked 14 minutes ago</span>
</div>
<div class="card-action">
<a href="#">1 Comment</a>
<a href="#">5 Votes</a>
<a href="#" class="waves-effect waves-light btn"><i class="material-icons left">add</i>vote</a>
</div>
</div>
<div class="card">
<div class="card-content">
<p>Hello, what did you mean by IaaS in your presentaion?</p>
<span>Jane asked 14 minutes ago</span>
</div>
<div class="card-action">
<a href="#">1 Comment</a>
<a href="#">5 Votes</a>
<a href="#" class="waves-effect waves-light btn"><i class="material-icons left">add</i>vote</a>
</div>
</div>
<div class="card">
<div class="card-content">
<p>Hello, what did you mean by IaaS in your presentaion?</p>
<span>Jane asked 14 minutes ago</span>
</div>
<div class="card-action">
<a href="#">1 Comment</a>
<a href="#">5 Votes</a>
<a href="#" class="waves-effect waves-light btn"><i class="material-icons left">add</i>vote</a>
</div>
</div>
</div>
</div>
</div>
<!-- Modal Trigger -->
<div class="fixed-action-btn">
<a class="btn-floating btn-large red" href="#modal1">
<i class="large material-icons modal-trigger">add</i>
</a>
</div>
<!-- Modal Structure -->
<div id="modal1" class="modal">
<div class="modal-content">
<h4>Ask Question</h4>
<!-- <div class="row"> -->
<div class="input-field col s12">
<textarea id="question" class="materialize-textarea"></textarea>
<label for="textarea1">Type tour question here</label>
</div>
<!-- </div> -->
</div>
<div class="modal-footer">
<a href="#!" id="postquestion" class=" modal-action modal-close waves-effect waves-green btn-flat">Post</a>
</div>
</div>
<div id="test2" class="col s12">
<head> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en"> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.deep_purple-pink.min.css"> <link rel="stylesheet" href="styles.css"> <style> #view-source { position: fixed; display: block; right: 0; bottom: 0; margin-right: 40px; margin-bottom: 40px; z-index: 900; } </style> </head> <body class="mdl-demo mdl-color--grey-100 mdl-color-text--grey-700 mdl-base"> <div class="mdl-layout mdl-js-layout mdl-layout--fixed-header"> <main class="mdl-layout__content"> <div class="mdl-layout__tab-panel is-active" id="overview"> <section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp"> <header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color--teal-100 mdl-color-text--white"> </header> <div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone"> <div class="mdl-card__supporting-text"> <h4>Question 1</h4> Which is often a top priority of an embedded OS ? a) Efficient usage of resources b) Real time response c) Fault tolerance </div> <div class="mdl-card__actions"> <button class="mdl-button mdl-js-button mdl-button--raised"> Post </button> </div> </div> </section> <section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp"> <header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color--teal-100 mdl-color-text--white"> </header> <div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone"> <div class="mdl-card__supporting-text"> <h4>Question 2</h4> Which does not require a cloud computing where operating systems of different systems collaborate over a network? Option : a) Unpredictable server traffic b) Rapidly growing data c) Computational Accuracy </div> <div class="mdl-card__actions"> <button class="mdl-button mdl-js-button mdl-button--raised"> Post </button> </div> </div> </section> <section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp"> <header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color--teal-100 mdl-color-text--white"> </header> <div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone"> <div class="mdl-card__supporting-text"> <h4>Question 3</h4> Which of the following can prevent deadlocks ? a) semaphores b) interrupts c) system calls </div> <div class="mdl-card__actions"> <button class="mdl-button mdl-js-button mdl-button--raised"> Post </button> </div> </div> </section> </div> <footer class="mdl-mega-footer"> </footer> </main> </div> <script src="https://code.getmdl.io/1.2.1/material.min.js"></script>
</div>
<div id="test3" class="col s12">
<style>
.fix-card {
width: auto;
}
.demo-card-square.mdl-card {
width: 320px;
height: 320px;
}
.demo-card-square > .mdl-card__title {
color: #fff;
background:
url('../assets/demos/dog.png') bottom right 15% no-repeat #46B6AC;
}
</style>
<div class="fix-card demo-card mdl-card mdl-shadow--2dp">
<div class="mdl-card__title mdl-card--expand">
<h2 class="mdl-card__title-text">More About the Speaker...</h2>
</div>
<style>
div.polaroid {
width: 100%;
background-color: white;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
margin-bottom: 25px;
}
div.container {
text-align: center;
padding: 10px 20px;
}
</style>
<div align = "center"class="polaroid">
<img src="images/musk.jpg" alt="Ellon Musk" style="width:25%">
<div class="container">
<p>Ellon Musk at Berlin, 2016</p>
</div>
</div>
<div class="mdl-card__supporting-text">
<p class="about">
Elon Reeve Musk (born June 28, 1971) is a South African-born Canadian-American business magnate, investor, engineer, and inventor.
He is the founder, CEO, and CTO of SpaceX; co-founder, CEO, and product architect of Tesla Motors; co-founder and chairman of SolarCity; co-chairman of OpenAI; co-founder of Zip2; and founder of X.com which merged with PayPal of Confinity. As of June 2016, he has an estimated net worth of US$11.5 billion, making him the 83rd wealthiest person in the world.
Musk has stated that the goals of SolarCity, Tesla Motors, and SpaceX revolve around his vision to change the world and humanity. His goals include reducing global warming through sustainable energy production and consumption, and reducing the "risk of human extinction" by "making life multiplanetary"by setting up a human colony on Mars.
<br> <br>
In addition to his primary business pursuits, he has also envisioned a high-speed transportation system known as the Hyperloop, and has proposed a VTOL supersonic jet aircraft with electric fan propulsion, known as the Musk electric jet.
Musk is a self-described American exceptionalist and nationalist, describing himself as "nauseatingly pro-American". According to Musk, the United States is "[inarguably] the greatest country that has ever existed on Earth", describing it as "the greatest force for good of any country that's ever been". Musk believes outright that there "would not be democracy in the world if not for the United States", arguing there were "three separate occasions in the 20th-century where democracy would have fallen with World War I, World War II and the Cold War, if not for the United States".</p>
</div>
<div class="mdl-card__actions mdl-card--border">
<a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" href="https://en.wikipedia.org/wiki/Elon_Musk">
Find out More!
</a>
</div>
</div>
</div>
<div id="test4" class="col s12"> <div id="additionalReadings" class="col s12">
<ul class="collection">
<a href="http://www.sas.com/en_us/insights/analytics/big-data-analytics.html">
<li class="collection-item avatar">
<img src="images/bigData.jpg" alt="" class="circle">
<span class="title">Big Data</span>
<p>First Line <br>
Second Line
</p>
<a href="#!" class="secondary-content">Votes 10
<br>
<i class="small material-icons">thumb_up</i>
<i class="small material-icons">thumb_down</i>
</a>
</li>
</a>
<a href="https://www.esds.co.in/blog/cloud-computing-basic-concepts">
<li class="collection-item avatar">
<i class="material-icons circle">folder</i>
<span class="title">Cloud Technology</span>
<p>First Line <br>
Second Line
</p>
<a href="#!" class="secondary-content">Votes 10
<br>
<i class="small material-icons">thumb_up</i>
<i class="small material-icons">thumb_down</i>
</a>
</li>
</a>
<a href="https://msdn.microsoft.com/en-us/library/bb466232.aspx">
<li class="collection-item avatar">
<i class="material-icons circle green">insert_chart</i>
<span class="title">Enterprise Architecture</span>
<p>First Line <br>
Second Line
</p>
<a href="#!" class="secondary-content">Votes 10
<br>
<i class="small material-icons">thumb_up</i>
<i class="small material-icons">thumb_down</i>
</a>
</li>
</a>
<a href="https://www.udacity.com/course/full-stack-web-developer-nanodegree--nd004">
<li class="collection-item avatar">
<i class="material-icons circle red">play_arrow</i>
<span class="title">Full Stack Development</span>
<p>First Line <br>
Second Line
</p>
<a href="#!" class="secondary-content">Votes 10
<br>
<i class="small material-icons">thumb_up</i>
<i class="small material-icons">thumb_down</i>
</a>
</li>
</a>
</ul>
</div></div>
<div id="test5" class="col s12">
<head> <link rel="stylesheet" href="styles.css"> <style> #view-source { position: fixed; display: block; right: 0; bottom: 0; margin-right: 40px; margin-bottom: 40px; z-index: 900; } </style> </head> <body class="mdl-demo mdl-color--grey-100 mdl-color-text--grey-700 mdl-base"> <div class="mdl-layout mdl-js-layout mdl-layout--fixed-header"> <main class="mdl-layout__content"> <div class="mdl-layout__tab-panel is-active" id="overview"> <section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp"> <header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color--teal-100 mdl-color-text--white"> </header> <div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone"> <div class="mdl-card__supporting-text"> <table class="mdl-data-table mdl-js-data-table mdl-data-table--selectable mdl-shadow--2dp"> <thead> <tr> <th class="mdl-data-table__cell--non-numeric">Alex Peterson</th> <th><div class="material-icons mdl-badge mdl-badge--overlap" data-badge="10">account_box</div></th> </tr> </thead> <tbody> <tr> <td class="mdl-data-table__cell--non-numeric">Ashley Silvia</td> <td><div class="material-icons mdl-badge mdl-badge--overlap" data-badge="8">account_box</div></td> </tr> <tr> <td class="mdl-data-table__cell--non-numeric">Peter Zuckuerburg</td> <td><div class="material-icons mdl-badge mdl-badge--overlap" data-badge="8">account_box</div></td> </tr> <tr> <td class="mdl-data-table__cell--non-numeric">Mary Andrea</td> <td><div class="material-icons mdl-badge mdl-badge--overlap" data-badge="7">account_box</div></td> </tr> <tr> <td class="mdl-data-table__cell--non-numeric">Liza Alexandra</td> <td><div class="material-icons mdl-badge mdl-badge--overlap" data-badge="4">account_box</div></td> </tr> <tr> <td class="mdl-data-table__cell--non-numeric">Justin Biber</td> <td><div class="material-icons mdl-badge mdl-badge--overlap" data-badge="3">account_box</div></td> </tr> <tr> <td class="mdl-data-table__cell--non-numeric">Emaly Peterson</td> <td><div class="material-icons mdl-badge mdl-badge--overlap" data-badge="3">account_box</div></td> </tr> <tr> <td class="mdl-data-table__cell--non-numeric">Taylor </td> <td><div class="material-icons mdl-badge mdl-badge--overlap" data-badge="1">account_box</div></td> </tr> </tbody> </table> </div> <div class="mdl-card__actions"> </div> </div> </section> </div> <footer class="mdl-mega-footer"> </footer> </main> </div> </body>
</div>
</div>
<!--Import jQuery before materialize.js-->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/js/materialize.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
// the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
$('.modal').modal();
$('select').material_select();
$(".button-collapse").sideNav();
});
$('#postquestion').click(function () {
var t = $('#question').val();
// console.log(t);
$('#ques').append('<div class="card"><div class="card-content"><p>'+t+'</p><span>Jane asked 14 minutes ago</span></div><div class="card-action"><a href="#">1 Comment</a><a href="#">5 Votes</a><a href="#" class="waves-effect waves-light btn"><i class="material-icons left">add</i>vote</a></div></div>');
});
</script>
</body>
</html>