-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
82 lines (82 loc) · 4.23 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Azure CosmosDB Serverless Recipes</title>
<link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/site.css" />
</head>
<body>
<div class="container bootstrap snippet">
<div class="col-sm-8">
<div class="panel panel-white post panel-shadow">
<div class="post-heading">
<div class="pull-left image">
<img src="images/cosmosuser.png" class="img-circle avatar" alt="user profile image" style="border: solid 1px black">
</div>
<div class="pull-left meta">
<div class="title h5">
<a href="#"><b>Azure Cosmos DB</b></a>
made a post.
</div>
<h6 class="text-muted time">1 minute ago</h6>
</div>
</div>
<div class="post-description">
<p>Microsoft's globally distributed, massively scalable, multi-model database as a service! <strong>#NoSQL</strong> 🚀 🌏 🌌</p>
<div class="stats">
<a href="#" class="btn btn-default stat-item">
👍 2
</a>
<a href="#" class="btn btn-default stat-item">
💗 12
</a>
</div>
</div>
<div class="post-footer">
<div class="input-group" ng-controller="Poster as $ctrl">
<input class="form-control" placeholder="Add a comment" type="text" ng-model="$ctrl.message" autocomplete="off">
<span class="input-group-addon">
<a href="#" ng-click="$ctrl.post()" ng-hide="$ctrl.loading">🖊</a>
<span ng-show="$ctrl.loading"><img src="images/ajax-loader.gif"/></span>
</span>
</div>
<ul class="comments-list" ng-controller="Comments as $ctrl">
<li class="comment" ng-repeat="post in $ctrl.posts">
<a class="pull-left" href="#">
<img class="avatar" src="https://pbs.twimg.com/profile_images/864632602614837248/CQ5e3pHq_400x400.jpg" alt="avatar">
</a>
<div class="comment-body">
<div class="comment-heading">
<h4 class="user">Matias Quaranta</h4>
<h5 class="time">a moment ago</h5>
</div>
<p>{{post.message}}</p>
</div>
<ul class="comments-list">
<li class="comment" ng-show="post.hasFeedback">
<a class="pull-left" href="#">
<img class="avatar" src="/images/cognitive.png" alt="avatar">
</a>
<div class="comment-body">
<div class="comment-heading">
<h4 class="user">Azure Cognitive Services</h4>
<h5 class="time"></h5>
</div>
<p>Positive score {{post.score}}</p>
</div>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script>
<script src="scripts/signalr.js"></script>
<script src="scripts/site.js"></script>
</body>
</html>