Besciamello (#1)

* Fixed login & auth
* Added dynamic breadcrumb
* Added DOC
* Added Patient
* Added Notifications
* Added Messages
* Refactoring api
* Re-writed menu
* Removed unused things
* Created README
This commit was merged in pull request #1.
This commit is contained in:
Giacomo Bertolazzi 20015159
2019-01-15 21:35:00 +01:00
committed by GitHub
parent 191daf8218
commit 1246116804
36 changed files with 1154 additions and 535 deletions

View File

@@ -8,19 +8,11 @@
<script>
$(document).ready(function () {
var baseUrl = "@Url.Content("~/api/user/")";
$("#grid").kendoGrid({
dataSource: {
transport: {
read: { url: baseUrl, type: "GET" }
/*
parameterMap: function (model, operation) {
if (operation !== "read" && model) {
return kendo.stringify(model);
}
}
*/
},
serverPaging: false,
serverSorting: false,
@@ -30,7 +22,8 @@
id: "username",
fields: {
username: { type: "string" },
name: { type: "string" }
name: { type: "string" },
lastName: { type: "string" }
}
}
}
@@ -40,9 +33,10 @@
filterable: true,
editable: false,
columns: [
{ field: "username", title: "Username" },
{ field: "name", title: "Name" },
{ field: "url", title: "",template:'<a href=/user/#=username#>Vedi Dati</a>'}/*,
{ field: "lastName", title: "Lastname" },
{ field: "url", title: "", template: '<a href=/user/#=username#>Vedi Dati</a>' }
/*,
{ field: "time", title: "Date/Time", format: "{dd/MM/yyyy HH}" },
{ field: "value", title: "Heartbeats" }
*/