diff options
Diffstat (limited to 'src/fluent-bit/lib/monkey/plugins/dirlisting/conf')
8 files changed, 132 insertions, 0 deletions
diff --git a/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/CMakeLists.txt b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/CMakeLists.txt new file mode 100644 index 000000000..4faf80a4d --- /dev/null +++ b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/CMakeLists.txt @@ -0,0 +1,11 @@ +set(conf_dir "${MK_PATH_CONF}/plugins/dirlisting/") + +install(DIRECTORY DESTINATION ${conf_dir}) + +if(BUILD_LOCAL) + file(COPY dirhtml.conf DESTINATION ${conf_dir}) + file(COPY themes DESTINATION ${conf_dir}) +else() + install(FILES dirhtml.conf DESTINATION ${conf_dir}) + install(DIRECTORY themes DESTINATION ${conf_dir}) +endif()
\ No newline at end of file diff --git a/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/dirhtml.conf b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/dirhtml.conf new file mode 100644 index 000000000..c73188df2 --- /dev/null +++ b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/dirhtml.conf @@ -0,0 +1,2 @@ +[DIRLISTING] + Theme bootstrap diff --git a/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/bootstrap/entry.theme b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/bootstrap/entry.theme new file mode 100644 index 000000000..8c1ef026d --- /dev/null +++ b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/bootstrap/entry.theme @@ -0,0 +1,5 @@ +<tr> + <td><a title='%_target_title_%' href='%_target_url_%'>%_target_name_%</a></td> + <td>%_target_time_%</td> + <td>%_target_size_%</td> +</tr> diff --git a/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/bootstrap/footer.theme b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/bootstrap/footer.theme new file mode 100644 index 000000000..88290ac8b --- /dev/null +++ b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/bootstrap/footer.theme @@ -0,0 +1,8 @@ + <tbody> +</table> +</div> +</div> +<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> +<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> +</body> +</HTML> diff --git a/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/bootstrap/header.theme b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/bootstrap/header.theme new file mode 100644 index 000000000..f7f6cfcfd --- /dev/null +++ b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/bootstrap/header.theme @@ -0,0 +1,27 @@ +<html> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8"> + <title>Index of %_html_title_%</title> + <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> + <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"> + <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> + </head> + <body> + <div class="container"> + <h1>Index of %_html_title_%</h1> + <div class="table-responsive"> + <table class="table table-hover table-bordered"> + <thead> + <tr> + <th> + Name + </th> + <th> + Last time modified + </th> + <th> + Size + </th> + </tr> + </thead> + <tbody> diff --git a/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/guineo/entry.theme b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/guineo/entry.theme new file mode 100644 index 000000000..af00e250c --- /dev/null +++ b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/guineo/entry.theme @@ -0,0 +1,14 @@ +<TR> +<TD class="row"> + <A title='%_target_title_%' href='%_target_url_%'> + %_target_name_% + </A> +</TD> +<TD class="row"> + %_target_time_% +</TD> +<TD class="row"> + %_target_size_% + %_theme_path_% +</TD> +</TR> diff --git a/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/guineo/footer.theme b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/guineo/footer.theme new file mode 100644 index 000000000..c785ba97f --- /dev/null +++ b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/guineo/footer.theme @@ -0,0 +1,7 @@ +</TABLE> + +</TD> +</TR> +</TABLE> +</BODY></HTML> + diff --git a/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/guineo/header.theme b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/guineo/header.theme new file mode 100644 index 000000000..6a11a458f --- /dev/null +++ b/src/fluent-bit/lib/monkey/plugins/dirlisting/conf/themes/guineo/header.theme @@ -0,0 +1,58 @@ +<HTML> + <HEAD> + <META http-equiv="content-type" content="text/html; charset=UTF-8"> + <STYLE type="text/css"> + H1.header { + text-align: center; + color: #4a77a0; + font-size: 12pt; + font-weight: bold; + } + .row { + color: #6c95bc; + font-size: 10pt; + background-color: #ffffff; + padding-left: 0.4em; + } + .title {color: #617691; font-size: 10pt; font-weight: bold;} + + a:link { + color: #475f7e; + } + a:visited { + color: #ac7a2a; + } + a:hover { + color: #475f7e; + background-color: #dbdbdb; + text-decoration: none; + } + a:active { + color: #333333; + } + </STYLE> + + <TITLE>Index of %_html_title_%</TITLE> + </HEAD> +<BODY> + +<CENTER> +<IMG src="/imgs/monkey_logo.png"> +<BR> +<h1 class="header">Index of %_html_title_%</h1> +<TABLE cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="50%"> +<TR> +<TD> + +<TABLE cellpadding="2" cellspacing="1" border="0" bgcolor="#e7e7e7" width="100%"> +<TR bgcolor="#ececec"> + <TD class="title"> + Name + </TD> + <TD class="title"> + Last time modified + </TD> + <TD class="title"> + Size + </TD> +</TR> |