Skip to content

Commit

Permalink
Cleaned up Code
Browse files Browse the repository at this point in the history
  • Loading branch information
confused-Techie committed Nov 15, 2020
1 parent 61da7b1 commit 8f8f281
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions Tabby_Docker/Models/Bookmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public class Bookmark
[Display(Name = "Date Added to Tabby")]
[DataType(DataType.DateTime)]
public DateTime DateAdded { get; set; }
[Display(Name = "Favicon URL")]
public string FaviconLoc { get; set; }

}
Expand Down
5 changes: 4 additions & 1 deletion Tabby_Docker/Pages/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
</b>
</div>
<p class="card-text"> @Html.DisplayFor(modelItem => item.Description) </p>
<div class="card-link"><a href="@Html.DisplayFor(modelItem => item.URL)">Source: @Html.DisplayFor(modelItem => item.SiteName) </a></div>
<div class="card-link">
<!--<img src="~/Images/hash.svg" style="float:left;width:16px;height:16px;" />-->

<a href="@Html.DisplayFor(modelItem => item.URL)">Source: @Html.DisplayFor(modelItem => item.SiteName) </a></div>
<div class="card-footer text-muted">
<a asp-page="./Bookmarks/Edit" asp-route-id="@item.ID"><img src="~/Images/edit-3.svg" alt="Edit Bookmark" style="float:left;width:20px;height:20px;" /></a> <small class="text-muted">@Html.DisplayFor(modelItem => item.DateAdded)</small> <a asp-page="./Bookmarks/Delete" asp-route-id="@item.ID"><img src="~/Images/trash-2.svg" alt="Delete Bookmark" style="float:right;width:20px;height:20px;" /></a>

Expand Down
1 change: 1 addition & 0 deletions Tabby_Docker/wwwroot/Images/hash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8f8f281

Please sign in to comment.