Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Adds LICENSE file and static web content

  • Loading branch information...
kayur authored and KesterTong committed May 9, 2014
1 parent 86db900 commit 8854615d55acbd5e7a8f994c35932e22d5b8c4de
Showing with 9,849 additions and 0 deletions.
  1. +27 −0 LICENSE
  2. +25 −0 static/frontend/css/ansi.css
  3. +271 −0 static/frontend/css/cell.css
  4. +54 −0 static/frontend/css/comments.css
  5. +44 −0 static/frontend/css/form.css
  6. +168 −0 static/frontend/css/header.css
  7. +8 −0 static/frontend/css/ipython.css
  8. +70 −0 static/frontend/css/main.css
  9. +114 −0 static/frontend/css/welcome.css
  10. +9 −0 static/frontend/drive.html
  11. +7 −0 static/frontend/globalframe.html
  12. BIN static/frontend/img/anon.jpeg
  13. BIN static/frontend/img/colab-black.png
  14. +6 −0 static/frontend/img/colab-white.svg
  15. BIN static/frontend/img/library-logos.png
  16. BIN static/frontend/img/logo.png
  17. BIN static/frontend/img/minus.png
  18. BIN static/frontend/img/plus.png
  19. +36 −0 static/frontend/js/app.js
  20. +389 −0 static/frontend/js/cell/cell.js
  21. +54 −0 static/frontend/js/cell/cellfactory.js
  22. +466 −0 static/frontend/js/cell/codecell.js
  23. +551 −0 static/frontend/js/cell/editor.js
  24. +357 −0 static/frontend/js/cell/formview.js
  25. +508 −0 static/frontend/js/cell/outputarea.js
  26. +192 −0 static/frontend/js/cell/outputframe.js
  27. +147 −0 static/frontend/js/cell/textcell.js
  28. +136 −0 static/frontend/js/cell/tooltip.js
  29. +10 −0 static/frontend/js/colabdeps.js
  30. +328 −0 static/frontend/js/comments.js
  31. +43 −0 static/frontend/js/dialog.js
  32. +1,154 −0 static/frontend/js/drive.js
  33. +642 −0 static/frontend/js/drive_externs.js
  34. +42 −0 static/frontend/js/drivehandler.js
  35. +479 −0 static/frontend/js/externs.js
  36. +119 −0 static/frontend/js/filepicker.js
  37. +315 −0 static/frontend/js/header.js
  38. +316 −0 static/frontend/js/header.js~
  39. +38 −0 static/frontend/js/install.js
  40. +561 −0 static/frontend/js/main.js
  41. +807 −0 static/frontend/js/notebook.js
  42. +120 −0 static/frontend/js/notification.js
  43. +101 −0 static/frontend/js/params.js
  44. +304 −0 static/frontend/js/picker_externs.js
  45. +89 −0 static/frontend/js/presence.js
  46. +60 −0 static/frontend/js/services.js
  47. +78 −0 static/frontend/js/sharingstate.js
  48. +199 −0 static/frontend/js/undo.js
  49. +4 −0 static/frontend/js/v1_closure.js
  50. +61 −0 static/frontend/js/welcome.js
  51. +204 −0 static/frontend/notebook.html
  52. +22 −0 static/frontend/outputframe.html
  53. +114 −0 static/frontend/welcome.html
27 LICENSE
@@ -0,0 +1,27 @@
Copyright (c) 2014, Google Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,25 @@
/** CSS values for displaying IPython text. Used in
* displaying output of the code cell (e.g., errors).
*/

.ansibold {font-weight: bold;}

/* use dark versions for foreground, to improve visibility */
.ansiblack {color: black;}
.ansired {color: darkred;}
.ansigreen {color: darkgreen;}
.ansiyellow {color: brown;}
.ansiblue {color: darkblue;}
.ansipurple {color: darkviolet;}
.ansicyan {color: steelblue;}
.ansigray {color: gray;}

/* and light for background, for the same reason */
.ansibgblack {background-color: black;}
.ansibgred {background-color: red;}
.ansibggreen {background-color: green;}
.ansibgyellow {background-color: yellow;}
.ansibgblue {background-color: blue;}
.ansibgpurple {background-color: magenta;}
.ansibgcyan {background-color: cyan;}
.ansibggray {background-color: gray;}
@@ -0,0 +1,271 @@
.dragged {
background: white;
z-index: 10;
}

.inputarea {
display: flex;
}

.editor {
width: 100%;
}

.formview {
border: 1px solid lightgrey;
background-color: #eee;
padding: 5px 7px;
width: 50%;
}

.formview-full {
width: 100%;
}

.dragitem {
visibility: hidden;
height: 20px;
}

pre {
margin-top: 2px;
margin-bottom: 2px;
white-space: pre-wrap;
}

.cell {
margin: 2px 0px;
position: relative;
display: flex;
align-content: flex-start;
}

.completions {
position: absolute;
z-index: 10;
overflow: hidden;
border: 1px solid #ababab;
border-radius: 4px;
-webkit-box-shadow: 0px 6px 10px -1px #adadad;
-moz-box-shadow: 0px 6px 10px -1px #adadad;
box-shadow: 0px 6px 10px -1px #adadad;
}

.cell-handle {
flex-basis: 20px;
display: block;
background: transparent;
padding: 3px 0px 2px;
align-self: flex-start;
height: 16px;
}

.cell-toolbar {
display: none;
left: -58px;
top: 4px;
z-index: 12; /* make sure the toolbar stays behind the header */
width: auto;
position: absolute;
}

.cell-toolbar > .goog-toolbar {
display: flex;
flex-direction: column;
background: white;
border: solid 2px #3F80C0;
bottom: 4px;
margin-left: 3px;
/* border-radius: 3px; */
padding: 0px;
}

/* .cell:hover > div > .cell-toolbar */
.cell-toolbar-visible,
.cell.selected * .cell-toolbar
{
display: block;
}

.cell-handle > .line {
display: none;
border-radius:3px;
background: rgba(255, 255, 255, 0.71);
height: 1px;
border: solid 1px rgba(255, 255, 255, 0.71);
margin: 1px 2px 2px;
pointer-events: none;
}

.cell:hover > .cell-handle {
background: #B3B1B1;
}

.cell.selected > .cell-handle {
background: #3F80C0;
}

.cell:hover > .cell-handle > .line ,
.cell.selected > .cell-handle > .line {
display: block;
}

.cell.readonly:hover > .cell-handle {
background: transparent;
}


.text * .editor {
display: none;
}

.text.edit * .editor {
border-top: 1px dashed grey;
display: block;
}

.code {
margin: 7px 0px;
background: transparent;
}

.selection-wrapper {
width: 100%;
align-self: flex-start;
padding-left: 10px;
border-left: 8px solid transparent;
}

.code > .selection-wrapper {
padding-left: 30px;
background: white;
}

.cell:hover > .selection-wrapper{
border-left-color: #B3B1B1;
}

.cell.selected:hover > .selection-wrapper{
border-left-color: transparent;
}

.code * .main-content {
border: 1px solid grey;
}

.code * .editor.non-trusted * .CodeMirror-gutters {
background: #ECC4C4;
}

.code * .editor.non-trusted * .CodeMirror-linenumber {
color: black;
pointer-events: none;
}

.output {
font-family: monospace;
font-size: 10pt;
border-top: 1px dashed grey;
}

.output-header {
background: #efefef;
padding: 2px 0px;
font-size: 10pt;
font-family: 'Open Sans', sans-serif;
font-weight: 600;
width: 100%;
display: inline-flex;
color: rgb(90, 90, 90);
}

.output-image {
width: 16px;
height: 16px;
margin: 1px 2px 0px 0px;
}

.goog-zippy-expanded > .output-image {
background-image: url('../img/minus.png');
}

.goog-zippy-collapsed > .output-image {
background-image: url('../img/plus.png');
}

.output-content {
padding: 3px 5px;
}

.output-content > iframe {
width: 100%;
border: 0px;
}

.CodeMirror {
height: auto;
}

.CodeMirror-scroll {
height: auto;
overflow-y: hidden;
overflow-x: auto;
}


.running-status {
color: white;
font-weight: 600;
padding: 2px 5px;
background: #3F80C0;
}

.cell-collaborators {
position: absolute;
right: -30px;
z-index: 12; /* make sure the collaborators stays behind the header */
}

.cell-comments {
width: 130px;
height: 50px;
position: relative;
display: inline-block;

background: #fff;
border: solid 1px #cbcbcb;
box-shadow: 0 2px 4px rgba(0,0,0,.2);
padding: 0 10px 0 10px;
}

.cell-spacer{
display: inline-block;
width: 10px;
position: relative;
}

.cell-comments-area {
display: none;
position: absolute;
top: 30px;
right: -200px;
z-index: 12; /* make sure the collaborators stays behind the header */
}

.selected > .cell-comments-area {
display: block;
}

span.output-header-content-dateuser {
font-weight: 100;
margin-right: 6px;
}
div.output-header-content {
display: flex;
width: 100%;
justify-content: space-between;
}
span.output-header-content-time {
margin-left: 6px;
color: rgb(53, 53, 53);
}
@@ -0,0 +1,54 @@

.comments-activitybox {
background: #fff;
border: solid 1px #cbcbcb;
-moz-box-shadow: -1px 1px 1px rgba(0,0,0,.2);
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,.2);
box-shadow: 0 2px 4px rgba(0,0,0,.2);
padding: 0 29px 0 20px;
height: 550px;
position: absolute;
outline: none;
right: 20px;
top: 66px;
width: 434px;
z-index: 900;
overflow-y: auto;
}

.comments-stream {
}

.comments-comment {
border-top: 1px solid #e8e8e8;
padding: 18px 0 7px 0;
}

.comments-content {
margin-left: 60px;
min-height: 48px;
}

.comments-image {
float: left;
}

.comments-date {
float: right;
}

.comments-input {
width: 100%;
resize: none;
overflow: hidden;
}

.comments-text {
overflow-wrap: break-word;
}

.comments-button {
color: black;
background-color: #f5f5f5;
border-color: #e0e0e0;
}

0 comments on commit 8854615

Please sign in to comment.
You can’t perform that action at this time.