Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lidia Contreras Ochando
clowdflows
Commits
27fd9e41
Commit
27fd9e41
authored
Oct 01, 2015
by
vpodpecan
Browse files
updates for Tuk widgets
parent
e277214e
Changes
7
Hide whitespace changes
Inline
Side-by-side
workflows/MUSE_v3/library.py
View file @
27fd9e41
...
...
@@ -272,6 +272,20 @@ def MUSE_string_to_file_finished_V3(postdata, input_dict, output_dict):
fileURL
=
fqdn
+
postdata
.
get
(
'fileURL'
)[
0
]
return
{
'fileURL'
:
fileURL
}
#end
def
MUSE_view_xml_V3
(
input_dict
):
return
{
'xml_data'
:
input_dict
.
get
(
'xml_data'
,
None
)}
def
MUSE_virtual_environment_demonstrator_tuk_V3
(
input_dict
):
return
{
'mappingLink'
:
str
(
input_dict
[
'mappingLink'
]),
'unityLink'
:
input_dict
[
'unityLink'
]}
def
MUSE_virtual_environment_demonstrator_tuk_local_V3
(
input_dict
):
return
{
'mappingLink'
:
str
(
input_dict
[
'mappingLink'
]),
'unityLink'
:
input_dict
[
'unityLink'
]}
workflows/MUSE_v3/package_data/widgets/16a08e1b-9c2a-4080-b45b-7d16ce3c5a24.json
View file @
27fd9e41
...
...
@@ -12,8 +12,8 @@
"image"
:
""
,
"description"
:
"Local copy of the 3D demonstrator for the Tuk the Hunter children story"
,
"static_image"
:
""
,
"action"
:
"MUSE_virtual_environment_demonstrator_tuk_local"
,
"visualization_view"
:
"MUSE_virtual_environment_demonstrator_tuk_local"
,
"action"
:
"MUSE_virtual_environment_demonstrator_tuk_local
_V3
"
,
"visualization_view"
:
"MUSE_virtual_environment_demonstrator_tuk_local
_V3
"
,
"streaming_visualization_view"
:
""
,
"post_interact_action"
:
""
,
"wsdl_method"
:
""
,
...
...
workflows/MUSE_v3/package_data/widgets/2ff1194f-e2f7-4abf-a049-26faae3ba9e6.json
View file @
27fd9e41
...
...
@@ -12,8 +12,8 @@
"image"
:
""
,
"description"
:
"Displays XML in a modal window"
,
"static_image"
:
""
,
"action"
:
"MUSE_view_xml"
,
"visualization_view"
:
"MUSE_view_xml"
,
"action"
:
"MUSE_view_xml
_V3
"
,
"visualization_view"
:
"MUSE_view_xml
_V3
"
,
"streaming_visualization_view"
:
""
,
"post_interact_action"
:
""
,
"wsdl_method"
:
""
,
...
...
workflows/MUSE_v3/package_data/widgets/6b040c91-3157-4e0b-a604-beb516b77e3e.json
View file @
27fd9e41
...
...
@@ -12,8 +12,8 @@
"image"
:
""
,
"description"
:
"3D demonstrator for the Tuk the Hunter children story"
,
"static_image"
:
""
,
"action"
:
"MUSE_virtual_environment_demonstrator_tuk"
,
"visualization_view"
:
"MUSE_virtual_environment_demonstrator_tuk"
,
"action"
:
"MUSE_virtual_environment_demonstrator_tuk
_V3
"
,
"visualization_view"
:
"MUSE_virtual_environment_demonstrator_tuk
_V3
"
,
"streaming_visualization_view"
:
""
,
"post_interact_action"
:
""
,
"wsdl_method"
:
""
,
...
...
workflows/MUSE_v3/static/MUSE_v3/Tuk-Text-Workflow-Web.html
View file @
27fd9e41
...
...
@@ -2,7 +2,7 @@
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
>
<title>
Unity Web Player | Tuk the Hunter - Text Parsing
</title>
<title>
Unity Web Player | Tuk the Hunter -
Leuven
Text Parsing
</title>
<script
type=
'text/javascript'
src=
'https://ssl-webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/jquery.min.js'
></script>
<script
type=
"text/javascript"
>
<!--
...
...
@@ -15,8 +15,8 @@
<script
type=
"text/javascript"
>
<!--
var
config
=
{
width
:
96
0
,
height
:
60
0
,
width
:
128
0
,
height
:
72
0
,
params
:
{
enableDebugging
:
"
0
"
}
};
...
...
@@ -85,7 +85,7 @@
}
div
.content
{
margin
:
auto
;
width
:
96
0px
;
width
:
128
0px
;
}
div
.broken
,
div
.missing
{
...
...
@@ -109,14 +109,14 @@
}
div
#unityPlayer
{
cursor
:
default
;
height
:
60
0px
;
width
:
96
0px
;
height
:
72
0px
;
width
:
128
0px
;
}
--
>
</style>
</head>
<body>
<p
class=
"header"
><span>
Unity Web Player |
</span>
Tuk the Hunter - Text Parsing
</p>
<p
class=
"header"
><span>
Unity Web Player |
</span>
Tuk the Hunter -
Leuven
Text Parsing
</p>
<div
class=
"content"
>
<div
id=
"unityPlayer"
>
<div
class=
"missing"
>
...
...
workflows/MUSE_v3/static/MUSE_v3/Tuk-Text-Workflow-Web.unity3d
View file @
27fd9e41
No preview for this file type
workflows/MUSE_v3/visualization_views.py
View file @
27fd9e41
...
...
@@ -17,7 +17,7 @@ def MUSE_view_xmlOLD(request, input_dict, output_dict, widget):
{
'widget'
:
widget
,
'xml_data'
:
input_dict
[
'xml_data'
]})
def
MUSE_view_xml
(
request
,
input_dict
,
output_dict
,
widget
):
def
MUSE_view_xml
_V3
(
request
,
input_dict
,
output_dict
,
widget
):
from
mothra.settings
import
MEDIA_ROOT
from
workflows.helpers
import
ensure_dir
...
...
@@ -49,7 +49,7 @@ def MUSE_virtual_environment_visualization(request, input_dict, output_dict, wid
})
def
MUSE_virtual_environment_demonstrator_tuk
(
request
,
input_dict
,
output_dict
,
widget
):
def
MUSE_virtual_environment_demonstrator_tuk
_V3
(
request
,
input_dict
,
output_dict
,
widget
):
from
urllib
import
urlencode
params
=
urlencode
({
'filename'
:
str
(
input_dict
[
'mappingLink'
])})
unityLink
=
'%s?%s'
%
(
str
(
input_dict
[
'unityLink'
]),
params
)
...
...
@@ -61,7 +61,7 @@ def MUSE_virtual_environment_demonstrator_tuk(request, input_dict, output_dict,
)
def
MUSE_virtual_environment_demonstrator_tuk_local
(
request
,
input_dict
,
output_dict
,
widget
):
def
MUSE_virtual_environment_demonstrator_tuk_local
_V3
(
request
,
input_dict
,
output_dict
,
widget
):
from
urllib
import
urlencode
params
=
urlencode
({
'filename'
:
str
(
input_dict
[
'mappingLink'
])})
unityLink
=
'%s?%s'
%
(
str
(
input_dict
[
'unityLink'
]),
params
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment