Using Bootstrap Table from https://github.com/wenzhixin/bootstrap-table. Trying to add ability to filter returned results from json file by setting a To and From date value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import grails.util.Environment | |
import com.alogient.learn.User | |
import com.alogient.learn.Role | |
import com.alogient.learn.UserRole | |
class BootStrap { | |
def init = { servletContext -> | |
def adminRole = new Role(authority: 'ROLE_ADMIN').save(flush: true) | |
def userRole = new Role(authority: 'ROLE_USER').save(flush: true) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="flex flex-col items-center"> | |
<div class="w-full md:w-1/2 flex flex-col items-center h-64"> | |
<div class="w-full px-4"> | |
<div x-data="selectConfigs()" x-init="fetchOptions()" class="flex flex-col items-center relative"> | |
<div class="w-full"> | |
<div @click.away="close()" class="my-2 p-1 bg-white flex border border-gray-200 rounded"> | |
<input | |
x-model="filter" | |
x-transition:leave="transition ease-in duration-100" | |
x-transition:leave-start="opacity-100" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env groovy | |
import groovy.grape.Grape | |
import groovy.sql.Sql | |
import com.csvreader.CsvReader | |
@Grab(group='net.sourceforge.javacsv', module='javacsv', version='2.0') | |
class Import {} | |
Grape.grab( |
Set the base image to Ubuntu must be first instruction - use docker search to find images
FROM ubuntu # <image>
FROM ubuntu:latest # - <image>:<tag>
FROM ubuntu:precise (LTS)
Set the maintainer info