Skip to content

Commit c769d3f

Browse files
committed
Changes to post and page editor pages, cleanup
1 parent 4fef129 commit c769d3f

18 files changed

Lines changed: 243 additions & 471 deletions

File tree

BlogEngine/BlogEngine.NET/BlogEngine.NET.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@
179179
<Content Include="admin\editors\tinymce\plugins\fullpage\plugin.min.js" />
180180
<Content Include="admin\editors\tinymce\plugins\fullscreen\plugin.min.js" />
181181
<Content Include="admin\editors\tinymce\plugins\hr\plugin.min.js" />
182+
<Content Include="admin\editors\tinymce\plugins\image4be\filemgr.png" />
182183
<Content Include="admin\editors\tinymce\plugins\image4be\plugin.min.js" />
183184
<Content Include="admin\editors\tinymce\plugins\imagetools\plugin.min.js" />
184185
<Content Include="admin\editors\tinymce\plugins\image\plugin.min.js" />
@@ -230,13 +231,10 @@
230231
<Content Include="admin\editor\page.cshtml" />
231232
<Content Include="admin\editor\post.cshtml" />
232233
<Content Include="admin\editor\_nav.cshtml" />
233-
<Content Include="admin\editor\_pagemodals.cshtml" />
234-
<Content Include="admin\editor\_postmodals.cshtml" />
235234
<Content Include="admin\Extensions\admin.master" />
236235
<Content Include="admin\index.cshtml" />
237236
<Content Include="admin\star-rating.css" />
238237
<Content Include="admin\views\content\blogs.html" />
239-
<Content Include="admin\views\content\files.html" />
240238
<Content Include="admin\views\about\index.html" />
241239
<Content Include="admin\views\gallery\index.html" />
242240
<Content Include="admin\views\settings\controls.html" />
@@ -249,11 +247,8 @@
249247
<Content Include="admin\views\shared\_editnote.html" />
250248
<Content Include="admin\views\shared\_addnote.html" />
251249
<Content Include="admin\views\shared\_review.html" />
252-
<Content Include="admin\views\shared\_filestable.html" />
253250
<Content Include="admin\views\help\index.html" />
254251
<Content Include="admin\Web.Config" />
255-
<Content Include="admin\editor\_filemgr.cshtml" />
256-
<Content Include="admin\editor\_uploadbtns.cshtml" />
257252
<Content Include="admin\editors\bootstrap-wysiwyg\editor.cshtml" />
258253
<Content Include="admin\editors\summernote\editor.cshtml" />
259254
<Content Include="admin\editors\tinymce\editor.cshtml" />

BlogEngine/BlogEngine.NET/Content/editor.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#voiceBtn { width: 12px; color: transparent; background-color: transparent; transform: scale(2.0, 2.0); -webkit-transform: scale(2.0, 2.0); -moz-transform: scale(2.0, 2.0); border: transparent; cursor: pointer; box-shadow: none; -webkit-box-shadow: none; margin: 3px 10px; }
1616
.overlay-editor { position: absolute; top: 0; left: 0; width: 100%; height: 100% !important; max-height: 100% !important; z-index: 1000; background-color: #fff; overflow: auto; padding: 3%; }
1717
.full-editor { height: 70% !important; max-height: 70% !important; z-index: 990; }
18-
.categories-list { height: 231px; overflow-y: hidden; opacity: 0.5; }
18+
.categories-list { height: 131px; overflow-y: hidden; opacity: 0.5; }
1919
.categories-list:hover { overflow-y: auto; opacity: 1; }
2020
.categories-list li { height: 30px; padding: 0; cursor: pointer; }
2121
.categories-list li:hover { background-color: #EEE; cursor: pointer; }
@@ -50,4 +50,5 @@ div[data-role="editor-toolbar"] { -webkit-user-select: none; -moz-user-select: n
5050
.editor-toolbar.btn-toolbar > .btn-group { float: none; }
5151
.uploadfiles-btn .last-border { -webkit-border-top-right-radius: 4px !important; -webkit-border-bottom-right-radius: 4px !important; -moz-border-radius-topright: 4px !important; -moz-border-radius-bottomright: 4px !important; border-top-right-radius: 4px !important; border-bottom-right-radius: 4px !important; }
5252
.uploadfiles-btn input { cursor: pointer; }
53-
.uploadfiles-btn .btn-group {max-width:30px; overflow:hidden;}
53+
.uploadfiles-btn .btn-group {max-width:30px; overflow:hidden;}
54+
.input-page-title {font-size: 16px; height: 30px; line-height: 30px; margin: 0; text-transform: uppercase; border: 0; font-weight: 500; font-family: "Helvetica";}

BlogEngine/BlogEngine.NET/admin/controllers/files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
.success(function (data) {
1515
angular.copy(data, $scope.items);
1616
gridInit($scope, $filter);
17-
$scope.currentPath = path;
17+
$scope.currentPath = path ? path : editVars.storageLocation + "files/";
1818
rowSpinOff($scope.items);
1919
})
2020
.error(function (data) {

BlogEngine/BlogEngine.NET/admin/editor/_filemgr.cshtml

Lines changed: 0 additions & 26 deletions
This file was deleted.

BlogEngine/BlogEngine.NET/admin/editor/_pagemodals.cshtml

Lines changed: 0 additions & 96 deletions
This file was deleted.

BlogEngine/BlogEngine.NET/admin/editor/_postmodals.cshtml

Lines changed: 0 additions & 75 deletions
This file was deleted.

BlogEngine/BlogEngine.NET/admin/editor/_uploadbtns.cshtml

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)