mirror of
/repos/Prototyper.git
synced 2025-12-30 06:31:32 +01:00
added favicons and logo
This commit is contained in:
parent
c14f6b1a48
commit
48b57f6547
BIN
public/favicon.ico
Normal file
BIN
public/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
BIN
public/favicon_dev.ico
Normal file
BIN
public/favicon_dev.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
BIN
public/img/uillogo-inverse.png
Normal file
BIN
public/img/uillogo-inverse.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
public/img/uillogo.png
Normal file
BIN
public/img/uillogo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
@ -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">
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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">-->
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user