Emne 2
This commit is contained in:
parent
6b3922eddc
commit
6dc8d7f2a8
26 changed files with 20147 additions and 1 deletions
3
MVC/navn og epost/common.js
Normal file
3
MVC/navn og epost/common.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
function createMenuHtml(){
|
||||
|
||||
}
|
0
MVC/navn og epost/deleteController.js
Normal file
0
MVC/navn og epost/deleteController.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<script src="model.js"></script>
|
||||
</head>
|
||||
<body onload="updateView()">
|
||||
<div id="app"></div>
|
||||
|
||||
<script>
|
||||
function updateView(){
|
||||
const page = model.app.page;
|
||||
if (page === 'search') updateViewSearch();
|
||||
else if (page === 'delete') updateViewDelete();
|
||||
else if (page === 'edit') updateViewEdit();
|
||||
else if (page === 'createNew') updateViewCreateNew();
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
0
MVC/navn og epost/updateViewCreateNew.js
Normal file
0
MVC/navn og epost/updateViewCreateNew.js
Normal file
0
MVC/navn og epost/updateViewDelete.js
Normal file
0
MVC/navn og epost/updateViewDelete.js
Normal file
0
MVC/navn og epost/updateViewEdit.js
Normal file
0
MVC/navn og epost/updateViewEdit.js
Normal file
3
MVC/navn og epost/updateViewSearch.js
Normal file
3
MVC/navn og epost/updateViewSearch.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
function UpdateViewSearch(){
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue