-
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.
there is now a text editor for clone Cloud called simple text it can only open files for now
- Loading branch information
Showing
19 changed files
with
2,060 additions
and
7 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
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,27 @@ | ||
#topBar{ | ||
width: 99.25%; | ||
height: 50px; | ||
|
||
margin-right: auto; | ||
margin-left: auto; | ||
|
||
padding-left:5px; | ||
padding-right:5px; | ||
|
||
background-color: #EEEEEE; | ||
} | ||
.jqte{ | ||
|
||
border-radius: 0px; | ||
border: 0px; | ||
margin: 0px; | ||
background-color: lightgray; | ||
} | ||
.jqte_editor{ | ||
|
||
max-width: 1000px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
height: 100%; | ||
|
||
} |
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,20 @@ | ||
<html> | ||
<head> | ||
<title>Simple Text</title> | ||
|
||
<link rel="stylesheet" type="text/css" href="../../themes/theme.css"> | ||
|
||
<link type="text/css" rel="stylesheet" href="jQuery-TE_v.1.4.0/jquery-te-1.4.0.css"> | ||
<link rel="stylesheet" type="text/css" href="SimpleText.css"> | ||
|
||
<script type="text/javascript" src="https://code.jquery.com/jquery-1.10.2.min.js"></script> | ||
<script type="text/javascript" src="jQuery-TE_v.1.4.0/uncompressed/jquery-te-1.4.0.js"></script> | ||
|
||
<script src="SimpleText.js"></script> | ||
</head> | ||
<body> | ||
<!--<h1>Simple Text</h1>--> | ||
<div id="topBar"><input class="text" type="text" placeholder="File Name" name="userName"></input></div> | ||
<input class="editor" name="text2" value="{File Contents}"> | ||
</body> | ||
</html> |
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,4 @@ | ||
|
||
$( document ).ready(function() { | ||
$('.editor').jqte();//init the rich text editor | ||
}); |
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,94 @@ | ||
/* general styles */ | ||
html, body { | ||
padding:30px 100px; | ||
background:#E5E5E5 | ||
} | ||
* { | ||
font-family:Verdana, Arial, sans-serif; | ||
color:#000 | ||
} | ||
h1 { | ||
font-size:33px; | ||
color:#99CC00; | ||
margin:15px 0 | ||
} | ||
.navigation { | ||
margin:10px 0 20px; | ||
} | ||
.navigation, .navigation a { | ||
color:#608000; | ||
font-size:12px; | ||
} | ||
.navigation a { | ||
margin-right:4px; | ||
} | ||
h2 { | ||
margin:15px 0 25px; | ||
color:#608000; | ||
font-size:14px; | ||
font-weight:bold | ||
} | ||
a:link, a:visited { | ||
text-decoration:underline | ||
} | ||
.testbutton { | ||
margin-bottom:30px; | ||
background:#3399FF; | ||
padding:6px 25px; | ||
border:#003F81 1px solid; | ||
color:#FFF; | ||
font-size:22px; | ||
border-radius:5px; -webkit-border-radius:5px; -moz-border-radius:5px; | ||
box-shadow:inset 0 5px 5px #67B3FF; -webkit-box-shadow:inset 0 5px 5px #67B3FF; -moz-box-shadow:inset 0 5px 5px #67B3FF | ||
} | ||
.testbutton:hover { | ||
background:#198CFF; | ||
cursor:pointer | ||
} | ||
.footer, .footer * { | ||
color:#802D00; | ||
font-size:15px | ||
} | ||
|
||
.jqte-test { | ||
display:block; | ||
margin:0 0 10px; | ||
padding:6px; | ||
width:95%; | ||
background:#FFF; | ||
border:#AAA 1px solid; | ||
font-size:13px; | ||
} | ||
textarea.jqte-test, div.jqte-test, span.jqte-test { | ||
min-height:100px; | ||
} | ||
button { | ||
display:block; | ||
margin:20px 0; | ||
padding:6px 0 4px; | ||
width:154px; | ||
background:#658700; | ||
border:#526E00 1px solid; | ||
color:#F3FFCF !important; | ||
text-align:center; | ||
font-size:13px; | ||
font-weight:bold; | ||
border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px; | ||
box-shadow:0 0 2px #000, inset 0 1px 1px #99CC00; -webkit-box-shadow:0 0 2px #000, inset 0 1px 1px #99CC00; -moz-box-shadow:0 0 2px #000, inset 0 1px 1px #99CC00; | ||
cursor:pointer; | ||
} | ||
button:hover { | ||
background:#78A000; | ||
border-color:#658700; | ||
text-decoration:none !important; | ||
cursor:pointer | ||
} | ||
|
||
button:active { | ||
background:#3F5500; | ||
border-color:#2C3C00; | ||
color:#9CCD00 !important; | ||
box-shadow:0 0 3px #000,inset 0 -2px 2px #333; | ||
-webkit-box-shadow:0 0 3px #000, inset 0 -2px 2px #333; | ||
-moz-box-shadow:0 0 3px #000, inset 0 -2px 2px #333; | ||
} |
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,50 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<title>jQuery TE | Downloaded Demo | v.1.4.0</title> | ||
|
||
<link type="text/css" rel="stylesheet" href="demo.css"> | ||
<link type="text/css" rel="stylesheet" href="../jquery-te-1.4.0.css"> | ||
|
||
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js" charset="utf-8"></script> | ||
<script type="text/javascript" src="../uncompressed/jquery-te-1.4.0.js" charset="utf-8"></script> | ||
</head> | ||
|
||
<body> | ||
<h1>jQuery TE</h1> | ||
|
||
<div class="navigation"> | ||
<a href="http://jqueryte.com" target="_blank">Home</a> | ||
<a href="http://jqueryte.com/demos" target="_blank">Demos</a> | ||
<a href="http://jqueryte.com/documentation" target="_blank">Documentation</a> | ||
<a href="http://jqueryte.com/comments" target="_blank">Comments</a> | ||
<a href="http://jqueryte.com/about" target="_blank">About</a> | ||
<a href="http://jqueryte.com/license" target="_blank">License</a> | ||
</div> | ||
|
||
<h2>Demo | v.1.4.0</h2> | ||
|
||
<!------------------------------------------------------------ Toggle jQTE Button ------------------------------------------------------------> | ||
<button class="status">Toggle jQTE</button> | ||
|
||
<!------------------------------------------------------------ jQUERY TEXT EDITOR ------------------------------------------------------------> | ||
|
||
<input class="jqte-test" name="text2" value="Articles should be in here"> | ||
|
||
<script> | ||
$('.jqte-test').jqte(); | ||
|
||
|
||
// settings of status | ||
var jqteStatus = true; | ||
$(".status").click(function() | ||
{ | ||
jqteStatus = jqteStatus ? false : true; | ||
$('.jqte-test').jqte({"status" : jqteStatus}) | ||
}); | ||
</script> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.