forked from andrewblake1/WorksManagement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
109 lines (101 loc) · 6.6 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="/WorksManagement/assets/8817a94a/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/WorksManagement/assets/8817a94a/css/bootstrap-responsive.css" />
<link rel="stylesheet" type="text/css" href="/WorksManagement/assets/8817a94a/css/font-awesome.css" />
<link rel="stylesheet" type="text/css" href="/WorksManagement/assets/8817a94a/css/bootstrap-yii.css" />
<link rel="stylesheet" type="text/css" href="/WorksManagement/assets/8817a94a/css/jquery-ui-bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/WorksManagement/assets/8817a94a/css/bootstrap-notify.css" />
<link rel="stylesheet" type="text/css" href="/WorksManagement/assets/a2a0ee2d/jui/css/base/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="/WorksManagement/assets/8817a94a/css/bootstrap-datepicker.css" />
<script type="text/javascript" src="/WorksManagement/assets/a2a0ee2d/jquery.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.24/jquery-ui.min.js"></script>
<script type="text/javascript" src="/WorksManagement/assets/a2a0ee2d/jquery.ba-bbq.js"></script>
<script type="text/javascript" src="/WorksManagement/assets/a2a0ee2d/jquery.yiiactiveform.js"></script>
<script type="text/javascript" src="/WorksManagement/assets/8817a94a/js/bootstrap.bootbox.min.js"></script>
<script type="text/javascript" src="/WorksManagement/assets/8817a94a/js/bootstrap.notify.js"></script>
<script type="text/javascript" src="/WorksManagement/assets/8817a94a/js/bootstrap.js"></script>
<title>Works Management - Admin Task</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="/WorksManagement/themes/base/css/style.css" />
<link rel="icon" href="/WorksManagement/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="/WorksManagement/favicon.ico" type="image/x-icon">
</head>
<body>
<div class="container">
<div class="row">
<div class="span12">
<div id="Task-grid" class="grid-view">
<div class="keys" style="display:none" title="/WorksManagement/Task/admin?crew_id=933"><span>936</span><span>939</span><span>942</span></div>
<div class="keys" style="display:none" title="/WorksManagement/Task/admin?crew_id=933"><span>936</span><span>939</span><span>942</span></div>
</div>
<div id="myModal" class="modal">
<div id="form-createTask" class="modal-body">
<div class="modal-header"><a class="close" data-dismiss="modal">×</a><h3>Create</h3></div>
<div class="alert alert-block alert-error" id="Task-form_es_" style="display:none">
<p>Please fix the following input errors:</p>
</div>
<form class="well form-vertical" id="Task-form" action="/WorksManagement/Task/Create" method="post">
<label for="Planning_in_charge_id">In charge</label>
<input name="Planning[in_charge_id]" id="Planning_in_charge_id" type="hidden" />
<input id="Planning_in_charge_id_save" type="hidden" value="" name="Planning_in_charge_id_save" />
<input class="span5" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true" size="50" maxLength="50" onblur="
if ($(this).val())
{
$(this).val($( & #039; form #Planning_in_charge_id_save & #039; ).val());
}
else
{
$( & #039; form #Planning_in_charge_id_save & #039; ).val( & #039; & #039; );
$( & #039; form #Planning_in_charge_id & #039; ).val( & #039; & #039; );
}
" id="Planning_in_charge_id_lookup" name="Planning_in_charge_id_lookup" value="" type="text" />
<div id="templateDependantArea">
<div id="customValues">
<fieldset class="fieldset">
<legend>Location</legend>
<input name="TaskToTaskTemplateToCustomField[54][custom_value]" id="TaskToTaskTemplateToCustomField_54_custom_value" type="hidden" />
<input id="TaskToTaskTemplateToCustomField_54_custom_value_save" type="hidden" name="TaskToTaskTemplateToCustomField_54_custom_value_save" />
<input onkeyup="$('#TaskToTaskTemplateToCustomField_54_custom_value').val($(this).val()); $('#TaskToTaskTemplateToCustomField_54_custom_value_save').val($(this).val());" class="ui-autocomplete-input" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true" size="50" maxLength="50" onblur="
if ($(this).val())
{
$(this).val($('form #TaskToTaskTemplateToCustomField_54_custom_value_save').val());
}
else
{
$('form #TaskToTaskTemplateToCustomField_54_custom_value_save').val();
$('form #TaskToTaskTemplateToCustomField_54_custom_value').val();
}" id="TaskToTaskTemplateToCustomField_54_custom_value_lookup" name="TaskToTaskTemplateToCustomField_54_custom_value_lookup" type="text" />
<span class="help-block error" id="TaskToTaskTemplateToCustomField_54_custom_value_em_" style="display: none"></span>
</fieldset>
</div>
</div>
</form></div></div>
</div>
</div>
</div>
<script type="text/javascript" src="/WorksManagement/assets/ab58b94b/gridview/jquery.yiigridview.js"></script>
<script type="text/javascript" src="/WorksManagement/assets/8817a94a/js/bootstrap.datepicker.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
jQuery(function($) {
jQuery('#Planning_in_charge_id_lookup').autocomplete({'minLength':1, 'maxHeight':'100', 'select':function(event, ui){; $('form #Planning_in_charge_id').val(ui.item.id); $('form #Planning_in_charge_id_save').val(ui.item.value); }, 'source':'/WorksManagement/User/autocomplete?model=Planning&attribute=in_charge_id&crew_id=933'}).data("autocomplete")._renderItem = function(ul, item) {
return $("<li></li>")
.data("item.autocomplete", item)
.append("<a data-original-title='" + item.title + "'>" + item.label + "</a>")
.appendTo(ul);
}; ;
});
/*]]>*/
</script>
</body>
</html>