|
|
|
<!--
|
|
|
|
Jordan Latimer
|
|
|
|
Alex Miller
|
|
|
|
|
|
|
|
Adding a Flag for Admin
|
|
|
|
-->
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title> Add Flag</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1> Add Flag </h1>
|
|
|
|
|
|
|
|
<!-- form for adding the flag -->
|
|
|
|
<form id="FlagInputs">
|
|
|
|
<label> Name: </label>
|
|
|
|
<input id="Name" type="text" align="middle" required>
|
|
|
|
<br><br>
|
|
|
|
<label> Description: </label>
|
|
|
|
<input id="Description" required>
|
|
|
|
<br><br>
|
|
|
|
|
|
|
|
<input type="radio" id="hint1" name="hintCount" value="1">
|
|
|
|
<label for="hint1">1 Hint</label>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<input type="radio" id="hint2" name="hintCount" value="2">
|
|
|
|
<label for="hint2">2 Hints</label>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<input type="radio" id="hint3" name="hintCount" value="3">
|
|
|
|
<label for="hint3">3 Hints</label>
|
|
|
|
<br><br>
|
|
|
|
|
|
|
|
<div id = "hint1Text">
|
|
|
|
<label for="Hint1">Hint 1: </label>
|
|
|
|
<input id="Hint1" type="text"><br><br>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id = "hint2Text">
|
|
|
|
<label for="Hint2">Hint 2: </label>
|
|
|
|
<input id="Hint2" type="text"><br><br>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id = "hint3Text">
|
|
|
|
<label for="Hint3">Hint 3: </label>
|
|
|
|
<input id="Hint3" type="text"><br><br>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- image of the flag to create container -->
|
|
|
|
<label> Image: </label>
|
|
|
|
<<<<<<< HEAD
|
|
|
|
<select id="Images">
|
|
|
|
<option *ngFor="let image of images">
|
|
|
|
{{ image.Name }}
|
|
|
|
</option>
|
|
|
|
=======
|
|
|
|
<select id="Images" [(ngModel)]="selectedImage">
|
|
|
|
<option> ubuntu </option>
|
|
|
|
<option *ngFor="let image of allImages" [value] ="image.Name">{{image.Name}}</option>
|
|
|
|
>>>>>>> 39ac6351e5793d9f00c090384c69686e0baa4a6c
|
|
|
|
</select>
|
|
|
|
<br><br>
|
|
|
|
|
|
|
|
<!-- path to place the flag into -->
|
|
|
|
<label> Path To File </label>
|
|
|
|
<input id="Path" type="text">
|
|
|
|
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<!-- submit button just closes the window for now -->
|
|
|
|
<div id="Submit">
|
|
|
|
<button id="flagName" type="submit" (click)="AddFlag()">Add Flag</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|