Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

included all files needed to run the app

  • Loading branch information...
commit a9cc5cfc159b742c86a038d8002622d5221b0818 1 parent c359662
@Joony authored
Showing with 17 additions and 6 deletions.
  1. BIN  Mnesia.nitrogen@localhost/DECISION_TAB.LOG
  2. BIN  Mnesia.nitrogen@localhost/LATEST.LOG
  3. BIN  Mnesia.nitrogen@localhost/schema.DAT
  4. BIN  Mnesia.nitrogen@localhost/users.DCD
  5. BIN  Mnesia.nitrogen@localhost/verification_codes.DCD
  6. BIN  ebin/db_users.beam
  7. BIN  ebin/db_utils.beam
  8. BIN  ebin/string_utils.beam
  9. +11 −0 ebin/user_login.app
  10. BIN  ebin/user_login_app.beam
  11. BIN  ebin/web_index.beam
  12. BIN  ebin/web_users_dashboard.beam
  13. BIN  ebin/web_users_login.beam
  14. BIN  ebin/web_users_register.beam
  15. +1 −0  src/pages/web_index.erl
  16. +2 −4 src/user_login_app.erl
  17. +1 −2  start.sh
  18. 0  wwwroot/nitrogen/jquery-ui.js
  19. 0  wwwroot/nitrogen/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png
  20. 0  wwwroot/nitrogen/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png
  21. 0  wwwroot/nitrogen/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png
  22. 0  wwwroot/nitrogen/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png
  23. 0  wwwroot/nitrogen/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png
  24. 0  wwwroot/nitrogen/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png
  25. 0  wwwroot/nitrogen/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png
  26. 0  wwwroot/nitrogen/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  27. 0  wwwroot/nitrogen/jquery-ui/images/ui-icons_222222_256x240.png
  28. 0  wwwroot/nitrogen/jquery-ui/images/ui-icons_2e83ff_256x240.png
  29. 0  wwwroot/nitrogen/jquery-ui/images/ui-icons_454545_256x240.png
  30. 0  wwwroot/nitrogen/jquery-ui/images/ui-icons_888888_256x240.png
  31. 0  wwwroot/nitrogen/jquery-ui/images/ui-icons_cd0a0a_256x240.png
  32. 0  wwwroot/nitrogen/jquery-ui/jquery-ui.css
  33. 0  wwwroot/nitrogen/jquery.js
  34. +2 −0  wwwroot/template.html
View
BIN  Mnesia.nitrogen@localhost/DECISION_TAB.LOG
Binary file not shown
View
BIN  Mnesia.nitrogen@localhost/LATEST.LOG
Binary file not shown
View
BIN  Mnesia.nitrogen@localhost/schema.DAT
Binary file not shown
View
BIN  Mnesia.nitrogen@localhost/users.DCD
Binary file not shown
View
BIN  Mnesia.nitrogen@localhost/verification_codes.DCD
Binary file not shown
View
BIN  ebin/db_users.beam
Binary file not shown
View
BIN  ebin/db_utils.beam
Binary file not shown
View
BIN  ebin/string_utils.beam
Binary file not shown
View
11 ebin/user_login.app
@@ -0,0 +1,11 @@
+{application, user_login, [
+ {description, "Nitrogen Website"},
+ {mod, {user_login_app, []}},
+ {env, [
+ {platform, inets}, %% {inets|yaws|mochiweb}
+ {port, 8000},
+ {session_timeout, 20},
+ {sign_key, "SIGN_KEY"},
+ {www_root, "./wwwroot"}
+ ]}
+]}.
View
BIN  ebin/user_login_app.beam
Binary file not shown
View
BIN  ebin/web_index.beam
Binary file not shown
View
BIN  ebin/web_users_dashboard.beam
Binary file not shown
View
BIN  ebin/web_users_login.beam
Binary file not shown
View
BIN  ebin/web_users_register.beam
Binary file not shown
View
1  src/pages/web_index.erl
@@ -10,4 +10,5 @@ title() ->
body() ->
#label{text="web_index body."}.
+
event(_) -> ok.
View
6 src/user_login_app.erl
@@ -2,10 +2,8 @@
-export ([start/2, stop/1, route/1, request/1]).
-behavior(application).
-start(_, _) ->
- nitrogen:start(user_login).
-stop(_) ->
- nitrogen:stop().
+start(_, _) -> nitrogen:start(user_login).
+stop(_) -> nitrogen:stop().
%% route/1 lets you define new URL routes to your web pages,
%% or completely create a new routing scheme.
View
3  start.sh
@@ -7,5 +7,4 @@ erl \
-pa ./ebin -pa ./include \
-s make all \
-eval "application:start(user_login)" \
- -eval "application:start(ecouch)" \
- -eval "db_utils:start()"
+ -eval "db_utils:start()"
View
0  wwwroot/nitrogen/jquery-ui.js 100644 → 100755
File mode changed
View
0  wwwroot/nitrogen/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/images/ui-icons_222222_256x240.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/images/ui-icons_2e83ff_256x240.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/images/ui-icons_454545_256x240.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/images/ui-icons_888888_256x240.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/images/ui-icons_cd0a0a_256x240.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  wwwroot/nitrogen/jquery-ui/jquery-ui.css 100644 → 100755
File mode changed
View
0  wwwroot/nitrogen/jquery.js 100644 → 100755
File mode changed
View
2  wwwroot/template.html
@@ -18,6 +18,8 @@
[[[page:body()]]]
+
+
<script>
[[[script]]]
</script>
Please sign in to comment.
Something went wrong with that request. Please try again.