Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Small fixes, cooler slogan layouting

  • Loading branch information...
commit 73434f6f20c476b894620cdd9959dc18ec46034c 1 parent 70d88f6
@aslushnikov authored
Showing with 3 additions and 8 deletions.
  1. +0 −5 app.js
  2. +0 −1  public/stylesheets/style.css
  3. +3 −2 views/index.jade
View
5 app.js
@@ -17,7 +17,6 @@ app.configure(function(){
app.set('view engine', 'jade');
app.use(express.bodyParser());
app.use(express.methodOverride());
-
app.use(app.router);
app.use(express.static(__dirname + '/public'));
});
@@ -60,9 +59,6 @@ app.get('/compile', function(req, res) {
});
app.post('/data', function(req, res) {
- // connect-form adds the req.form object
- // we can (optionally) define onComplete, passing
- // the exception (if any) fields parsed, and files parsed
if (!req.query['target']) {
res.writeHead(412, {'content-type': 'text/plain'});
res.write("You're using old remote-compile.sh tool\n");
@@ -86,6 +82,5 @@ app.post('/data', function(req, res) {
});
});
-
app.listen(2700);
console.log("Express server listening on port %d in %s mode", app.address().port, app.settings.env);
View
1  public/stylesheets/style.css
@@ -20,7 +20,6 @@ a {
#slogan {
margin-left: 1em;
font-size: 12pt;
- vertical-align: middle;
color: gray;
}
View
5 views/index.jade
@@ -1,6 +1,7 @@
div#header
- h1#title LaTeX Online
- i#slogan you give it a link, it gives you PDF
+ h1#title
+ | LaTeX Online
+ sup#slogan you give it a link, it gives you PDF
div#form
form(action="/compile", method="get")
Please sign in to comment.
Something went wrong with that request. Please try again.