pull/144/head
Henrique Dias 2016-06-28 17:11:48 +01:00
parent ebfe0f8e89
commit 2882caeedd
3 changed files with 401 additions and 399 deletions

View File

@ -850,17 +850,21 @@ i.spin {
margin-left: 1em;
}
#editor #submit span {
#editor button span {
vertical-align: middle;
transition: 0.2s ease-in-out all;
}
#editor #submit span i {
#editor button span i {
vertical-align: sub;
font-size: 1.3rem;
margin-right: .2em;
}
#editor #publish {
background-color: #167169;
}
#editor .group.temp {
background-color: #f5f5f5;
}
@ -876,6 +880,12 @@ i.spin {
color: #212121;
}
#editor .right {
display: inline-block;
text-align: right;
float: right;
}
@media screen and (max-width: 1024px) {
header p a:first-of-type,
header p i:first-of-type {

View File

@ -55,14 +55,6 @@
{{ template "actions" . }}
{{ 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">
<i class="material-icons">exit_to_app</i>
</div>
@ -110,6 +102,6 @@
<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/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>
</html>

View File

@ -38,7 +38,7 @@
{{ if eq .HTMLType "textarea" }}
<textarea class="scroll" name="{{ .Name }}" id="{{.Name }}" data-parent-type="{{ .Parent.Type }}">{{ .Content.Other }}</textarea>
{{ 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 }}
<input name="{{ .Name }}" id="{{ .Name }}" value="{{ .Content.Other }}" type="{{ .HTMLType }}" data-parent-type="{{ .Parent.Type }}"></input>
{{ end }}