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
|
@model mvc_depences.Models.Profil
@{
Layout = "~/Views/Shared/admin.cshtml";
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Create</title>
</head>
<body>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4 style="margin-right:100px"> Create Profil</h4>
<hr />
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
<div class="form-group">
@Html.LabelFor(model => model.libelleP, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-smd-10">
@Html.EditorFor(model => model.libelleP, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.libelleP, "", new { @class = "text-danger" })
</div>
</div>
<div style="margin-left:200px"><h4> Roles :</h4></div>
<ul class="fieldlist" style="margin-right:200px">
<li>
@Html.Kendo().CheckBox().Name("eq1").Checked(true).Label("Gestion Des Utilisateurs")
</li>
<li>
@Html.Kendo().CheckBox().Name("eq1").Label("Gestion Des Profils")
</li>
<li>
@Html.Kendo().CheckBox().Name("eq2").Label("Gestion des Projets")
</li>
<li>
@Html.Kendo().CheckBox().Name("eq3").Label("Gestion Des Dépenses")
</li>
<li>
@Html.Kendo().CheckBox().Name("eeeeq4").Label("Gestion Des Recettes")
</li>
<li>
@Html.Kendo().CheckBox().Name("eq4").Label("Gestion De La Caisse")
</li>
</ul>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="Créer" class="btn btn-default" />
</div>
</div>
<style>
.fieldlist {
margin-left: 200px;
padding: 0;
}
.fieldlist li {
color: #343434;
list-style: none;
padding-bottom: 2em;
margin-top: auto;
}
</style>
}
</body>
</html> |
Partager