summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Skins/ViewSkin.cshtml
blob: 3915c53d10ce465455699ba035deeb54b8b6e7b7 (plain) (blame)
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
@model Project_Unite.Models.Skin
@{
    ViewBag.Title = Model.Name + " - Skin Repository";
    ViewBag.Description = Model.ShortDescription;
    ViewBag.Keywords = "shiftos, shift, shifting, shifted, shifter, " + Model.Keywords;
    if (!string.IsNullOrWhiteSpace(Model.ScreenshotUrl))
    {
        ViewBag.Image = "http://getshiftos.ml/" + Model.ScreenshotUrl;
    }
}

<h2>@Model.Name</h2>

<p>...a skin by @Html.UserLink(Model.UserId) on @Model.PostedAt</p>

<div class="panel">
    <div class="panel-body">
        <a href="@Model.ScreenshotUrl"><img src="@Model.ScreenshotUrl" style="max-width:100%;width:auto;height:auto;" alt="Screenshot of @Model.Name. Click to show full-size image." /></a>

        <ul class="nav nav-pills">
            <li><a href="@Model.DownloadUrl" download target="_blank"><span class="glyphicon glyphicon-arrow-down"></span> Download</a></li>
        </ul>

        <p>@Model.ShortDescription</p>
        
        <p>@Html.Markdown(Model.FullDescription)</p>
    </div>
</div>