Skip to content

Commit 4671cad

Browse files
committed
various
1 parent 68cc3cd commit 4671cad

22 files changed

Lines changed: 838 additions & 189 deletions

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ This is only the **FRONTEND**. There is also a backend component which is not op
1313
If you simply `git clone` this and open `index.html`, **it will not work**. With some simple modifications, though, such as replacing the API keys with your own, you should be able to get it functional. This is mainly intended as a teaching tool.
1414

1515
### The Good Parts
16-
If you want to see the places where all of the __magic__ happens, take a look at `js/drive.js`, `js/sky.js`, and `js/tabs.js`. Enjoy!
16+
If you want to see the places where all of the _magic_ happens, take a look at `js/drive.js`, `js/sky.js`, and `js/tabs.js`. Enjoy!
1717

1818
### Recent Updates
19+
+ Added ability to copy snippets to clipboard
20+
+ Added a snippet manager (located in siderbar) which replaces the Javascript REPL
1921
+ Updated to [CodeMirror](http://codemirror.net/) version 5.9 ([release notes](http://codemirror.net/doc/releases.html))
2022
+ Now supports [OneDrive](https://onedrive.live.com/)
2123
+ Persistant preferences via backend
@@ -28,11 +30,18 @@ If you want to see the places where all of the __magic__ happens, take a look at
2830
+ Context menu in sidebar
2931
+ Minimize and beautify
3032
+ ~~Warning when closing without saving changes~~ **DONE!**
31-
+ Snippets (coming soon)
33+
+ ~~Snippets (coming soon)~~ **DONE**
34+
+ Fix running Javascript + Coffeescript
35+
+ Import and export snippets (WIP)
36+
+ Store open tabs and reload on open (WIP)
37+
+ Custom-made color picker (WIP)
38+
+ Chat and collaboration using our backend, so that Onedrive users can chat and collaborate as well
39+
+ Better publishing
3240

3341
=====
3442

3543
### Features
44+
+ Snippet manager
3645
+ Syntax highlighting
3746
+ Collaboration
3847
+ Built-in color picker

about/images/briefcase.svg

Lines changed: 6 additions & 0 deletions
Loading

about/images/cloud-check.svg

Lines changed: 7 additions & 0 deletions
Loading

about/images/eye.svg

Lines changed: 6 additions & 0 deletions
Loading

about/images/thumbs-up.svg

Lines changed: 6 additions & 0 deletions
Loading

about/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,37 +88,37 @@ <h4 id="quote">A free, open-source code editor for Google Drive and oneDrive</h4
8888
<div class="section group">
8989
<div class="col span_1_of_4 text-center">
9090

91-
<img class="icon" src="images/eye-black.png">
91+
<img class="icon" src="images/eye.svg" width="64">
9292

9393
<h6 class="med black">Preview Your Work</h6>
94-
<h6 class="small gray">Preview and publish HTML, Markdown, and LaTex files and run Javascript and Coffeescript files.</h6>
94+
<h6 class="small gray">Preview and publish HTML, Markdown, and LaTex files and run Javascript and Coffeescript files</h6>
9595

9696
</div>
9797

9898
<div class="col span_1_of_4 text-center">
9999

100-
<img class="icon" src="images/code-black.png">
100+
<img class="icon" src="images/briefcase.svg" width="64">
101101

102-
<h6 class="med black">Your Files Are Everywhere</h6>
103-
<h6 class="small gray">With Google Drive and Code Your Cloud, you can edit your code on any computer or mobile device.</h6>
102+
<h6 class="med black">Stay Organized</h6>
103+
<h6 class="small gray">Use the built-in snippet manager to keep handy code nearby</h6>
104104

105105
</div>
106106

107107
<div class="col span_1_of_4 text-center">
108108

109-
<img class="icon" src="images/cloud-black.png">
109+
<img class="icon" src="images/cloud-check.svg" width="64">
110110

111111
<h6 class="med black">Google Drive</h6>
112-
<h6 class="small gray">Your files are secure and accessible. It's just like Google Docs, just for your code.</h6>
112+
<h6 class="small gray">Your files are secure and accessible. It's just like Google Docs, just for your code</h6>
113113

114114
</div>
115115

116116
<div class="col span_1_of_4 text-center">
117117

118-
<img class="icon" src="images/thumb-black.png">
118+
<img class="icon" src="images/thumbs-up.svg" width="64">
119119

120120
<h6 class="med black">Be Social</h6>
121-
<h6 class="small gray">Collaborate, chat, share, and edit with your friends and colleagues in real time.</h6>
121+
<h6 class="small gray">Collaborate, chat, share, and edit with your friends and colleagues in real time</h6>
122122

123123
</div>
124124
</div>
@@ -171,7 +171,7 @@ <h6 id="logos">
171171

172172
<h6 class="btn-h6">
173173

174-
<a href="https://github.com/mkaminsky11/codeyourcloud" class="waves-effect waves-light paper-btn" style="background-color:white;color:black;text-decoration: none;font-size:16px;">SEE MORE</a>
174+
<a href="https://github.com/mkaminsky11/codeyourcloud" class="waves-effect waves-light paper-btn" style="background-color:#E2E2E2;color:black;text-decoration: none;font-size:16px;">SEE ALL SUPPORTED LANGUAGES</a>
175175

176176
</h6>
177177

css/style.css

Lines changed: 83 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -264,24 +264,93 @@ body, html{
264264
margin-left: 0px;
265265
z-index: 2;
266266
}
267-
268-
269267
.snippet-main{
270268
padding-left: 5px;
271-
padding-right: 5px;
272-
width: calc(100% - 10px);
273-
height: calc(100% - 33px);
274-
overflow-y: auto;
275-
position: absolute;
276-
bottom: 0;
277-
left: 0;
269+
padding-right: 5px;
270+
width: calc(100% - 10px);
271+
height: calc(100% - 33px);
272+
overflow-y: auto;
273+
position: absolute;
274+
bottom: 0;
275+
left: 0;
278276
}
279-
280277
.snippet-item{
281278
position: relative;
282-
width: 100%;
283-
height: 200px;
284-
margin-bottom: 5px;
279+
margin-bottom: 10px;
280+
}
281+
.snippet-title{
282+
width: calc(100% - 10px);
283+
padding: 5px;
284+
position: relative;
285+
background-color: #131313;
286+
border-top-left-radius: 2px;
287+
border-top-right-radius: 2px;
288+
border-bottom: solid 2px #131313;
289+
color: white;
290+
display: flex;
291+
display: -webkit-flex;
292+
display: -moz-flex;
293+
display: -ms-flexbox;
294+
}
295+
.snippet-edit{
296+
width: calc(100% - 10px);
297+
padding: 5px;
298+
position: relative;
299+
background-color: #2F2E2E;
300+
border-top-left-radius: 2px;
301+
border-top-right-radius: 2px;
302+
border-bottom: solid 2px #131313;
303+
color: white;
304+
display: flex;
305+
display: -webkit-flex;
306+
display: -moz-flex;
307+
display: -ms-flexbox;
308+
flex-wrap: wrap;
309+
-webkit-flex-wrap: wrap;
310+
}
311+
.snippet-title h4{
312+
margin: 0;
313+
font-size: 12px;
314+
font-family: "Roboto";
315+
font-weight: normal;
316+
width: calc(100% - 45px);
317+
text-overflow: ellipsis;
318+
overflow: hidden;
319+
}
320+
.snippet-title i, .snippet-edit i{
321+
margin-left: 3px;
322+
margin-right: 3px;
323+
font-size: 13px;
324+
color: #D0D0D0;
325+
display: inline-block;
326+
}
327+
.snippet-edit input{
328+
font-size: 12px;
329+
border: none;
330+
padding: 3px;
331+
border-radius: 3px;
332+
width: calc(100% - 38px);
333+
margin-bottom: 3px;
334+
border: 1px solid #555;
335+
background-color: white;
336+
color: #606060;
337+
}
338+
.snippet-edit select{
339+
font-size: 12px;
340+
border: none;
341+
padding: 3px;
342+
border-radius: 3px;
343+
width: calc(100% - 28px);
344+
margin-bottom: 3px;
345+
border: 1px solid #555;
346+
background-color: white;
347+
color: #606060;
348+
}
349+
.snippet-editor{
350+
width: 100%;
351+
position: relative;
352+
height: 200px;
353+
overflow: hidden;
285354
}
286355

287356
.nav-bottom-buttons{
@@ -564,6 +633,7 @@ body, html{
564633
padding-top: 7px;
565634
padding-bottom: 3px;
566635
margin-top: 1px;
636+
position: relative;
567637
}
568638
#navigate .active{
569639
border-top-left-radius: 6px;
@@ -574,17 +644,6 @@ body, html{
574644
.side-item a{
575645
text-decoration: none;
576646
}
577-
.nav-terminal{
578-
display: block;
579-
width: 100%;
580-
background-color: white;
581-
margin-top: 0px;
582-
border: none;
583-
height: calc(100% - 42px);
584-
}
585-
.nav-terminal > * {
586-
height: 100%;
587-
}
588647
#opt{
589648
display: block;
590649
position: absolute;

0 commit comments

Comments
 (0)