updates
parent
ebfe0f8e89
commit
2882caeedd
File diff suppressed because it is too large
Load Diff
|
@ -54,15 +54,7 @@
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ template "actions" . }}
|
{{ template "actions" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Config.HugoEnabled }}
|
|
||||||
<a href="{{ .Config.BaseURL }}/settings">
|
|
||||||
<div class="action">
|
|
||||||
<i class="material-icons">settings</i>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<div class="action" id="logout">
|
<div class="action" id="logout">
|
||||||
<i class="material-icons">exit_to_app</i>
|
<i class="material-icons">exit_to_app</i>
|
||||||
</div>
|
</div>
|
||||||
|
@ -110,6 +102,6 @@
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.3/ace.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.3/ace.js"></script>
|
||||||
<script src="{{ .Config.BaseURL }}/_filemanagerinternal/js/form2js.js"></script>
|
<script src="{{ .Config.BaseURL }}/_filemanagerinternal/js/form2js.js"></script>
|
||||||
<script src="{{ .Config.BaseURL }}/_filemanagerinternal/js/application.js"></script>
|
<script src="{{ .Config.BaseURL }}/_filemanagerinternal/js/application.js"></script>
|
||||||
{{ if .Config.HugoEnabled }}<script src="{{ .Config.BaseURL }}/_hugointernal/application.js"></script>{{ end }}
|
{{ if .Config.HugoEnabled }}<script src="{{ .Config.BaseURL }}/_hugointernal/js/application.js"></script>{{ end }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
{{ if eq .HTMLType "textarea" }}
|
{{ if eq .HTMLType "textarea" }}
|
||||||
<textarea class="scroll" name="{{ .Name }}" id="{{.Name }}" data-parent-type="{{ .Parent.Type }}">{{ .Content.Other }}</textarea>
|
<textarea class="scroll" name="{{ .Name }}" id="{{.Name }}" data-parent-type="{{ .Parent.Type }}">{{ .Content.Other }}</textarea>
|
||||||
{{ else if eq .HTMLType "datetime" }}
|
{{ else if eq .HTMLType "datetime" }}
|
||||||
<input name="{{ .Name }}" id="{{ .Name }}" value="{{ .Content.Other.Format " 2006-01-02T15:04" }}" type="datetime-local" data-parent-type="{{ .Parent.Type }}"></input>
|
<input name="{{ .Name }}" id="{{ .Name }}" value="{{ .Content.Other.Format "2006-01-02T15:04" }}" type="datetime-local" data-parent-type="{{ .Parent.Type }}"></input>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<input name="{{ .Name }}" id="{{ .Name }}" value="{{ .Content.Other }}" type="{{ .HTMLType }}" data-parent-type="{{ .Parent.Type }}"></input>
|
<input name="{{ .Name }}" id="{{ .Name }}" value="{{ .Content.Other }}" type="{{ .HTMLType }}" data-parent-type="{{ .Parent.Type }}"></input>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue