Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
M
mangala-pardusacikhack
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Tuğba Fıçıcı
mangala-pardusacikhack
Commits
f9f2f386
Kaydet (Commit)
f9f2f386
authored
May 07, 2021
tarafından
Tuğba Fıçıcı
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Çerçeve düzenlenmeleri yapıldı
üst
cf842e0f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
8 deletions
+18
-8
gameArea.css
assets/gameArea.css
+1
-1
main.js
main.js
+1
-0
clientGameArea.html
pages/clientGameArea.html
+4
-2
gameArea.html
pages/gameArea.html
+1
-1
robotGameArea.html
pages/robotGameArea.html
+4
-3
turnBackMain.html
pages/turnBackMain.html
+7
-1
No files found.
assets/gameArea.css
Dosyayı görüntüle @
f9f2f386
...
...
@@ -97,7 +97,7 @@
}
.disKenar
{
font-family
:
"Itim"
;
padding-top
:
15px
;
padding-bottom
:
15px
;
}
...
...
main.js
Dosyayı görüntüle @
f9f2f386
...
...
@@ -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
(
...
...
pages/clientGameArea.html
Dosyayı görüntüle @
f9f2f386
...
...
@@ -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>
...
...
pages/gameArea.html
Dosyayı görüntüle @
f9f2f386
...
...
@@ -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"
>
...
...
pages/robotGameArea.html
Dosyayı görüntüle @
f9f2f386
...
...
@@ -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>
...
...
pages/turnBackMain.html
Dosyayı görüntüle @
f9f2f386
...
...
@@ -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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment