Skip to content
Browse files

minor improvements

  • Loading branch information...
1 parent 548d2d4 commit 4db1bbfad007861712e13cdec05de3d93eb3d07c Alok Menghrajani committed Dec 15, 2011
Showing with 9 additions and 11 deletions.
  1. +7 −7 pixlpaste.opa
  2. +1 −0 pixlpaste_binding.js
  3. +1 −4 resources/pixlpaste.css
View
14 pixlpaste.opa
@@ -28,6 +28,10 @@
* - professional redesign?
*
* To compile:
+ * - debug:
+ * opa-plugin-builder -o pixlpaste_binding pixlpaste_binding.js; opa --parser js-like pixlpaste_binding.opp pixlpaste.opa --
+ *
+ * - release:
* opa-plugin-builder -o pixlpaste_binding pixlpaste_binding.js
* opa --parser js-like --compile-release pixlpaste_binding.opp pixlpaste.opa
* sudo nohup ./pixlpaste.exe -p 80 & disown
@@ -341,15 +345,11 @@ function resource display_home() {
case _:
display(
<>
- <h1>Sorry, your browser is not supported</h1>
+ <h1>Sorry, your browser is currently not supported</h1>
<p>pixlpaste.com has been tested with the following browsers:</p>
<ul>
- <li>Firefox 3+: works</li>
- <li>Chrome: works</li>
- <li>Safari: will not be supported</li>
- <li>Opera: will not be supported</li>
- <li>Internet Explorer: work in progress</li>
- <li>Others: ???</li>
+ <li>Firefox 3+</li>
+ <li>Chrome</li>
</ul>
</>);
}
View
1 pixlpaste_binding.js
@@ -117,6 +117,7 @@
var el = document.createElement('input');
el.type = 'file';
el.id='file';
+ el.accept="image/*";
el.className='invisible';
el.onchange = function(){
for (var t in el.files) {
View
5 resources/pixlpaste.css
@@ -68,7 +68,7 @@ footer {
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.024) inset;
}
.help {
- font-family: Corsiva, "Lucida Handwriting", script;
+ font-family: "Comic Sans MS", "Brush Script MT", cursive;
position: relative;
float: left;
left: 50%;
@@ -119,9 +119,6 @@ footer {
width: 300px;
border: 1px solid blue;
}
-#Body {
- overflow: auto;
-}
#one {
margin: 5% auto;

0 comments on commit 4db1bbf

Please sign in to comment.
Something went wrong with that request. Please try again.