remove revisioning from footer\
revisioning on footer was wrong because it would always have one revision less. From now on, it is the user's responsability to know when he have downloaded caddy (if downloaded from caddyserver.com) OR to know which revision he is in (if he built from source).
This commit is contained in:
5 files changed
+3
-15
No files matched your search
@@ -264,6 +264,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>Served with <a rel="noopener noreferrer" href="https://caddyserver.com">Caddy</a> and <a rel="noopener noreferrer" href="https://github.com/hacdias/caddy-filemanager">File Manager</a>. Revision {{ .Commit }}.</footer>
|
||||
<footer>Served with <a rel="noopener noreferrer" href="https://caddyserver.com">Caddy</a> and <a rel="noopener noreferrer" href="https://github.com/hacdias/caddy-filemanager">File Manager</a>.</footer>
|
||||
</body>
|
||||
</html>
|
||||
+2
-2
@@ -411,7 +411,7 @@ func (fi bindataFileInfo) Sys() interface{} {
|
||||
return nil
|
||||
}
|
||||
|
||||
var _templatesBaseTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x5a\x5f\x6f\xdb\x38\x12\x7f\x2f\xd0\xef\x30\x2b\x2c\xb0\x09\xae\xb6\x6e\xbb\x2f\x87\xac\xac\x45\x2f\xc9\x62\x7b\x97\xb4\x45\xd3\xee\xe1\x9e\x0c\x5a\x1c\x5b\x6c\x28\x52\x4b\x52\x76\x1c\xc3\xdf\xfd\x40\x8a\x92\x65\x5b\xf2\xbf\x24\x87\xc3\x6d\x5e\x1c\x51\x9c\x7f\xbf\x99\xe1\x0c\x49\x45\xdf\x5d\x7d\xbc\xfc\xf2\xef\x4f\xd7\x90\x9a\x8c\xc7\xaf\x5f\x45\xfe\x77\xb1\x80\xef\xc9\x48\x7f\xfd\x7c\x03\x17\x03\xe8\x5f\x4a\x31\x66\x93\xfe\xbb\x91\x96\xbc\x30\x68\x87\x97\x4b\x3b\x1b\x09\x8d\x5f\xbf\x02\x00\x88\x0c\x33\x1c\xe3\xc5\xa2\xff\x81\x64\xb8\x5c\x46\x61\x39\xe0\xdf\x66\x68\x08\x08\x92\xe1\x20\x98\x32\x9c\xe5\x52\x99\x00\x12\x29\x0c\x0a\x33\x08\x66\x8c\x9a\x74\x40\x71\xca\x12\xec\xb9\x87\x37\xc0\x04\x33\x8c\xf0\x9e\x4e\x08\xc7\xc1\x8f\x6f\x20\x23\x0f\x2c\x2b\xb2\xd5\x40\xa1\x51\xb9\x27\x32\xe2\x38\xf8\x6b\xb0\x26\x2b\x49\x89\xd2\x68\x06\x41\x61\xc6\xbd\xbf\xd5\xef\x38\x13\xf7\xa0\x90\x0f\x02\x6d\xe6\x1c\x75\x8a\x68\x02\x48\x15\x8e\x07\xc1\x62\xd1\x61\x69\x38\x1c\x33\x8e\x19\x11\x64\x82\x8a\x09\x83\x4a\x10\x1e\x26\x5a\x87\x42\xaa\x8c\x70\xf6\x88\xfd\x44\xeb\x97\x12\x32\x96\xc2\xe8\x97\x14\x50\x32\x69\x4a\x58\x2c\x7a\xc0\xc6\x20\x10\xfa\x5f\x35\xaa\xfe\x9d\x9d\x71\x67\xc5\x40\x10\x40\xcf\x3a\xdf\x29\xe2\x28\xe3\xc5\x02\x2e\xef\xee\xb6\xa7\xda\x28\x28\x67\xac\xb8\xa2\xa0\x25\x7d\xc5\x21\x51\x2c\x37\x7e\xc2\x94\x28\xe7\x55\x18\xc0\x3f\xee\x3e\x7e\xe8\xe7\xd6\x87\x67\x3f\x2c\x16\x70\x4b\x94\x4e\x09\x2f\x65\xc0\x72\xf9\xc3\xf9\x9b\x92\xc4\xfe\xcd\x70\x44\xc9\xd4\x5a\x39\x80\x60\xb1\xd8\x34\xff\x5f\xf5\xeb\xe5\x32\x68\x90\x8d\x88\xc6\x4e\xa2\xaf\x9f\x6f\xd6\x67\xe7\x0a\xc7\xec\xa1\x9e\x5f\x83\xfc\xa9\x1e\x5f\x2e\x83\x9f\xbd\x55\xe1\x9a\x59\xde\x48\xd0\x2a\x39\xda\x3f\xdf\x74\x98\xc8\x2c\x93\xa2\xff\x4d\x07\x40\x71\x8c\x2a\xde\x60\xef\x9d\xd5\x7f\xaf\xaf\x98\x82\x95\x6f\x9e\x24\x94\x33\x6d\x98\x98\xec\x96\x8a\x5c\xe3\xb3\x08\x24\x09\x86\x5a\x25\xbd\x8c\x09\xfb\x7f\x9b\xd4\xe7\x30\x6a\x8a\x82\x4a\x15\x8e\xa5\xca\xde\x7e\xd3\xdd\xb6\x3d\x51\x0c\x52\x66\xa4\xda\x03\x9d\xa0\x35\x72\x95\x03\xbd\x94\xdf\x8a\x89\xbc\x16\x76\x51\xa3\x47\x83\x9b\x16\x13\xd9\x54\x85\xe4\x39\x67\x09\x31\x6c\x5f\x00\x55\xfa\x44\xa1\x5f\xd4\xa3\x91\xa4\xf3\x0a\x0f\x3b\x86\x2a\x5e\x65\x43\x44\xd9\x14\x18\x1d\x04\x46\xe6\xbd\x11\x51\x41\xe3\x5d\xf5\x3e\x8e\xf2\xf8\x57\xc6\x11\x6e\x4b\x88\xa2\x30\x8f\xa3\xd0\xbe\xd8\x9e\xeb\x78\x69\x24\x2a\x49\x37\x59\xb9\x29\x0c\x12\x4e\xb4\x1e\x04\x19\x31\xa8\x6c\x5d\x60\x89\x14\x3a\x00\x57\x65\x06\xc1\x9d\x27\x2d\x59\x44\x21\x6b\x65\x22\xf2\xc2\x80\x99\xe7\x38\x08\x0c\x3e\x98\x00\x72\x4e\x12\x4c\x25\xa7\xa8\x2a\x1e\x20\x15\xe0\x03\x26\x85\x41\x20\x60\x73\x8f\x08\xda\xef\xf7\x5b\xd5\xda\x36\x66\xed\xd5\x8d\x24\xd4\x26\x51\xbf\xdf\x66\x77\x3d\x35\x8f\xbb\xec\x03\x9d\x33\x11\xc4\xa4\x30\x52\xa1\xc0\x99\x35\xcc\xc2\xd8\xa2\x4a\x1b\xb0\x7e\xac\x05\x6e\x2f\x8d\x24\x36\x32\x02\x87\x3e\x97\x13\x59\x98\x93\xd0\xbf\xf1\xa4\xf8\xc0\xcc\xd0\xc8\x21\xc9\xf3\x6d\x17\x6c\x6a\xb8\xad\x5d\x1d\x08\x23\x69\x8c\xcc\x3a\xe3\x6a\x5b\xc3\x46\xbd\xb2\xed\x07\x04\x61\x50\x65\xce\x96\xe9\x94\x18\xd2\xa3\x4a\xe6\x54\xce\x44\x1b\x10\xb9\xc2\x29\x93\x85\x6e\x83\x62\x27\x1c\xb1\x2e\x46\x94\x29\x4c\x8c\x54\xf3\x21\x51\x4a\xce\x86\x1c\xc7\xa6\x3d\x1c\x1d\xab\x82\x57\xbc\x2a\x8d\x4a\x1d\x46\x0a\x09\x4d\x54\x91\x8d\x3a\xd5\xb0\x36\x2b\x22\x26\x08\xdf\x33\x83\x99\x6b\xd4\xfe\x5e\x93\xdd\x92\x1c\xda\x20\xa8\x25\x93\x55\xbf\x50\xb5\x7a\xcb\xa5\x7d\xb0\xcc\xfa\xbe\x9e\xc5\x11\x67\x71\x3d\xe8\xa0\xb5\x45\x9d\xdb\x28\x24\x3b\xf4\x6a\xae\x6e\x5b\x92\xc3\x82\x1f\x18\xc0\x9b\xec\xda\xde\x6e\xfb\x3d\xca\x1d\x84\x49\xa1\x14\x0a\xd3\xb3\x8b\x74\x60\x8d\x58\xe9\x9f\xdb\xc7\x36\x1d\x0f\xcd\x18\x5d\xca\xad\x4b\x2e\x50\xa6\xdd\x82\x5d\xf3\x2d\xdd\x68\x65\xf7\xa4\xe0\xf3\x36\x27\xfa\xa0\x25\x82\xc2\x99\x90\xc6\x73\x3b\x87\xb3\xb2\x91\x7a\xc7\xb9\x9c\x5d\x53\x66\xce\x5b\xa1\xac\x8a\xc6\xb5\x2b\x36\x5d\xe8\xb8\x39\xf8\x07\xf4\xaf\x88\x21\xfd\x5b\x49\x11\x82\x8c\xa8\xfb\x32\xd2\x3a\x73\xa4\x2b\x2b\x70\x16\x80\x14\x09\x67\xc9\xfd\x20\x10\xd2\xbc\xcf\x72\x8e\x19\x0a\x83\xf4\x0c\xa7\x28\xcc\xf9\xcf\x47\x67\x4d\xb5\x88\x7c\xf2\x02\x62\x85\x99\x9c\xe2\x50\x21\x1d\xe2\x1c\x3b\xd6\xf2\x13\xa3\x65\x1d\x8f\xdf\x99\x2e\x08\x07\xa3\x0a\x3c\x0a\x0b\x5b\xe0\x7b\x5a\x16\x2a\xc1\x93\xcd\xfd\x22\x27\x13\x8e\x60\x59\x41\xc5\x2a\x91\xf4\x09\xf6\x1e\x87\x45\x97\x6d\x9a\x4c\x4f\x37\xea\xce\x11\x5b\x16\x2f\xe0\xb6\x8d\x06\xf7\x10\x63\x64\x8e\xe2\x74\x63\x10\x41\x91\x59\x10\x5b\x2e\x43\x26\x86\xbe\x00\x77\xb0\xd3\x39\x11\xb1\xa7\x89\x42\xf7\xf4\xcc\x00\xb8\x95\x62\x6b\x71\x38\xab\xd6\x8d\x63\x80\xb1\x19\x76\x32\x30\xb7\x8e\x78\x2c\xd5\x8c\x28\xba\x0f\x11\x3b\x19\xec\x3a\xf8\x72\x98\xf8\xc0\xd8\x40\xe6\x28\x3c\x14\x0a\x92\x9d\x8e\x88\x95\x17\xc4\x99\xa4\x38\xb4\x09\xfd\x02\xc1\xef\xec\xdc\x30\xf0\x84\x84\xa0\xc8\xd1\x9c\x6e\xe7\x95\x27\x2f\xd9\xb8\x6e\xd4\x39\xf5\xca\x3f\x3f\xc1\xc3\x6d\xf3\xf7\x95\x61\xc8\xe4\xa8\xae\xb0\x3e\xae\x55\xab\x75\xdd\x3d\x9b\xa5\x18\x4e\x51\xb5\x38\xed\xe0\x6e\xc0\xcb\x26\x4c\xf4\xaa\x91\xLine truncated
|
||||
var _templatesBaseTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x5a\x5f\x6f\xdb\x38\x12\x7f\x2f\xd0\xef\x30\x2b\x2c\xb0\x09\xae\xb6\x6e\xbb\x2f\x87\xac\xac\x45\x2f\xc9\x62\x7b\x97\xb4\x45\xd3\xee\xe1\x9e\x0c\x5a\x1c\x5b\x6c\x28\x52\x4b\x52\x76\x1c\xc3\xdf\xfd\x40\x8a\x92\x65\x5b\xf2\xbf\x24\x87\xc3\x6d\x5f\x52\x51\x9c\x1f\x67\x7e\x33\xc3\x19\x52\x8e\xbe\xbb\xfa\x78\xf9\xe5\xdf\x9f\xae\x21\x35\x19\x8f\x5f\xbf\x8a\xfc\xdf\xc5\x02\xbe\x27\x23\xfd\xf5\xf3\x0d\x5c\x0c\xa0\x7f\x29\xc5\x98\x4d\xfa\xef\x46\x5a\xf2\xc2\xa0\x1d\x5e\x2e\xed\x6c\x24\x34\x7e\xfd\x0a\x00\x20\x32\xcc\x70\x8c\x17\x8b\xfe\x07\x92\xe1\x72\x19\x85\xe5\x80\x7f\x9b\xa1\x21\x20\x48\x86\x83\x60\xca\x70\x96\x4b\x65\x02\x48\xa4\x30\x28\xcc\x20\x98\x31\x6a\xd2\x01\xc5\x29\x4b\xb0\xe7\x1e\xde\x00\x13\xcc\x30\xc2\x7b\x3a\x21\x1c\x07\x3f\xbe\x81\x8c\x3c\xb0\xac\xc8\x56\x03\x85\x46\xe5\x9e\xc8\x88\xe3\xe0\xaf\xc1\xda\x5a\x49\x4a\x94\x46\x33\x08\x0a\x33\xee\xfd\xad\x7e\xc7\x99\xb8\x07\x85\x7c\x10\x68\x33\xe7\xa8\x53\x44\x13\x40\xaa\x70\x3c\x08\x16\x8b\x0e\x4b\xc3\xe1\x98\x71\xcc\x88\x20\x13\x54\x4c\x18\x54\x82\xf0\x30\xd1\x3a\x14\x52\x65\x84\xb3\x47\xec\x27\x5a\xbf\xd4\x22\x63\x29\x8c\x7e\xc9\x05\x4a\x90\xe6\x0a\x8b\x45\x0f\xd8\x18\x04\x42\xff\xab\x46\xd5\xbf\xb3\x33\xee\xec\x32\x10\x04\xd0\xb3\xce\x77\x8a\x38\xc9\x78\xb1\x80\xcb\xbb\xbb\xed\xa9\x36\x0a\xca\x19\x2b\x54\x14\xb4\x94\xaf\x10\x12\xc5\x72\xe3\x27\x4c\x89\x72\x5e\x85\x01\xfc\xe3\xee\xe3\x87\x7e\x6e\x7d\x78\xf6\xc3\x62\x01\xb7\x44\xe9\x94\xf0\x72\x0d\x58\x2e\x7f\x38\x7f\x53\x8a\xd8\x7f\x33\x1c\x51\x32\xb5\x56\x0e\x20\x58\x2c\x36\xcd\xff\x57\xfd\x7a\xb9\x0c\x1a\x62\x23\xa2\xb1\x53\xe8\xeb\xe7\x9b\xf5\xd9\xb9\xc2\x31\x7b\xa8\xe7\xd7\x24\x7f\xaa\xc7\x97\xcb\xe0\x67\x6f\x55\xb8\x66\x96\x37\x12\xb4\x4a\x8e\xf6\xcf\x37\x1d\x26\x32\xcb\xa4\xe8\x7f\xd3\x01\x50\x1c\xa3\x8a\x37\xe0\xbd\xb3\xfa\xef\xf5\x15\x53\xb0\xf2\xcd\x93\x16\xe5\x4c\x1b\x26\x26\xbb\x57\x45\xae\xf1\x59\x16\x24\x09\x86\x5a\x25\xbd\x8c\x09\xfb\xff\xb6\x55\x9f\xc3\xa8\x29\x0a\x2a\x55\x38\x96\x2a\x7b\xfb\x4d\x77\xdb\xf6\xc4\x65\x90\x32\x23\xd5\x1e\xea\x04\xad\x99\xab\x1c\xe8\x57\xf9\xad\x98\xc8\x6b\x61\x37\x35\x7a\x34\xb9\x69\x31\x91\x4d\x55\x48\x9e\x73\x96\x10\xc3\xf6\x05\x50\xa5\x4f\x14\xfa\x4d\x3d\x1a\x49\x3a\xaf\xf8\xb0\x63\xa8\xe2\x55\x36\x44\x94\x4d\x81\xd1\x41\x60\x64\xde\x1b\x11\x15\x34\xde\x55\xef\xe3\x28\x8f\x7f\x65\x1c\xe1\xb6\xa4\x28\x0a\xf3\x38\x0a\xed\x8b\xed\xb9\x0e\x4b\x23\x51\x49\xba\x09\xe5\xa6\x30\x48\x38\xd1\x7a\x10\x64\xc4\xa0\xb2\x75\x81\x25\x52\xe8\x00\x5c\x95\x19\x04\x77\x5e\xb4\x84\x88\x42\xd6\x0a\x22\xf2\xc2\x80\x99\xe7\x38\x08\x0c\x3e\x98\x00\x72\x4e\x12\x4c\x25\xa7\xa8\x2a\x0c\x90\x0a\xf0\x01\x93\xc2\x20\x10\xb0\xb9\x47\x04\xed\xf7\xfb\xad\x6a\x6d\x1b\xb3\xf6\xea\x46\x12\x6a\x93\xa8\xdf\x6f\xb3\xbb\x9e\x9a\xc7\x5d\xf6\x81\xce\x99\x08\x62\x52\x18\xa9\x50\xe0\xcc\x1a\x66\x69\x6c\x51\xa5\x8d\x58\x3f\xd6\x42\xb7\x5f\x8d\x24\x36\x32\x02\xc7\x3e\x97\x13\x59\x98\x93\xd8\xbf\xf1\xa2\xf8\xc0\xcc\xd0\xc8\x21\xc9\xf3\x6d\x17\x6c\x6a\xb8\xad\x5d\x1d\x08\x23\x69\x8c\xcc\x3a\xe3\x6a\x5b\xc3\x46\xbd\xb2\xed\x07\x04\x61\x50\x65\xce\x96\xe9\x94\x18\xd2\xa3\x4a\xe6\x54\xce\x44\x1b\x11\xb9\xc2\x29\x93\x85\x6e\xa3\x62\x27\x1d\xb1\x2e\x46\x94\x29\x4c\x8c\x54\xf3\x21\x51\x4a\xce\x86\x1c\xc7\xa6\x3d\x1c\x1d\x54\xc1\x2b\xac\x4a\xa3\x52\x87\x91\x42\x42\x13\x55\x64\xa3\x4e\x35\xac\xcd\x8a\x88\x09\xc2\xf7\xcc\x60\xe6\x1a\xb5\xbf\xd7\x62\xb7\x24\x87\x36\x0a\xea\x95\xc9\xaa\x5f\xa8\x5a\xbd\xe5\xd2\x3e\x58\xb0\xbe\xaf\x67\x71\xc4\x59\x5c\x0f\x3a\x6a\x6d\x51\xe7\x36\x0a\xc9\x0e\xbd\x9a\xbb\xdb\xd6\xca\x61\xc1\x0f\x0c\xe0\x4d\xb8\xb6\xb7\xdb\x7e\x8f\x72\x47\x61\x52\x28\x85\xc2\xf4\xec\x26\x1d\x58\x23\x56\xfa\xe7\xf6\xb1\x4d\xc7\x43\x33\x46\x97\xeb\xd6\x25\x17\x28\xd3\x6e\xc3\xae\x71\x4b\x37\xda\xb5\x7b\x52\xf0\x79\x9b\x13\x7d\xd0\x12\x41\xe1\x4c\x48\xe3\xd1\xce\xe1\xac\x6c\xa4\xde\x71\x2e\x67\xd7\x94\x99\xf3\x56\x2a\xab\xa2\x71\xed\x8a\x4d\x17\x3b\x6e\x0e\xfe\x01\xfd\x2b\x62\x48\xff\x56\x52\x84\x20\x23\xea\xbe\x8c\xb4\xce\x1c\xe9\xca\x0a\x9c\x05\x20\x45\xc2\x59\x72\x3f\x08\x84\x34\xef\xb3\x9c\x63\x86\xc2\x20\x3d\xc3\x29\x0a\x73\xfe\xf3\xd1\x59\x53\x6d\x22\x9f\xfc\x02\xb1\xc2\x4c\x4e\x71\xa8\x90\x0e\x71\x8e\x1d\x7b\xf9\x89\xd1\xb2\xce\xc7\xef\x4c\x17\x84\x83\x51\x05\x1e\xc5\x85\x2d\xf0\x3d\x2d\x0b\x95\xe0\xc9\xe6\x7e\x91\x93\x09\x47\xb0\x50\x50\x41\x25\x92\x3e\xc1\xde\xe3\xb8\xe8\xb2\x4d\x93\xe9\xe9\x46\xdd\x39\x61\x0b\xf1\x02\x6e\xdb\x68\x70\x0f\x31\x46\xe6\x28\x4e\x37\x06\x11\x14\x99\x05\xb1\x45\x19\x32\x31\xf4\x05\xb8\x03\x4e\xe7\x44\xc4\x5e\x26\x0a\xdd\xd3\x33\x13\xe0\x76\x8a\xad\xcd\xe1\xac\xda\x37\x8e\x21\xc6\x66\xd8\xc9\xc4\xdc\x3a\xe1\xb1\x54\x33\xa2\xe8\x3e\x46\xec\x64\xb0\xfb\xe0\xcb\x71\xe2\x03\x63\x83\x99\xa3\xf8\x50\x28\x48\x76\x3a\x23\x76\xbd\x20\xce\x24\xc5\xa1\x4d\xe8\x17\x08\x7e\x67\xe7\x86\x81\x27\x24\x04\x45\x8e\xe6\x74\x3b\xaf\xbc\x78\x09\xe3\xba\x51\xe7\xd4\x2b\xff\xfc\x04\x0f\xb7\xcd\xdf\x57\x86\x21\x93\xa3\xba\xc2\xfa\xb8\x56\xad\xd6\x75\xf7\x6c\x56\x62\x38\x45\xd5\xe2\xb4\x83\xbb\x01\xbf\x36\x61\xa2\x57\xLine truncated
|
||||
|
||||
func templatesBaseTmplBytes() ([]byte, error) {
|
||||
return bindataRead(
|
||||
@@ -426,7 +426,7 @@ func templatesBaseTmpl() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "templates/base.tmpl", size: 10773, mode: os.FileMode(438), modTime: time.Unix(1492260775, 0)}
|
||||
info := bindataFileInfo{name: "templates/base.tmpl", size: 10749, mode: os.FileMode(438), modTime: time.Unix(1492332205, 0)}
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
return a, nil
|
||||
}
|
||||
|
||||
@@ -34,11 +34,6 @@ type Info struct {
|
||||
Token string
|
||||
}
|
||||
|
||||
// Commit returns the current build commit
|
||||
func (i *Info) Commit() string {
|
||||
return GIT_COMMIT_HASH
|
||||
}
|
||||
|
||||
// BreadcrumbMapItem ...
|
||||
type BreadcrumbMapItem struct {
|
||||
Name string
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
package page
|
||||
|
||||
var GIT_COMMIT_HASH = "2640977"
|
||||
var CIRCLE_BUILD_NUM = ""
|
||||
var GENERATED int64 = 1492331950511420300
|
||||
@@ -1,11 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
go get github.com/jteeuwen/go-bindata/go-bindata
|
||||
go get github.com/bountylabs/gitversion
|
||||
|
||||
go-bindata -pkg assets -prefix "_embed" \
|
||||
-o assets/binary.go -ignore "^.*theme-([^g]|g[^i]|gi[^t]|git[^h]|gith[^u]|githu[^b]).*\.js$" \
|
||||
_embed/templates/... _embed/public/js/... _embed/public/css/... _embed/public/ace/src-min/...
|
||||
|
||||
gitversion -s -o page/version.go -p page
|
||||
git add -A
|
||||
Reference in new issue
Block a user