diff --git a/cms/migrations/setup/down.sql b/cms/migrations/setup/down.sql index 49a5779..42892ff 100644 --- a/cms/migrations/setup/down.sql +++ b/cms/migrations/setup/down.sql @@ -1,3 +1,11 @@ DROP TABLE auth_val; DROP TABLE events; +DROP TABLE teachers; +DROP TABLE announcements; +DROP TABLE clubs; +DROP TABLE lunch_events; +DROP TABLE ssl_opps; +DROP TABLE polls; +DROP TABLE new; +DROP TABLE important; diff --git a/cms/templates/clubs.html.hbs b/cms/templates/clubs.html.hbs index 2c266a2..4b9d80f 100644 --- a/cms/templates/clubs.html.hbs +++ b/cms/templates/clubs.html.hbs @@ -26,7 +26,7 @@ ID: {{id}} | LANG: {{lang}}

{{name}}

{{meeting}}

- {{link}} +

{{link}}

Sponsor: {{sponsor}}

@@ -46,7 +46,7 @@
-

Add Event

+

Add Club

@@ -60,37 +60,37 @@
-

Teacher

+

Name

- +
-

Message

+

Meeting

- +
-

Date

+

Link

- +
-

Time of Submission

+

Sponsor

- +
@@ -99,11 +99,11 @@
-

Update Event

+

Update Club

-

ID of event to update

+

ID of club to update

@@ -122,48 +122,40 @@
-

Teacher

+

Name

- +
-

Message

+

Meeting

- +
-

Date

+

Link

- +
-

Time of Submission

+

Sponsor

- +
-
-
-

Teacher/Organizer Email

-
-
- -
-
diff --git a/cms/templates/polls.html.hbs b/cms/templates/polls.html.hbs new file mode 100644 index 0000000..094f223 --- /dev/null +++ b/cms/templates/polls.html.hbs @@ -0,0 +1,167 @@ +{{! vim: set ft=html: }} + + + + + + + + + + +
+

+ Admin Panel +

+
+ +
+ +
+

Polls

+ +
+ {{#each ctx}} +
+ ID: {{id}} | LANG: {{lang}} +

{{url}}

+

{{meeting}}

+

{{link}}

+

Sponsor: {{sponsor}}

+
+
+ +
+ +
+
+ {{/each}} +
+
+ + +
+

Polls Actions

+ +
+ +
+

Add Club

+
+
+
+

Lang

+ +
+
+ +
+
+ +
+
+

Name

+
+
+ +
+
+ +
+
+

Meeting

+
+
+ +
+
+ +
+
+

Link

+
+
+ +
+
+ +
+
+

Sponsor

+
+
+ +
+
+ + +
+
+ +
+

Update Club

+
+
+
+

ID of club to update

+
+
+ +
+
+ +
+
+

Lang

+ +
+
+ +
+
+ +
+
+

Name

+
+
+ +
+
+ +
+
+

Meeting

+
+
+ +
+
+ +
+
+

Link

+
+
+ +
+
+ +
+
+

Sponsor

+
+
+ +
+
+ + +
+
+ +
+
+
+ + \ No newline at end of file