Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
See what's new at GitLab
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
C
colt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nala Ginrut
colt
Commits
aab74324
Verified
Commit
aab74324
authored
Sep 19, 2019
by
Nala Ginrut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enlarge the editor size
parent
4d9e927d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
39 deletions
+49
-39
app/views/dashboard/edit.html.tpl
app/views/dashboard/edit.html.tpl
+2
-1
app/views/dashboard/new_post.html.tpl
app/views/dashboard/new_post.html.tpl
+39
-38
pub/css/blog.css
pub/css/blog.css
+1
-0
pub/css/editor.css
pub/css/editor.css
+7
-0
No files found.
app/views/dashboard/edit.html.tpl
View file @
aab74324
...
...
@@ -8,6 +8,7 @@
<
@
css
katex.min.css
%
>
<
@
css
articles_edit.css
%
>
<
@
css
custom-blue-theme.css
%
>
<
@
css
editor.css
%
>
<
@
js
quill.min.js
%
>
<
@
js
katex.min.js
%
>
<
@
js
editor.js
%
>
...
...
@@ -19,7 +20,7 @@
<
%=
post-content
%
>
</div>
<div
id=
"edit-content"
class=
"container"
>
<div
id=
"edit-content"
class=
"container
edit-content-view
"
>
<div
class=
"msg-layer-none"
id=
"msg-layer"
></div>
<div
class=
"row"
>
...
...
app/views/dashboard/new_post.html.tpl
View file @
aab74324
...
...
@@ -6,6 +6,7 @@
<
@
css
quill.snow.css
%
>
<
@
css
quill.bubble.css
%
>
<
@
css
katex.min.css
%
>
<
@
css
editor.css
%
>
<
@
js
quill.min.js
%
>
<
@
js
katex.min.js
%
>
<
@
js
editor.js
%
>
...
...
@@ -48,55 +49,55 @@
</div>
</div>
<div
id=
"standalone-container"
>
<div
id=
"toolbar-container"
>
<span
class=
"ql-formats"
>
<select
class=
"ql-font"
>
<option
selected
>
Open Sans
</option>
<div
id=
"toolbar-container"
>
<span
class=
"ql-formats"
>
<select
class=
"ql-font"
>
<option
selected
>
Open Sans
</option>
</select>
<select
class=
"ql-size"
></select>
<select
class=
"ql-size"
></select>
</span>
<span
class=
"ql-formats"
>
<button
class=
"ql-bold"
></button>
<button
class=
"ql-italic"
></button>
<button
class=
"ql-underline"
></button>
<button
class=
"ql-strike"
></button>
<span
class=
"ql-formats"
>
<button
class=
"ql-bold"
></button>
<button
class=
"ql-italic"
></button>
<button
class=
"ql-underline"
></button>
<button
class=
"ql-strike"
></button>
</span>
<span
class=
"ql-formats"
>
<select
class=
"ql-color"
></select>
<select
class=
"ql-background"
></select>
<span
class=
"ql-formats"
>
<select
class=
"ql-color"
></select>
<select
class=
"ql-background"
></select>
</span>
<span
class=
"ql-formats"
>
<button
class=
"ql-script"
value=
"sub"
></button>
<button
class=
"ql-script"
value=
"super"
></button>
<span
class=
"ql-formats"
>
<button
class=
"ql-script"
value=
"sub"
></button>
<button
class=
"ql-script"
value=
"super"
></button>
</span>
<span
class=
"ql-formats"
>
<button
class=
"ql-header"
value=
"1"
></button>
<button
class=
"ql-header"
value=
"2"
></button>
<button
class=
"ql-blockquote"
></button>
<button
class=
"ql-code-block"
></button>
<span
class=
"ql-formats"
>
<button
class=
"ql-header"
value=
"1"
></button>
<button
class=
"ql-header"
value=
"2"
></button>
<button
class=
"ql-blockquote"
></button>
<button
class=
"ql-code-block"
></button>
</span>
<span
class=
"ql-formats"
>
<button
class=
"ql-list"
value=
"ordered"
></button>
<button
class=
"ql-list"
value=
"bullet"
></button>
<button
class=
"ql-indent"
value=
"-1"
></button>
<button
class=
"ql-indent"
value=
"+1"
></button>
<span
class=
"ql-formats"
>
<button
class=
"ql-list"
value=
"ordered"
></button>
<button
class=
"ql-list"
value=
"bullet"
></button>
<button
class=
"ql-indent"
value=
"-1"
></button>
<button
class=
"ql-indent"
value=
"+1"
></button>
</span>
<span
class=
"ql-formats"
>
<button
class=
"ql-direction"
value=
"rtl"
></button>
<select
class=
"ql-align"
></select>
<span
class=
"ql-formats"
>
<button
class=
"ql-direction"
value=
"rtl"
></button>
<select
class=
"ql-align"
></select>
</span>
<span
class=
"ql-formats"
>
<button
class=
"ql-link"
></button>
<button
class=
"ql-image"
></button>
<button
class=
"ql-video"
></button>
<button
class=
"ql-formula"
></button>
<span
class=
"ql-formats"
>
<button
class=
"ql-link"
></button>
<button
class=
"ql-image"
></button>
<button
class=
"ql-video"
></button>
<button
class=
"ql-formula"
></button>
</span>
<span
class=
"ql-formats"
>
<button
class=
"ql-clean"
></button>
<span
class=
"ql-formats"
>
<button
class=
"ql-clean"
></button>
</span>
</div>
<div
id=
"editor-container"
></div>
</div>
<div
id=
"editor-container"
></div>
</div>
<button
class=
"btn blue darken-2 article-buttons"
onclick=
"submit_post()"
id=
"submit-button"
>
Submit
</button>
</div>
</body>
...
...
pub/css/blog.css
View file @
aab74324
...
...
@@ -101,6 +101,7 @@
*/
.main-content
{
margin-top
:
50px
;
width
:
93%
;
}
h2
,
h3
{
...
...
pub/css/editor.css
0 → 100644
View file @
aab74324
.ql-editor
{
font-size
:
26px
;
}
.edit-content-view
{
width
:
93%
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment