init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,69 @@
|
|||
@using Kreta.BusinessLogic.HelperClasses
|
||||
@using Kreta.Web.Areas.Orarend.Models
|
||||
@model Kreta.Web.Areas.Orarend.Models.AdminKozpontiOrakOrarendiOraPartialViewListModel
|
||||
|
||||
<style type="text/css">
|
||||
.k-edit-form-container {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.k-icon.k-edit {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.k-grid-toolbar .k-button-icontext .k-icon, .k-grid-content .k-button-icontext .k-icon, .k-edit-form-container .k-edit-buttons .k-button-icontext .k-icon {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.k-content .k-grid tbody tr td a, .k-content .k-grid tbody tr .gridcell a {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.k-edit-form-container .k-button {
|
||||
background-color: #fff;
|
||||
color: #5c6a79;
|
||||
border: 1px solid #c5d3e2;
|
||||
}
|
||||
|
||||
.k-edit-form-container .k-button:hover {
|
||||
background-color: #e5e9ec;
|
||||
}
|
||||
|
||||
.defaultComboboxWidth {
|
||||
width: 25%;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<form id="@(Model.GridName+"hiddenForm")">
|
||||
@Html.HiddenFor(x => x.JsonContent)
|
||||
</form>
|
||||
|
||||
@(
|
||||
Html.KretaGrid<AdminKozpontiOrakOsztalyokGridModel>
|
||||
(
|
||||
name: Model.GridName,
|
||||
getUrl: Model.GridApiUrl,
|
||||
allowPaging: false,
|
||||
batchEdit: true,
|
||||
pageSizes: null,
|
||||
allowSorting: false,
|
||||
showSorszam: false,
|
||||
postRead: true,
|
||||
dataBoundAdditionalFunction: Model.DataBoundAdditionalFunction
|
||||
)
|
||||
.SelectBoxColumn(Html, 0, Model.RowCheckBoxCheckedByDefault)
|
||||
.Columns(columns =>
|
||||
{
|
||||
columns.Bound(c => c.Osztaly).Width("25%");
|
||||
columns.Bound(c => c.Tanar).Width("25%");
|
||||
columns.Bound(c => c.Tantargy).Width("25%");
|
||||
columns.Bound(c => c.Terem).Width("25%");
|
||||
}).AutoBind(false)
|
||||
)
|
||||
<script type="text/javascript">KretaGridHelper.refreshGridSearchPanel('@Model.GridName','@(Model.GridName+"hiddenForm")');</script>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue