-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
cg33
committed
Mar 1, 2020
1 parent
dcdc1dc
commit 9df4e14
Showing
38 changed files
with
1,132 additions
and
1,507 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
{{define "form_default"}} | ||
<label for="{{.Field}}" class="col-sm-2 {{if .Must}}asterisk{{end}} control-label">{{.Head}}</label> | ||
<div class="col-sm-8"> | ||
<div class="box box-solid box-default no-margin"> | ||
<div class="box-body" style="min-height: 40px;"> | ||
{{.Value}} | ||
</div> | ||
<div class="box box-solid box-default no-margin"> | ||
<div class="box-body" style="min-height: 40px;"> | ||
{{.Value}} | ||
</div> | ||
{{if ne .HelpMsg ""}} | ||
<span class="help-block"> | ||
<i class="fa fa-info-circle"></i> {{.HelpMsg}} | ||
</span> | ||
{{end}} | ||
</div> | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
{{define "form_email"}} | ||
<label for="{{.Field}}" class="col-sm-2 {{if .Must}}asterisk{{end}} control-label">{{.Head}}</label> | ||
<div class="col-sm-8"> | ||
<div class="input-group"> | ||
<span class="input-group-addon"><i class="fa fa-envelope fa-fw"></i></span> | ||
<input {{if .Must}}required="1"{{end}} type="email" id="{{.Field}}" name="{{.Field}}" value='{{.Value}}' | ||
class="form-control json" | ||
placeholder="{{lang "Input"}} {{.Head}}"> | ||
</div> | ||
{{if ne .HelpMsg ""}} | ||
<span class="help-block"> | ||
<i class="fa fa-info-circle"></i> {{.HelpMsg}} | ||
</span> | ||
{{end}} | ||
<div class="input-group"> | ||
<span class="input-group-addon"><i class="fa fa-envelope fa-fw"></i></span> | ||
<input {{if .Must}}required="1"{{end}} type="email" id="{{.Field}}" name="{{.Field}}" value='{{.Value}}' | ||
class="form-control json" | ||
placeholder="{{.Placeholder}}"> | ||
</div> | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{define "help_block"}} | ||
{{if ne . ""}} | ||
<span class="help-block"> | ||
<i class="fa fa-info-circle"></i> {{.}} | ||
</span> | ||
{{end}} | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
{{define "form_ip"}} | ||
<label for="{{.Field}}" class="col-sm-2 {{if .Must}}asterisk{{end}} control-label">{{.Head}}</label> | ||
<div class="col-sm-8"> | ||
<div class="input-group"> | ||
<span class="input-group-addon"><i class="fa fa-laptop fa-fw"></i></span> | ||
<input {{if .Must}}required="1"{{end}} style="width: 130px" type="text" id="{{.Field}}" name="{{.Field}}" | ||
value='{{.Value}}' class="form-control json" | ||
placeholder="{{lang "Input"}} {{.Head}}"> | ||
</div> | ||
{{if ne .HelpMsg ""}} | ||
<span class="help-block"> | ||
<i class="fa fa-info-circle"></i> {{.HelpMsg}} | ||
</span> | ||
{{end}} | ||
<div class="input-group"> | ||
<span class="input-group-addon"><i class="fa fa-laptop fa-fw"></i></span> | ||
<input {{if .Must}}required="1"{{end}} style="width: 130px" type="text" id="{{.Field}}" name="{{.Field}}" | ||
value='{{.Value}}' class="form-control json" | ||
placeholder="{{.Placeholder}}"> | ||
</div> | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
{{define "form_password"}} | ||
<label for="{{.Field}}" class="col-sm-2 {{if .Must}}asterisk{{end}} control-label">{{.Head}}</label> | ||
<div class="col-sm-8"> | ||
{{if .Editable}} | ||
<div class="input-group"> | ||
<span class="input-group-addon"><i class="fa fa-eye-slash"></i></span> | ||
<input {{if .Must}}required="1"{{end}} type="password" id="{{.Field}}" name="{{.Field}}" | ||
value="{{.Value}}" | ||
class="form-control password" placeholder="{{lang "Input"}} {{.Head}}"> | ||
</div> | ||
{{else}} | ||
<div class="box box-solid box-default no-margin"> | ||
<div class="box-body">********</div> | ||
</div> | ||
{{end}} | ||
{{if ne .HelpMsg ""}} | ||
<span class="help-block"> | ||
<i class="fa fa-info-circle"></i> {{.HelpMsg}} | ||
</span> | ||
{{end}} | ||
</div> | ||
{{if .Editable}} | ||
<div class="input-group"> | ||
<span class="input-group-addon"><i class="fa fa-eye-slash"></i></span> | ||
<input {{if .Must}}required="1"{{end}} type="password" id="{{.Field}}" name="{{.Field}}" | ||
value="{{.Value}}" | ||
class="form-control password" placeholder="{{.Placeholder}}"> | ||
</div> | ||
{{else}} | ||
<div class="box box-solid box-default no-margin"> | ||
<div class="box-body">********</div> | ||
</div> | ||
{{end}} | ||
{{end}} |
Oops, something went wrong.