diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-06 11:30:11 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-06 11:30:11 (GMT) |
commit | b2c8b7821e7e4ff82c65f0ab360ae067dded9e94 (patch) | |
tree | 2dcc3b145223710dc4d52393d187fc1580fa4e34 | |
parent | d2abd150f14f21d05ae2dc844985cb7b64815b00 (diff) | |
download | site-b2c8b7821e7e4ff82c65f0ab360ae067dded9e94.tar.gz |
Rename /media directory to /resources
This is just cosmetics.
-rw-r--r-- | etc/nginx/site.conf | 4 | ||||
-rw-r--r-- | web/input/resources/favicon.ico (renamed from web/input/media/favicon.ico) | bin | 4286 -> 4286 bytes | |||
-rw-r--r-- | web/input/resources/github.png (renamed from web/input/media/github.png) | bin | 7927 -> 7927 bytes | |||
-rw-r--r-- | web/input/resources/plugins.css (renamed from web/input/media/plugins.css) | 0 | ||||
-rw-r--r-- | web/page.html | 6 |
5 files changed, 5 insertions, 5 deletions
diff --git a/etc/nginx/site.conf b/etc/nginx/site.conf index 9105591..a4fd42d 100644 --- a/etc/nginx/site.conf +++ b/etc/nginx/site.conf | |||
@@ -28,7 +28,7 @@ server { | |||
28 | root /home/plugins/web; | 28 | root /home/plugins/web; |
29 | fancyindex on; | 29 | fancyindex on; |
30 | fancyindex_exact_size off; | 30 | fancyindex_exact_size off; |
31 | fancyindex_css_href /media/plugins.css; | 31 | fancyindex_css_href /resources/plugins.css; |
32 | } | 32 | } |
33 | 33 | ||
34 | # | 34 | # |
@@ -57,7 +57,7 @@ server { | |||
57 | # Redirects etc. | 57 | # Redirects etc. |
58 | # | 58 | # |
59 | location = /favicon.ico { | 59 | location = /favicon.ico { |
60 | root /home/plugins/web/site/media; | 60 | root /home/plugins/web/site/resources; |
61 | } | 61 | } |
62 | location ^~ /snapshot { | 62 | location ^~ /snapshot { |
63 | return 301 /download$request_uri; | 63 | return 301 /download$request_uri; |
diff --git a/web/input/media/favicon.ico b/web/input/resources/favicon.ico index 76ae569..76ae569 100644 --- a/web/input/media/favicon.ico +++ b/web/input/resources/favicon.ico | |||
Binary files differ | |||
diff --git a/web/input/media/github.png b/web/input/resources/github.png index 1e19c21..1e19c21 100644 --- a/web/input/media/github.png +++ b/web/input/resources/github.png | |||
Binary files differ | |||
diff --git a/web/input/media/plugins.css b/web/input/resources/plugins.css index 552284f..552284f 100644 --- a/web/input/media/plugins.css +++ b/web/input/resources/plugins.css | |||
diff --git a/web/page.html b/web/page.html index eae4549..5aeb5b9 100644 --- a/web/page.html +++ b/web/page.html | |||
@@ -9,8 +9,8 @@ | |||
9 | <meta http-equiv="Content-Type" content="text/html; charset={{ __encoding__ }}" /> | 9 | <meta http-equiv="Content-Type" content="text/html; charset={{ __encoding__ }}" /> |
10 | <meta name="description" content="{{ hx(page.description) }}" /> | 10 | <meta name="description" content="{{ hx(page.description) }}" /> |
11 | <meta name="keywords" content="{{ hx(page.keywords) }}" /> | 11 | <meta name="keywords" content="{{ hx(page.keywords) }}" /> |
12 | <link href="media/plugins.css" rel="stylesheet" type="text/css" /> | 12 | <link href="resources/plugins.css" rel="stylesheet" type="text/css" /> |
13 | <link href="media/favicon.ico" rel="shortcut icon" type="image/x-icon" /> | 13 | <link href="resources/favicon.ico" rel="shortcut icon" type="image/x-icon" /> |
14 | <script> | 14 | <script> |
15 | ! function (d, s, id) { | 15 | ! function (d, s, id) { |
16 | var js, fjs = d.getElementsByTagName(s)[0], | 16 | var js, fjs = d.getElementsByTagName(s)[0], |
@@ -29,7 +29,7 @@ | |||
29 | <div> | 29 | <div> |
30 | <a href="https://github.com/nagios-plugins"><img | 30 | <a href="https://github.com/nagios-plugins"><img |
31 | style="position: absolute; top: 0; right: 0; border: 0;" | 31 | style="position: absolute; top: 0; right: 0; border: 0;" |
32 | src="media/github.png" alt="Fork me on GitHub"/></a> | 32 | src="resources/github.png" alt="Fork me on GitHub"/></a> |
33 | </div> | 33 | </div> |
34 | <div id="menu">{% menu() %}</div> | 34 | <div id="menu">{% menu() %}</div> |
35 | <div id="breadcrumb">{{ breadcrumb() }}</div> | 35 | <div id="breadcrumb">{{ breadcrumb() }}</div> |