forked from colab/colab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
531 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,4 +58,9 @@ | |
# ], | ||
#} | ||
|
||
cron { 'cleanup-snippets': | ||
command => "$manage_colab cleanup_snippets &> /dev/null", | ||
hour => '1', | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,212 @@ | ||
|
||
.shortcut { | ||
color: #AAA; | ||
font-size: 13px; | ||
font-weight: 300; | ||
margin-left: 15px; | ||
} | ||
|
||
.form-horizontal .form-group { | ||
margin: 0 0 20px 0; | ||
} | ||
|
||
#id_content{ | ||
width: 100%; | ||
font-family: monospace; | ||
font-size: 14px; | ||
line-height: 16px; | ||
} | ||
|
||
/* ---------------------------------------------------------------------------- | ||
Snippet Details | ||
---------------------------------------------------------------------------- */ | ||
#snippet-diff { | ||
display: none; | ||
} | ||
.snippet-options{ | ||
margin-bottom: 20px; | ||
} | ||
|
||
.snippet-reply { | ||
margin-top: 30px; | ||
} | ||
|
||
.snippet-reply-hidden { | ||
opacity: 0.3; | ||
} | ||
|
||
.snippet-reply-hidden, | ||
.snippet-reply-hidden *{ | ||
cursor: pointer; | ||
} | ||
|
||
.snippet-diff-form { | ||
} | ||
|
||
.snippet-rendered { | ||
color: #666; | ||
font-size: 16px; | ||
line-height: 24px; | ||
max-width: 620px; | ||
font-family: Helvetica, FreeSerif, serif; | ||
font-weight: 300; | ||
} | ||
.diff-form { | ||
/* margin-bottom: 10px;*/ | ||
} | ||
|
||
#diff { | ||
margin-bottom: 10px; | ||
/* display: none;*/ | ||
} | ||
|
||
.tree{ | ||
width: 100%; | ||
line-height: 1.8em; | ||
} | ||
|
||
.tree ul, | ||
.tree ul li{ | ||
margin: 0; | ||
padding: 0; | ||
list-style: none; | ||
} | ||
|
||
.tree ul li{ | ||
color: #ccc; | ||
clear: both; | ||
} | ||
|
||
.tree ul li div{ | ||
border-bottom: 1px solid #EEE; | ||
} | ||
|
||
.tree strong{ | ||
color: #111; | ||
font-weight: normal; | ||
} | ||
|
||
.tree ul li li{ | ||
padding-left: 0; | ||
margin-left: 15px; | ||
color: #ccc; | ||
list-style: circle; | ||
} | ||
|
||
/* ---------------------------------------------------------------------------- | ||
.code | ||
---------------------------------------------------------------------------- */ | ||
|
||
.code { | ||
width: 100%; | ||
background: #232829; | ||
color: #f8f8f2; | ||
padding: 20px 30px !important; | ||
border-radius: 0; | ||
padding: 20px 30px; | ||
font-family: Monaco,Menlo,Consolas,"Courier New",monospace; | ||
} | ||
|
||
.code.wordwrap { | ||
overflow: auto; | ||
white-space: nowrap; | ||
} | ||
|
||
.code ol { | ||
margin: 0 0 0 45px; | ||
} | ||
|
||
.code ol li { | ||
color: #aaa; | ||
font-size: 12px; | ||
line-height: 21px; | ||
cursor: pointer; | ||
padding-left: 5px; | ||
} | ||
|
||
.code ol li.marked { | ||
color: #f4e009; | ||
background-color: #4f4800; | ||
margin-right: -30px; | ||
padding-right: 30px; | ||
} | ||
|
||
/* ---------------------------------------------------------------------------- | ||
Pygments | ||
---------------------------------------------------------------------------- */ | ||
|
||
.code .gd { color: #FF494F; display: block; } | ||
.code .gi { color: #53C64A; display: block; } | ||
|
||
.code .hll { background-color: #49483e } | ||
.code .c { color: #75715e } /* Comment */ | ||
.code .err { color: #960050; background-color: #1e0010 } /* Error */ | ||
.code .k { color: #66d9ef } /* Keyword */ | ||
.code .l { color: #ae81ff } /* Literal */ | ||
.code .n { color: #f8f8f2 } /* Name */ | ||
.code .o { color: #f92672 } /* Operator */ | ||
.code .p { color: #f8f8f2 } /* Punctuation */ | ||
.code .cm { color: #75715e } /* Comment.Multiline */ | ||
.code .cp { color: #75715e } /* Comment..codeproc */ | ||
.code .c1 { color: #75715e } /* Comment.Single */ | ||
.code .cs { color: #75715e } /* Comment.Special */ | ||
.code .ge { font-style: italic } /* Generic.Emph */ | ||
.code .gs { font-weight: bold } /* Generic.Strong */ | ||
.code .kc { color: #66d9ef } /* Keyword.Constant */ | ||
.code .kd { color: #66d9ef } /* Keyword.Declaration */ | ||
.code .kn { color: #f92672 } /* Keyword.Namespace */ | ||
.code .kp { color: #66d9ef } /* Keyword.Pseudo */ | ||
.code .kr { color: #66d9ef } /* Keyword.Reserved */ | ||
.code .kt { color: #66d9ef } /* Keyword.Type */ | ||
.code .ld { color: #e6db74 } /* Literal.Date */ | ||
.code .m { color: #ae81ff } /* Literal.Number */ | ||
.code .s { color: #e6db74 } /* Literal.String */ | ||
.code .na { color: #a6e22e } /* Name.Attribute */ | ||
.code .nb { color: #f8f8f2 } /* Name.Builtin */ | ||
.code .nc { color: #a6e22e } /* Name.Class */ | ||
.code .no { color: #66d9ef } /* Name.Constant */ | ||
.code .nd { color: #a6e22e } /* Name.Decorator */ | ||
.code .ni { color: #f8f8f2 } /* Name.Entity */ | ||
.code .ne { color: #a6e22e } /* Name.Exception */ | ||
.code .nf { color: #a6e22e } /* Name.Function */ | ||
.code .nl { color: #f8f8f2 } /* Name.Label */ | ||
.code .nn { color: #f8f8f2 } /* Name.Namespace */ | ||
.code .nx { color: #a6e22e } /* Name.Other */ | ||
.code .py { color: #f8f8f2 } /* Name.Property */ | ||
.code .nt { color: #f92672 } /* Name.Tag */ | ||
.code .nv { color: #f8f8f2 } /* Name.Variable */ | ||
.code .ow { color: #f92672 } /* Operator.Word */ | ||
.code .w { color: #f8f8f2 } /* Text.Whitespace */ | ||
.code .mf { color: #ae81ff } /* Literal.Number.Float */ | ||
.code .mh { color: #ae81ff } /* Literal.Number.Hex */ | ||
.code .mi { color: #ae81ff } /* Literal.Number.Integer */ | ||
.code .mo { color: #ae81ff } /* Literal.Number.Oct */ | ||
.code .sb { color: #e6db74 } /* Literal.String.Backtick */ | ||
.code .sc { color: #e6db74 } /* Literal.String.Char */ | ||
.code .sd { color: #e6db74 } /* Literal.String.Doc */ | ||
.code .s2 { color: #e6db74 } /* Literal.String.Double */ | ||
.code .se { color: #ae81ff } /* Literal.String.Escape */ | ||
.code .sh { color: #e6db74 } /* Literal.String.Heredoc */ | ||
.code .si { color: #e6db74 } /* Literal.String.Interpol */ | ||
.code .sx { color: #e6db74 } /* Literal.String.Other */ | ||
.code .sr { color: #e6db74 } /* Literal.String.Regex */ | ||
.code .s1 { color: #e6db74 } /* Literal.String.Single */ | ||
.code .ss { color: #e6db74 } /* Literal.String.Symbol */ | ||
.code .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */ | ||
.code .vc { color: #f8f8f2 } /* Name.Variable.Class */ | ||
.code .vg { color: #f8f8f2 } /* Name.Variable.Global */ | ||
.code .vi { color: #f8f8f2 } /* Name.Variable.Instance */ | ||
.code .il { color: #ae81ff } /* Literal.Number.Integer.Long */ | ||
|
||
|
||
/* ---------------------------------------------------------------------------- | ||
Mobile | ||
---------------------------------------------------------------------------- */ | ||
|
||
@media (max-width: 580px) { | ||
.form-options-expire { | ||
float: left; | ||
clear: left; | ||
margin-top: 10px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% extends 'base.html' %} | ||
|
||
{% block head_css %} | ||
<link rel="stylesheet" href="{{ STATIC_URL }}dpaste/css/theme.css" | ||
type="text/css" media="screen" /> | ||
{% endblock %} | ||
|
||
{% block header %} | ||
<h2>Paste</h2> | ||
{% endblock %} | ||
|
||
{% block main-content %} | ||
{% block page %}{% endblock %} | ||
{% endblock %} | ||
|
||
{% block footer_js %}{% endblock %} |
Oops, something went wrong.