summaryrefslogtreecommitdiff
path: root/res/local/js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-05-27 09:16:09 +0300
committerAlon Levy <alon@pobox.com>2015-05-27 09:16:09 +0300
commitb4e625edcd2f81ae2a57d158d3b6920ca5f46818 (patch)
tree3ce90ebad86d9460c4ccfe299425238d36679389 /res/local/js
parent9a0c9324b712465048d8e1e07c1fa703877e65ba (diff)
remove all custom files, will be updated externally
Diffstat (limited to 'res/local/js')
-rw-r--r--res/local/js/domain_types.js58
1 files changed, 58 insertions, 0 deletions
diff --git a/res/local/js/domain_types.js b/res/local/js/domain_types.js
new file mode 100644
index 00000000..f4ca18f2
--- /dev/null
+++ b/res/local/js/domain_types.js
@@ -0,0 +1,58 @@
+define({
+ type_attributes: [
+ ['collaborator', {
+ 'title': 'Collaborator',
+ 'attributes': ['affiliation',
+ 'description',
+ 'email',
+ 'image-url',
+ 'name',
+ 'url'
+ ],
+ }],
+ ['keyword', {
+ 'title': 'Keyword',
+ 'attributes': ['description', 'url', 'image-url'],
+ }],
+ ['project', {
+ 'title': 'Project',
+ 'attributes': ['description', 'url', 'rhizi-url', 'image-url'],
+ }],
+ ['idea', {
+ 'title': 'Idea',
+ 'attributes': ['description', 'url', 'image-url'],
+ }],
+ ['skill', {
+ 'title': 'Skill',
+ 'attributes': ['description', 'url', 'image-url'],
+ }],
+ ['resource', {
+ 'title': 'Resource',
+ 'attributes': ['description', 'url', 'image-url'],
+ }]
+ ],
+ attribute_titles: {
+ 'affiliation': 'Affiliation',
+ 'description': 'Description',
+ 'email': 'Email',
+ 'name': 'Name',
+ 'type': 'Type',
+ 'url': 'URL',
+ 'image-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',
+ },
+ misc: {
+ // [!] direction of item info box only right now. should be per client.
+ 'direction': 'rtl'
+ }
+});