-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIndex.cshtml
More file actions
50 lines (46 loc) · 2.05 KB
/
Copy pathIndex.cshtml
File metadata and controls
50 lines (46 loc) · 2.05 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!--Dictionary Index View-->
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<title>Dictionary Index</title>
</head>
<body>
<!--Main navigation bar-->
<div class="w3-bar w3-black">
<a href="@Url.Action("Index", "Home")" class="w3-bar-item w3-button">Home</a>
<a href="@Url.Action("Index", "Stack")" class="w3-bar-item w3-button">Stack</a>
<a href="@Url.Action("Index", "Queue")" class="w3-bar-item w3-button">Queue</a>
<a href="@Url.Action("Index", "Dictionary")" class="w3-bar-item w3-button">Dictionary</a>
<a href="@Url.Action("Exit", "Home")" class="w3-bar-item w3-button">Exit</a>
</div>
<!-- Sidebar -->
<div class="w3-sidebar w3-light-grey w3-bar-block" style="width:25%">
<h3 class="w3-bar-item">Options</h3>
<a href="@Url.Action("AddOne", "Dictionary")" class="w3-bar-item w3-button">Add one time to Dictionary</a>
<a href="@Url.Action("AddHuge", "Dictionary")" class="w3-bar-item w3-button">Add Huge List of Items to Dictionary</a>
<a href="@Url.Action("DisplayEntries", "Dictionary")" class="w3-bar-item w3-button">Display Dictionary</a>
<a href="@Url.Action("DeleteOne", "Dictionary")" class="w3-bar-item w3-button">Delete from Dictionary</a>
<a href="@Url.Action("ClearEntries", "Dictionary")" class="w3-bar-item w3-button">Clear Dictionary</a>
<a href="@Url.Action("Search", "Dictionary")" class="w3-bar-item w3-button">Search Dictionary</a>
<a href="@Url.Action("Index", "Home")" class="w3-bar-item w3-button">Return to Main Menu</a>
</div>
<!-- Page Content -->
<div style="margin-left:25%">
<div class="w3-container w3-teal">
<h1>Urban Dictionaries</h1>
</div>
<div>
@ViewBag.Comments
@foreach (var sName in ViewBag.UrbanDictionary)
{
<p>@sName</p>
}
</div>
</div>
</body>
</html>