mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
add logo and change path of jsgantt lib
This commit is contained in:
@@ -101,6 +101,7 @@ async def gantt(request):
|
|||||||
|
|
||||||
app.router.add_get("/", index)
|
app.router.add_get("/", index)
|
||||||
app.router.add_get("/gantt", gantt)
|
app.router.add_get("/gantt", gantt)
|
||||||
|
app.router.add_static("/jsgantt/", path="../gantt", name="jsgantt")
|
||||||
app.router.add_static("/static/", path="./static", name="static")
|
app.router.add_static("/static/", path="./static", name="static")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Web Client</title>
|
<title>Web Client</title>
|
||||||
<link rel="stylesheet" type="text/css" href="/static/css/jsgantt.css" />
|
<link rel="stylesheet" type="text/css" href="/jsgantt/jsgantt.css" />
|
||||||
<link rel="stylesheet" href="/static/css/gantt.css" />
|
<link rel="stylesheet" href="/static/css/gantt.css" />
|
||||||
<script
|
<script
|
||||||
type="text/javascript"
|
type="text/javascript"
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
type="text/javascript"
|
type="text/javascript"
|
||||||
src="https://cdn.socket.io/4.0.0/socket.io.min.js"
|
src="https://cdn.socket.io/4.0.0/socket.io.min.js"
|
||||||
></script>
|
></script>
|
||||||
<script type="text/javascript" src="./static/js/jsgantt.js"></script>
|
<script type="text/javascript" src="./jsgantt/jsgantt.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var SOCKET_PORT = {{port}};
|
var SOCKET_PORT = {{port}};
|
||||||
</script>
|
</script>
|
||||||
@@ -22,9 +22,10 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav class="no-print">
|
<nav class="no-print">
|
||||||
|
<img src="https://blenderbim.org/assets/images/blender/blender-logo.png" alt="Logo" class="logo" />
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/">IFC Data</a></li>
|
<li><a href="/">IFC Data</a></li>
|
||||||
<li><a href="/gantt" class="active">Gantt</a></li>
|
<li><a href="/gantt" class="active">Gantt Chart</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="bottom-bar"></div>
|
<div class="bottom-bar"></div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -28,9 +28,10 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav>
|
<nav>
|
||||||
|
<img src="https://blenderbim.org/assets/images/blender/blender-logo.png" alt="Logo" class="logo" />
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/" class="active">IFC Data</a></li>
|
<li><a href="/" class="active">IFC Data</a></li>
|
||||||
<li><a href="/gantt">Gantt</a></li>
|
<li><a href="/gantt">Gantt Chart</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="bottom-bar"></div>
|
<div class="bottom-bar"></div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
Reference in New Issue
Block a user