|
|
|
@@ -118,7 +118,7 @@ For ~Sign-up~ create a file ~signup.cljs.edn~ and add these codes |
|
|
|
|
|
|
|
*login.html* |
|
|
|
|
|
|
|
#+BEGIN_EXAMPLE |
|
|
|
#+BEGIN_SRC |
|
|
|
<!DOCTYPE html> |
|
|
|
<html> |
|
|
|
<head> |
|
|
|
@@ -132,10 +132,10 @@ For ~Sign-up~ create a file ~signup.cljs.edn~ and add these codes |
|
|
|
<script src="/cljs-out/login-main.js" type="text/javascript"></script> |
|
|
|
</body> |
|
|
|
</html> |
|
|
|
#+END_EXAMPLE |
|
|
|
#+END_SRC |
|
|
|
*signup.html* |
|
|
|
|
|
|
|
#+BEGIN_EXAMPLE |
|
|
|
#+BEGIN_SRC |
|
|
|
<!DOCTYPE html> |
|
|
|
<html> |
|
|
|
<head> |
|
|
|
@@ -149,7 +149,7 @@ For ~Sign-up~ create a file ~signup.cljs.edn~ and add these codes |
|
|
|
<script src="/cljs-out/signup-main.js" type="text/javascript"></script> |
|
|
|
</body> |
|
|
|
</html> |
|
|
|
#+END_EXAMPLE |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
5)Create a ~login.cljs~ file in ~src/cljs~ folder, create a form for ~username~ and ~password~ and add these codes for accessing the data from server side database ~(Stamp project)~ |
|
|
|
#+BEGIN_SRC |
|
|
|
|