2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-05-06 11:32:59 +00:00
This commit is contained in:
Ahmed Zamil 2024-06-09 23:24:21 +03:00
parent 08410de9c3
commit 3e4d6461a3
4 changed files with 18 additions and 30 deletions

View File

@ -19,6 +19,10 @@ i-app {
height: 100%; height: 100%;
} }
.logo {
height: 50px;
}
i-router { i-router {
padding: 10px 35px; padding: 10px 35px;
height: calc(100vh - 150px); height: calc(100vh - 150px);

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -38,42 +38,22 @@
<body> <body>
<i-app onload="init()"> <i-app onload="init()">
<div class="loading-panel" style="">
<div class="loading">
<div class="delta" style="width: 140px; height: 140px">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<h1>Esiur</h1>
</div>
</div>
<div id="sidebar" class="side-bar">
<i-navbar id="navbar">
</i-navbar>
</div>
<div class="footer"> <div class="footer">
Esiur Foundation Esiur Foundation
<br />
Nahrain University, College of Information Technology Engineering
</div> </div>
<div class="title-bar"> <div class="title-bar">
<i-button css-class="ripple" onclick="toggleNav()"> <!--<i-button css-class="ripple" onclick="toggleNav()">
<img src="img/menu.png" style="height: 40px" /> <img src="img/menu.png" style="height: 40px" />
</i-button> </i-button>-->
<img src="img/coie.png" class="logo desktop"> <img src="img/coie.jpg" class="logo desktop">
<h1 class="desktop">Nahrain University, College of Information Technology Engineering </h1> <h1 class="desktop">Esiur Demo</h1>
<h3 class="desktop">${FORMAT_CONNECTION_STATUS(d?.status ?? 0)}</h3> <h3 class="desktop">${FORMAT_CONNECTION_STATUS(d?.status ?? 0)}</h3>
@ -84,18 +64,20 @@
<!--<i-link href="tasks" class="inbox"><img src="img/icon/inbox.png"> <span id="spnInbox">0</span></i-link>--> <!--<i-link href="tasks" class="inbox"><img src="img/icon/inbox.png"> <span id="spnInbox">0</span></i-link>-->
<div class="profile desktop"> <!--<div class="profile desktop">
<div class="profile-type"></div> <div class="profile-type"></div>
<i-link class="profile-username" href="/profile"></i-link> <i-link class="profile-username" href="/profile"></i-link>
<i-link onclick="logout()" style="padding: 0px 10px"><img style="width: 30px" src="img/icon/logout.png" /></i-link> <i-link onclick="logout()" style="padding: 0px 10px"><img style="width: 30px" src="img/icon/logout.png" /></i-link>
</div> </div>-->
<div ::class="`logo connection-${(d?.status ?? 0)}`"></div> <div ::class="`logo connection-${(d?.status ?? 0)}`"></div>
</div> </div>
<div :data="conection.get('/sys/demo')">
<i-input auto ""
</div>
</i-app> </i-app>
</body> </body>
</html> </html>

View File

@ -7,6 +7,8 @@ async function init() {
window.demo = await connection.get("sys/demo"); window.demo = await connection.get("sys/demo");
await app.setData(connection);
console.log(connection);
} }
catch (ex) catch (ex)
{ {