mirror of
https://github.com/hanzoai/jube-fork.git
synced 2026-11-02 09:25:40 +00:00
128 lines
4.7 KiB
HTML
Executable File
128 lines
4.7 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Images</title>
|
|
<meta charset="utf-8">
|
|
<link href="../content/shared/styles/examples-offline.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.common.min.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.rtl.min.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.default.min.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.default.mobile.min.css" rel="stylesheet">
|
|
<script src="../../js/jquery.min.js"></script>
|
|
<script src="../../js/jszip.min.js"></script>
|
|
<script src="../../js/kendo.all.min.js"></script>
|
|
<script src="../content/shared/js/console.js"></script>
|
|
<script>
|
|
|
|
</script>
|
|
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<a class="offline-button" href="../index.html">Back</a>
|
|
|
|
|
|
<div id="example">
|
|
<div id="spreadsheet" style="width: 100%;"></div>
|
|
|
|
<script>
|
|
var spread = $("#spreadsheet").kendoSpreadsheet({
|
|
images: {
|
|
testImage: "../content/web/spreadsheet/sample-image.png"
|
|
},
|
|
sheets: [
|
|
{
|
|
name: "Food Order",
|
|
drawings: [{
|
|
topLeftCell: "E3",
|
|
offsetX: 30,
|
|
offsetY: 10,
|
|
width: 450,
|
|
height: 330,
|
|
image: "testImage"
|
|
}],
|
|
rows: [
|
|
{
|
|
cells: [
|
|
{
|
|
value: "ID", background: "rgb(167,214,255)", textAlign: "center", color: "rgb(0,62,117)"
|
|
},
|
|
{
|
|
value: "Product", background: "rgb(167,214,255)", textAlign: "center", color: "rgb(0,62,117)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
cells: [
|
|
{
|
|
value: 216321, textAlign: "center", background: "rgb(229,243,255)", color: "rgb(0,62,117)"
|
|
},
|
|
{
|
|
value: "Calzone", background: "rgb(229,243,255)", color: "rgb(0,62,117)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
cells: [
|
|
{
|
|
value: 546897, textAlign: "center", background: "rgb(229,243,255)", color: "rgb(0,62,117)"
|
|
},
|
|
{
|
|
value: "Margarita", background: "rgb(229,243,255)", color: "rgb(0,62,117)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
cells: [
|
|
{
|
|
value: 456231, textAlign: "center", background: "rgb(229,243,255)", color: "rgb(0,62,117)"
|
|
},
|
|
{
|
|
value: "Pollo Formaggio", background: "rgb(229,243,255)", color: "rgb(0,62,117)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
cells: [
|
|
{
|
|
value: 455873, textAlign: "center", background: "rgb(229,243,255)", color: "rgb(0,62,117)"
|
|
},
|
|
{
|
|
value: "Greek Salad", background: "rgb(229,243,255)", color: "rgb(0,62,117)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
cells: [
|
|
{
|
|
value: 456892, textAlign: "center", background: "rgb(229,243,255)", color: "rgb(0,62,117)"
|
|
},
|
|
{
|
|
value: "Spinach and Blue Cheese", background: "rgb(229,243,255)", color: "rgb(0,62,117)"
|
|
}
|
|
]
|
|
}
|
|
|
|
],
|
|
columns: [
|
|
{
|
|
width: 100
|
|
},
|
|
{
|
|
width: 100
|
|
}
|
|
]
|
|
}
|
|
]
|
|
|
|
}).data('kendoSpreadsheet');
|
|
</script>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|