Added basic and projects admin layouts
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Admin panel";
|
||||
}
|
||||
|
||||
<header>
|
||||
<h1>Administration</h1>
|
||||
<h3><b style="color: red">Note:</b> Any write/read operations in this section will require an admin password</h3>
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<form>
|
||||
<input type="password" placeholder="Password" /><br />
|
||||
<label for="area">Go to section:</label><br />
|
||||
<div class="select-container">
|
||||
<select id="area">
|
||||
<option>Contact links</option>
|
||||
<option>Artworks</option>
|
||||
<option>Projects</option>
|
||||
<option>Resume</option>
|
||||
</select>
|
||||
</div>
|
||||
<button>Proceed</button>
|
||||
</form>
|
||||
</article>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="~/css/Admin.css" />
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Project editor";
|
||||
Project project = ViewData["Project"] as Project;
|
||||
}
|
||||
|
||||
<header>
|
||||
<h1>Project editor</h1>
|
||||
<h2>@project.Title</h2>
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<form>
|
||||
<label for="langSelector">Language:</label>
|
||||
<div class="select-container">
|
||||
<select id="langSelector">
|
||||
<option>English</option>
|
||||
<option>Russian</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<label for="title">Title:</label>
|
||||
<input id="title" placeholder="Title" type="text" value="@project.Title"/>
|
||||
|
||||
<label for="description">Description:</label>
|
||||
<textarea id="description" placeholder="Description" type="text">@project.Description</textarea>
|
||||
|
||||
<label for="thumbnail">Thumbnail:</label>
|
||||
<input id="thumbnail" placeholder="Thumbnail" type="file" />
|
||||
|
||||
<button>Submit</button>
|
||||
</form>
|
||||
</article>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="~/css/Admin.css" />
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Projects list";
|
||||
}
|
||||
|
||||
<h2>Projects</h2>
|
||||
|
||||
Reference in New Issue
Block a user