Skip to content

Commit

Permalink
VZLOM KAZINO 777 3
Browse files Browse the repository at this point in the history
  • Loading branch information
altfoxie committed Jun 26, 2024
1 parent 0459cfd commit 2f712b7
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 7 deletions.
8 changes: 8 additions & 0 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,11 @@ func (b *App) startup(ctx context.Context) {
func (b *App) domReady(ctx context.Context) {
runtime.WindowShow(ctx)
}

func (b *App) No() {
runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{
Type: runtime.ErrorDialog,
Title: "ты чё",
Message: "пидора ответ",
})
}
19 changes: 12 additions & 7 deletions frontend/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<body>
<div class="window">
<div class="title-bar" style="--wails-draggable:drag">
<img src="/assets/777.ico" class="icon"/>
<div class="title-bar" style="--wails-draggable: drag">
<img src="/assets/777.ico" class="icon" />
<div class="title-bar-text">Взлом КАЗИНО</div>
<div class="title-bar-controls">
<!-- <button aria-label="Minimize" onclick="runtime.WindowMinimise()"></button> -->
Expand All @@ -19,8 +19,8 @@
</div>
<div class="window-body">
<p class="text">
Казино взломано на 14%<br>
Выкачано <b>12 050</b> руб из <b>70 055 020</b> руб.<br><br>
Казино взломано на 14%<br />
Выкачано <b>12 050</b> руб из <b>70 055 020</b> руб.<br /><br />
Продолжить?
</p>

Expand All @@ -30,11 +30,16 @@

<div class="buttons-container">
<div class="buttons">
<button class="yes">Да</button>
<button class="no">Нет</button>
<button
class="yes"
onclick="runtime.BrowserOpenURL('https://youtu.be/dQw4w9WgXcQ')"
>
Да
</button>
<button class="no" onclick="go.main.App.No()">Нет</button>
</div>
</div>
</div>
</div>
</body>
</html>
</html>
4 changes: 4 additions & 0 deletions frontend/wailsjs/go/main/App.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT

export function No():Promise<void>;
7 changes: 7 additions & 0 deletions frontend/wailsjs/go/main/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT

export function No() {
return window['go']['main']['App']['No']();
}

0 comments on commit 2f712b7

Please sign in to comment.