summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgarbash <dor.garbash@gmail.com>2015-05-04 14:04:26 +0300
committergarbash <dor.garbash@gmail.com>2015-05-04 14:04:26 +0300
commit927cdee14ba88197a17415daff40851b11d18f35 (patch)
treee07200bf4358091652bcb38f9eebf6eeb4cf8880
parent7d4d578f14cc49c92570e17baf6678fdbc5f145e (diff)
Added Ohalo schema+fragment
-rw-r--r--res/local/template/fragment/by-domain/cri.rhizi.net/login__header.html2
-rw-r--r--res/local/template/fragment/by-domain/ohalo.rhizi.net/login__header.html6
-rw-r--r--src/local/domain/ohalo.rhizi.net/domain_types.js52
3 files changed, 60 insertions, 0 deletions
diff --git a/res/local/template/fragment/by-domain/cri.rhizi.net/login__header.html b/res/local/template/fragment/by-domain/cri.rhizi.net/login__header.html
index d18a913b..7e7e86fc 100644
--- a/res/local/template/fragment/by-domain/cri.rhizi.net/login__header.html
+++ b/res/local/template/fragment/by-domain/cri.rhizi.net/login__header.html
@@ -1,3 +1,5 @@
<p class="login-text"><em>Directly interact with knowledge graphs</em></p>
<p class="login-text">Rhizi is a real-time collaboration tool for building networks together.
</p>
+<br>
+<iframe width="420" height="315" src="https://www.youtube.com/embed/yRQtUPCzd3A" frameborder="0" allowfullscreen></iframe>
diff --git a/res/local/template/fragment/by-domain/ohalo.rhizi.net/login__header.html b/res/local/template/fragment/by-domain/ohalo.rhizi.net/login__header.html
new file mode 100644
index 00000000..d0d8105f
--- /dev/null
+++ b/res/local/template/fragment/by-domain/ohalo.rhizi.net/login__header.html
@@ -0,0 +1,6 @@
+<p class="login-text"><em>ברוכים הבאים לריזי, מערכת המאפשרת לסטודנטים של אוהלו לבנות ביחד רשת ידע משותפת!.</em></p>
+<p class="login-text">זוהי גרסת אלפא, צפו לבאגים.
+</p>
+<a href="http://rhizinet.strikingly.com/#contact-form"> לקבלת עדכונים לגבי התוכנה </p></a>
+<br>
+<iframe width="420" height="315" src="https://www.youtube.com/embed/yRQtUPCzd3A" frameborder="0" allowfullscreen></iframe>
diff --git a/src/local/domain/ohalo.rhizi.net/domain_types.js b/src/local/domain/ohalo.rhizi.net/domain_types.js
new file mode 100644
index 00000000..09a779bd
--- /dev/null
+++ b/src/local/domain/ohalo.rhizi.net/domain_types.js
@@ -0,0 +1,52 @@
+define({
+ type_attributes: [
+ ['collaborator', {
+ 'title': 'סטודנט',
+ 'attributes': ['name',
+ 'description',
+ 'image-url',
+ 'url'
+ ],
+ }],
+ ['keyword', {
+ 'title': 'מילת-מפצח',
+ 'attributes': ['description', 'url', 'image-url'],
+ }],
+ ['project', {
+ 'title': 'מאמר',
+ 'attributes': ['description', 'url', 'image-url'],
+ }],
+ ['idea', {
+ 'title': 'שאלות-ראיון',
+ 'attributes': ['description', 'url', 'image-url'],
+ }],
+ ['skill', {
+ 'title': 'מאפיןן-מנהיגות',
+ 'attributes': ['description', 'url', 'image-url'],
+ }],
+ ['resource', {
+ 'title': 'מרואיין',
+ 'attributes': ['description', 'url', 'image-url'],
+ }]
+ ],
+ attribute_titles: {
+ 'affiliation': 'Affiliation',
+ 'description': 'תיאור',
+ 'email': 'מייל',
+ 'name': 'שם',
+ 'type': 'סוג',
+ 'url': 'לינק',
+ 'image-url': 'לינק-תמונה',
+ 'rhizi-url': 'Rhizi URL',
+ },
+ attribute_ui: {
+ 'affiliation': 'textarea',
+ 'description': 'textarea',
+ 'email': 'input',
+ 'name': 'input',
+ 'type': 'type',
+ 'image-url': 'image',
+ 'url': 'url',
+ 'rhizi-url': 'rhizi-url',
+ },
+});