Skip to content

Commit c6a029a

Browse files
committed
New user vue compoenent
1 parent 84b900a commit c6a029a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

admin/src/components/UserNew.vue

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<template>
2+
<div class="hello">
3+
<h3>New User</h3>
4+
<form enctype="multipart/form-data" action="/admin/adduser" method="post">
5+
<label for="username">Username</label>
6+
<input type="text" id="username" name="username">
7+
<label for="email">Email</label>
8+
<input type="text" id="email" name="email">
9+
<label for="realname">Real Name</label>
10+
<input type="text" id="realname" name="realname">
11+
12+
<label for="password">New Password</label>
13+
<input type="password" id="password" name="password">
14+
<label for="permissions">Permission Level</label>
15+
<select name="permissions">
16+
<option value="0">Publishing only</option>
17+
<option value="1">Publishing and Episode Management</option>
18+
<option value="2">Publishing, Episode and User management</option>
19+
</select>
20+
<br /><br />
21+
<input type="submit" class="button" value="Save"></form>
22+
</div>
23+
</template>
24+
<script>
25+
26+
</script>

0 commit comments

Comments
 (0)