2016-08-17 17:54:59 -07:00
|
|
|
<div id="items" class="page">
|
|
|
|
|
<div class="col-sm-12 col-sm-offset-0">
|
2016-10-26 14:48:11 -07:00
|
|
|
|
|
|
|
|
<!-- Main Page Content -->
|
2016-08-17 17:54:59 -07:00
|
|
|
<h1><span class="fa fa-users"></span> Manage Items</h1>
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="dt-buttons btn-group" style="display: inline-block">
|
|
|
|
|
<a id="createButton" class="btn btn-default buttons-create" tabindex="0" href="javaScript:void(0);"><span>New</span></a>
|
|
|
|
|
<a id="editButton" class="btn btn-default buttons-selected buttons-edit" tabindex="0" href="javaScript:void(0);"><span>Edit</span></a>
|
|
|
|
|
<a id="deleteButton" class="btn btn-default buttons-selected buttons-remove" tabindex="0" href="javaScript:void(0);"><span>Delete</span></a>
|
2016-10-26 14:48:11 -07:00
|
|
|
<a id="restoreButton" class="btn btn-default buttons-selected buttons-restore" tabindex="0" href="javaScript:void(0);"><span>Restore</span></a>
|
2016-08-17 17:54:59 -07:00
|
|
|
</div>
|
|
|
|
|
<div class="checkbox checkbox-slider checkbox-slider--b-flat" style="display: inline-block; margin-left: 20px">
|
|
|
|
|
<label>
|
2016-10-26 14:48:11 -07:00
|
|
|
<input id="includeDeletedToggle" type="checkbox"><span style="margin-left: 0; padding-left: 24px;">Include Deleted</span>
|
2016-08-17 17:54:59 -07:00
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-10-26 14:48:11 -07:00
|
|
|
<table id="dataTable" class="table table-striped table-hover">
|
2016-08-17 17:54:59 -07:00
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th data-key-name="name">Name</th>
|
2016-10-26 14:48:11 -07:00
|
|
|
<th data-key-name="category">Category</th>
|
|
|
|
|
<th data-key-name="subcategory">Subcategory</th>
|
2016-08-17 17:54:59 -07:00
|
|
|
<th data-key-name="defaultPrice">Default Price</th>
|
|
|
|
|
<th data-key-name="measures">Measures</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
</table>
|
|
|
|
|
|
2016-10-26 14:48:11 -07:00
|
|
|
<!-- Create/Edit Dialog -->
|
|
|
|
|
<div id="editorDialog" class="modal fade" role="dialog">
|
2016-08-17 17:54:59 -07:00
|
|
|
<div class="modal-dialog">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
2016-10-26 14:48:11 -07:00
|
|
|
<h4 class="modal-title"></h4>
|
2016-08-17 17:54:59 -07:00
|
|
|
</div>
|
2016-10-26 14:48:11 -07:00
|
|
|
<form role="form" autocomplete="off">
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<label for="DFName">Name</label>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<input name="name" id="DFName" type="text" class="form-control" tabindex="0" placeholder="Strawberry Jam" required>
|
|
|
|
|
</div>
|
|
|
|
|
<label for="DFSubcategory">Subcategory</label>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<select name="subcategory" id="DFSubcategory" class="js-states form-control" style="width: 100%;" required></select>
|
|
|
|
|
</div>
|
|
|
|
|
<label for="DFPrice">Default Price</label>
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<span class="input-group-addon">$</span><input name="defaultPrice" id="DFPrice" type="number" min="0.00" step="0.50" value="10.00" data-number-to-fixed="2" class="form-control currency" tabindex="0" required>
|
|
|
|
|
</div>
|
|
|
|
|
<label for="DFMeasures">Measures</label>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<select class="js-states form-control" name="measures" id="DFMeasures" multiple="multiple" tabindex="0" style="width: 100%;" required></select>
|
|
|
|
|
</div>
|
2016-08-17 17:54:59 -07:00
|
|
|
</div>
|
2016-10-26 14:48:11 -07:00
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button id="DFSave" type="button" class="btn btn-default btn-primary btn-md" tabindex="0">Save</button>
|
|
|
|
|
<button id="DFCreate" type="button" class="btn btn-default btn-primary btn-md" tabindex="0">Create</button>
|
|
|
|
|
<button id="DFCreatePlus" type="button" class="btn btn-primary btn-md" tabindex="0">Create++</button>
|
|
|
|
|
<button id="DFCancel" type="button" class="btn" data-dismiss="modal" tabindex="0">Cancel</button>
|
2016-08-17 17:54:59 -07:00
|
|
|
</div>
|
2016-10-26 14:48:11 -07:00
|
|
|
</form>
|
2016-08-17 17:54:59 -07:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2016-10-26 14:48:11 -07:00
|
|
|
<!-- Delete Dialog -->
|
2016-08-17 17:54:59 -07:00
|
|
|
<div id="deleteDialog" class="modal fade" role="dialog">
|
|
|
|
|
<div class="modal-dialog">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
|
<h4 class="modal-title">Delete Item</h4>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
2016-10-26 14:48:11 -07:00
|
|
|
Are you certain you wish to delete the item <span id="deleteName"></span>?
|
2016-08-17 17:54:59 -07:00
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
2016-10-26 14:48:11 -07:00
|
|
|
<button id="DFDelete" type="button" class="btn btn-warning btn-md" tabindex="0">Delete</button>
|
|
|
|
|
<button id="DFCancelDelete" type="button" class="btn btn-primary btn-default" data-dismiss="modal" tabindex="1">Cancel</button>
|
2016-08-17 17:54:59 -07:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2016-10-26 14:48:11 -07:00
|
|
|
<script language="JavaScript" type="text/javascript">//# sourceURL=items.html
|
2016-08-17 17:54:59 -07:00
|
|
|
$(function() {
|
2016-10-26 14:48:11 -07:00
|
|
|
var $page = $('#items');
|
|
|
|
|
var $btnCreate = $page.find("#createButton");
|
|
|
|
|
var $btnEdit = $page.find("#editButton");
|
|
|
|
|
var $btnDelete = $page.find("#deleteButton");
|
|
|
|
|
var $btnRestore = $page.find("#restoreButton");
|
|
|
|
|
|
|
|
|
|
var dataTable = new LinkedTable($page.find('#dataTable'), {
|
|
|
|
|
url: "data/Item/readAll",
|
2016-08-17 17:54:59 -07:00
|
|
|
attr: "data-key-name",
|
|
|
|
|
selection: "row",
|
|
|
|
|
parameters: function() {
|
2016-10-26 14:48:11 -07:00
|
|
|
return {paranoid: !$page.find('#includeDeletedToggle').is(":checked")};
|
|
|
|
|
},
|
|
|
|
|
selectionChanged: function($tr, model) {
|
|
|
|
|
if($tr && model) {
|
|
|
|
|
$btnEdit.show();
|
|
|
|
|
|
|
|
|
|
//If the object was deleted (hidden), then allow it to be restored, otherwise allow the model to be deleted.
|
|
|
|
|
if(model.deletedAt) {
|
|
|
|
|
$btnRestore.show();
|
|
|
|
|
$btnDelete.hide();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$btnRestore.hide();
|
|
|
|
|
$btnDelete.show();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$btnEdit.hide();
|
|
|
|
|
$btnDelete.hide();
|
|
|
|
|
$btnRestore.hide();
|
|
|
|
|
}
|
2016-08-17 17:54:59 -07:00
|
|
|
},
|
2016-10-26 14:48:11 -07:00
|
|
|
supportingData: [
|
|
|
|
|
{name: "categories", url: "data/Category/readAll", parameters: {showDeleted: true}, postProcess: function(data) {
|
|
|
|
|
var byId;
|
|
|
|
|
|
|
|
|
|
//Convert the category list into a map by category id.
|
|
|
|
|
byId = data.reduce(function(map, category) {
|
|
|
|
|
map[category.id] = category;
|
|
|
|
|
return map;
|
|
|
|
|
}, {});
|
|
|
|
|
|
|
|
|
|
//Save the categories by id for use when setting the editor dialog's dropdown selection.
|
|
|
|
|
categoriesById = byId;
|
|
|
|
|
|
|
|
|
|
return byId;
|
|
|
|
|
}},
|
|
|
|
|
{name: "subcategories", url: "data/Subcategory/readAll", parameters: {showDeleted: true}, postProcess: function(data) {
|
|
|
|
|
var byId;
|
|
|
|
|
|
|
|
|
|
//Convert the category list into a map by category id.
|
|
|
|
|
byId = data.reduce(function(map, category) {
|
|
|
|
|
map[category.id] = category;
|
|
|
|
|
return map;
|
|
|
|
|
}, {});
|
|
|
|
|
|
|
|
|
|
//Save the categories by id for use when setting the editor dialog's dropdown selection.
|
|
|
|
|
subcategoriesById = byId;
|
|
|
|
|
|
|
|
|
|
return byId;
|
|
|
|
|
}}
|
|
|
|
|
],
|
|
|
|
|
cellDataHandlers: {category: function($cell, item, supportingData) {
|
|
|
|
|
try {
|
|
|
|
|
var subcategory = supportingData.subcategories[item.subcategoryId];
|
|
|
|
|
var category = supportingData.categories[subcategory.categoryId];
|
|
|
|
|
|
|
|
|
|
$cell.html(category.name);
|
|
|
|
|
} catch(err) {
|
|
|
|
|
console.log(err);
|
|
|
|
|
$cell.html("Not Found");
|
|
|
|
|
}
|
|
|
|
|
}, subcategory: function($cell, item, supportingData) {
|
|
|
|
|
try {
|
|
|
|
|
var subcategory = supportingData.subcategories[item.subcategoryId];
|
|
|
|
|
|
|
|
|
|
$cell.html(subcategory.name);
|
|
|
|
|
} catch(err) {
|
|
|
|
|
console.log(err);
|
|
|
|
|
$cell.html("Not Found");
|
|
|
|
|
}
|
|
|
|
|
}},
|
2016-08-17 17:54:59 -07:00
|
|
|
postAddRowHandler: function($row, dataObject) {
|
|
|
|
|
if(dataObject.deletedAt) {
|
2016-10-26 14:48:11 -07:00
|
|
|
$page.find("td:first", $row).prepend("<span class='glyphicon glyphicon-remove-circle' style='margin-right: 10px;' aria-hidden='true'></span>");
|
2016-08-17 17:54:59 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//Call the refresh user table function once initially.
|
|
|
|
|
dataTable.refresh();
|
|
|
|
|
|
2016-10-26 14:48:11 -07:00
|
|
|
//Refresh the data table if the user toggles the button to show/hide deleted elements.
|
|
|
|
|
$page.find('#includeDeletedToggle').on('click', function(event) {
|
|
|
|
|
dataTable.refresh();
|
2016-08-17 17:54:59 -07:00
|
|
|
});
|
2016-10-26 14:48:11 -07:00
|
|
|
|
|
|
|
|
//Restore the selected model so it is no longer considered 'deleted'.
|
|
|
|
|
$btnRestore.on("click", function(event) {
|
|
|
|
|
var model = dataTable.getSelectedRow() ? dataTable.getSelectedRow().data('model') : undefined;
|
|
|
|
|
|
|
|
|
|
if(model && model.deletedAt) {
|
|
|
|
|
$.post("data/Item/restore", {id: model.id}, "json").done(function(data) {
|
|
|
|
|
dataTable.refresh();
|
|
|
|
|
}).fail(function(data) {
|
|
|
|
|
alert("Failed to restore the desired object due to a server side error.");
|
|
|
|
|
});
|
2016-08-17 17:54:59 -07:00
|
|
|
}
|
|
|
|
|
});
|
2016-10-26 14:48:11 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
|
// ++++++++++++ Create/Edit Dialogs ++++++++++++
|
|
|
|
|
|
|
|
|
|
var $editorDialog = $page.find('#editorDialog');
|
|
|
|
|
var $deleteDialog = $page.find('#deleteDialog');
|
|
|
|
|
var $editorForm = $editorDialog.find('form');
|
|
|
|
|
var queries = [$.get("data/Category/readAll", {include: [{model: 'Subcategory', paranoid: true, as: 'subcategories'}], order: ['name', ['name']]}), $.get('data/Measure/readAll', {order: ['name']})];
|
|
|
|
|
|
|
|
|
|
//Update the dialog drop downs when the queries finish.
|
|
|
|
|
$.when.apply($, queries).then(function(query1, query2) {
|
|
|
|
|
var categories = query1[0];
|
|
|
|
|
var measures = query2[0];
|
|
|
|
|
var categoriesData = [];
|
|
|
|
|
var measureData = [];
|
|
|
|
|
|
|
|
|
|
//Iterate over the categories and their subcategories to build the tree of data for the dropdown.
|
|
|
|
|
for(var cat = 0; cat < categories.length; cat++) {
|
|
|
|
|
var nextCategory = categories[cat];
|
|
|
|
|
//If the category has subcategories then add it, otherwise ignore it.
|
|
|
|
|
if(nextCategory.subcategories) {
|
|
|
|
|
var category = {text: nextCategory.name, children: []};
|
|
|
|
|
for(var sub = 0; sub < nextCategory.subcategories.length; sub++) {
|
|
|
|
|
var next = nextCategory.subcategories[sub];
|
|
|
|
|
category.children.push({id: "" + next.id, text: next.name});
|
|
|
|
|
}
|
|
|
|
|
categoriesData.push(category);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//Build the measures list.
|
|
|
|
|
for(var i = 0; i < measures.length; i++) {
|
|
|
|
|
var nextMeasure = measures[i];
|
|
|
|
|
measureData.push({id: '' + nextMeasure.id, text: nextMeasure.name});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//Initialize the data for the dropdown.
|
|
|
|
|
$editorForm.find("#DFSubcategory").select2({data: categoriesData}).focus(function() {$(this).select2('focus')});
|
|
|
|
|
//Initialize the measures selector.
|
|
|
|
|
$editorForm.find('#DFMeasures').select2({data: measureData}).focus(function() {$(this).select2('focus')});
|
|
|
|
|
//Initialize the validator
|
|
|
|
|
$editorForm.validator();
|
|
|
|
|
//Debug Events
|
|
|
|
|
// $('#createDialog form').find('*').on('focusout focus change input', function(event) {
|
|
|
|
|
// console.log("Event [" + event.type + "] on " + event.target + (event.target.name ? "." + event.target.name : event.target.id ? "." + event.target.id : "") + "{" + event.target.classList + "}");
|
|
|
|
|
// });
|
2016-08-17 17:54:59 -07:00
|
|
|
});
|
|
|
|
|
|
2016-10-26 14:48:11 -07:00
|
|
|
//Handle opening the create dialog.
|
|
|
|
|
$btnCreate.on("click", function(event) {
|
|
|
|
|
//Configure the dialog to create a new element.
|
|
|
|
|
$editorDialog.find("#DFCreate, #DFCreatePlus").show();
|
|
|
|
|
$editorDialog.find("#DFSave").hide();
|
|
|
|
|
$editorDialog.find(".modal-title").text("Create Item");
|
|
|
|
|
//Reset fields to default values.
|
|
|
|
|
$editorDialog.find("#DFName").val("");
|
|
|
|
|
$editorDialog.find("#DFPrice").val("10.00");
|
|
|
|
|
//Open the dialog.
|
|
|
|
|
$editorDialog.modal();
|
|
|
|
|
});
|
|
|
|
|
//Handle opening the edit dialog.
|
|
|
|
|
$btnEdit.on("click", function(event) {
|
2016-08-17 17:54:59 -07:00
|
|
|
//debugger;
|
|
|
|
|
if(dataTable.getSelectedRow() != null) {
|
2016-10-26 14:48:11 -07:00
|
|
|
//Configure the dialog to edit an existing element.
|
|
|
|
|
$editorDialog.find("#DFCreate, #DFCreatePlus").hide();
|
|
|
|
|
$editorDialog.find("#DFSave").show();
|
|
|
|
|
$editorDialog.find(".modal-title").text("Edit Item");
|
|
|
|
|
//Reset fields to selected values.
|
|
|
|
|
$editorDialog.find('#DFName').val(dataTable.getSelectedRow().data("model").name);
|
|
|
|
|
$editorDialog.find('#DFSubcategory').val(dataTable.getSelectedRow().data("model").subcategoryId);
|
|
|
|
|
$editorDialog.find('#DFPrice').val(dataTable.getSelectedRow().data("model").defaultPrice);
|
|
|
|
|
$editorDialog.find('#DFMeasures').val(dataTable.getSelectedRow().data("model").measures);
|
|
|
|
|
//Open the dialog.
|
|
|
|
|
$editorDialog.modal();
|
2016-08-17 17:54:59 -07:00
|
|
|
}
|
|
|
|
|
});
|
2016-10-26 14:48:11 -07:00
|
|
|
|
|
|
|
|
//Handle the Create Button being clicked.
|
|
|
|
|
var createFunction = function(close) {
|
|
|
|
|
$editorForm.data('bs.validator').validate(function(isValid) {
|
|
|
|
|
if(isValid) {
|
|
|
|
|
try {
|
|
|
|
|
$.post("data/Item/create", {
|
|
|
|
|
name: $editorForm.find("#DFName").val(),
|
|
|
|
|
subcategoryId: parseInt($editorForm.find("#DFSubcategory").val()),
|
|
|
|
|
defaultPrice: $editorForm.find("#DFPrice").val(),
|
|
|
|
|
measures: JSON.stringify($editorForm.find("#DFMeasures").val())
|
|
|
|
|
}, function(data) {
|
|
|
|
|
if(data.result == "success") {
|
|
|
|
|
if(close) $editorDialog.modal("hide");
|
|
|
|
|
dataTable.refresh();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
alert(data.result);
|
|
|
|
|
}
|
|
|
|
|
}, "json");
|
|
|
|
|
} catch(e) {
|
|
|
|
|
alert(e);
|
2016-08-17 17:54:59 -07:00
|
|
|
}
|
2016-10-26 14:48:11 -07:00
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
$editorDialog.find('#DFCreatePlus').on('click', function(event) {
|
|
|
|
|
createFunction(false);
|
|
|
|
|
});
|
|
|
|
|
$editorDialog.find('#DFCreate').on('click', function(event) {
|
|
|
|
|
createFunction(true);
|
|
|
|
|
});
|
|
|
|
|
//Handle the Save Button being clicked.
|
|
|
|
|
$editorDialog.find('#DFSave').on('click', function(event) {
|
|
|
|
|
$editorForm.data('bs.validator').validate(function(isValid) {
|
|
|
|
|
if(isValid) {
|
|
|
|
|
try {
|
|
|
|
|
$.post("data/Item/edit", {
|
|
|
|
|
id: dataTable.getSelectedRow().data("model").id,
|
|
|
|
|
name: $editorForm.find("#DFName").val(),
|
|
|
|
|
subcategoryId: parseInt($editorForm.find("#DFSubcategory").val()),
|
|
|
|
|
defaultPrice: $editorForm.find("#DFPrice").val(),
|
|
|
|
|
measures: JSON.stringify($editorForm.find("#DFMeasures").val())
|
|
|
|
|
}, function(data) {
|
|
|
|
|
if(data.result == "success") {
|
|
|
|
|
$editorDialog.modal("hide");
|
|
|
|
|
dataTable.refresh();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
alert(data.result);
|
|
|
|
|
}
|
|
|
|
|
}, "json");
|
|
|
|
|
} catch(e) {
|
|
|
|
|
alert(e);
|
2016-08-17 17:54:59 -07:00
|
|
|
}
|
2016-10-26 14:48:11 -07:00
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
$editorDialog.find('#DFCancel').on('click', function(event) {
|
|
|
|
|
$editorDialog.modal('hide');
|
2016-08-17 17:54:59 -07:00
|
|
|
});
|
2016-10-26 14:48:11 -07:00
|
|
|
//Set the initial focus control.
|
|
|
|
|
$editorDialog.on('shown.bs.modal', function() {
|
|
|
|
|
$editorDialog.find('#DFName').focus();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//++++++++++++++++++++++++++++++++++++++
|
|
|
|
|
// ++++++++++ Delete Dialog +++++++++++
|
2016-08-17 17:54:59 -07:00
|
|
|
|
2016-10-26 14:48:11 -07:00
|
|
|
//Open the dialog.
|
|
|
|
|
$btnDelete.on("click", function(event) {
|
2016-08-17 17:54:59 -07:00
|
|
|
//debugger;
|
|
|
|
|
if(dataTable.getSelectedRow() != null) {
|
2016-10-26 14:48:11 -07:00
|
|
|
$deleteDialog.find("#deleteName").html(dataTable.getSelectedRow().data("model").name);
|
|
|
|
|
$deleteDialog.modal();
|
2016-08-17 17:54:59 -07:00
|
|
|
}
|
|
|
|
|
});
|
2016-10-26 14:48:11 -07:00
|
|
|
//Delete the element and close the dialog.
|
|
|
|
|
$deleteDialog.find('#deleteButton').on("click", function(event) {
|
2016-08-17 17:54:59 -07:00
|
|
|
if(dataTable.getSelectedRow() != null) {
|
2016-10-26 14:48:11 -07:00
|
|
|
$.post("data/Item/delete", {where: {id: dataTable.getSelectedRow().data("model").id}}, function(data) {
|
2016-08-17 17:54:59 -07:00
|
|
|
if(data.result == "success") {
|
2016-10-26 14:48:11 -07:00
|
|
|
$deleteDialog.modal("hide");
|
2016-08-17 17:54:59 -07:00
|
|
|
dataTable.refresh();
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
alert(data.result);
|
|
|
|
|
}
|
|
|
|
|
}, "json");
|
|
|
|
|
}
|
|
|
|
|
});
|
2016-10-26 14:48:11 -07:00
|
|
|
$deleteDialog.find('#DFCancelDelete').on('click', function(event) {
|
|
|
|
|
$deleteDialog.modal('hide');
|
2016-08-17 17:54:59 -07:00
|
|
|
});
|
2016-10-26 14:48:11 -07:00
|
|
|
//Set the initial focus control.
|
|
|
|
|
$editorDialog.on('shown.bs.modal', function() {
|
|
|
|
|
$deleteDialog.find('#DFCancelDelete').focus();
|
2016-08-17 17:54:59 -07:00
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|