Add developer console warning and /extensions/blueprint redirect

This commit is contained in:
purple 2023-04-19 10:40:13 +02:00
parent 215016d97d
commit 02aeefc253
3 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,6 @@
<head>
<meta http-equiv="refresh" content="0; url=https://ptero.shop/" />
</head>
<body>
<p></p>
</body>

View file

@ -1 +0,0 @@
<p>hello developer :D</p>

View file

@ -41,6 +41,7 @@
<form action="" method="POST"> <form action="" method="POST">
<div class="col-xs-12" style="padding-top:5px;"> <div class="col-xs-12" style="padding-top:5px;">
<input type="text" required name="developer:cmd" id="developer:cmd" value="{{ $bp->dbGet('developer:cmd') }}" class="form-control" style="height:40px;width:100%;"/> <input type="text" required name="developer:cmd" id="developer:cmd" value="{{ $bp->dbGet('developer:cmd') }}" class="form-control" style="height:40px;width:100%;"/>
<p class="text-muted small">Be careful with what you run, some commands may end up breaking this page.</p>
{{ csrf_field() }} {{ csrf_field() }}
<button type="submit" name="_method" value="PATCH" class="btn btn-gray-alt btn-sm pull-right" style="display:none;">Send</button> <button type="submit" name="_method" value="PATCH" class="btn btn-gray-alt btn-sm pull-right" style="display:none;">Send</button>
</div> </div>