Permalink
Browse files

Small fixes, cooler slogan layouting

  • Loading branch information...
1 parent 70d88f6 commit 73434f6f20c476b894620cdd9959dc18ec46034c @aslushnikov committed May 18, 2012
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
@@ -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);
@@ -20,7 +20,6 @@ a {
#slogan {
margin-left: 1em;
font-size: 12pt;
- vertical-align: middle;
color: gray;
}
View
@@ -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")

0 comments on commit 73434f6

Please sign in to comment.