Kaydet (Commit) f9f2f386 authored tarafından Tuğba Fıçıcı's avatar Tuğba Fıçıcı

Çerçeve düzenlenmeleri yapıldı

üst cf842e0f
......@@ -97,7 +97,7 @@
}
.disKenar {
font-family: "Itim";
padding-top: 15px;
padding-bottom: 15px;
}
......
......@@ -86,6 +86,7 @@ app.on("ready", () => {
frame: false,
resizable: false, // *Ekran boyutu imleç ile değiştirilemez.
maximizable: true, // *Ekran maksimum hale getirilemez
parent:mainWindow
});
addWindow.loadURL(
......
......@@ -22,8 +22,10 @@
</div>
</div>
<div id="overlayOda" onclick="overlayOff()">
<div class="row" style="padding: 50px">
<a href="../main.html"><img width="60" height="60" src="../assets/image/geri.png" alt="geri" style="margin-left: 15px;"></a>
<div class="row" style="padding: 30px">
<div class="col align-self-center disKenar" style="height: 400px">
<div class="odaCerceve kenar">
<div class="overlayTitle">ODA KUR</div>
<div class="overlayInput">
......@@ -58,7 +60,7 @@
<div class="col-4">
<div class="geriButonu">
<a href="turnBackMain.html" onclick="window.open(this.href, 'Anasayfaya Dön',
'left=20,top=20,width=405,height=350,toolbar=1,resizable=0'); return false;"><img width="60" height="60"
'left=20,top=20,width=405,height=350,toolbar=No,location=No,scrollbars=no,status=No,resizable=no,fullscreen=No'); return false;"><img width="60" height="60"
src="../assets/image/geri.png" alt="geri" /></a>
</div>
</div>
......
......@@ -24,7 +24,7 @@
<div class="row" style="margin: 0;">
<div class="col-4">
<div class="geriButonu"><a href="turnBackMain.html" onclick="window.open(this.href, 'Anasayfaya Dön',
'left=20,top=20,width=405,height=350,toolbar=1,resizable=0'); return false;" ><img width="60" height="60"
'left=20,top=20,width=405,height=350,toolbar=No,location=No,scrollbars=no,status=No,resizable=no,fullscreen=No'); return false;" ><img width="60" height="60"
src="../assets/image/geri.png" alt="geri" ></a></div>
</div>
<div class="col-4">
......
......@@ -26,7 +26,7 @@
<div class="col-4">
<div class="geriButonu">
<a href="turnBackMain.html" onclick="window.open(this.href, 'Anasayfaya Dön',
'left=20,top=20,width=405,height=350,toolbar=1,resizable=0'); return false;"><img width="60" height="60"
'left=20,top=20,width=405,height=350,toolbar=No,location=No,scrollbars=no,status=No,resizable=no,fullscreen=No'); return false;"><img width="60" height="60"
src="../assets/image/geri.png" alt="geri" id="yeniPencere2"/></a>
</div>
</div>
......@@ -165,14 +165,15 @@
<script>
var atanan=getUsername();
document.getElementById("user2RobotKullaniciAdi").innerHTML=atanan;
/*
const electron = require("electron");
const { ipcRenderer } = electron; // backend ile iletişim
let yeniPencere = document.querySelector("#yeniPencere2");
yeniPencere.addEventListener("click", () => {
ipcRenderer.send("key:newWindow2", true);
});
*/
</script>
</body>
......
......@@ -123,7 +123,7 @@
</div>
<div class="row">
<div class="col">
<a href="../main.html">
<a href="#">
<button class="big-button" id="anasayfayaDon">
Anasayfaya Dön
</button>
......@@ -141,6 +141,8 @@
</body>
<script src="clientApp.js"></script>
<script>
//const remote = require("electron").remote;
document
.getElementById("anasayfayaDon")
.addEventListener("click", function (e) {
......@@ -162,8 +164,12 @@
var dosyaYolu = __dirname;
dosyaYolu = dosyaYolu.toString().substring(0, dosyaYolu.length - 5);
window.opener.location.href = "file://" + dosyaYolu + "/main.html";
//var window = remote.getCurrentWindow();
//window.close();
close();
});
</script>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment