From c40e1e901f0d51e48be4dffafad9c3b1039a9fd2 Mon Sep 17 00:00:00 2001 From: Julie Lala Date: Wed, 11 Jun 2014 00:24:33 -0400 Subject: wire up layout index modals --- views/controls/builder/settings.ejs | 2 +- views/modal.ejs | 3 +-- views/partials/header.ejs | 6 +++--- views/partials/scripts.ejs | 4 ++-- views/profile.ejs | 2 +- views/projects/layouts-modal.ejs | 26 ++++++++++++++++++++++++++ views/projects/new-project.ejs | 18 ------------------ 7 files changed, 34 insertions(+), 27 deletions(-) create mode 100644 views/projects/layouts-modal.ejs delete mode 100644 views/projects/new-project.ejs (limited to 'views') diff --git a/views/controls/builder/settings.ejs b/views/controls/builder/settings.ejs index c91f7b5..52cb586 100644 --- a/views/controls/builder/settings.ejs +++ b/views/controls/builder/settings.ejs @@ -8,7 +8,7 @@
- +
diff --git a/views/modal.ejs b/views/modal.ejs index a2ea680..4550aff 100644 --- a/views/modal.ejs +++ b/views/modal.ejs @@ -10,10 +10,9 @@
- [[ include partials/alert-modal ]] [[ include partials/confirm-modal ]] [[ include partials/sign-in ]] - [[ include projects/new-project ]] + [[ include projects/layouts-modal ]] [[ include projects/edit-project ]] [[ include partials/footer ]] diff --git a/views/partials/header.ejs b/views/partials/header.ejs index c73cc47..55c8545 100644 --- a/views/partials/header.ejs +++ b/views/partials/header.ejs @@ -2,7 +2,7 @@ [[ if (logged_in) { ]] - Layouts + Layouts Projects [[ if (profile && String(user._id) == String(profile._id)) { ]] Edit Profile @@ -10,7 +10,7 @@ Profile [[ } ]] [[ } else { ]] - - + + [[ } ]] diff --git a/views/partials/scripts.ejs b/views/partials/scripts.ejs index e9ec5a5..ced15c1 100644 --- a/views/partials/scripts.ejs +++ b/views/partials/scripts.ejs @@ -45,13 +45,13 @@ - + - + diff --git a/views/profile.ejs b/views/profile.ejs index f3309dd..5ca62dc 100644 --- a/views/profile.ejs +++ b/views/profile.ejs @@ -41,7 +41,7 @@ [[ include projects/list-projects ]] - create project + create project [[ include partials/edit-profile ]] [[ include projects/new-project ]] diff --git a/views/projects/layouts-modal.ejs b/views/projects/layouts-modal.ejs new file mode 100644 index 0000000..90585c3 --- /dev/null +++ b/views/projects/layouts-modal.ejs @@ -0,0 +1,26 @@ +
+ X +
+ +
+

Edit Room Layouts

+
+
+ +
+
+
+ + +
+ X +
+ +
+

Choose Room Template

+
+
+ +
+
+
diff --git a/views/projects/new-project.ejs b/views/projects/new-project.ejs deleted file mode 100644 index e151f3a..0000000 --- a/views/projects/new-project.ejs +++ /dev/null @@ -1,18 +0,0 @@ -
- X -
- -
-

Choose Room Template

- - - - - - -
-
- -
-
-
-- cgit v1.2.3-70-g09d2