<commit_before>﻿{% load i18n %}
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{ LANGUAGE_CODE }}" lang="{{ LANGUAGE_CODE }}">
<head>
<title>EzWeb</title>
<head>
<title>{% trans "EzWeb Platform" %}</title>

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

<link rel="stylesheet" type="text/css" media="screen,projection" href="{{ MEDIA_URL }}css/ezweb.css" />
<!-- CSS for different header -->
{% block css %}{% endblock %}
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/dragboard.css">
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/wiring.css">
<link rel="shortcut icon" type="image/x-icon" href="{{ MEDIA_URL }}css/favicon.ico" />

<!--[if IE]>
	<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/ie.css" />
<![endif]-->

<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/lib/prototype/prototype.js"></script>
<script type="text/javascript" language="javascript">
_URIConstants = function(){}
_URIConstants.prototype.USER = '/user/{{ user.username }}';
_URIConstants.prototype.GET_IGADGET = new Template ('/workspace/#{workspaceId}/tab/#{tabId}/igadgets/#{iGadgetId}');
_URIConstants.prototype.GET_IGADGETS = new Template ('/workspace/#{workspaceId}/tab/#{tabId}/igadgets/');
_URIConstants.prototype.GET_GADGET = new Template ('/user/{{ user.username }}/gadgets/#{vendor}/#{name}/#{version}');
_URIConstants.prototype.GET_GADGETS = '/user/{{ user.username }}/gadgets';
_URIConstants.prototype.GET_CONTEXT = '/user/{{ user.username }}/context';
_URIConstants.prototype.GET_CONTEXT_VALUE = new Template ('/user/{{ user.username }}/context/#{concept}/value');
_URIConstants.prototype.GET_POST_RESOURCES = '/user/{{ user.username }}/catalogue/resource';
_URIConstants.prototype.GET_RESOURCES_SIMPLE_SEARCH = '/user/{{ user.username }}/catalogue/search';
_URIConstants.prototype.GET_RESOURCES_GLOBAL_SEARCH = '/user/{{ user.username }}/catalogue/globalsearch';
_URIConstants.prototype.DELETE_TAG = '/user/{{ user.username }}/catalogue/tag';
_URIConstants.prototype.POST_RESOURCE_TAGS = '/user/{{ user.username }}/catalogue/tag';
_URIConstants.prototype.POST_RESOURCE_VOTES = '/user/{{ user.username }}/catalogue/voting';
_URIConstants.prototype.POST_IGADGET = new Template ('/workspace/#{workspaceId}/tab/#{tabId}/igadgets');
_URIConstants.prototype.PROXY = '/proxy';
_URIConstants.prototype.GET_IGADGET_VARIABLES = new Template ('/user/{{ user.username }}/igadgets/#{iGadgetId}/variables');
_URIConstants.prototype.GET_POST_GADGET_VARIABLE = new Template ('/user/{{ user.username }}/igadgets/#{iGadgetId}/variables/#{varName}');
_URIConstants.prototype.PUT_VARIABLES = new Template ('/workspace/#{workspaceId}/variables');
_URIConstants.prototype.GET_POST_WORKSPACES = '/workspaces';
_URIConstants.prototype.GET_POST_WIRING = new Template ('/workspaces/#{id}/wiring');
_URIConstants.prototype.GET_POST_WORKSPACE = new Template ('/workspaces/#{id}');
_URIConstants.prototype.GET_POST_TABS = new Template('/workspace/#{workspace_id}/tabs');
_URIConstants.prototype.TAB = new Template('/workspace/#{workspace_id}/tab/#{tab_id}');
_URIConstants.prototype.POST_PUBLISH_WORKSPACE = new Template('/workspace/#{workspace_id}/publish');
_URIConstants.prototype.GET_ADD_WORKSPACE = new Template('/workspace/#{workspace_id}/add');
_URIConstants.prototype.GET_MERGE_WORKSPACE = new Template('/workspace/#{from_ws_id}/merge/#{to_ws_id}');

{% if home_gateway_dispatcher_url %}
    _URIConstants.prototype.HOME_GATEWAY_DISPATCHER_URL = '{{ home_gateway_dispatcher_url }}serviceGadgets?user={{ user.username }}';
    _URIConstants.prototype.HOME_GATEWAY_DISPATCHER_UNSUBSCRIBE_URL = '{{ home_gateway_dispatcher_url }}unsubscribeServices';
    _URIConstants.prototype.HOME_GATEWAY_DISPATCHER_CANCEL_URL = '{{ home_gateway_dispatcher_url }}cancelServices';
{% else %}
    _URIConstants.prototype.HOME_GATEWAY_DISPATCHER_URL = null;
{% endif%}


var URIs = new _URIConstants();

var ezweb_user_name = '{{ user.username }}'

</script>

<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/common/constants.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/common/utils.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/lib/scriptaculous/scriptaculous.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/lib/prototype/prototype.improvements.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/userProfile/UserProfile.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/common/modules.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/persistenceEngine/PersistenceEngine.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/gadgetModel/XHtml.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/gadgetModel/GadgetTemplate.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/gadgetModel/Gadget.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/log/LogManager.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/opManager/WorkSpace.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/opManager/Tab.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/opManager/OpManager.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/varManager/VariableGadget.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/varManager/VariablePlatform.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/varManager/varManager.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/showcase/showcase.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/showcase/util.js"></script>

<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/contextManager/ContextManager.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/contextManager/ContextPlatform.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/contextManager/Adaptors.js"></script>

<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/dragboard/DragboardLayout.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/dragboard/SmartColumnLayout.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/dragboard/iGadget.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/dragboard/dragboard.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/dragboard/UserPref.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/dragboard/ElementPositions.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/wiring/filter.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/wiring/connectable.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/wiring/wiring.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/wiring/wiringGUI.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/wiring/connectableInterface.js"></script>
<!--<script language="JavaScript" src="{{ MEDIA_URL}}js/wiring/color_scheme.js"></script>-->

<script type="text/javascript" src="/jsi18n/?language={{ LANGUAGE_CODE }}"></script>

<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/catalogue.css" />
<script language="JavaScript" src="{{ MEDIA_URL }}js/catalogue/UIUtils.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/catalogue/Catalogue.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/catalogue/Resource.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/catalogue/Tagger.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/catalogue/Tag.js"></script>
<script type="text/javascript">
	window.onresize = UIUtils.setResourcesWidth;
</script>

<script language="javascript" src="{{ MEDIA_URL }}js/interfaceLayout/DropDownMenu.js"></script>
<script language="javascript" src="{{ MEDIA_URL }}js/interfaceLayout/WindowMenu.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/interfaceLayout/LayoutManager.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/interfaceLayout/BrowserUtils.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/wiring/wz_jsgraphics.js"></script>


<script language="JavaScript" src="http://localhost:8002/ezweb/js/js_library.js"></script>
<script>
	var EzSteroidsAPI = new API("http://localhost:8002/api");
</script>  


<!-- Initialization code -->
<script language="JavaScript"><commit_msg>refs #306. file wrongly commited :S<commit_after>﻿{% load i18n %}
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{ LANGUAGE_CODE }}" lang="{{ LANGUAGE_CODE }}">
<head>
<title>EzWeb</title>
<head>
<title>{% trans "EzWeb Platform" %}</title>

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

<link rel="stylesheet" type="text/css" media="screen,projection" href="{{ MEDIA_URL }}css/ezweb.css" />
<!-- CSS for different header -->
{% block css %}{% endblock %}
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/dragboard.css">
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/wiring.css">
<link rel="shortcut icon" type="image/x-icon" href="{{ MEDIA_URL }}css/favicon.ico" />

<!--[if IE]>
	<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/ie.css" />
<![endif]-->

<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/lib/prototype/prototype.js"></script>
<script type="text/javascript" language="javascript">
_URIConstants = function(){}
_URIConstants.prototype.USER = '/user/{{ user.username }}';
_URIConstants.prototype.GET_IGADGET = new Template ('/workspace/#{workspaceId}/tab/#{tabId}/igadgets/#{iGadgetId}');
_URIConstants.prototype.GET_IGADGETS = new Template ('/workspace/#{workspaceId}/tab/#{tabId}/igadgets/');
_URIConstants.prototype.GET_GADGET = new Template ('/user/{{ user.username }}/gadgets/#{vendor}/#{name}/#{version}');
_URIConstants.prototype.GET_GADGETS = '/user/{{ user.username }}/gadgets';
_URIConstants.prototype.GET_CONTEXT = '/user/{{ user.username }}/context';
_URIConstants.prototype.GET_CONTEXT_VALUE = new Template ('/user/{{ user.username }}/context/#{concept}/value');
_URIConstants.prototype.GET_POST_RESOURCES = '/user/{{ user.username }}/catalogue/resource';
_URIConstants.prototype.GET_RESOURCES_SIMPLE_SEARCH = '/user/{{ user.username }}/catalogue/search';
_URIConstants.prototype.GET_RESOURCES_GLOBAL_SEARCH = '/user/{{ user.username }}/catalogue/globalsearch';
_URIConstants.prototype.DELETE_TAG = '/user/{{ user.username }}/catalogue/tag';
_URIConstants.prototype.POST_RESOURCE_TAGS = '/user/{{ user.username }}/catalogue/tag';
_URIConstants.prototype.POST_RESOURCE_VOTES = '/user/{{ user.username }}/catalogue/voting';
_URIConstants.prototype.POST_IGADGET = new Template ('/workspace/#{workspaceId}/tab/#{tabId}/igadgets');
_URIConstants.prototype.PROXY = '/proxy';
_URIConstants.prototype.GET_IGADGET_VARIABLES = new Template ('/user/{{ user.username }}/igadgets/#{iGadgetId}/variables');
_URIConstants.prototype.GET_POST_GADGET_VARIABLE = new Template ('/user/{{ user.username }}/igadgets/#{iGadgetId}/variables/#{varName}');
_URIConstants.prototype.PUT_VARIABLES = new Template ('/workspace/#{workspaceId}/variables');
_URIConstants.prototype.GET_POST_WORKSPACES = '/workspaces';
_URIConstants.prototype.GET_POST_WIRING = new Template ('/workspaces/#{id}/wiring');
_URIConstants.prototype.GET_POST_WORKSPACE = new Template ('/workspaces/#{id}');
_URIConstants.prototype.GET_POST_TABS = new Template('/workspace/#{workspace_id}/tabs');
_URIConstants.prototype.TAB = new Template('/workspace/#{workspace_id}/tab/#{tab_id}');
_URIConstants.prototype.POST_PUBLISH_WORKSPACE = new Template('/workspace/#{workspace_id}/publish');
_URIConstants.prototype.GET_ADD_WORKSPACE = new Template('/workspace/#{workspace_id}/add');
_URIConstants.prototype.GET_MERGE_WORKSPACE = new Template('/workspace/#{from_ws_id}/merge/#{to_ws_id}');

{% if home_gateway_dispatcher_url %}
    _URIConstants.prototype.HOME_GATEWAY_DISPATCHER_URL = '{{ home_gateway_dispatcher_url }}serviceGadgets?user={{ user.username }}';
    _URIConstants.prototype.HOME_GATEWAY_DISPATCHER_UNSUBSCRIBE_URL = '{{ home_gateway_dispatcher_url }}unsubscribeServices';
    _URIConstants.prototype.HOME_GATEWAY_DISPATCHER_CANCEL_URL = '{{ home_gateway_dispatcher_url }}cancelServices';
{% else %}
    _URIConstants.prototype.HOME_GATEWAY_DISPATCHER_URL = null;
{% endif%}


var URIs = new _URIConstants();

var ezweb_user_name = '{{ user.username }}'

</script>

<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/common/constants.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/common/utils.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/lib/scriptaculous/scriptaculous.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/lib/prototype/prototype.improvements.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/userProfile/UserProfile.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/common/modules.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/persistenceEngine/PersistenceEngine.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/gadgetModel/XHtml.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/gadgetModel/GadgetTemplate.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/gadgetModel/Gadget.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/log/LogManager.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/opManager/WorkSpace.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/opManager/Tab.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/opManager/OpManager.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/varManager/VariableGadget.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/varManager/VariablePlatform.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/varManager/varManager.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/showcase/showcase.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/showcase/util.js"></script>

<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/contextManager/ContextManager.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/contextManager/ContextPlatform.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/contextManager/Adaptors.js"></script>

<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/dragboard/DragboardLayout.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/dragboard/SmartColumnLayout.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/dragboard/iGadget.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/dragboard/dragboard.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/dragboard/UserPref.js"></script>
<script type="text/javascript" language="javascript" src="{{ MEDIA_URL }}js/dragboard/ElementPositions.js"></script>

<script language="JavaScript" src="{{ MEDIA_URL }}js/wiring/filter.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/wiring/connectable.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/wiring/wiring.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/wiring/wiringGUI.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/wiring/connectableInterface.js"></script>
<!--<script language="JavaScript" src="{{ MEDIA_URL}}js/wiring/color_scheme.js"></script>-->

<script type="text/javascript" src="/jsi18n/?language={{ LANGUAGE_CODE }}"></script>

<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/catalogue.css" />
<script language="JavaScript" src="{{ MEDIA_URL }}js/catalogue/UIUtils.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/catalogue/Catalogue.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/catalogue/Resource.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/catalogue/Tagger.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/catalogue/Tag.js"></script>
<script type="text/javascript">
	window.onresize = UIUtils.setResourcesWidth;
</script>

<script language="javascript" src="{{ MEDIA_URL }}js/interfaceLayout/DropDownMenu.js"></script>
<script language="javascript" src="{{ MEDIA_URL }}js/interfaceLayout/WindowMenu.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/interfaceLayout/LayoutManager.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/interfaceLayout/BrowserUtils.js"></script>
<script language="JavaScript" src="{{ MEDIA_URL }}js/wiring/wz_jsgraphics.js"></script>

<!-- Initialization code -->
<script language="JavaScript">
{'fraction_non_alphanumeric': 0.19163723367893357, 'fraction_numerical': 0.0024495841403668677, 'mean_word_length': 7.480676328502415, 'pattern_counts': {'":': 0, '<': 241, '<?xml version=': 0, '>': 241, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4409258', 'n_tokens_mistral': 5824, 'n_tokens_neox': 5594, 'n_words': 931}