2020-05-24 02:41:23 +01:00
|
|
|
@{
|
2020-05-24 04:11:58 +01:00
|
|
|
/******************************************************************************
|
2020-05-24 02:41:23 +01:00
|
|
|
// MARECHAI: Master repository of computing history artifacts information
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// Filename : Index.razor
|
|
|
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
|
|
|
|
//
|
|
|
|
|
// --[ Description ] ----------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// Index of administration area
|
|
|
|
|
//
|
|
|
|
|
// --[ License ] --------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU General Public License as
|
|
|
|
|
// published by the Free Software Foundation, either version 3 of the
|
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
|
//
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
//
|
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
//
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
// Copyright © 2003-2020 Natalia Portillo
|
|
|
|
|
*******************************************************************************/
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@page "/admin"
|
|
|
|
|
@inherits OwningComponentBase<AdminService>
|
|
|
|
|
@inject IStringLocalizer<AdminService> L
|
|
|
|
|
@attribute [Authorize(Roles = "UberAdmin, Admin")]
|
|
|
|
|
<h3>@L["Administration area"]</h3>
|
2020-05-24 04:11:58 +01:00
|
|
|
<p>@L["Welcome to the administration area. Act with care!"]</p>
|
2020-05-24 05:42:38 +01:00
|
|
|
<div class="content">
|
|
|
|
|
<h3>@L["Database administrative pages"]</h3>
|
|
|
|
|
<ul>
|
|
|
|
|
<AuthorizeView Roles="UberAdmin">
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/admin/browser_tests">@L["Browser tests"]</a>
|
|
|
|
|
</li>
|
|
|
|
|
</AuthorizeView>
|
2020-05-24 04:11:58 +01:00
|
|
|
<li>
|
2020-05-24 05:42:38 +01:00
|
|
|
<a href="/admin/companies">@L["Companies"]</a>
|
2020-05-24 04:11:58 +01:00
|
|
|
</li>
|
2020-05-24 05:42:38 +01:00
|
|
|
<li>
|
|
|
|
|
<a href="/admin/gpus">@L["Graphics Processing Units"]</a>
|
|
|
|
|
</li>
|
2020-05-24 05:55:12 +01:00
|
|
|
<li>
|
|
|
|
|
<a href="/admin/instruction_set_extensions">@L["Instruction set extensions"]</a>
|
|
|
|
|
</li>
|
2020-05-24 05:42:38 +01:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content">
|
|
|
|
|
<h3>@L["Administrative pages for documents"]</h3>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/admin/document_companies">@L["Document companies"]</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/admin/document_people">@L["Document people"]</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content">
|
|
|
|
|
<h3>@L["Administrative pages for owned machines"]</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content">
|
|
|
|
|
<h3>@L["User administrative pages"]</h3>
|
|
|
|
|
</div>
|