فهرست منبع

NEW ActionsEdu: responsive design pour l'index et le detail

olivier.massot 7 سال پیش
والد
کامیت
f6f0e421e0
2فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 8 8
      CD67.FicheCollege.MVC/Views/ActionsEdu/Details.cshtml
  2. 1 1
      CD67.FicheCollege.MVC/Views/ActionsEdu/Index.cshtml

+ 8 - 8
CD67.FicheCollege.MVC/Views/ActionsEdu/Details.cshtml

@@ -28,7 +28,7 @@
         Descriptif
         @if (Model.Acces == ModeAcces.Lecture)
         {
-            <span class="pull-right">
+            <span class="mask-ss pull-right">
                 @Html.ActionLink("Modifier", "Edit", "ActionsEdu", new { Id = actionEdu.Id }, new { @class = "btn btn-primary" })
                 @Html.ActionLink("Supprimer", "Delete", "ActionsEdu", new { Id = actionEdu.Id }, new { @class = "btn btn-default" })
             </span>
@@ -72,18 +72,18 @@
 
 <legend>
     Acteurs
-    <span class="pull-right">
+    <span class="mask-ss pull-right">
         <a class="btn btn-primary" href="@Url.Action("Create", "ActionsEduActeurs", new { actionEdu_id = actionEdu.Id })">
             <i class="fa fa-plus"></i> Ajouter un Acteur
         </a>
     </span>
 </legend>
 
-<table class="table table-hover">
+<table class="table simple-datatable">
     <thead>
         <tr>
-            <th>Acteur</th>
-            <th>Rôle</th>
+            <th data-priority="1">Acteur</th>
+            <th data-priority="2">Rôle</th>
             <th>Commentaire</th>
             <th width="1px"></th> @*'width=1px' >> force the minimum width*@ 
             <th width="1px"></th>
@@ -115,7 +115,7 @@
 
 <legend>
     Collège(s) concerné(s)
-    <span class="pull-right">
+    <span class="mask-ss pull-right">
         <a class="btn btn-primary" href="@Url.Action("Create", "ActionsEduCollege", new { actionEdu_id = actionEdu.Id })">
             <i class="fa fa-plus"></i> Ajouter un Collège
         </a>
@@ -125,9 +125,9 @@
 <table class="table datatable">
     <thead>
         <tr>
-            <th>Collège</th>
+            <th data-priority="1">Collège</th>
             <th>Commune</th>
-            <th>Elèves concernés</th>
+            <th data-priority="2">Elèves concernés</th>
             <th>Commentaire</th>
             <th width="1px"></th> @*'width=1px' >> force the minimum width*@ 
             <th width="1px"></th>

+ 1 - 1
CD67.FicheCollege.MVC/Views/ActionsEdu/Index.cshtml

@@ -11,7 +11,7 @@
 
 <header>
     <h2>Les Actions</h2>
-    <span>
+    <span class="mask-ss">
         <a href="@Url.Action("Create", new { annee_id = Model.Obj.Id })"> <span class="glyphicon glyphicon-plus-sign color1"></span> Nouvelle Action</a>
         <a href="@Url.Action("Import", new { annee_id = Model.Obj.Id })"> <span class="glyphicon glyphicon-import color1"></span> Importer depuis @Model.Obj.AnneePrecLib</a>
         <a class="start-trace" href="@Url.Action("Index", "ActionEduAxes")"> <span class="glyphicon glyphicon-cog color1"></span> Axes</a>