懒得勤快 4 vuotta sitten
vanhempi
sitoutus
ab2db62fb0
1 muutettua tiedostoa jossa 22 lisäystä ja 22 poistoa
  1. 22 22
      src/Masuit.MyBlogs.Core/Views/Post/Details_Admin.cshtml

+ 22 - 22
src/Masuit.MyBlogs.Core/Views/Post/Details_Admin.cshtml

@@ -93,34 +93,34 @@
                                             <a asp-controller="Seminar" asp-action="Index" asp-route-id="@s.Id" class="label label-info">@s.Title</a><text> </text>
                                         }
                                     }
-                                    <div class="pull-right">
-                                        <div class="btn-group">
-                                            <a asp-controller="Post" asp-action="Refresh" asp-route-id="@Model.Id" class="btn btn-info">刷新</a>
-                                            @if (Model.IsFixedTop)
-                                            {
-                                                <button class="btn btn-success" id="pin">取消置顶</button>
-                                            }
-                                            else
-                                            {
-                                                <button class="btn btn-success" id="pin">置顶</button>
-                                            }
-                                            @if (Model.Status == Status.Pending)
-                                            {
-                                                <button class="btn btn-primary" id="pass">通过</button>
-                                            }
-                                            <a asp-controller="Dashboard" asp-action="Index" asp-fragment="/post/[email protected]" class="btn btn-primary" target="_blank">修改</a>
-                                            <a asp-controller="Dashboard" asp-action="Index" asp-fragment="/[email protected]" class="btn btn-info" target="_blank">复制</a>
-                                            <button class="btn btn-danger" id="del">删除</button>
-                                            <a asp-controller="Post" asp-action="PostVisitRecordInsight" asp-route-id="@Model.Id" class="btn btn-primary" target="_blank">洞察</a>
-                                        </div>
-                                    </div>
                                 </div>
                                 @if (Model.LimitMode > 0)
                                 {
-                                    <div class="col-md-12 text-red">
+                                    <div class="col-md-6 col-sm-12 text-red margin-top10">
                                         本文 @string.Format(Model.LimitMode.GetDescription(), Model.Regions, Model.ExceptRegions)
                                     </div>
                                 }
+                                <div class="col-md-6 col-sm-12 pull-right">
+                                    <div class="btn-group pull-right">
+                                        <a asp-controller="Post" asp-action="Refresh" asp-route-id="@Model.Id" class="btn btn-info">刷新</a>
+                                        @if (Model.IsFixedTop)
+                                        {
+                                            <button class="btn btn-success" id="pin">取消置顶</button>
+                                        }
+                                        else
+                                        {
+                                            <button class="btn btn-success" id="pin">置顶</button>
+                                        }
+                                        @if (Model.Status == Status.Pending)
+                                        {
+                                            <button class="btn btn-primary" id="pass">通过</button>
+                                        }
+                                        <a asp-controller="Dashboard" asp-action="Index" asp-fragment="/post/[email protected]" class="btn btn-primary" target="_blank">修改</a>
+                                        <a asp-controller="Dashboard" asp-action="Index" asp-fragment="/[email protected]" class="btn btn-info" target="_blank">复制</a>
+                                        <button class="btn btn-danger" id="del">删除</button>
+                                        <a asp-controller="Post" asp-action="PostVisitRecordInsight" asp-route-id="@Model.Id" class="btn btn-primary" target="_blank">洞察</a>
+                                    </div>
+                                </div>
                             </div>
                         </header>
                         <article class="article" id="article">