diff --git a/JetHerald/Views/Dashboard/Index.cshtml b/JetHerald/Views/Dashboard/Index.cshtml
index a7e394b..604336b 100644
--- a/JetHerald/Views/Dashboard/Index.cshtml
+++ b/JetHerald/Views/Dashboard/Index.cshtml
@@ -2,33 +2,41 @@
@Html.ValidationSummary(false, "", new {})
Create new topic
-
+
+
@DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ss") UTC
+
+
@foreach (var topic in @Model.Topics)
{
-
- @topic.Name
-
- ReadToken: @topic.ReadToken
-
- WriteToken: @topic.WriteToken
-
+
+
@topic.Name
+
Read: @topic.ReadToken
+
Write: @topic.WriteToken
@if (@Model.Hearts.Contains(topic.TopicId))
{
-
- | Heart | Last beat | Expires on |
+
+
+ | Heart |
+ Status |
+ Last beat |
+ Expires on |
+
@foreach (var heart in @Model.Hearts[topic.TopicId])
{
- | @heart.Name | @heart.LastBeatTs | @heart.ExpiryTs |
+ @heart.Name |
+ @heart.Status |
+ @heart.LastBeatTs.ToString("yyyy-dd-MM HH:mm:ss") |
+ @heart.ExpiryTs.ToString("yyyy-dd-MM HH:mm:ss") |
-
}
-
}
-
-
-
+ else
+ {
+ No active hearts
+ }
+
}
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/JetHerald/wwwroot/css/global.css b/JetHerald/wwwroot/css/global.css
index 67c939a..8291915 100644
--- a/JetHerald/wwwroot/css/global.css
+++ b/JetHerald/wwwroot/css/global.css
@@ -19,27 +19,6 @@ h6 {
font-family: tahoma, sans-serif;
}
-.entry {
- padding: 10px 10px;
- font-size: 14px;
- font-family: monospace;
-}
-
-ul.postlist {
- list-style-type: none;
- padding-left: 0px;
- padding-right: 0px;
- width: 100%;
-}
-
-ul.postlist > li:nth-child(odd) {
- background-color: #f0f0ff;
-}
-
-ul.postlist li:target {
- border: #059 solid 1px;
-}
-
header {
background-color: #059;
padding: 10px 0px 10px 0px;
@@ -53,14 +32,7 @@ nav {
}
.flex-container {
- display: -webkit-box;
- /* OLD - iOS 6-, Safari 3.1-6, BB7 */
- display: -ms-flexbox;
- /* TWEENER - IE 10 */
- display: -webkit-flex;
- /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
display: flex;
- /* NEW, Spec - Firefox, Chrome, Opera */
justify-content: center;
align-items: center;
}
@@ -90,54 +62,16 @@ div.page-main {
margin-top: 20px;
}
-.issues-list {
- list-style-type: none;
+.topics-list {
padding-left: 0;
width: 100%;
}
-.issues-list a {
- display: block;
- color: #222;
-}
-
-.issues-list li {
- padding: 5px;
- padding-left: 10px;
- margin: 5px;
-}
-
-.files-list {
- list-style-type: none;
- padding-left: 0;
- width: 100%;
-}
-
-.files-list a {
- display: block;
- color: #222;
-}
-
-.files-list li {
- padding: 5px;
- padding-left: 10px;
- margin: 5px;
-}
-
-.issue-tag {
- font-size: 12px;
- font-family: tahoma, sans-serif;
- color: #059;
- margin-bottom: -5px;
-}
-
-.issues-list li:nth-child(odd) {
- background: #f0f0ff;
-}
-
-.issues-list li:hover {
- background: #fff;
-}
+ .topics-list .topic-info {
+ padding: 10px;
+ margin: 5px;
+ border-bottom: 1px solid black;
+ }
nav {
color: #eef;
@@ -155,28 +89,6 @@ nav>a:hover {
color: #fff;
}
-.entry {
- font-family: tahoma, sans-serif;
-}
-
-.entry .date, .entry .from {
- font-size: 10px;
- color: #059;
-}
-
-.entry .from .issue {
- color: #222;
-}
-
-.entry .username {
- font-size: 18px;
-}
-
-.entry .activitytag {
- font-size: 10px;
- color: green;
-}
-
textarea.submit-text {
width: 100%;
min-width: 100%;
@@ -227,23 +139,6 @@ form.linkform {
display:inline;
}
-input.submit-search {
- float: right;
- background-size: contain !important;
- cursor:pointer;
- border: none;
- width: 32px;
- height:32px;
- font-size: 0px;
-}
-
-input.submitpost {
- background-color: #059;
- color: white;
- border: none;
- width: 6em;
- height: 1.5em;
-}
.underpanel {
font-size: 16px;
@@ -261,57 +156,10 @@ input.submitpost {
color: #fff;
}
-div.comment-underpanel {
- font-size: 10px;
- color: black;
- padding-left: 15px;
-}
-
-
-span.tag a,
-span.tag {
- /* background-color: white; */
- color: gray;
-}
-
-span.tag:hover,
-span.tag:hover a {
- background-color: black;
- color: white
-}
-
-span.issue-closed-marker {
- color: green;
-}
-
-span.issue-closed-marker {
- color: blue;
-}
-
-span.issue-wontfix-marker {
- color: darkgreen;
-}
-
-span.issue-open-marker {
- color: red;
-}
-
.blue {
color:#059;
}
-.issue-name {
- margin-top: 5px;
- margin-left: 0px;
- margin-bottom: 5px;
- color: black;
- font-weight: normal;
-}
-
-div.taglist {
- margin-top: 10px;
-}
-
hr {
border-color: #05b;
border-width: 0px 0px 2px;
@@ -428,6 +276,43 @@ label {
background-color: #80808080;
}
+.token-descr {
+ font-family: monospace;
+ font-size: small;
+ white-space: pre;
+ border: dashed 1px gray;
+ padding-inline: 4px;
+ background-color: lightgray;
+}
+
+.token-field {
+ font-family: monospace;
+ font-size:small;
+ white-space: pre;
+ border: dashed 1px gray;
+ padding-inline: 4px;
+}
+
+table.hearts-table {
+
+}
+
+tr:nth-of-type(1) {
+ background-color: #ddddee;
+}
+
+tr:nth-of-type(even) {
+ background-color: #e9e9f6;
+}
+
+td {
+ padding: 5px;
+}
+
+td.numeric {
+ text-align: end;
+}
+
.postborder {
padding: 5px;
border-radius: 5px;