mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-06-11 22:21:47 +02:00
random password generator
This commit is contained in:
@@ -57,6 +57,19 @@
|
||||
<div class="col-sm-6">
|
||||
<input type="password" name="email" class="form-control" ng-model="dbPassword" required>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<button type="button" ng-click="generatePassword()" class="btn btn-primary">{% trans "Generate" %}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div ng-hide="generatedPasswordView" class="form-group">
|
||||
<label class="col-sm-3 control-label">{% trans "Generated Password" %}</label>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="email" class="form-control" ng-model="dbPassword" required>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<button type="button" ng-click="usePassword()" class="btn btn-primary">{% trans "Use" %}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -64,7 +77,6 @@
|
||||
<label class="col-sm-3 control-label"></label>
|
||||
<div class="col-sm-4">
|
||||
<button type="button" ng-click="createDatabase()" class="btn btn-primary btn-lg">{% trans "Create Database" %}</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user