Browse Source

Ajout du lien de retour en arrière sur le layout d'admin

olivier.massot 7 years ago
parent
commit
6cf3e56e1c

+ 10 - 0
CD67.FicheCollege.MVC/Content/cd67-custom.less

@@ -183,4 +183,14 @@ header nav{
     border:none;
     background:none;
     color:white;
+}
+
+#yearpicker {
+    color: #337ab7;
+    border: 1px solid lightgrey;
+}
+
+#goback {
+    color:#337ab7;
+    font-size: 18px;
 }

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

@@ -13,8 +13,8 @@
     <h2>Les Actions</h2>
     <span>
         <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("Index", "ActionEduAxes")" target="_blank"> <span class="glyphicon glyphicon-cog color1"></span> Axes</a>
-        <a href="@Url.Action("Index", "ActionEduThematiques")" target="_blank"> <span class="glyphicon glyphicon-cog color1"></span> Thématiques</a>
+        <a href="@Url.Action("Index", "ActionEduAxes")"> <span class="glyphicon glyphicon-cog color1"></span> Axes</a>
+        <a href="@Url.Action("Index", "ActionEduThematiques")"> <span class="glyphicon glyphicon-cog color1"></span> Thématiques</a>
     </span>
 </header>
 

+ 2 - 2
CD67.FicheCollege.MVC/Views/Colleges/Index.cshtml

@@ -11,8 +11,8 @@
     <h2>Les collèges @Model.Annee_Lib</h2>
     <span>
         <a href="@Url.Action("Create", new { annee_id = Model.Obj.Id })"> <span class="glyphicon glyphicon-plus-sign color1"></span> Nouveau collège</a>
-        <a href="@Url.Action("Index", "TypeCollege")" target="_blank"> <span class="glyphicon glyphicon-cog color1"></span> Types de collège</a>
-        <a href="@Url.Action("Index", "Territoire")" target="_blank"> <span class="glyphicon glyphicon-cog color1"></span> Territoires</a>
+        <a href="@Url.Action("Index", "TypeCollege")"> <span class="glyphicon glyphicon-cog color1"></span> Types de collège</a>
+        <a href="@Url.Action("Index", "Territoire")"> <span class="glyphicon glyphicon-cog color1"></span> Territoires</a>
     </span>
 </header>
 

+ 2 - 0
CD67.FicheCollege.MVC/Views/Shared/_AdminLayout.cshtml

@@ -47,9 +47,11 @@
         <nav class="navbar-fixed-top navbar-default no-margin">
             <div id="topbar" class="navbar navbar-inner">
 
+                
                 @* Titre et année en cours *@
                 <span id="titre" class="nav navbar">
                     <h1 id="app-title" style="color:rgb(150,150,150)">Fiches collège: Administration</h1>
+                    <a id="goback" href="@Request.UrlReferrer.ToString()">Retour</a>
                 </span>
                 
                 <ul class="nav navbar-nav navbar-right">