Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,8 @@ button{
z-index: 9999999;
grid-row-gap: 5px;
background-color: whitesmoke;
}

#github-icon{
text-align: center;
}
3 changes: 3 additions & 0 deletions views/editor.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ extends layout
block content
.editors
.html
span HTML
pre#html_editor
.css
span CSS
pre#css_editor
.js
span JS
pre#js_editor


4 changes: 3 additions & 1 deletion views/editor2.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ extends layout2
block content
.editors
.html
span HTML
span HTML
pre#html_editor #{data.doc.html}
.css
span CSS
pre#css_editor #{data.doc.css}
.js
span JS
pre#js_editor #{data.doc.js}
- var s = '/out/'+ data.doc._id
iframe(id ='frame' src=s)
2 changes: 1 addition & 1 deletion views/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ html
button.reset_view.btn.btn-outline-info.btn-sm Reset view
button.post_details.btn.btn-outline-danger.btn-sm Post details
a.btn.btn-outline-primary.btn-sm(href='/tutorial') Create a tutorial
a(href='https://github.com/arunkumar413/Code-Ground' target="_blank" )
a#github-icon(href='https://github.com/arunkumar413/Code-Ground' target="_blank" )
i.fab.fa-github.fa-2x
i.fas.fa-sun.btn.btn-link
i.fas.fa-moon.btn.btn-link
Expand Down
2 changes: 1 addition & 1 deletion views/layout2.pug
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ html
a.btn.btn-outline-primary.btn-sm(href='/tutorial') Create a tutorial
-var h = '/out/' + data.doc._id;
a.btn.btn-outline-primary.btn-sm(href=h target='_blank') Output in new tab
a(href='https://github.com/arunkumar413/Code-Ground' target="_blank")
a#github-icon(href='https://github.com/arunkumar413/Code-Ground' target="_blank")
i.fab.fa-github.fa-2x
i.fas.fa-sun.btn.btn-link
i.fas.fa-moon.btn.btn-link
Expand Down