diff --git a/build/components.html b/build/components.html index 86f96c4..dd68fe4 100644 --- a/build/components.html +++ b/build/components.html @@ -9,4 +9,16 @@ + + \ No newline at end of file diff --git a/build/components.js b/build/components.js index 228f922..f978894 100644 --- a/build/components.js +++ b/build/components.js @@ -1,3 +1,7 @@ -Ractive.components.student = Ractive.extend({ - template:'#student' +Ractive.components.parent = Ractive.extend({ + template:'#parent' +}); + +Ractive.components.teacher = Ractive.extend({ + template:'#teacher' }); diff --git a/build/index.html b/build/index.html index 3141681..7d44a6c 100644 --- a/build/index.html +++ b/build/index.html @@ -27,6 +27,18 @@ + +
diff --git a/build/index.js b/build/index.js index 9a928cd..8cbd2d5 100644 --- a/build/index.js +++ b/build/index.js @@ -1,7 +1,11 @@ $(document).ready(function(){ - Ractive.components.student = Ractive.extend({ - template:'#student' + Ractive.components.parent = Ractive.extend({ + template:'#parent' +}); + +Ractive.components.teacher = Ractive.extend({ + template:'#teacher' }); diff --git a/client/components/parent/parent.css b/client/components/parent/parent.css index e69de29..8b13789 100644 --- a/client/components/parent/parent.css +++ b/client/components/parent/parent.css @@ -0,0 +1 @@ + diff --git a/client/components/parent/parent.js b/client/components/parent/parent.js index 228f922..343413e 100644 --- a/client/components/parent/parent.js +++ b/client/components/parent/parent.js @@ -1,3 +1,3 @@ -Ractive.components.student = Ractive.extend({ - template:'#student' +Ractive.components.parent = Ractive.extend({ + template:'#parent' }); diff --git a/client/components/teacher/teacher.css b/client/components/teacher/teacher.css new file mode 100644 index 0000000..e69de29 diff --git a/client/components/teacher/teacher.html b/client/components/teacher/teacher.html new file mode 100644 index 0000000..2c594fa --- /dev/null +++ b/client/components/teacher/teacher.html @@ -0,0 +1,11 @@ +I am a very simple card. I am good at containing small bits of information. + I am convenient because I require little markup to use effectively.
+