parent
15c0345c79
commit
168b2d24eb
@ -1,14 +1,29 @@
|
|||||||
@{ViewBag.Title = "Home Page";}
|
@using Newtonsoft.Json.Linq;
|
||||||
|
@{ViewBag.Title = "Home Page";}
|
||||||
|
|
||||||
<h2>@ViewBag.Message</h2>
|
<h2>@ViewBag.Message</h2>
|
||||||
|
@if (ViewBag.HasQsVars)
|
||||||
|
{
|
||||||
<h3>Request Variables:</h3>
|
<h3>Request Variables:</h3>
|
||||||
<ul>
|
<ul>
|
||||||
@foreach(string key in ViewBag.QueryString) {
|
@foreach (string key in ViewBag.QueryString)
|
||||||
|
{
|
||||||
<li>@key = @ViewBag.QueryString[key]</li>
|
<li>@key = @ViewBag.QueryString[key]</li>
|
||||||
}
|
}
|
||||||
</ul>
|
</ul>
|
||||||
|
}
|
||||||
|
|
||||||
<div id="user-timeline">
|
<div id="user-timeline">
|
||||||
<h4>user timeline for @ViewBag.Username</h4>
|
<h4>user timeline for @ViewBag.Username</h4>
|
||||||
<pre>@ViewBag.UserTimeline</pre>
|
|
||||||
|
<ul id="timeline-entries">
|
||||||
|
@foreach (JObject entry in ViewBag.UserTimeline)
|
||||||
|
{
|
||||||
|
<li class="timeline-entry">
|
||||||
|
@entry["text"]
|
||||||
|
</li>
|
||||||
|
}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<!-- @ViewBag.UserTimeline -->
|
||||||
</div>
|
</div>
|
Loading…
Reference in new issue