mirror of https://github.com/gophish/gophish
Fixed settings page (missing closing script tag)
parent
9df97d9d05
commit
0c71c8982e
|
@ -21,7 +21,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" ng-controller="SettingsCtrl">
|
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h1 class="page-header">Settings</h1>
|
<h1 class="page-header">Settings</h1>
|
||||||
</div>
|
</div>
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<label for="username" class="col-sm-2 control-label form-label">Username:</label>
|
<label for="username" class="col-sm-2 control-label form-label">Username:</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input type="text" id="username" class="form-control" {{.User.Username}} />
|
<input type="text" id="username" class="form-control" value="{{.User.Username}}" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
<input type="password" id="new_password" name="new_password" class="form-control" />
|
<input type="password" id="new_password" name="new_password" class="form-control" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" name="csrf_token" {{.Token}}/>
|
<input type="hidden" name="csrf_token" value="{{.Token}}"/>
|
||||||
<br />
|
<br />
|
||||||
<button class="btn btn-primary" type="submit">Save</button>
|
<button class="btn btn-primary" type="submit">Save</button>
|
||||||
</form>
|
</form>
|
||||||
|
@ -66,5 +66,5 @@
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{define "scripts"}}
|
{{define "scripts"}}
|
||||||
<script src="/js/app/settings.js">
|
<script src="/js/app/settings.js"></script>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in New Issue