[Kimchi-devel] [PATCH] [Wok] Adds DataTables.net plugin and Moment.js to Wok

Aline Manera alinefm at linux.vnet.ibm.com
Mon Jun 27 18:53:40 UTC 2016



On 06/24/2016 05:57 PM, sguimaraes943 at gmail.com wrote:
> From: Samuel Guimarães <sguimaraes943 at gmail.com>
>
> This commit adds DataTables.net jQuery plugin and Moment.js library to Wok.
>
> DataTables.net is a table plugin that supports pagination, instance search and multi-column ordering. It also has a responsive module and it is compatible with many different CSS libraries.
> In this commit it is included a customization for its Bootstrap integration and a default initialization script pre-loaded with Wok styles.
>
> Moment.js is a lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates. It is required in order to filter and sort dates properly in Wok User Logs and Ginger Configuration Backup.
>
> Signed-off-by: Samuel Guimarães <sguimaraes943 at gmail.com>
> ---
>   configure.ac                         |   3 +
>   ui/css/Makefile.am                   |   8 +-
>   ui/css/datatables.bootstrap.css      | 243 +++++++++++++++++++++++++++++
>   ui/css/src/datatables.bootstrap.scss | 289 +++++++++++++++++++++++++++++++++++
>   ui/js/src/wok.datatables.js          |  26 ++++
>   ui/libs/Makefile.am

>                  |   2 +-
>   ui/libs/datatables/Makefile.am       |  23 +++
>   ui/libs/datatables/css/Makefile.am   |  21 +++
>   ui/libs/moment/LICENSE               |  22 +++
>   ui/libs/moment/Makefile.am           |  21 +++

Why are you creating empty directories? Is it indeed or you forgot to 
add the files to this patch?

>   ui/pages/login.html.tmpl             |   5 +
>   ui/pages/wok-ui.html.tmpl            |   5 +
>   12 files changed, 665 insertions(+), 3 deletions(-)
>   create mode 100644 ui/css/datatables.bootstrap.css
>   create mode 100644 ui/css/src/datatables.bootstrap.scss
>   create mode 100644 ui/js/src/wok.datatables.js
>   create mode 100644 ui/libs/datatables/Makefile.am
>   create mode 100644 ui/libs/datatables/css/Makefile.am
>   create mode 100644 ui/libs/moment/LICENSE
>   create mode 100644 ui/libs/moment/Makefile.am
>




More information about the Kimchi-devel mailing list