Skip to content

Commit 510c439

Browse files
committed
Update
1 parent e341059 commit 510c439

File tree

5 files changed

+44
-28
lines changed

5 files changed

+44
-28
lines changed

src/css/main.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ aside.ui-resizable.ui-resizing {
185185
box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(255, 255, 255, 0.18) !important;
186186
border-radius: .25rem !important;
187187
opacity: 0.95 !important;
188-
border: none!important;
188+
border: none !important;
189189
}
190190

191191
.ace_tooltip.ace_doc-tooltip {
@@ -560,6 +560,11 @@ input.cmn-tgl-rnd-flt:checked + label:after {
560560
width: 100%;
561561
}
562562

563+
.paypal-donate:hover {
564+
opacity: 0.8;
565+
cursor: pointer;
566+
}
567+
563568
/*******************************************************************************/
564569
/********************************** Scrollers **********************************/
565570
/*******************************************************************************/

src/html/app.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<link rel="stylesheet"
5757
href="/src/css/main.css"/>
5858

59+
<title>CodePad</title>
5960
</head>
6061
<body>
6162

@@ -341,7 +342,7 @@
341342
data-toggle="modal"
342343
data-target=".modal-md-container">
343344
<i class="fa fa-fw fa-heart"></i>
344-
&nbsp;Love Code Pad?
345+
&nbsp;Support CodePad
345346
</a>
346347
</div>
347348
</li>

src/html/modals/content/rate.html

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
11
<div class="container-fluid">
2-
<h2 class="text-center">Help us grow, leave a rating!</h2>
3-
<br/>
4-
<p class="text-center">Code Pad is a new application, help us by leaving your rating or feedback on the application page in the Chrome store.</p>
5-
<p class="text-center">It only takes a few seconds ;)</p>
6-
<p class="text-center">
7-
<a href="https://chrome.google.com/webstore/detail/code-pad-ide/adaepfiocmagdimjecpifghcgfjlfmkh/reviews"
8-
target="_blank"
9-
class="btn btn-outline-primary">
10-
<i class="fa fa-chrome"></i> Rate the IDE
2+
<h3 class="text-center">Free, From Now Until Forever!</h3>
3+
<p class="text-center"></p>
4+
<p class="text-center">
5+
CodePad was built to help the developer community on ChromeOS. It's free for anyone to use and/or
6+
modify and that part will never change. CodePad was built for the community.
7+
</p>
8+
<p class="text-center">
9+
However if you do enjoy CodePad and find it useful, please consider leaving a small &euro;0.25c donation. It
10+
would be greatly appreciated.
11+
</p>
12+
<p class="text-center">
13+
If you cannot do so or just don't want to, it's all good :) Just enjoy the application and keep coding! Thank
14+
you!
15+
</p>
16+
<p class="text-center"></p>
17+
<p class="text-center">
18+
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9N2WMWGKDVS84&source=url"
19+
target="_blank">
20+
<img src="/src/img/paypal-donate-button.png"
21+
alt="Thank You!"
22+
class="paypal-donate"
23+
height="80"/>
1124
</a>
1225
</p>
1326
</div>

src/html/templates/js.tpl

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
(function(){
2-
var BoilerplateClass = function () {
1+
/**
2+
* Example class
3+
**/
4+
class ClassicalGreeting {
5+
constructor(greeting = "Hello", name = "World") {
6+
this.greeting = greeting;
7+
this.name = name;
8+
}
39

4-
// Properties
5-
this.publicProperty = 'foo';
6-
this._privateProperty = 'bar';
10+
greet() {
11+
return `${this.greeting}, ${this.name}!`;
12+
}
13+
}
714

8-
// Constructor
9-
this.initialise = function(){
10-
};
11-
12-
// Functions
13-
this.publicFn = function(){
14-
};
15-
16-
this._privateFn = function(){
17-
};
18-
};
19-
})();
15+
const classyGreeting = new ClassicalGreeting("Hey", "folks");
16+
console.log(classyGreeting.greet());

src/img/paypal-donate-button.png

14.9 KB
Loading

0 commit comments

Comments
 (0)