65 lines
2.3 KiB
JavaScript
65 lines
2.3 KiB
JavaScript
import DWindow from "./window.js";
|
||
import { AddCell, FilterCell, memory, RemoveCell } from "./sdb.js";
|
||
|
||
export const Rooms = new class Rooms extends DWindow{
|
||
constructor(){
|
||
super();
|
||
this.emptyConnect();
|
||
this.headtext.text("MWSE Ağları");
|
||
this.hide();
|
||
this.panel.css("min-width","640px");
|
||
this.addEventListener("close",()=>{
|
||
this.hide();
|
||
})
|
||
}
|
||
emptyConnect(){
|
||
this.content.append($(`
|
||
<h4 class="text-white text-center">MWSE Ağları</h4>
|
||
`),$(`
|
||
<h6 class="text-white text-center">Herhangi bir ağa bağlı değilsiniz</h6>
|
||
`));
|
||
|
||
|
||
this.content.append($(`
|
||
<h3 class="text-white text-center" style="margin-top: 50px">
|
||
Ağ Oluştur
|
||
</h3>
|
||
`));
|
||
|
||
let createinput = $(`
|
||
<input type="text" class="form-control" placeholder="Oluşturulacak Oda Adı" style="line-height:2;font-size: 2em">
|
||
`);
|
||
|
||
let createbutton = $(`
|
||
<button class="btn btn-lg btn-success d-block m-auto mt-3">Oluştur</button>
|
||
`);
|
||
|
||
this.content.append(createinput,createbutton);
|
||
|
||
this.content.append($(`
|
||
<h3 class="text-white text-center" style="margin-top: 50px">
|
||
Ağa Katıl
|
||
</h3>
|
||
`));
|
||
|
||
let joininput = $(`
|
||
<input type="text" class="form-control" placeholder="Katılacak Oda Adı" style="line-height:2;font-size: 2em">
|
||
`);
|
||
|
||
|
||
let joinbutton = $(`
|
||
<button class="btn btn-lg btn-success d-block m-auto mt-3">Katıl</button>
|
||
`);
|
||
this.content.append(joininput,joinbutton);
|
||
|
||
this.content.append($(`
|
||
<span class="text-white" style="margin-top: 50px;max-width:100%;font-size: 0.9em;line-height: 1;display: block;text-shadow: 0px 0px 4px black;">
|
||
Aynı ağdaki kullanıcılar birbirini görecek ve akışlarını paylaşabilecektir.
|
||
Verilerinizi, bilgilerinizi ve akışlarınızı paylaşmakta tamamen özgürsünüz.
|
||
Sistem tamamen deneysel teknoloji araştırma ve geliştirme üzerine kuruludur.
|
||
Sistem kullanılarak yapılan tüm iyi ve kötü amaçlı eylemlerden kullanıcı sorumludur.
|
||
</span>
|
||
`));
|
||
|
||
}
|
||
} |