iqvoc 4.6.1 → 4.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (243) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -1
  3. data/Gemfile.lock +6 -3
  4. data/app/assets/fonts/FiraSans-Book.eot +0 -0
  5. data/app/assets/fonts/FiraSans-Book.ttf +0 -0
  6. data/app/assets/fonts/FiraSans-Book.woff +0 -0
  7. data/app/assets/fonts/FiraSans-ExtraLight.eot +0 -0
  8. data/app/assets/fonts/FiraSans-ExtraLight.ttf +0 -0
  9. data/app/assets/fonts/FiraSans-ExtraLight.woff +0 -0
  10. data/app/assets/fonts/FiraSans-Italic.eot +0 -0
  11. data/app/assets/fonts/FiraSans-Italic.ttf +0 -0
  12. data/app/assets/fonts/FiraSans-Italic.woff +0 -0
  13. data/app/assets/fonts/FiraSans-Light-SC.eot +0 -0
  14. data/app/assets/fonts/FiraSans-Light-SC.ttf +0 -0
  15. data/app/assets/fonts/FiraSans-Light-SC.woff +0 -0
  16. data/app/assets/fonts/FiraSans-Light-SC.woff2 +0 -0
  17. data/app/assets/fonts/FiraSans-Light.eot +0 -0
  18. data/app/assets/fonts/FiraSans-Light.ttf +0 -0
  19. data/app/assets/fonts/FiraSans-Light.woff +0 -0
  20. data/app/assets/fonts/FiraSans-Medium.eot +0 -0
  21. data/app/assets/fonts/FiraSans-Medium.ttf +0 -0
  22. data/app/assets/fonts/FiraSans-Medium.woff +0 -0
  23. data/app/assets/fonts/FiraSans-MediumItalic.eot +0 -0
  24. data/app/assets/fonts/FiraSans-MediumItalic.ttf +0 -0
  25. data/app/assets/fonts/FiraSans-MediumItalic.woff +0 -0
  26. data/app/assets/fonts/FiraSans-Regular.eot +0 -0
  27. data/app/assets/fonts/FiraSans-Regular.ttf +0 -0
  28. data/app/assets/fonts/FiraSans-Regular.woff +0 -0
  29. data/app/assets/fonts/FiraSans-UltraLight.eot +0 -0
  30. data/app/assets/fonts/FiraSans-UltraLight.ttf +0 -0
  31. data/app/assets/fonts/FiraSans-UltraLight.woff +0 -0
  32. data/app/assets/javascripts/framework.js +1 -1
  33. data/app/assets/javascripts/iqvoc/entityselect.js.erb +17 -20
  34. data/app/assets/javascripts/iqvoc/federated_concept_mapper.js +2 -1
  35. data/app/assets/javascripts/iqvoc/treeview.js +36 -2
  36. data/app/assets/stylesheets/{framework.css.scss → _framework.scss} +5 -4
  37. data/app/assets/stylesheets/iqvoc/{manifest.css.scss → _manifest.scss} +10 -2
  38. data/app/assets/stylesheets/iqvoc/components/{_components.css.scss → _components.scss} +14 -0
  39. data/app/assets/stylesheets/iqvoc/components/{_entity_select.css.scss → _entity_select.scss} +0 -0
  40. data/app/assets/stylesheets/iqvoc/components/{_forms.css.scss → _forms.scss} +0 -0
  41. data/app/assets/stylesheets/iqvoc/components/_label-list.scss +35 -0
  42. data/app/assets/stylesheets/iqvoc/components/_modals.scss +21 -0
  43. data/app/assets/stylesheets/iqvoc/components/{_notes.css.scss → _notes.scss} +0 -0
  44. data/app/assets/stylesheets/iqvoc/components/{_panels.css.scss → _panels.scss} +0 -0
  45. data/app/assets/stylesheets/iqvoc/components/{_sidebars.css.scss → _sidebars.scss} +0 -0
  46. data/app/assets/stylesheets/iqvoc/components/{_treeview.css.scss.erb → _treeview.scss.erb} +4 -0
  47. data/app/assets/stylesheets/iqvoc/components/{_visualization.css.scss → _visualization.scss} +0 -0
  48. data/app/assets/stylesheets/iqvoc/hacks/{_hacks.css.scss → _hacks.scss} +0 -0
  49. data/app/assets/stylesheets/iqvoc/hacks/{_jquery-ui_extensions.css.scss → _jquery-ui_extensions.scss} +0 -0
  50. data/app/assets/stylesheets/iqvoc/mixins/_mixins.scss +13 -0
  51. data/app/assets/stylesheets/iqvoc/settings/_bootstrap-variables.scss +866 -0
  52. data/app/assets/stylesheets/iqvoc/settings/_bootstrap.scss +64 -0
  53. data/app/assets/stylesheets/iqvoc/settings/_fonts.scss +118 -0
  54. data/app/assets/stylesheets/iqvoc/{_settings.css.scss → settings/_variables.scss} +0 -0
  55. data/app/controllers/concepts/hierarchical_controller.rb +1 -0
  56. data/app/controllers/concepts_controller.rb +28 -13
  57. data/app/helpers/navigation_helper.rb +2 -2
  58. data/app/view_models/concept_view.rb +70 -0
  59. data/app/views/concepts/glance.html.erb +61 -0
  60. data/app/views/concepts/hierarchical/_treeview.html.erb +1 -1
  61. data/app/views/layouts/_controls.html.erb +3 -3
  62. data/app/views/layouts/_modals.html.erb +2 -0
  63. data/app/views/layouts/application.html.erb +2 -0
  64. data/config/locales/de.yml +6 -0
  65. data/config/locales/en.yml +6 -0
  66. data/config/routes.rb +5 -1
  67. data/iqvoc.gemspec +3 -3
  68. data/lib/iqvoc/configuration/concept.rb +6 -0
  69. data/lib/iqvoc/environments/development.rb +2 -0
  70. data/lib/iqvoc/environments/test.rb +2 -0
  71. data/lib/iqvoc/version.rb +1 -1
  72. data/public/export/104047454295817920610168807659129435311.nt +28 -0
  73. data/public/export/10726.nt +28 -0
  74. data/public/export/10751365034669120987598940220863369604.nt +28 -0
  75. data/public/export/111691466774189666307584118743393932328.nt +28 -0
  76. data/public/export/12325399400132639231204595208154762660.nt +28 -0
  77. data/public/export/15263706163704853684442315777380853572.nt +28 -0
  78. data/public/export/15327.nt +28 -0
  79. data/public/export/15666.nt +28 -0
  80. data/public/export/173626129450223321263719262149444213847.nt +28 -0
  81. data/public/export/18948.nt +28 -0
  82. data/public/export/199578749544886032300136278910417855540.nt +28 -0
  83. data/public/export/213890660005255527251394676521741138403.nt +28 -0
  84. data/public/export/21930.nt +28 -0
  85. data/public/export/24509.nt +28 -0
  86. data/public/export/249458227092013520089223290936103182178.nt +28 -0
  87. data/public/export/271163890329327117562409702966294853312.nt +28 -0
  88. data/public/export/27484.nt +28 -0
  89. data/public/export/287251617830426667971006908766107175810.nt +28 -0
  90. data/public/export/28754.nt +28 -0
  91. data/public/export/29022.nt +28 -0
  92. data/public/export/293720064238755056739270868818770835353.nt +28 -0
  93. data/public/export/29976.nt +28 -0
  94. data/public/export/30643.nt +28 -0
  95. data/public/export/309135899928267675232062298368405782595.nt +28 -0
  96. data/public/export/32054.nt +28 -0
  97. data/public/export/327890543532187929176278243423558506722.nt +28 -0
  98. data/public/export/33055.nt +28 -0
  99. data/public/export/337748600310244218106909976567220577473.nt +28 -0
  100. data/public/export/33936.nt +28 -0
  101. data/public/export/34906.nt +28 -0
  102. data/public/export/35365.nt +28 -0
  103. data/public/export/37098.nt +28 -0
  104. data/public/export/37534146541112437090211766955764945845.nt +28 -0
  105. data/public/export/39353594202090916952403280275602550330.nt +28 -0
  106. data/public/export/41272.nt +28 -0
  107. data/public/export/42271.nt +28 -0
  108. data/public/export/44392.nt +28 -0
  109. data/public/export/45675.nt +28 -0
  110. data/public/export/47529.nt +28 -0
  111. data/public/export/48309.nt +28 -0
  112. data/public/export/4956.nt +28 -0
  113. data/public/export/49623.nt +28 -0
  114. data/public/export/50516.nt +28 -0
  115. data/public/export/54880.nt +28 -0
  116. data/public/export/55142.nt +28 -0
  117. data/public/export/55398.nt +28 -0
  118. data/public/export/5754.nt +28 -0
  119. data/public/export/57727.nt +28 -0
  120. data/public/export/58069939020968861674794480549301466954.nt +28 -0
  121. data/public/export/5890.nt +28 -0
  122. data/public/export/65156.nt +28 -0
  123. data/public/export/6520.nt +28 -0
  124. data/public/export/863.nt +28 -0
  125. data/public/export/9372.nt +28 -0
  126. data/public/uploads/import/038dd516e01fe211375441c3af8d90e8.nt +259 -0
  127. data/public/uploads/import/07e71ca0235e798be39acd246114d962.nt +259 -0
  128. data/public/uploads/import/0a4c173bc9db7a5cd469c9454fdfa749.nt +259 -0
  129. data/public/uploads/import/0e8336cb2ef2c8b67767dfe8879d9cfb.nt +259 -0
  130. data/public/uploads/import/0f4eb8cd6390b1c5c5354a22e533ee0e.nt +259 -0
  131. data/public/uploads/import/105400714d68d2207209e23826345e76.nt +259 -0
  132. data/public/uploads/import/1147ab054ce55abf0a5bf93b99220231.nt +259 -0
  133. data/public/uploads/import/14b64b1f2252aba1e89d83f770d14e29.nt +259 -0
  134. data/public/uploads/import/1c6f11c300224248bf919885f8545daf.nt +259 -0
  135. data/public/uploads/import/21d34b65ef0a8156111e845992fd004f.nt +259 -0
  136. data/public/uploads/import/2783fade523132942999836a74228d64.nt +259 -0
  137. data/public/uploads/import/2bc90e07e5c42e5f26a1607756cc0ab3.nt +259 -0
  138. data/public/uploads/import/2e4073a94eeae98095de9f43b5e5774a.nt +259 -0
  139. data/public/uploads/import/32548678e7d47b3e256590d6eef6fb03.nt +259 -0
  140. data/public/uploads/import/330e08c32fde94fb80f656346d1f8383.nt +259 -0
  141. data/public/uploads/import/337790be2663214e66066b1215fdd137.nt +259 -0
  142. data/public/uploads/import/34b77ff970ca71511fb4b224b7dadd1c.nt +259 -0
  143. data/public/uploads/import/38de0d3c9cba92e8a3c312e7e95e7ec1.nt +259 -0
  144. data/public/uploads/import/3d01f84539a62ebe6f76124e8cdbbb23.nt +259 -0
  145. data/public/uploads/import/3d05bb72c3751da3830cf53e966283d4.nt +259 -0
  146. data/public/uploads/import/3e1d2f770bfe3c79a367780731536a3a.nt +259 -0
  147. data/public/uploads/import/3e41bd1875dc23401278c73bd12be881.nt +259 -0
  148. data/public/uploads/import/3f3e3dbb09c3df6bfaed261311de3e7d.nt +259 -0
  149. data/public/uploads/import/4297d9970e47be5ced4991a083032eb9.nt +259 -0
  150. data/public/uploads/import/5925186958bd537ad5e79e76e3a1f714.nt +259 -0
  151. data/public/uploads/import/5dc5dcd978db1c59ec074e9137f0109c.nt +259 -0
  152. data/public/uploads/import/5e46663e7e2eb92e5e8846d7c0f8e713.nt +259 -0
  153. data/public/uploads/import/70022a2a7e808000dc3d55529d203480.nt +259 -0
  154. data/public/uploads/import/70b32583acaca5843ac7dbdc2a89de99.nt +259 -0
  155. data/public/uploads/import/8030e54313e2c7231c4c30cd4145d576.nt +259 -0
  156. data/public/uploads/import/8bb6484a9eb0c3266274c08ad8500669.nt +259 -0
  157. data/public/uploads/import/90711ea002f6b7b4e5476e414e185603.nt +259 -0
  158. data/public/uploads/import/918a5fc2c8fcdbaddc2a02588d599dcf.nt +259 -0
  159. data/public/uploads/import/923f9ebccb7b0e9e9fafddc60750b989.nt +259 -0
  160. data/public/uploads/import/933e4e2baee4d91b8f7681fa4d2ad9fa.nt +259 -0
  161. data/public/uploads/import/93f642eacd966c98645345d2ccdf578d.nt +259 -0
  162. data/public/uploads/import/9a3d0f8d1872d4ba5dd281194ddea4a2.nt +259 -0
  163. data/public/uploads/import/9a3f1c9de8e734b7e1d969d07ea57a83.nt +259 -0
  164. data/public/uploads/import/9f91263fee5275ecbf303c7da0a9e84d.nt +259 -0
  165. data/public/uploads/import/a230b36c3666a6b16fec6283e99b221f.nt +259 -0
  166. data/public/uploads/import/a51b35089dc096f0f1f5d5250edb8d5c.nt +259 -0
  167. data/public/uploads/import/a5265a00946627588ecdac317c061c6c.nt +259 -0
  168. data/public/uploads/import/a95b7d93b7483116ff13c894a46b5c1c.nt +259 -0
  169. data/public/uploads/import/b5e47ea582afb81341f7b7084cc17a06.nt +259 -0
  170. data/public/uploads/import/b826bcfad8f18294a425d65482c46033.nt +259 -0
  171. data/public/uploads/import/bcf18c9e4dbe72745f4ec2878a4b1690.nt +259 -0
  172. data/public/uploads/import/c32855cb4b3e8616db2ef3f5f9cb5ca7.nt +259 -0
  173. data/public/uploads/import/c8ee5bc696312468c4354bad6c583321.nt +259 -0
  174. data/public/uploads/import/cfc73574fe398be7ce684fbc17aa1bb7.nt +259 -0
  175. data/public/uploads/import/d2366992f6e9e4377d02fc691fc2d3d3.nt +259 -0
  176. data/public/uploads/import/dc14a0fa30c105a5770da2c960daaf29.nt +259 -0
  177. data/public/uploads/import/e9289f6f920cf44d0e81599410b39090.nt +259 -0
  178. data/public/uploads/import/ed1c212d4f320e414caacda7a7988f83.nt +259 -0
  179. data/public/uploads/import/ed460af60bf4d0884d37a86bb02411e7.nt +259 -0
  180. data/public/uploads/import/f17024adf37be768041307528e848bd6.nt +259 -0
  181. data/public/uploads/import/f2f6025f6de90ee4609c2928a817c51d.nt +259 -0
  182. data/public/uploads/import/f427507b1c208ddf69204ea5414e5d18.nt +259 -0
  183. data/public/uploads/import/ffce91887b3ac5b7319a80926ff310ef.nt +259 -0
  184. data/public/uploads/tmp/1418649743-7886-1510/hobbies.nt +259 -0
  185. data/public/uploads/tmp/1418653029-9019-1572/hobbies.nt +259 -0
  186. data/public/uploads/tmp/1418656093-9614-5971/hobbies.nt +259 -0
  187. data/public/uploads/tmp/1418659992-10218-8665/hobbies.nt +259 -0
  188. data/public/uploads/tmp/1418664440-11199-8740/hobbies.nt +259 -0
  189. data/public/uploads/tmp/1418665022-11430-9919/hobbies.nt +259 -0
  190. data/public/uploads/tmp/1418665225-11485-5805/hobbies.nt +259 -0
  191. data/public/uploads/tmp/1418665744-11777-4958/hobbies.nt +259 -0
  192. data/public/uploads/tmp/1418666103-11837-9818/hobbies.nt +259 -0
  193. data/public/uploads/tmp/1418666157-11880-9002/hobbies.nt +259 -0
  194. data/public/uploads/tmp/1418666292-11920-9076/hobbies.nt +259 -0
  195. data/public/uploads/tmp/1418666482-11968-5799/hobbies.nt +259 -0
  196. data/public/uploads/tmp/1418666589-12006-6137/hobbies.nt +259 -0
  197. data/public/uploads/tmp/1419417707-62741-8601/hobbies.nt +259 -0
  198. data/public/uploads/tmp/1419418501-62977-9798/hobbies.nt +259 -0
  199. data/public/uploads/tmp/1419419091-63178-5200/hobbies.nt +259 -0
  200. data/public/uploads/tmp/1419845421-37940-7338/hobbies.nt +259 -0
  201. data/public/uploads/tmp/1419872019-93309-7785/hobbies.nt +259 -0
  202. data/public/uploads/tmp/1419872459-93489-7475/hobbies.nt +259 -0
  203. data/public/uploads/tmp/1420204292-55473-2339/hobbies.nt +259 -0
  204. data/public/uploads/tmp/1420469113-94913-1977/hobbies.nt +259 -0
  205. data/public/uploads/tmp/1420469218-94957-7818/hobbies.nt +259 -0
  206. data/public/uploads/tmp/1420471310-95437-1840/hobbies.nt +259 -0
  207. data/public/uploads/tmp/1420475764-97681-5693/hobbies.nt +259 -0
  208. data/public/uploads/tmp/1420475937-97729-2119/hobbies.nt +259 -0
  209. data/public/uploads/tmp/1420476857-98058-7891/hobbies.nt +259 -0
  210. data/public/uploads/tmp/1420535851-99018-0174/hobbies.nt +259 -0
  211. data/public/uploads/tmp/1420536204-1785-0172/hobbies.nt +259 -0
  212. data/public/uploads/tmp/1420551687-4559-4581/hobbies.nt +259 -0
  213. data/public/uploads/tmp/1420553228-5060-8398/hobbies.nt +259 -0
  214. data/public/uploads/tmp/1420554138-5330-1218/hobbies.nt +259 -0
  215. data/public/uploads/tmp/1420623682-11549-0730/hobbies.nt +259 -0
  216. data/public/uploads/tmp/1420627830-12489-1669/hobbies.nt +259 -0
  217. data/public/uploads/tmp/1420643849-18200-3932/hobbies.nt +259 -0
  218. data/public/uploads/tmp/1420649772-21728-5542/hobbies.nt +259 -0
  219. data/public/uploads/tmp/1420708117-27095-8292/hobbies.nt +259 -0
  220. data/public/uploads/tmp/1420708387-27223-6774/hobbies.nt +259 -0
  221. data/public/uploads/tmp/1420708470-27267-7475/hobbies.nt +259 -0
  222. data/public/uploads/tmp/1420708517-27294-4695/hobbies.nt +259 -0
  223. data/public/uploads/tmp/1420708539-27319-1354/hobbies.nt +259 -0
  224. data/public/uploads/tmp/1420708586-27334-3786/hobbies.nt +259 -0
  225. data/public/uploads/tmp/1420708992-27418-8019/hobbies.nt +259 -0
  226. data/public/uploads/tmp/1420709221-27495-1252/hobbies.nt +259 -0
  227. data/public/uploads/tmp/1420709888-27667-9904/hobbies.nt +259 -0
  228. data/public/uploads/tmp/1420710092-27729-5735/hobbies.nt +259 -0
  229. data/public/uploads/tmp/1420710448-27814-7190/hobbies.nt +259 -0
  230. data/public/uploads/tmp/1420710886-27909-4558/hobbies.nt +259 -0
  231. data/public/uploads/tmp/1420711474-28046-6914/hobbies.nt +259 -0
  232. data/public/uploads/tmp/1420711601-28081-0714/hobbies.nt +259 -0
  233. data/public/uploads/tmp/1420711904-28153-8591/hobbies.nt +259 -0
  234. data/public/uploads/tmp/1420712160-28240-2054/hobbies.nt +259 -0
  235. data/public/uploads/tmp/1420712349-28303-3685/hobbies.nt +259 -0
  236. data/public/uploads/tmp/1420712756-28475-0893/hobbies.nt +259 -0
  237. data/public/uploads/tmp/1420712995-28567-4743/hobbies.nt +259 -0
  238. data/public/uploads/tmp/1420722946-31448-5312/hobbies.nt +259 -0
  239. data/public/uploads/tmp/1420723021-31498-6069/hobbies.nt +259 -0
  240. data/public/uploads/tmp/1420723172-31541-4390/hobbies.nt +259 -0
  241. data/public/uploads/tmp/1420723249-31574-6508/hobbies.nt +259 -0
  242. metadata +231 -25
  243. data/app/assets/stylesheets/iqvoc/hacks/_bootstrap_extensions.css.scss +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 132a0771d607c401f8087bcab326829c6cd5d2af
4
- data.tar.gz: 5009421fd2fd764c13ef72b863431ad3df2363ff
3
+ metadata.gz: 62e32b5022b6f198fa3467813f79ba4c194dec07
4
+ data.tar.gz: 6788219cc766f21ecc15bf19f00c2f046d319530
5
5
  SHA512:
6
- metadata.gz: 8eea3290093190f8a3879501f72fb14291635ee0abac756fb5f15c31cc43424af6c3ffee8a41a35ef8fecf6712014ae23182d5eeea44b8734e9f10c16a899f02
7
- data.tar.gz: 62625006312569ee9b214fd7475b9d7db70e5607019bd934e1ce186cbbd54d097c01548938869b0818882fff847825918822cb9f973dc83f31a6bf62200cacec
6
+ metadata.gz: 813ab3b2e08d4feea271510a2bd0dc9ba469d92c27fa29b9bfba49fd5d2f6b816c7c9c666abb9b00a0bebc8e5aa3a38cd8b60bd0c709f8ed2872f9b7b0bb00a9
7
+ data.tar.gz: 7e67f84f7c66d73611f17110fcc4c9755d359be26a92c5d4683efeabf5ee72bd3c9f9a11bd960b7f8e2a345899ae8e48c5b902f801860e367c1fd29dd1ea9ac8
data/Gemfile CHANGED
@@ -37,12 +37,13 @@ gem 'uglifier'
37
37
  gem 'sass-rails', '~> 4.0.3'
38
38
  gem 'bootstrap-sass', '~> 3.3.1.0'
39
39
  gem 'bootstrap_form', '~> 2.2.0'
40
- gem 'font-awesome-rails'
40
+ gem 'font-awesome-rails', '~> 4.2.0'
41
41
  gem 'apipie-rails'
42
42
  gem 'maruku', require: false
43
43
  gem 'database_cleaner'
44
44
  gem 'delayed_job_active_record', '~> 4.0.1'
45
45
  gem 'carrierwave'
46
+ gem 'autoprefixer-rails'
46
47
 
47
48
  group :development do
48
49
  gem 'view_marker'
data/Gemfile.lock CHANGED
@@ -43,6 +43,8 @@ GEM
43
43
  activerecord (>= 3.2)
44
44
  activesupport (>= 3.2)
45
45
  request_store (~> 1.0)
46
+ autoprefixer-rails (4.0.1)
47
+ execjs
46
48
  awesome_print (1.2.0)
47
49
  better_errors (1.1.0)
48
50
  coderay (>= 1.0.0)
@@ -96,7 +98,7 @@ GEM
96
98
  multipart-post (>= 1.2, < 3)
97
99
  faraday_middleware (0.9.1)
98
100
  faraday (>= 0.7.4, < 0.10)
99
- font-awesome-rails (4.1.0.0)
101
+ font-awesome-rails (4.2.0.0)
100
102
  railties (>= 3.2, < 5.0)
101
103
  haml (4.0.5)
102
104
  tilt
@@ -202,7 +204,7 @@ GEM
202
204
  activesupport (= 4.1.8)
203
205
  rake (>= 0.8.7)
204
206
  thor (>= 0.18.1, < 2.0)
205
- rake (10.4.0)
207
+ rake (10.4.2)
206
208
  rdf (1.1.4.2)
207
209
  rdf-aggregate-repo (1.1.0)
208
210
  rdf (>= 1.1)
@@ -303,6 +305,7 @@ DEPENDENCIES
303
305
  activerecord-jdbcsqlite3-adapter
304
306
  apipie-rails
305
307
  authlogic (~> 3.4.2)
308
+ autoprefixer-rails
306
309
  awesome_print
307
310
  better_errors
308
311
  binding_of_caller
@@ -316,7 +319,7 @@ DEPENDENCIES
316
319
  delayed_job_active_record (~> 4.0.1)
317
320
  faraday
318
321
  faraday_middleware
319
- font-awesome-rails
322
+ font-awesome-rails (~> 4.2.0)
320
323
  hirb-unicode
321
324
  iq_rdf (>= 0.1.15)
322
325
  iq_triplestorage
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -5,6 +5,6 @@
5
5
  //= require tree.jquery.js
6
6
  //= require URI.js
7
7
  //= require storage
8
- //= require bootstrap/transition
9
8
  //= require bootstrap/collapse
10
9
  //= require bootstrap/tab
10
+ //= require bootstrap/modal
@@ -11,11 +11,8 @@ var EntitySelector = function(node) {
11
11
  }
12
12
  this.el = $(node).hide(); // XXX: rename
13
13
  this.container = $('<div class="entity_select" />').data("widget", this);
14
- this.bootstrapInputGroup = $('<div class="input-group" />');
15
- this.indicator = $('<i class="spinner fa fa-refresh fa-spin" />');
16
- this.indicatorWrapper = $('<span class="input-group-addon" />');
17
- this.languageWrapper = $('<span class="input-group-addon" />');
18
- this.language = this.el.data("language") || false;
14
+ this.indicator = $('<span class="indicator input-group-addon" />').
15
+ append('<i class="fa fa-refresh fa-spin" />');
19
16
  this.delimiter = ",";
20
17
  this.singular = this.el.data("singular") || false;
21
18
  this.entities = this.getSelection();
@@ -24,18 +21,16 @@ var EntitySelector = function(node) {
24
21
  var self = this;
25
22
  var noResultsMsg = this.el.data("no-results-msg");
26
23
 
27
- this.indicator.css("visibility", "hidden");
28
-
29
24
  var selection = this.el.data("entities") || [];
30
25
  selection = $.map(selection, function(entity, i) {
31
26
  return self.createEntity(entity);
32
27
  });
33
28
  selection = $('<ul class="entity_list" />').append(selection);
34
29
 
35
- this.input = $("<input />").autocomplete({
30
+ this.input = $('<input type="text" class="form-control" />').autocomplete({
36
31
  minLength: 3,
37
32
  source: $.proxy(this, "onInput"), // XXX: discards original `this` context
38
- search: function(ev, ui) { self.indicator.css("visibility", "visible"); },
33
+ search: function(ev, ui) { self.indicator.addClass("active"); },
39
34
  focus: function(ev, ui) { return false; },
40
35
  select: this.onSelect,
41
36
  response: function(ev, ui) {
@@ -43,24 +38,26 @@ var EntitySelector = function(node) {
43
38
  ui.content.push({ label: noResultsMsg, value: "" });
44
39
  }
45
40
  }
46
- }).on("keydown", function(ev){
41
+ }).on("keydown", function(ev) {
47
42
  if(ev.which === 13) { // Enter; prevent form submission
48
43
  ev.preventDefault();
49
44
  }
50
45
  });
51
46
 
52
- this.input.attr("type", "text").addClass("form-control"); // for Bootstrap
53
-
54
- this.container.append(this.bootstrapInputGroup.append(this.input).append(this.indicatorWrapper.append(this.indicator))).
55
- append(selection).insertAfter(node).prepend(node);
47
+ var inputGroup = $('<div class="input-group" />').
48
+ append(this.input, this.indicator);
49
+ this.container.append(inputGroup, selection).
50
+ insertAfter(node).prepend(node);
56
51
 
57
- if(this.language) {
58
- this.bootstrapInputGroup.prepend(this.languageWrapper.append(this.language));
52
+ // XXX: does not belong here -- XXX: obsolete?
53
+ var lang = this.el.data("language");
54
+ if(lang) {
55
+ $('<span class="input-group-addon" />').append(lang).prependTo(inputGroup);
59
56
  }
60
57
 
61
58
  if(this.singular && this.entities.length) {
62
59
  this.input.hide();
63
- this.indicatorWrapper.hide();
60
+ this.indicator.hide();
64
61
  }
65
62
  };
66
63
  // data transformations; target format is an array of objects with members
@@ -89,7 +86,7 @@ $.extend(EntitySelector.prototype, {
89
86
  data = self.processResponse(data);
90
87
  self.input.autocomplete("option", "autoFocus", data.length === 1);
91
88
  callback(data);
92
- self.indicator.css("visibility", "hidden");
89
+ self.indicator.removeClass("active");
93
90
  };
94
91
 
95
92
  var sourceSelector = this.el.data("source-selector") || "default";
@@ -112,7 +109,7 @@ $.extend(EntitySelector.prototype, {
112
109
 
113
110
  if(widget.singular) {
114
111
  widget.input.hide();
115
- widget.indicatorWrapper.hide();
112
+ widget.indicator.hide();
116
113
  }
117
114
  }
118
115
  return false;
@@ -125,7 +122,7 @@ $.extend(EntitySelector.prototype, {
125
122
  entity.remove();
126
123
  if(widget.singular && !widget.entities.length) {
127
124
  widget.input.show();
128
- widget.indicatorWrapper.show();
125
+ widget.indicator.show();
129
126
  }
130
127
  ev.preventDefault();
131
128
  },
@@ -28,7 +28,8 @@ function FederatedConceptMapper(selector) {
28
28
  this.source = $("<select />").addClass("form-control").append(sources).
29
29
  insertBefore(this.input);
30
30
 
31
- this.indicator = $("<i />").addClass("spinner fa fa-refresh fa-spin").css("visibility", "hidden");
31
+ this.indicator = $("<i />").addClass("fa fa-refresh fa-spin").
32
+ css("visibility", "hidden"); // TODO: use `.indicator[.active]` instead; cf. EntitySelector
32
33
  this.indicatorWrapper.append(this.indicator);
33
34
 
34
35
  var self = this;
@@ -29,6 +29,7 @@ function Treeview(container) {
29
29
  id: item.attr('id'),
30
30
  url: item.children('a').attr('href'),
31
31
  update_url: item.data('update-url'),
32
+ glance_url: item.data('glance-url'),
32
33
  published: item.data('published'),
33
34
  additionalText: item.children('span.additional_info')
34
35
  };
@@ -60,6 +61,10 @@ function Treeview(container) {
60
61
  link.addClass('published');
61
62
  }
62
63
 
64
+ if (typeof link[0] !== 'undefined') {
65
+ var teaserLink = buildTeaserLink(node, link[0]);
66
+ }
67
+
63
68
  if (dragabbleSupport) {
64
69
  // mark locked items
65
70
  if (typeof node.locked !== 'undefined' && node.locked) {
@@ -80,7 +85,8 @@ function Treeview(container) {
80
85
  $li.data('old-parent-node-id', node.old_parent_id);
81
86
  $li.data('new-parent-node-id', node.target_node_id);
82
87
  $li.data('old-previous-sibling-id', node.old_previous_sibling_id);
83
- $li.data('update-url', node.update_url);
88
+ $li.data('update-url', node.update_url),
89
+ $li.data('glance-url', node.glance_url);
84
90
 
85
91
  var saveButton = $('<button type="button" class="btn btn-primary btn-xs node-btn" data-tree-action="move"><i class="fa fa-save"></i> ' + saveLabel + '</button>');
86
92
  var copyButton = $('<button type="button" class="btn btn-primary btn-xs node-btn" data-tree-action="copy"><i class="fa fa-copy"></i> ' + copyLabel + '</button>');
@@ -214,7 +220,7 @@ function Treeview(container) {
214
220
  }
215
221
 
216
222
  function buildLink(url, label, additionalText) {
217
- var link = $('<a>').attr('href', url).html(label);
223
+ var link = $('<a>').attr('href', url).addClass('tree-element-link').html(label);
218
224
 
219
225
  if (additionalText) {
220
226
  link = link.after(' ', additionalText);
@@ -222,6 +228,34 @@ function Treeview(container) {
222
228
  return link;
223
229
  }
224
230
 
231
+ function buildTeaserLink(node, link) {
232
+ if (typeof node.glance_url === 'undefined') {
233
+ return;
234
+ }
235
+
236
+ var teaserLink = $('<a/>')
237
+
238
+ teaserLink.addClass('tree-element-teaser-link')
239
+ .attr('href', node.glance_url)
240
+ .append($('<i class="fa fa-search-plus"/>'))
241
+
242
+ $(link).after(teaserLink);
243
+
244
+ teaserLink.click(function(ev) {
245
+ ev.preventDefault();
246
+
247
+ var modal = $("#concept-teaser-modal");
248
+ var target = $(this).attr("href");
249
+
250
+ $.get(target, function(data) {
251
+ modal.html(data);
252
+ modal.modal();
253
+ });
254
+ });
255
+
256
+ return teaserLink;
257
+ }
258
+
225
259
  }
226
260
 
227
261
  return function(selector) {
@@ -1,9 +1,10 @@
1
+ @import 'iqvoc/settings/bootstrap-variables';
2
+
3
+ @import 'bootstrap-sprockets';
4
+ @import 'bootstrap';
5
+
1
6
  @import 'jquery-ui';
2
7
  @import 'jquery-ui.structure';
3
8
  @import 'jquery-ui.theme';
4
9
 
5
- @import 'bootstrap';
6
- body {
7
- padding-top: 70px;
8
- }
9
10
  @import 'font-awesome';
@@ -1,6 +1,11 @@
1
- @import 'iqvoc/settings';
2
- @import 'iqvoc/hacks/bootstrap_extensions';
1
+ @import 'iqvoc/mixins/mixins';
2
+
3
+ @import 'iqvoc/settings/fonts';
4
+ @import 'iqvoc/settings/variables';
5
+ @import 'iqvoc/settings/bootstrap';
6
+
3
7
  @import 'iqvoc/hacks/jquery-ui_extensions';
8
+
4
9
  @import 'iqvoc/components/treeview';
5
10
  @import 'iqvoc/components/components';
6
11
  @import 'iqvoc/components/panels';
@@ -8,4 +13,7 @@
8
13
  @import 'iqvoc/components/forms';
9
14
  @import 'iqvoc/components/notes';
10
15
  @import 'iqvoc/components/entity_select';
16
+ @import 'iqvoc/components/modals';
17
+ @import 'iqvoc/components/label-list';
18
+
11
19
  @import 'iqvoc/hacks/hacks';
@@ -1,3 +1,13 @@
1
+ .indicator {
2
+ .fa {
3
+ visibility: hidden;
4
+ }
5
+
6
+ &.active .fa {
7
+ visibility: visible;
8
+ }
9
+ }
10
+
1
11
  .onebox {
2
12
  padding-top: 80px;
3
13
  margin-top: 2em;
@@ -122,6 +132,10 @@ tr.highlightable {
122
132
  .lang-widget {
123
133
  padding: 0 15px 20px 15px;
124
134
 
135
+ h2 {
136
+ font-size: $font-size-h4;
137
+ }
138
+
125
139
  .lang-widget-item {
126
140
  white-space: nowrap;
127
141
 
@@ -0,0 +1,35 @@
1
+ .label-list {
2
+ @include list-unstyled;
3
+ }
4
+
5
+ .label-list-item {
6
+ display: inline-block;
7
+ margin-right: .5em;
8
+ margin-bottom: .5em;
9
+
10
+ &:last-child {
11
+ margin-right: 0;
12
+ }
13
+ }
14
+
15
+ .label-list-item-value {
16
+ background-color: $gray-lighter;
17
+ border: 1px solid darken($gray-lighter, 5%);
18
+ display: inline-block;
19
+ padding: .25em 1em;
20
+
21
+ &.attached {
22
+ border-right: 0;
23
+ border-top-left-radius: 3px;
24
+ border-bottom-left-radius: 3px;
25
+ }
26
+ }
27
+
28
+ .label-list-item-lang {
29
+ // color: $body-bg;
30
+ border: 1px solid darken($gray-lighter, 5%);
31
+ border-left: 0;
32
+ border-top-right-radius: 3px;
33
+ border-bottom-right-radius: 3px;
34
+ padding: .5em .75em;
35
+ }
@@ -0,0 +1,21 @@
1
+ .concept-teaser-header {
2
+ h1 {
3
+ font-size: $font-size-h3;
4
+ }
5
+ }
6
+
7
+ .concept-teaser-body {
8
+ padding-top: 0;
9
+
10
+ h2 {
11
+ font-size: $font-size-h4;
12
+ }
13
+
14
+ p {
15
+ margin-top: 0;
16
+ }
17
+
18
+ .alert {
19
+ margin-top: $line-height-computed;
20
+ }
21
+ }
@@ -117,3 +117,7 @@ span.jqtree-dragging {
117
117
  .reset-node-btn {
118
118
  margin: 0 3px;
119
119
  }
120
+
121
+ .tree-element-teaser-link {
122
+ margin-left: .25em;
123
+ }
@@ -0,0 +1,13 @@
1
+ @mixin interaction-font {
2
+ font-family: 'Fira Sans Light SC';
3
+ text-transform: lowercase;
4
+ // font-size: $font-size-small;
5
+ }
6
+
7
+ @mixin transitional($property: all, $duration: .25s) {
8
+ transition: $property $duration ease-in-out;
9
+ }
10
+
11
+ @mixin flat-box-shadow {
12
+ box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
13
+ }