migrating to .NET Core 2.0

This commit is contained in:
RaidMax
2018-04-08 01:44:42 -05:00
parent 57fd5fae22
commit fdde7dfdba
121 changed files with 534 additions and 1157 deletions

View File

@ -1,4 +1,4 @@
@model List<SharedLibrary.Dtos.PlayerInfo>
@model List<SharedLibraryCore.Dtos.PlayerInfo>
<div class="mr-auto ml-auto col-12 col-lg-7 border-bottom">
<h4 class="pb-2 text-center ">@ViewBag.Title</h4>

View File

@ -1,4 +1,4 @@
@model Dictionary<SharedLibrary.Objects.Player.Permission, IList<SharedLibrary.Dtos.ClientInfo>>
@model Dictionary<SharedLibraryCore.Objects.Player.Permission, IList<SharedLibraryCore.Dtos.ClientInfo>>
<h4 class="pb-2 text-center ">@ViewBag.Title</h4>

View File

@ -1,4 +1,4 @@
@model SharedLibrary.Dtos.PlayerInfo
@model SharedLibraryCore.Dtos.PlayerInfo
@{
string match = System.Text.RegularExpressions.Regex.Match(Model.Name.ToUpper(), "[A-Z]").Value;
string shortCode = match == string.Empty ? "?" : match;
@ -21,13 +21,13 @@
<div id="profile_aliases_btn" class="oi oi-caret-bottom h3 ml-0 ml-md-2"></div>
@if (Model.LevelInt < (int)ViewBag.User.Level &&
(SharedLibrary.Objects.Player.Permission)Model.LevelInt != SharedLibrary.Objects.Player.Permission.Banned)
(SharedLibraryCore.Objects.Player.Permission)Model.LevelInt != SharedLibraryCore.Objects.Player.Permission.Banned)
{
<div id="profile_action_ban_btn" class="profile-action oi oi-lock-unlocked text-success h3 ml-2" title="Ban Client" data-action="ban" aria-hidden="true"></div>
}
@if (Model.LevelInt < (int)ViewBag.User.Level &&
(SharedLibrary.Objects.Player.Permission)Model.LevelInt == SharedLibrary.Objects.Player.Permission.Banned)
(SharedLibraryCore.Objects.Player.Permission)Model.LevelInt == SharedLibraryCore.Objects.Player.Permission.Banned)
{
<div id="profile_action_unban_btn" class="profile-action oi oi-lock-locked text-danger h3 ml-2" title="Unban Client" data-action="unban" aria-hidden="true"></div>
}

View File

@ -1,4 +1,4 @@
@model IEnumerable<SharedLibrary.Dtos.ServerInfo>
@model IEnumerable<SharedLibraryCore.Dtos.ServerInfo>
<div class="row justify-content-center">
<div id="console" class="col-md-8">

View File

@ -1,4 +1,4 @@
@model List<SharedLibrary.Dtos.CommandResponseInfo>
@model List<SharedLibraryCore.Dtos.CommandResponseInfo>
@{
Layout = null;
}

View File

@ -2,7 +2,7 @@
Layout = null;
}
@model SharedLibrary.Dtos.PenaltyInfo
@model SharedLibraryCore.Dtos.PenaltyInfo
<tr class="d-table-row d-md-none bg-dark">
<th scope="row" class="bg-primary">Name</th>

View File

@ -1,4 +1,4 @@
@model SharedLibrary.Dtos.ServerInfo
@model SharedLibraryCore.Dtos.ServerInfo
@{
Layout = null;

View File

@ -1,5 +1,5 @@

@model SharedLibrary.Dtos.ServerInfo
@model SharedLibraryCore.Dtos.ServerInfo
@{
Layout = null;

View File

@ -1,7 +1,7 @@
@{
Layout = null;
}
@model List<SharedLibrary.Dtos.PenaltyInfo>
@model List<SharedLibraryCore.Dtos.PenaltyInfo>
@{
foreach (var penalty in Model)

View File

@ -1,7 +1,7 @@
@{
Layout = null;
}
@model IEnumerable<SharedLibrary.Dtos.ServerInfo>
@model IEnumerable<SharedLibraryCore.Dtos.ServerInfo>
@{
foreach (var s in Model)