1
0
mirror of /repos/Prototyper.git synced 2025-12-30 06:31:32 +01:00

added favicons and logo

This commit is contained in:
Aiko Mastboom 2013-04-30 01:43:12 +02:00
parent c14f6b1a48
commit 48b57f6547
8 changed files with 17 additions and 0 deletions

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
public/favicon_dev.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
public/img/uillogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -48,6 +48,7 @@
<!-- @@template__app_templates_head__context__app_main -->
<!-- @@remove_ -->
<title>app/main/index</title>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<!--<script src="/lib/modernizr/modernizr.min.js" type="text/javascript" charset="utf-8"></script>-->
<link href="/lib/bootstrap/bootstrap-combined.min.css" rel="stylesheet" type="text/css">
<!--<link href="/lib/font-awesome/font-awesome.css" rel="stylesheet" type="text/css">-->
@ -80,6 +81,8 @@
<!-- ko stopBinding: true --><!-- isolate navigation viewModel, prevent main from interfering -->
<div id="navigation" class="navbar navbar-inverse">
<div class="navbar-inner">
<img class="brand" src="./img/uillogo-inverse.png"/>
<div class="container">
<div class="nav dropdown" data-bind="template: {name: 'links_nav', foreach: links }"></div>
<script type="text/html" id="links_nav_sub">

View File

@ -35,6 +35,13 @@ body {
display: inline;
}
.navbar img.brand {
height: 32px;
padding-top: 5px;
padding-right: 10px;
padding-bottom: 5px;
}
@content-divider: 150px;
#content {

View File

@ -1,4 +1,5 @@
<title>[{{title}}]</title>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<!--<script src="/lib/modernizr/modernizr.min.js"></script>-->
<link href="/lib/bootstrap/bootstrap-combined.min.css" rel="stylesheet" type="text/css">
<!--<link href="/lib/font-awesome/font-awesome.css" rel="stylesheet" type="text/css">-->

View File

@ -41,6 +41,7 @@ var config = {
importer: '/importer'
},
statics: {
dev_favicon_path: __dirname + '/public/favicon_dev.ico',
importer_path: __dirname + '/public',
public_path: __dirname + '/public',
markdown_client: __dirname + '/node_modules/markdown/lib',
@ -51,6 +52,11 @@ var config = {
var app = express();
config.debug && app.use(connect.logger());
if (!process.env.NODE_ENV) {
app.get('/favicon.ico', function (req, res, next) {
res.sendfile(config.statics.dev_favicon_path);
});
}
//noinspection JSUnresolvedFunction
app.use(express.static(config.statics.public_path));
//noinspection JSUnresolvedFunction