your message
31
.gitignore
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
HELP.md
|
||||
target/
|
||||
!.mvn/wrapper/maven-wrapper.jar
|
||||
!**/src/main/**
|
||||
!**/src/test/**
|
||||
|
||||
### STS ###
|
||||
.apt_generated
|
||||
.classpath
|
||||
.factorypath
|
||||
.project
|
||||
.settings
|
||||
.springBeans
|
||||
.sts4-cache
|
||||
|
||||
### IntelliJ IDEA ###
|
||||
.idea
|
||||
*.iws
|
||||
*.iml
|
||||
*.ipr
|
||||
|
||||
### NetBeans ###
|
||||
/nbproject/private/
|
||||
/nbbuild/
|
||||
/dist/
|
||||
/nbdist/
|
||||
/.nb-gradle/
|
||||
build/
|
||||
|
||||
### VS Code ###
|
||||
.vscode/
|
117
.mvn/wrapper/MavenWrapperDownloader.java
vendored
Normal file
@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2007-present the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import java.net.*;
|
||||
import java.io.*;
|
||||
import java.nio.channels.*;
|
||||
import java.util.Properties;
|
||||
|
||||
public class MavenWrapperDownloader {
|
||||
|
||||
private static final String WRAPPER_VERSION = "0.5.6";
|
||||
/**
|
||||
* Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
|
||||
*/
|
||||
private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/"
|
||||
+ WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar";
|
||||
|
||||
/**
|
||||
* Path to the maven-wrapper.properties file, which might contain a downloadUrl property to
|
||||
* use instead of the default one.
|
||||
*/
|
||||
private static final String MAVEN_WRAPPER_PROPERTIES_PATH =
|
||||
".mvn/wrapper/maven-wrapper.properties";
|
||||
|
||||
/**
|
||||
* Path where the maven-wrapper.jar will be saved to.
|
||||
*/
|
||||
private static final String MAVEN_WRAPPER_JAR_PATH =
|
||||
".mvn/wrapper/maven-wrapper.jar";
|
||||
|
||||
/**
|
||||
* Name of the property which should be used to override the default download url for the wrapper.
|
||||
*/
|
||||
private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl";
|
||||
|
||||
public static void main(String args[]) {
|
||||
System.out.println("- Downloader started");
|
||||
File baseDirectory = new File(args[0]);
|
||||
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
|
||||
|
||||
// If the maven-wrapper.properties exists, read it and check if it contains a custom
|
||||
// wrapperUrl parameter.
|
||||
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
|
||||
String url = DEFAULT_DOWNLOAD_URL;
|
||||
if(mavenWrapperPropertyFile.exists()) {
|
||||
FileInputStream mavenWrapperPropertyFileInputStream = null;
|
||||
try {
|
||||
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
|
||||
Properties mavenWrapperProperties = new Properties();
|
||||
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
|
||||
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
|
||||
} catch (IOException e) {
|
||||
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
|
||||
} finally {
|
||||
try {
|
||||
if(mavenWrapperPropertyFileInputStream != null) {
|
||||
mavenWrapperPropertyFileInputStream.close();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
// Ignore ...
|
||||
}
|
||||
}
|
||||
}
|
||||
System.out.println("- Downloading from: " + url);
|
||||
|
||||
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
|
||||
if(!outputFile.getParentFile().exists()) {
|
||||
if(!outputFile.getParentFile().mkdirs()) {
|
||||
System.out.println(
|
||||
"- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'");
|
||||
}
|
||||
}
|
||||
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
|
||||
try {
|
||||
downloadFileFromURL(url, outputFile);
|
||||
System.out.println("Done");
|
||||
System.exit(0);
|
||||
} catch (Throwable e) {
|
||||
System.out.println("- Error downloading");
|
||||
e.printStackTrace();
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
private static void downloadFileFromURL(String urlString, File destination) throws Exception {
|
||||
if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) {
|
||||
String username = System.getenv("MVNW_USERNAME");
|
||||
char[] password = System.getenv("MVNW_PASSWORD").toCharArray();
|
||||
Authenticator.setDefault(new Authenticator() {
|
||||
@Override
|
||||
protected PasswordAuthentication getPasswordAuthentication() {
|
||||
return new PasswordAuthentication(username, password);
|
||||
}
|
||||
});
|
||||
}
|
||||
URL website = new URL(urlString);
|
||||
ReadableByteChannel rbc;
|
||||
rbc = Channels.newChannel(website.openStream());
|
||||
FileOutputStream fos = new FileOutputStream(destination);
|
||||
fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
|
||||
fos.close();
|
||||
rbc.close();
|
||||
}
|
||||
|
||||
}
|
BIN
.mvn/wrapper/maven-wrapper.jar
vendored
Normal file
2
.mvn/wrapper/maven-wrapper.properties
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
|
||||
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
|
310
mvnw
vendored
Normal file
@ -0,0 +1,310 @@
|
||||
#!/bin/sh
|
||||
# ----------------------------------------------------------------------------
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Maven Start Up Batch script
|
||||
#
|
||||
# Required ENV vars:
|
||||
# ------------------
|
||||
# JAVA_HOME - location of a JDK home dir
|
||||
#
|
||||
# Optional ENV vars
|
||||
# -----------------
|
||||
# M2_HOME - location of maven2's installed home dir
|
||||
# MAVEN_OPTS - parameters passed to the Java VM when running Maven
|
||||
# e.g. to debug Maven itself, use
|
||||
# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
||||
# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
if [ -z "$MAVEN_SKIP_RC" ] ; then
|
||||
|
||||
if [ -f /etc/mavenrc ] ; then
|
||||
. /etc/mavenrc
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.mavenrc" ] ; then
|
||||
. "$HOME/.mavenrc"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
# OS specific support. $var _must_ be set to either true or false.
|
||||
cygwin=false;
|
||||
darwin=false;
|
||||
mingw=false
|
||||
case "`uname`" in
|
||||
CYGWIN*) cygwin=true ;;
|
||||
MINGW*) mingw=true;;
|
||||
Darwin*) darwin=true
|
||||
# Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
|
||||
# See https://developer.apple.com/library/mac/qa/qa1170/_index.html
|
||||
if [ -z "$JAVA_HOME" ]; then
|
||||
if [ -x "/usr/libexec/java_home" ]; then
|
||||
export JAVA_HOME="`/usr/libexec/java_home`"
|
||||
else
|
||||
export JAVA_HOME="/Library/Java/Home"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$JAVA_HOME" ] ; then
|
||||
if [ -r /etc/gentoo-release ] ; then
|
||||
JAVA_HOME=`java-config --jre-home`
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$M2_HOME" ] ; then
|
||||
## resolve links - $0 may be a link to maven's home
|
||||
PRG="$0"
|
||||
|
||||
# need this for relative symlinks
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG="`dirname "$PRG"`/$link"
|
||||
fi
|
||||
done
|
||||
|
||||
saveddir=`pwd`
|
||||
|
||||
M2_HOME=`dirname "$PRG"`/..
|
||||
|
||||
# make it fully qualified
|
||||
M2_HOME=`cd "$M2_HOME" && pwd`
|
||||
|
||||
cd "$saveddir"
|
||||
# echo Using m2 at $M2_HOME
|
||||
fi
|
||||
|
||||
# For Cygwin, ensure paths are in UNIX format before anything is touched
|
||||
if $cygwin ; then
|
||||
[ -n "$M2_HOME" ] &&
|
||||
M2_HOME=`cygpath --unix "$M2_HOME"`
|
||||
[ -n "$JAVA_HOME" ] &&
|
||||
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
||||
[ -n "$CLASSPATH" ] &&
|
||||
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
|
||||
fi
|
||||
|
||||
# For Mingw, ensure paths are in UNIX format before anything is touched
|
||||
if $mingw ; then
|
||||
[ -n "$M2_HOME" ] &&
|
||||
M2_HOME="`(cd "$M2_HOME"; pwd)`"
|
||||
[ -n "$JAVA_HOME" ] &&
|
||||
JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
|
||||
fi
|
||||
|
||||
if [ -z "$JAVA_HOME" ]; then
|
||||
javaExecutable="`which javac`"
|
||||
if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
|
||||
# readlink(1) is not available as standard on Solaris 10.
|
||||
readLink=`which readlink`
|
||||
if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
|
||||
if $darwin ; then
|
||||
javaHome="`dirname \"$javaExecutable\"`"
|
||||
javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
|
||||
else
|
||||
javaExecutable="`readlink -f \"$javaExecutable\"`"
|
||||
fi
|
||||
javaHome="`dirname \"$javaExecutable\"`"
|
||||
javaHome=`expr "$javaHome" : '\(.*\)/bin'`
|
||||
JAVA_HOME="$javaHome"
|
||||
export JAVA_HOME
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$JAVACMD" ] ; then
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
else
|
||||
JAVACMD="`which java`"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
echo "Error: JAVA_HOME is not defined correctly." >&2
|
||||
echo " We cannot execute $JAVACMD" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$JAVA_HOME" ] ; then
|
||||
echo "Warning: JAVA_HOME environment variable is not set."
|
||||
fi
|
||||
|
||||
CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
|
||||
|
||||
# traverses directory structure from process work directory to filesystem root
|
||||
# first directory with .mvn subdirectory is considered project base directory
|
||||
find_maven_basedir() {
|
||||
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
echo "Path not specified to find_maven_basedir"
|
||||
return 1
|
||||
fi
|
||||
|
||||
basedir="$1"
|
||||
wdir="$1"
|
||||
while [ "$wdir" != '/' ] ; do
|
||||
if [ -d "$wdir"/.mvn ] ; then
|
||||
basedir=$wdir
|
||||
break
|
||||
fi
|
||||
# workaround for JBEAP-8937 (on Solaris 10/Sparc)
|
||||
if [ -d "${wdir}" ]; then
|
||||
wdir=`cd "$wdir/.."; pwd`
|
||||
fi
|
||||
# end of workaround
|
||||
done
|
||||
echo "${basedir}"
|
||||
}
|
||||
|
||||
# concatenates all lines of a file
|
||||
concat_lines() {
|
||||
if [ -f "$1" ]; then
|
||||
echo "$(tr -s '\n' ' ' < "$1")"
|
||||
fi
|
||||
}
|
||||
|
||||
BASE_DIR=`find_maven_basedir "$(pwd)"`
|
||||
if [ -z "$BASE_DIR" ]; then
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
##########################################################################################
|
||||
# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
|
||||
# This allows using the maven wrapper in projects that prohibit checking in binary data.
|
||||
##########################################################################################
|
||||
if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
|
||||
if [ "$MVNW_VERBOSE" = true ]; then
|
||||
echo "Found .mvn/wrapper/maven-wrapper.jar"
|
||||
fi
|
||||
else
|
||||
if [ "$MVNW_VERBOSE" = true ]; then
|
||||
echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
|
||||
fi
|
||||
if [ -n "$MVNW_REPOURL" ]; then
|
||||
jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
|
||||
else
|
||||
jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
|
||||
fi
|
||||
while IFS="=" read key value; do
|
||||
case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
|
||||
esac
|
||||
done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
|
||||
if [ "$MVNW_VERBOSE" = true ]; then
|
||||
echo "Downloading from: $jarUrl"
|
||||
fi
|
||||
wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
|
||||
if $cygwin; then
|
||||
wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
|
||||
fi
|
||||
|
||||
if command -v wget > /dev/null; then
|
||||
if [ "$MVNW_VERBOSE" = true ]; then
|
||||
echo "Found wget ... using wget"
|
||||
fi
|
||||
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
|
||||
wget "$jarUrl" -O "$wrapperJarPath"
|
||||
else
|
||||
wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath"
|
||||
fi
|
||||
elif command -v curl > /dev/null; then
|
||||
if [ "$MVNW_VERBOSE" = true ]; then
|
||||
echo "Found curl ... using curl"
|
||||
fi
|
||||
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
|
||||
curl -o "$wrapperJarPath" "$jarUrl" -f
|
||||
else
|
||||
curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
|
||||
fi
|
||||
|
||||
else
|
||||
if [ "$MVNW_VERBOSE" = true ]; then
|
||||
echo "Falling back to using Java to download"
|
||||
fi
|
||||
javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
|
||||
# For Cygwin, switch paths to Windows format before running javac
|
||||
if $cygwin; then
|
||||
javaClass=`cygpath --path --windows "$javaClass"`
|
||||
fi
|
||||
if [ -e "$javaClass" ]; then
|
||||
if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
|
||||
if [ "$MVNW_VERBOSE" = true ]; then
|
||||
echo " - Compiling MavenWrapperDownloader.java ..."
|
||||
fi
|
||||
# Compiling the Java class
|
||||
("$JAVA_HOME/bin/javac" "$javaClass")
|
||||
fi
|
||||
if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
|
||||
# Running the downloader
|
||||
if [ "$MVNW_VERBOSE" = true ]; then
|
||||
echo " - Running MavenWrapperDownloader.java ..."
|
||||
fi
|
||||
("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
##########################################################################################
|
||||
# End of extension
|
||||
##########################################################################################
|
||||
|
||||
export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
|
||||
if [ "$MVNW_VERBOSE" = true ]; then
|
||||
echo $MAVEN_PROJECTBASEDIR
|
||||
fi
|
||||
MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
|
||||
|
||||
# For Cygwin, switch paths to Windows format before running java
|
||||
if $cygwin; then
|
||||
[ -n "$M2_HOME" ] &&
|
||||
M2_HOME=`cygpath --path --windows "$M2_HOME"`
|
||||
[ -n "$JAVA_HOME" ] &&
|
||||
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
|
||||
[ -n "$CLASSPATH" ] &&
|
||||
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
|
||||
[ -n "$MAVEN_PROJECTBASEDIR" ] &&
|
||||
MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
|
||||
fi
|
||||
|
||||
# Provide a "standardized" way to retrieve the CLI args that will
|
||||
# work with both Windows and non-Windows executions.
|
||||
MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
|
||||
export MAVEN_CMD_LINE_ARGS
|
||||
|
||||
WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
|
||||
|
||||
exec "$JAVACMD" \
|
||||
$MAVEN_OPTS \
|
||||
-classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
|
||||
"-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
|
||||
${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
|
182
mvnw.cmd
vendored
Normal file
@ -0,0 +1,182 @@
|
||||
@REM ----------------------------------------------------------------------------
|
||||
@REM Licensed to the Apache Software Foundation (ASF) under one
|
||||
@REM or more contributor license agreements. See the NOTICE file
|
||||
@REM distributed with this work for additional information
|
||||
@REM regarding copyright ownership. The ASF licenses this file
|
||||
@REM to you under the Apache License, Version 2.0 (the
|
||||
@REM "License"); you may not use this file except in compliance
|
||||
@REM with the License. You may obtain a copy of the License at
|
||||
@REM
|
||||
@REM https://www.apache.org/licenses/LICENSE-2.0
|
||||
@REM
|
||||
@REM Unless required by applicable law or agreed to in writing,
|
||||
@REM software distributed under the License is distributed on an
|
||||
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
@REM KIND, either express or implied. See the License for the
|
||||
@REM specific language governing permissions and limitations
|
||||
@REM under the License.
|
||||
@REM ----------------------------------------------------------------------------
|
||||
|
||||
@REM ----------------------------------------------------------------------------
|
||||
@REM Maven Start Up Batch script
|
||||
@REM
|
||||
@REM Required ENV vars:
|
||||
@REM JAVA_HOME - location of a JDK home dir
|
||||
@REM
|
||||
@REM Optional ENV vars
|
||||
@REM M2_HOME - location of maven2's installed home dir
|
||||
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
|
||||
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
|
||||
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
|
||||
@REM e.g. to debug Maven itself, use
|
||||
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
||||
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
||||
@REM ----------------------------------------------------------------------------
|
||||
|
||||
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
|
||||
@echo off
|
||||
@REM set title of command window
|
||||
title %0
|
||||
@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
|
||||
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
|
||||
|
||||
@REM set %HOME% to equivalent of $HOME
|
||||
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
|
||||
|
||||
@REM Execute a user defined script before this one
|
||||
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
|
||||
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
|
||||
if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
|
||||
if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
|
||||
:skipRcPre
|
||||
|
||||
@setlocal
|
||||
|
||||
set ERROR_CODE=0
|
||||
|
||||
@REM To isolate internal variables from possible post scripts, we use another setlocal
|
||||
@setlocal
|
||||
|
||||
@REM ==== START VALIDATION ====
|
||||
if not "%JAVA_HOME%" == "" goto OkJHome
|
||||
|
||||
echo.
|
||||
echo Error: JAVA_HOME not found in your environment. >&2
|
||||
echo Please set the JAVA_HOME variable in your environment to match the >&2
|
||||
echo location of your Java installation. >&2
|
||||
echo.
|
||||
goto error
|
||||
|
||||
:OkJHome
|
||||
if exist "%JAVA_HOME%\bin\java.exe" goto init
|
||||
|
||||
echo.
|
||||
echo Error: JAVA_HOME is set to an invalid directory. >&2
|
||||
echo JAVA_HOME = "%JAVA_HOME%" >&2
|
||||
echo Please set the JAVA_HOME variable in your environment to match the >&2
|
||||
echo location of your Java installation. >&2
|
||||
echo.
|
||||
goto error
|
||||
|
||||
@REM ==== END VALIDATION ====
|
||||
|
||||
:init
|
||||
|
||||
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
|
||||
@REM Fallback to current working directory if not found.
|
||||
|
||||
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
|
||||
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
|
||||
|
||||
set EXEC_DIR=%CD%
|
||||
set WDIR=%EXEC_DIR%
|
||||
:findBaseDir
|
||||
IF EXIST "%WDIR%"\.mvn goto baseDirFound
|
||||
cd ..
|
||||
IF "%WDIR%"=="%CD%" goto baseDirNotFound
|
||||
set WDIR=%CD%
|
||||
goto findBaseDir
|
||||
|
||||
:baseDirFound
|
||||
set MAVEN_PROJECTBASEDIR=%WDIR%
|
||||
cd "%EXEC_DIR%"
|
||||
goto endDetectBaseDir
|
||||
|
||||
:baseDirNotFound
|
||||
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
|
||||
cd "%EXEC_DIR%"
|
||||
|
||||
:endDetectBaseDir
|
||||
|
||||
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
|
||||
|
||||
@setlocal EnableExtensions EnableDelayedExpansion
|
||||
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
|
||||
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
|
||||
|
||||
:endReadAdditionalConfig
|
||||
|
||||
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
|
||||
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
|
||||
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
|
||||
|
||||
set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
|
||||
|
||||
FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
|
||||
IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
|
||||
)
|
||||
|
||||
@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
|
||||
@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
|
||||
if exist %WRAPPER_JAR% (
|
||||
if "%MVNW_VERBOSE%" == "true" (
|
||||
echo Found %WRAPPER_JAR%
|
||||
)
|
||||
) else (
|
||||
if not "%MVNW_REPOURL%" == "" (
|
||||
SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
|
||||
)
|
||||
if "%MVNW_VERBOSE%" == "true" (
|
||||
echo Couldn't find %WRAPPER_JAR%, downloading it ...
|
||||
echo Downloading from: %DOWNLOAD_URL%
|
||||
)
|
||||
|
||||
powershell -Command "&{"^
|
||||
"$webclient = new-object System.Net.WebClient;"^
|
||||
"if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
|
||||
"$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
|
||||
"}"^
|
||||
"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
|
||||
"}"
|
||||
if "%MVNW_VERBOSE%" == "true" (
|
||||
echo Finished downloading %WRAPPER_JAR%
|
||||
)
|
||||
)
|
||||
@REM End of extension
|
||||
|
||||
@REM Provide a "standardized" way to retrieve the CLI args that will
|
||||
@REM work with both Windows and non-Windows executions.
|
||||
set MAVEN_CMD_LINE_ARGS=%*
|
||||
|
||||
%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
|
||||
if ERRORLEVEL 1 goto error
|
||||
goto end
|
||||
|
||||
:error
|
||||
set ERROR_CODE=1
|
||||
|
||||
:end
|
||||
@endlocal & set ERROR_CODE=%ERROR_CODE%
|
||||
|
||||
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
|
||||
@REM check for post script, once with legacy .bat ending and once with .cmd ending
|
||||
if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
|
||||
if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
|
||||
:skipRcPost
|
||||
|
||||
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
|
||||
if "%MAVEN_BATCH_PAUSE%" == "on" pause
|
||||
|
||||
if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
|
||||
|
||||
exit /B %ERROR_CODE%
|
85
pom.xml
Normal file
@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.2.5.RELEASE</version>
|
||||
<relativePath/> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
<groupId>com.chantha</groupId>
|
||||
<artifactId>springdemo</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>springdemo</name>
|
||||
<description>Demo project for Spring Boot</description>
|
||||
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.junit.vintage</groupId>
|
||||
<artifactId>junit-vintage-engine</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/nz.net.ultraq.thymeleaf/thymeleaf-layout-dialect -->
|
||||
<dependency>
|
||||
<groupId>nz.net.ultraq.thymeleaf</groupId>
|
||||
<artifactId>thymeleaf-layout-dialect</artifactId>
|
||||
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-jpa -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.springframework/spring-tx -->
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-tx</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<packaging>war</packaging>
|
||||
</project>
|
13
src/main/java/com/chantha/springdemo/ServletInitializer.java
Normal file
@ -0,0 +1,13 @@
|
||||
package com.chantha.springdemo;
|
||||
|
||||
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||||
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
|
||||
|
||||
public class ServletInitializer extends SpringBootServletInitializer {
|
||||
|
||||
@Override
|
||||
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
|
||||
return application.sources(SpringdemoApplication.class);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package com.chantha.springdemo;
|
||||
|
||||
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
|
||||
|
||||
@SpringBootApplication
|
||||
public class SpringdemoApplication extends ServletInitializer{
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SpringdemoApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package com.chantha.springdemo.controller;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.chantha.springdemo.model.Food;
|
||||
import com.chantha.springdemo.service.FoodService;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(value="/api/food")
|
||||
public class FoodController {
|
||||
|
||||
@Autowired
|
||||
private final FoodService foodService;
|
||||
|
||||
public FoodController(FoodService foodService) {
|
||||
super();
|
||||
this.foodService = foodService;
|
||||
}
|
||||
@GetMapping
|
||||
public List<Food> findAllFoods(){
|
||||
return foodService.findAllFoods();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package com.chantha.springdemo.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import com.chantha.springdemo.model.Food;
|
||||
import com.chantha.springdemo.service.FoodService;
|
||||
|
||||
|
||||
@Controller
|
||||
public class HomeController {
|
||||
|
||||
@Autowired
|
||||
private final FoodService foodService;
|
||||
|
||||
public HomeController(FoodService foodService) {
|
||||
super();
|
||||
this.foodService = foodService;
|
||||
}
|
||||
@RequestMapping("/home")
|
||||
public String show(Model mod) {
|
||||
List<Food> food=foodService.findFoodLimit();
|
||||
mod.addAttribute("foods", food);
|
||||
return "index";
|
||||
}
|
||||
@PostMapping("/food/update")
|
||||
public String updateProduct(@ModelAttribute(name="food") Food food) {
|
||||
foodService.saveFood(food);
|
||||
return "redirect:/home";
|
||||
}
|
||||
|
||||
@RequestMapping("/food/delete/{id}")
|
||||
public String deleteFoodById(@PathVariable("id") int id) {
|
||||
foodService.deleteFoodById(id);
|
||||
return "redirect:/home";
|
||||
}
|
||||
@RequestMapping(value="/food/add",method=RequestMethod.POST)
|
||||
public String addProduct(@ModelAttribute(name="food") Food food) {
|
||||
foodService.saveFood(food);
|
||||
return "redirect:/home";
|
||||
}
|
||||
}
|
44
src/main/java/com/chantha/springdemo/model/Food.java
Normal file
@ -0,0 +1,44 @@
|
||||
package com.chantha.springdemo.model;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@Entity
|
||||
@Table(name="tbfood")
|
||||
public class Food {
|
||||
|
||||
@Id
|
||||
private long id;
|
||||
public Food() {
|
||||
super();
|
||||
}
|
||||
|
||||
public Food(long id, String name, double price) {
|
||||
super();
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
private String name;
|
||||
private double price;
|
||||
public double getPrice() {
|
||||
return price;
|
||||
}
|
||||
public void setPrice(double price) {
|
||||
this.price = price;
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.chantha.springdemo.repositories;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
|
||||
import com.chantha.springdemo.model.Food;
|
||||
|
||||
public interface FoodRepository extends CrudRepository<Food, Long>{
|
||||
|
||||
@Query(value="SELECT * FROM tbfood ORDER BY id DESC LIMIT 12",nativeQuery=true)
|
||||
List<Food> findFoodLimit();
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
package com.chantha.springdemo.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.chantha.springdemo.model.Food;
|
||||
import com.chantha.springdemo.repositories.FoodRepository;
|
||||
|
||||
@Service
|
||||
public class FoodService {
|
||||
|
||||
@Autowired
|
||||
private final FoodRepository foodRepository;
|
||||
|
||||
public FoodService(FoodRepository foodRepository) {
|
||||
super();
|
||||
this.foodRepository = foodRepository;
|
||||
}
|
||||
public List<Food> findAllFoods(){
|
||||
return (List<Food>) foodRepository.findAll();
|
||||
}
|
||||
public Food findByID(Long id){
|
||||
return foodRepository.findById(id).orElse(new Food());
|
||||
}
|
||||
public Food saveFood(Food food) {
|
||||
foodRepository.save(food);
|
||||
return food;
|
||||
}
|
||||
public List<Food> findFoodLimit(){
|
||||
return foodRepository.findFoodLimit();
|
||||
}
|
||||
public int deleteFoodById(int id) {
|
||||
foodRepository.deleteById((long)id);
|
||||
return id;
|
||||
}
|
||||
}
|
6
src/main/resources/application.properties
Normal file
@ -0,0 +1,6 @@
|
||||
spring.thymeleaf.cache=false
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:3309/dbfood?createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true&useSSL=false
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
spring.jpa.open-in-view=true
|
13
src/main/resources/static/.browserslistrc
Normal file
@ -0,0 +1,13 @@
|
||||
# https://github.com/browserslist/browserslist#readme
|
||||
|
||||
>= 1%
|
||||
last 1 major version
|
||||
not dead
|
||||
Chrome >= 60
|
||||
Firefox >= 60
|
||||
Edge >= 15.15063
|
||||
Explorer 11
|
||||
iOS >= 10
|
||||
Safari >= 10
|
||||
Android >= 6
|
||||
not ExplorerMobile <= 11
|
1
src/main/resources/static/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
node_modules
|
14
src/main/resources/static/.travis.yml
Normal file
@ -0,0 +1,14 @@
|
||||
language: node_js
|
||||
git:
|
||||
depth: 3
|
||||
node_js:
|
||||
- "node"
|
||||
install: npm install
|
||||
script:
|
||||
- npm test
|
||||
- gulp
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
notifications:
|
||||
email: false
|
21
src/main/resources/static/LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2013-2019 Blackrock Digital LLC
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
65
src/main/resources/static/README.md
Normal file
@ -0,0 +1,65 @@
|
||||
# [Start Bootstrap - SB Admin 2](https://startbootstrap.com/template-overviews/sb-admin-2/)
|
||||
|
||||
[SB Admin 2](https://startbootstrap.com/template-overviews/sb-admin-2/) is an open source admin dashboard theme for [Bootstrap](http://getbootstrap.com/) created by [Start Bootstrap](http://startbootstrap.com/).
|
||||
|
||||
For the legacy Bootstrap 3 version of this theme, you can view the [last stable release](https://github.com/BlackrockDigital/startbootstrap-sb-admin-2/releases/tag/v3.3.7%2B1) of SB Admin 2 for Bootstrap 3.
|
||||
|
||||
## Preview
|
||||
|
||||
[![SB Admin 2 Preview](https://startbootstrap.com/assets/img/screenshots/themes/sb-admin-2.png)](https://blackrockdigital.github.io/startbootstrap-sb-admin-2/)
|
||||
|
||||
**[Launch Live Preview](https://blackrockdigital.github.io/startbootstrap-sb-admin-2/)**
|
||||
|
||||
## Status
|
||||
|
||||
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/BlackrockDigital/startbootstrap-sb-admin-2/master/LICENSE)
|
||||
[![npm version](https://img.shields.io/npm/v/startbootstrap-sb-admin-2.svg)](https://www.npmjs.com/package/startbootstrap-sb-admin-2)
|
||||
[![Build Status](https://travis-ci.org/BlackrockDigital/startbootstrap-sb-admin-2.svg?branch=master)](https://travis-ci.org/BlackrockDigital/startbootstrap-sb-admin-2)
|
||||
[![dependencies Status](https://david-dm.org/BlackrockDigital/startbootstrap-sb-admin-2/status.svg)](https://david-dm.org/BlackrockDigital/startbootstrap-sb-admin-2)
|
||||
[![devDependencies Status](https://david-dm.org/BlackrockDigital/startbootstrap-sb-admin-2/dev-status.svg)](https://david-dm.org/BlackrockDigital/startbootstrap-sb-admin-2?type=dev)
|
||||
|
||||
## Download and Installation
|
||||
|
||||
To begin using this template, choose one of the following options to get started:
|
||||
|
||||
- [Download the latest release on Start Bootstrap](https://startbootstrap.com/template-overviews/sb-admin-2/)
|
||||
- Install via npm: `npm i startbootstrap-sb-admin-2`
|
||||
- Clone the repo: `git clone https://github.com/BlackrockDigital/startbootstrap-sb-admin-2.git`
|
||||
- [Fork, Clone, or Download on GitHub](https://github.com/BlackrockDigital/startbootstrap-sb-admin-2)
|
||||
|
||||
## Usage
|
||||
|
||||
After installation, run `npm install` and then run `npm start` which will open up a preview of the template in your default browser, watch for changes to core template files, and live reload the browser when changes are saved. You can view the `gulpfile.js` to see which tasks are included with the dev environment.
|
||||
|
||||
### Gulp Tasks
|
||||
|
||||
- `gulp` the default task that builds everything
|
||||
- `gulp watch` browserSync opens the project in your default browser and live reloads when changes are made
|
||||
- `gulp css` compiles SCSS files into CSS and minifies the compiled CSS
|
||||
- `gulp js` minifies the themes JS file
|
||||
- `gulp vendor` copies dependencies from node_modules to the vendor directory
|
||||
|
||||
You must have npm installed globally in order to use this build environment. This theme was built using node v11.6.0 and the Gulp CLI v2.0.1. If Gulp is not running properly after running `npm install`, you may need to update node and/or the Gulp CLI locally.
|
||||
|
||||
## Bugs and Issues
|
||||
|
||||
Have a bug or an issue with this template? [Open a new issue](https://github.com/BlackrockDigital/startbootstrap-sb-admin-2/issues) here on GitHub or leave a comment on the [template overview page at Start Bootstrap](http://startbootstrap.com/template-overviews/sb-admin-2/).
|
||||
|
||||
## About
|
||||
|
||||
Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
|
||||
|
||||
- <https://startbootstrap.com>
|
||||
- <https://twitter.com/SBootstrap>
|
||||
|
||||
Start Bootstrap was created by and is maintained by **[David Miller](http://davidmiller.io/)**.
|
||||
|
||||
- <http://davidmiller.io>
|
||||
- <https://twitter.com/davidmillerskt>
|
||||
- <https://github.com/davidtmiller>
|
||||
|
||||
Start Bootstrap is based on the [Bootstrap](http://getbootstrap.com/) framework created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thorton](https://twitter.com/fat).
|
||||
|
||||
## Copyright and License
|
||||
|
||||
Copyright 2013-2019 Blackrock Digital LLC. Code released under the [MIT](https://github.com/BlackrockDigital/startbootstrap-resume/blob/gh-pages/LICENSE) license.
|
BIN
src/main/resources/static/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 21 KiB |
11
src/main/resources/static/css/animate.min.css
vendored
Normal file
14
src/main/resources/static/css/main.css
Normal file
10998
src/main/resources/static/css/sb-admin-2.css
Normal file
10
src/main/resources/static/css/sb-admin-2.min.css
vendored
Normal file
297
src/main/resources/static/css/style.css
Normal file
@ -0,0 +1,297 @@
|
||||
/*
|
||||
VIEW IN FULL SCREEN MODE
|
||||
FULL SCREEN MODE: http://salehriaz.com/404Page/404.html
|
||||
|
||||
DRIBBBLE: https://dribbble.com/shots/4330167-404-Page-Lost-In-Space
|
||||
*/
|
||||
|
||||
@import url('https://fonts.googleapis.com/css?family=Dosis:300,400,500');
|
||||
|
||||
@-moz-keyframes rocket-movement { 100% {-moz-transform: translate(1200px,-600px);} }
|
||||
@-webkit-keyframes rocket-movement {100% {-webkit-transform: translate(1200px,-600px); } }
|
||||
@keyframes rocket-movement { 100% {transform: translate(1200px,-600px);} }
|
||||
@-moz-keyframes spin-earth { 100% { -moz-transform: rotate(-360deg); transition: transform 20s; } }
|
||||
@-webkit-keyframes spin-earth { 100% { -webkit-transform: rotate(-360deg); transition: transform 20s; } }
|
||||
@keyframes spin-earth{ 100% { -webkit-transform: rotate(-360deg); transform:rotate(-360deg); transition: transform 20s; } }
|
||||
|
||||
@-moz-keyframes move-astronaut {
|
||||
100% { -moz-transform: translate(-160px, -160px);}
|
||||
}
|
||||
@-webkit-keyframes move-astronaut {
|
||||
100% { -webkit-transform: translate(-160px, -160px);}
|
||||
}
|
||||
@keyframes move-astronaut{
|
||||
100% { -webkit-transform: translate(-160px, -160px); transform:translate(-160px, -160px); }
|
||||
}
|
||||
@-moz-keyframes rotate-astronaut {
|
||||
100% { -moz-transform: rotate(-720deg);}
|
||||
}
|
||||
@-webkit-keyframes rotate-astronaut {
|
||||
100% { -webkit-transform: rotate(-720deg);}
|
||||
}
|
||||
@keyframes rotate-astronaut{
|
||||
100% { -webkit-transform: rotate(-720deg); transform:rotate(-720deg); }
|
||||
}
|
||||
|
||||
@-moz-keyframes glow-star {
|
||||
40% { -moz-opacity: 0.3;}
|
||||
90%,100% { -moz-opacity: 1; -moz-transform: scale(1.2);}
|
||||
}
|
||||
@-webkit-keyframes glow-star {
|
||||
40% { -webkit-opacity: 0.3;}
|
||||
90%,100% { -webkit-opacity: 1; -webkit-transform: scale(1.2);}
|
||||
}
|
||||
@keyframes glow-star{
|
||||
40% { -webkit-opacity: 0.3; opacity: 0.3; }
|
||||
90%,100% { -webkit-opacity: 1; opacity: 1; -webkit-transform: scale(1.2); transform: scale(1.2); border-radius: 999999px;}
|
||||
}
|
||||
|
||||
.spin-earth-on-hover{
|
||||
|
||||
transition: ease 200s !important;
|
||||
transform: rotate(-3600deg) !important;
|
||||
}
|
||||
|
||||
html, body{
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-family: 'Dosis', sans-serif;
|
||||
font-weight: 300;
|
||||
-webkit-user-select: none; /* Safari 3.1+ */
|
||||
-moz-user-select: none; /* Firefox 2+ */
|
||||
-ms-user-select: none; /* IE 10+ */
|
||||
user-select: none; /* Standard syntax */
|
||||
}
|
||||
|
||||
.bg-purple{
|
||||
background: url(http://salehriaz.com/404Page/img/bg_purple.png);
|
||||
background-repeat: repeat-x;
|
||||
background-size: cover;
|
||||
background-position: left top;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
}
|
||||
|
||||
.custom-navbar{
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
.brand-logo{
|
||||
margin-left: 25px;
|
||||
margin-top: 5px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navbar-links{
|
||||
display: inline-block;
|
||||
float: right;
|
||||
margin-right: 15px;
|
||||
text-transform: uppercase;
|
||||
|
||||
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/* overflow: hidden;*/
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
li {
|
||||
float: left;
|
||||
padding: 0px 15px;
|
||||
}
|
||||
|
||||
li a {
|
||||
display: block;
|
||||
color: white;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
letter-spacing : 2px;
|
||||
font-size: 12px;
|
||||
|
||||
-webkit-transition: all 0.3s ease-in;
|
||||
-moz-transition: all 0.3s ease-in;
|
||||
-ms-transition: all 0.3s ease-in;
|
||||
-o-transition: all 0.3s ease-in;
|
||||
transition: all 0.3s ease-in;
|
||||
}
|
||||
|
||||
li a:hover {
|
||||
color: #ffcb39;
|
||||
}
|
||||
|
||||
.btn-request{
|
||||
padding: 10px 25px;
|
||||
border: 1px solid #FFCB39;
|
||||
border-radius: 100px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.btn-request:hover{
|
||||
background-color: #FFCB39;
|
||||
color: #fff;
|
||||
transform: scale(1.05);
|
||||
box-shadow: 0px 20px 20px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.btn-go-home{
|
||||
position: relative;
|
||||
z-index: 200;
|
||||
margin: 15px auto;
|
||||
width: 100px;
|
||||
padding: 10px 15px;
|
||||
border: 1px solid #FFCB39;
|
||||
border-radius: 100px;
|
||||
font-weight: 400;
|
||||
display: block;
|
||||
color: white;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
letter-spacing : 2px;
|
||||
font-size: 11px;
|
||||
|
||||
-webkit-transition: all 0.3s ease-in;
|
||||
-moz-transition: all 0.3s ease-in;
|
||||
-ms-transition: all 0.3s ease-in;
|
||||
-o-transition: all 0.3s ease-in;
|
||||
transition: all 0.3s ease-in;
|
||||
}
|
||||
|
||||
.btn-go-home:hover{
|
||||
background-color: #FFCB39;
|
||||
color: #fff;
|
||||
transform: scale(1.05);
|
||||
box-shadow: 0px 20px 20px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.central-body{
|
||||
/* width: 100%;*/
|
||||
padding: 17% 5% 10% 5%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.objects img{
|
||||
z-index: 90;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.object_rocket{
|
||||
z-index: 95;
|
||||
position: absolute;
|
||||
transform: translateX(-50px);
|
||||
top: 75%;
|
||||
pointer-events: none;
|
||||
animation: rocket-movement 200s linear infinite both running;
|
||||
}
|
||||
|
||||
.object_earth{
|
||||
position: absolute;
|
||||
top: 20%;
|
||||
left: 15%;
|
||||
z-index: 90;
|
||||
/* animation: spin-earth 100s infinite linear both;*/
|
||||
}
|
||||
|
||||
.object_moon{
|
||||
position: absolute;
|
||||
top: 12%;
|
||||
left: 25%;
|
||||
/*
|
||||
transform: rotate(0deg);
|
||||
transition: transform ease-in 99999999999s;
|
||||
*/
|
||||
}
|
||||
|
||||
.earth-moon{
|
||||
|
||||
}
|
||||
|
||||
.object_astronaut{
|
||||
animation: rotate-astronaut 200s infinite linear both alternate;
|
||||
}
|
||||
|
||||
.box_astronaut{
|
||||
z-index: 110 !important;
|
||||
position: absolute;
|
||||
top: 60%;
|
||||
right: 20%;
|
||||
will-change: transform;
|
||||
animation: move-astronaut 50s infinite linear both alternate;
|
||||
}
|
||||
|
||||
.image-404{
|
||||
position: relative;
|
||||
z-index: 100;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.stars{
|
||||
background: url(http://salehriaz.com/404Page/img/overlay_stars.svg);
|
||||
background-repeat: repeat;
|
||||
background-size: contain;
|
||||
background-position: left top;
|
||||
}
|
||||
|
||||
.glowing_stars .star{
|
||||
position: absolute;
|
||||
border-radius: 100%;
|
||||
background-color: #fff;
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
opacity: 0.3;
|
||||
will-change: opacity;
|
||||
}
|
||||
|
||||
.glowing_stars .star:nth-child(1){
|
||||
top: 80%;
|
||||
left: 25%;
|
||||
animation: glow-star 2s infinite ease-in-out alternate 1s;
|
||||
}
|
||||
.glowing_stars .star:nth-child(2){
|
||||
top: 20%;
|
||||
left: 40%;
|
||||
animation: glow-star 2s infinite ease-in-out alternate 3s;
|
||||
}
|
||||
.glowing_stars .star:nth-child(3){
|
||||
top: 25%;
|
||||
left: 25%;
|
||||
animation: glow-star 2s infinite ease-in-out alternate 5s;
|
||||
}
|
||||
.glowing_stars .star:nth-child(4){
|
||||
top: 75%;
|
||||
left: 80%;
|
||||
animation: glow-star 2s infinite ease-in-out alternate 7s;
|
||||
}
|
||||
.glowing_stars .star:nth-child(5){
|
||||
top: 90%;
|
||||
left: 50%;
|
||||
animation: glow-star 2s infinite ease-in-out alternate 9s;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px){
|
||||
.navbar-links{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.custom-navbar{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.brand-logo img{
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.box_astronaut{
|
||||
top: 70%;
|
||||
}
|
||||
|
||||
.central-body{
|
||||
padding-top: 25%;
|
||||
}
|
||||
}
|
BIN
src/main/resources/static/favicon.ico
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
src/main/resources/static/fonts/FontAwesome.otf
Normal file
BIN
src/main/resources/static/fonts/fontawesome-webfont.eot
Normal file
2671
src/main/resources/static/fonts/fontawesome-webfont.svg
Normal file
After Width: | Height: | Size: 434 KiB |
BIN
src/main/resources/static/fonts/fontawesome-webfont.ttf
Normal file
BIN
src/main/resources/static/fonts/fontawesome-webfont.woff
Normal file
BIN
src/main/resources/static/fonts/fontawesome-webfont.woff2
Normal file
145
src/main/resources/static/gulpfile.js
Normal file
@ -0,0 +1,145 @@
|
||||
"use strict";
|
||||
|
||||
// Load plugins
|
||||
const autoprefixer = require("gulp-autoprefixer");
|
||||
const browsersync = require("browser-sync").create();
|
||||
const cleanCSS = require("gulp-clean-css");
|
||||
const del = require("del");
|
||||
const gulp = require("gulp");
|
||||
const header = require("gulp-header");
|
||||
const merge = require("merge-stream");
|
||||
const plumber = require("gulp-plumber");
|
||||
const rename = require("gulp-rename");
|
||||
const sass = require("gulp-sass");
|
||||
const uglify = require("gulp-uglify");
|
||||
|
||||
// Load package.json for banner
|
||||
const pkg = require('./package.json');
|
||||
|
||||
// Set the banner content
|
||||
const banner = ['/*!\n',
|
||||
' * Start Bootstrap - <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n',
|
||||
' * Copyright 2013-' + (new Date()).getFullYear(), ' <%= pkg.author %>\n',
|
||||
' * Licensed under <%= pkg.license %> (https://github.com/BlackrockDigital/<%= pkg.name %>/blob/master/LICENSE)\n',
|
||||
' */\n',
|
||||
'\n'
|
||||
].join('');
|
||||
|
||||
// BrowserSync
|
||||
function browserSync(done) {
|
||||
browsersync.init({
|
||||
server: {
|
||||
baseDir: "./"
|
||||
},
|
||||
port: 3000
|
||||
});
|
||||
done();
|
||||
}
|
||||
|
||||
// BrowserSync reload
|
||||
function browserSyncReload(done) {
|
||||
browsersync.reload();
|
||||
done();
|
||||
}
|
||||
|
||||
// Clean vendor
|
||||
function clean() {
|
||||
return del(["./vendor/"]);
|
||||
}
|
||||
|
||||
// Bring third party dependencies from node_modules into vendor directory
|
||||
function modules() {
|
||||
// Bootstrap JS
|
||||
var bootstrapJS = gulp.src('./node_modules/bootstrap/dist/js/*')
|
||||
.pipe(gulp.dest('./vendor/bootstrap/js'));
|
||||
// Bootstrap SCSS
|
||||
var bootstrapSCSS = gulp.src('./node_modules/bootstrap/scss/**/*')
|
||||
.pipe(gulp.dest('./vendor/bootstrap/scss'));
|
||||
// ChartJS
|
||||
var chartJS = gulp.src('./node_modules/chart.js/dist/*.js')
|
||||
.pipe(gulp.dest('./vendor/chart.js'));
|
||||
// dataTables
|
||||
var dataTables = gulp.src([
|
||||
'./node_modules/datatables.net/js/*.js',
|
||||
'./node_modules/datatables.net-bs4/js/*.js',
|
||||
'./node_modules/datatables.net-bs4/css/*.css'
|
||||
])
|
||||
.pipe(gulp.dest('./vendor/datatables'));
|
||||
// Font Awesome
|
||||
var fontAwesome = gulp.src('./node_modules/@fortawesome/**/*')
|
||||
.pipe(gulp.dest('./vendor'));
|
||||
// jQuery Easing
|
||||
var jqueryEasing = gulp.src('./node_modules/jquery.easing/*.js')
|
||||
.pipe(gulp.dest('./vendor/jquery-easing'));
|
||||
// jQuery
|
||||
var jquery = gulp.src([
|
||||
'./node_modules/jquery/dist/*',
|
||||
'!./node_modules/jquery/dist/core.js'
|
||||
])
|
||||
.pipe(gulp.dest('./vendor/jquery'));
|
||||
return merge(bootstrapJS, bootstrapSCSS, chartJS, dataTables, fontAwesome, jquery, jqueryEasing);
|
||||
}
|
||||
|
||||
// CSS task
|
||||
function css() {
|
||||
return gulp
|
||||
.src("./scss/**/*.scss")
|
||||
.pipe(plumber())
|
||||
.pipe(sass({
|
||||
outputStyle: "expanded",
|
||||
includePaths: "./node_modules",
|
||||
}))
|
||||
.on("error", sass.logError)
|
||||
.pipe(autoprefixer({
|
||||
cascade: false
|
||||
}))
|
||||
.pipe(header(banner, {
|
||||
pkg: pkg
|
||||
}))
|
||||
.pipe(gulp.dest("./css"))
|
||||
.pipe(rename({
|
||||
suffix: ".min"
|
||||
}))
|
||||
.pipe(cleanCSS())
|
||||
.pipe(gulp.dest("./css"))
|
||||
.pipe(browsersync.stream());
|
||||
}
|
||||
|
||||
// JS task
|
||||
function js() {
|
||||
return gulp
|
||||
.src([
|
||||
'./js/*.js',
|
||||
'!./js/*.min.js',
|
||||
])
|
||||
.pipe(uglify())
|
||||
.pipe(header(banner, {
|
||||
pkg: pkg
|
||||
}))
|
||||
.pipe(rename({
|
||||
suffix: '.min'
|
||||
}))
|
||||
.pipe(gulp.dest('./js'))
|
||||
.pipe(browsersync.stream());
|
||||
}
|
||||
|
||||
// Watch files
|
||||
function watchFiles() {
|
||||
gulp.watch("./scss/**/*", css);
|
||||
gulp.watch(["./js/**/*", "!./js/**/*.min.js"], js);
|
||||
gulp.watch("./**/*.html", browserSyncReload);
|
||||
}
|
||||
|
||||
// Define complex tasks
|
||||
const vendor = gulp.series(clean, modules);
|
||||
const build = gulp.series(vendor, gulp.parallel(css, js));
|
||||
const watch = gulp.series(build, gulp.parallel(watchFiles, browserSync));
|
||||
|
||||
// Export tasks
|
||||
exports.css = css;
|
||||
exports.js = js;
|
||||
exports.clean = clean;
|
||||
exports.vendor = vendor;
|
||||
exports.build = build;
|
||||
exports.watch = watch;
|
||||
exports.default = build;
|
BIN
src/main/resources/static/home/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 21 KiB |
11
src/main/resources/static/home/css/animate.min.css
vendored
Normal file
7
src/main/resources/static/home/css/main.css
Normal file
BIN
src/main/resources/static/home/favicon.ico
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
src/main/resources/static/home/fonts/FontAwesome.otf
Normal file
BIN
src/main/resources/static/home/fonts/fontawesome-webfont.eot
Normal file
2671
src/main/resources/static/home/fonts/fontawesome-webfont.svg
Normal file
After Width: | Height: | Size: 434 KiB |
BIN
src/main/resources/static/home/fonts/fontawesome-webfont.ttf
Normal file
BIN
src/main/resources/static/home/fonts/fontawesome-webfont.woff
Normal file
BIN
src/main/resources/static/home/fonts/fontawesome-webfont.woff2
Normal file
15
src/main/resources/static/home/humans.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# humanstxt.org/
|
||||
# The humans responsible & technology colophon
|
||||
|
||||
# TEAM
|
||||
|
||||
<name> Anastasia Kashkinova <role> Designer and developer
|
||||
|
||||
# THANKS
|
||||
|
||||
Fontawesome, Unsplash, WOW js, Animate CSS, Jquery
|
||||
|
||||
# TECHNOLOGY COLOPHON
|
||||
|
||||
HTML5, CSS3
|
||||
jQuery, Sass
|
BIN
src/main/resources/static/home/img/bg-light.jpg
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
src/main/resources/static/home/img/burger-bg.jpg
Normal file
After Width: | Height: | Size: 134 KiB |
BIN
src/main/resources/static/home/img/cheff.jpg
Normal file
After Width: | Height: | Size: 45 KiB |
41
src/main/resources/static/home/img/curl-brn.svg
Normal file
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Objects" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 41.2 13.7" enable-background="new 0 0 41.2 13.7" xml:space="preserve">
|
||||
<g>
|
||||
<path fill="#410A00" d="M11.8,9.4c0,0,0,0-0.1,0.1c-0.1,0.1-0.2,0.1-0.3,0.3c-0.3,0.2-0.7,0.5-1.3,0.8c-0.3,0.1-0.7,0.2-1.1,0.3
|
||||
C8.5,10.9,8.1,11,7.6,11c-0.5,0-1-0.1-1.5-0.3C5.6,10.5,5,10.2,4.6,9.9C4.1,9.5,3.6,9,3.2,8.5C3.1,8.2,2.9,7.9,2.8,7.6
|
||||
C2.7,7.4,2.6,7.3,2.6,7.1l0-0.1l0,0l0,0c0,0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.3,1.3,3.5,2.1
|
||||
c1.2,0.8,2.4,1.6,3.6,2.4C26,7.6,26.6,8,27.2,8.4c0.3,0.2,0.6,0.4,0.9,0.6c0.3,0.2,0.6,0.4,0.9,0.6c1.2,0.7,2.5,1.4,3.8,1.6
|
||||
c0.3,0.1,0.6,0.1,0.9,0.1c0.2,0,0.3,0,0.4,0l0.3,0l0.1,0l0,0c0,0,0,0,0,0l0,0l0.1,0c0.6-0.1,1.1-0.4,1.6-0.8c0.9-0.8,1.3-2,1.2-3
|
||||
l0-0.2l0-0.1c0,0,0,0,0,0l0,0l0,0l0-0.1c0-0.1-0.1-0.3-0.1-0.4C37.2,6.3,37.1,6,37,5.8c-0.3-0.5-0.6-0.9-1-1.2
|
||||
c-0.4-0.3-0.8-0.6-1.2-0.8c-0.4-0.2-0.9-0.3-1.3-0.4c-0.9-0.1-1.6,0-2.2,0.1c-0.6,0.2-1.1,0.4-1.4,0.5c-0.2,0.1-0.3,0.1-0.4,0.2
|
||||
C29.4,4.3,29.4,4.3,29.4,4.3z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.2 KiB |
41
src/main/resources/static/home/img/curl-ylw.svg
Normal file
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Objects" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 41.2 13.7" enable-background="new 0 0 41.2 13.7" xml:space="preserve">
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M11.8,9.4c0,0,0,0-0.1,0.1c-0.1,0.1-0.2,0.1-0.3,0.3c-0.3,0.2-0.7,0.5-1.3,0.8c-0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1.5-0.4c0.1,0,0.1,0,0.2,0c0.1,0,0.1,0,0.2,0c0.1,0,0.1,0,0.2,0c0.1,0,0.1,0,0.2,0
|
||||
c0.3,0,0.6,0,0.9,0.1c0.6,0.1,1.2,0.3,1.8,0.6c0.3,0.1,0.6,0.3,0.9,0.4c0.3,0.1,0.6,0.3,0.9,0.4c1.2,0.6,2.3,1.3,3.5,2.1
|
||||
c1.2,0.8,2.4,1.6,3.6,2.4C26,7.6,26.6,8,27.2,8.4c0.3,0.2,0.6,0.4,0.9,0.6c0.3,0.2,0.6,0.4,0.9,0.6c1.2,0.7,2.5,1.4,3.8,1.6
|
||||
c0.3,0.1,0.6,0.1,0.9,0.1c0.2,0,0.3,0,0.4,0l0.3,0l0.1,0l0,0c0,0,0,0,0,0l0,0l0.1,0c0.6-0.1,1.1-0.4,1.6-0.8c0.9-0.8,1.3-2,1.2-3
|
||||
l0-0.2l0-0.1c0,0,0,0,0,0l0,0l0,0l0-0.1c0-0.1-0.1-0.3-0.1-0.4C37.2,6.3,37.1,6,37,5.8c-0.3-0.5-0.6-0.9-1-1.2
|
||||
c-0.4-0.3-0.8-0.6-1.2-0.8c-0.4-0.2-0.9-0.3-1.3-0.4c-0.9-0.1-1.6,0-2.2,0.1c-0.6,0.2-1.1,0.4-1.4,0.5c-0.2,0.1-0.3,0.1-0.4,0.2
|
||||
C29.4,4.3,29.4,4.3,29.4,4.3z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.2 KiB |
BIN
src/main/resources/static/home/img/dessert.jpg
Normal file
After Width: | Height: | Size: 235 KiB |
BIN
src/main/resources/static/home/img/drinks.jpg
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
src/main/resources/static/home/img/event1.jpg
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
src/main/resources/static/home/img/event2.jpg
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
src/main/resources/static/home/img/event3.jpg
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
src/main/resources/static/home/img/happy-hour.jpg
Normal file
After Width: | Height: | Size: 415 KiB |
111
src/main/resources/static/home/img/logo-light.svg
Normal file
@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 199 85" enable-background="new 0 0 199 85" xml:space="preserve">
|
||||
<g>
|
||||
<g>
|
||||
<path fill="#FFFFFF" d="M69.2,31.8c0-0.2,0-0.4,0-0.6c-0.2,0-0.5,0-0.7,0L69.2,31.8z"/>
|
||||
<polygon fill="#FFFFFF" points="99.3,10.3 99.3,10.3 99.3,10.3 "/>
|
||||
<path fill="#FFFFFF" d="M124.6,30.8c-0.7,0-1.5,0-2.2,0l-7.7,0.1l-3.8,0.1c-1.3,0-2.6,0.1-3.8,0.1l-7.7,0.2l-3.8,0.1
|
||||
c-1.3,0-2.6,0.1-3.8,0.1c-1.3,0-2.6,0-3.8,0c-1.3,0-2.6,0-3.8,0c-1.3,0-2.6,0-3.8,0c-1.3,0-2.6,0-3.8-0.1c-2.3-0.1-4.7-0.1-7-0.2
|
||||
c0,0.2,0,0.4,0,0.6l-0.7-0.7c0.2,0,0.5,0,0.7,0c0-0.2,0-0.4,0-0.6c0.1-0.4,0.1-0.8,0.2-1.2c0.2-0.8,0.4-1.6,0.7-2.4
|
||||
c0.1-0.4,0.3-0.8,0.5-1.1l0.3-0.6c0.1-0.2,0.2-0.4,0.3-0.5c0.1-0.2,0.2-0.4,0.3-0.5l0.3-0.5c0.2-0.4,0.5-0.7,0.7-1
|
||||
c0.5-0.7,1-1.3,1.6-1.9c0.6-0.6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4-2.8,0.9-3.8,1.5h0c-1.1,0.6-1.8,1.7-1.8,3.3c0,2.1,1.9,3.5,3.8,3.5c2.1,0,4.8-0.9,5.8-5.5l1.8-8.2l0,0l0.3-1.5l1.7-7.8
|
||||
h2.4l0.2-1h-2.4l0.6-2.7c0.5-2.2,1.6-2.7,2.3-2.7c0.7,0,1.2,0.6,1.2,1.3c0,0.3,0,0.1-0.1,1.1h1.5c0.1-1,0.1-1.1,0.1-1.6
|
||||
c0-2.1-1.9-3.6-3.8-3.6c-2.1,0-4.9,0.8-5.9,5.5L155,45.1c0,0,0,0,0,0L154.8,46.1 M153.2,53.7c-0.4,1.9-1.2,2.5-1.9,2.5
|
||||
c-0.7,0-1.3-0.6-1.3-1.1c0-1.8,1.5-2.7,3.6-3.3L153.2,53.7z"/>
|
||||
<path fill="#F6BC13" d="M167.6,51c3.2,0,6.1-0.9,6.1-4.4c-1.3,1.2-2.6,2.1-4.2,2.1c-1.3,0-2.3-0.6-2.3-2.8c0-0.4,0-0.9,0.1-1.4
|
||||
c3.1-0.4,7.3-2.7,7.3-6.6c0-2.3-1.5-3.4-4.2-3.4c-5.9,0-7.7,7.2-7.7,11.4C162.8,48.6,164.5,51,167.6,51z M171.5,36.2
|
||||
c1,0,1.1,1.1,1.1,1.8c0,2.3-2.1,4.9-5.1,4.9C168.2,39.8,169.7,36.2,171.5,36.2z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M90.1,19.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C89.3,18.9,90.2,19.2,90.1,19.8z"/>
|
||||
<path fill="#F6BC13" d="M90.1,19.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C89.3,18.9,90.2,19.2,90.1,19.8z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M101.1,15.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C100.3,14.9,101.1,15.2,101.1,15.8z"/>
|
||||
<path fill="#F6BC13" d="M101.1,15.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C100.3,14.9,101.1,15.2,101.1,15.8z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M101.1,22.6c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C100.3,21.7,101.1,22,101.1,22.6z"/>
|
||||
<path fill="#F6BC13" d="M101.1,22.6c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C100.3,21.7,101.1,22,101.1,22.6z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M111.8,19.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C110.9,18.9,111.8,19.2,111.8,19.8z"/>
|
||||
<path fill="#F6BC13" d="M111.8,19.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C110.9,18.9,111.8,19.2,111.8,19.8z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 10 KiB |
BIN
src/main/resources/static/home/img/menu-main.jpg
Normal file
After Width: | Height: | Size: 243 KiB |
5
src/main/resources/static/home/img/preload.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg width="50px" height="50px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-dual-ring" style="background: none;">
|
||||
<circle cx="50" cy="50" ng-attr-r="{{config.radius}}" ng-attr-stroke-width="{{config.width}}" ng-attr-stroke="{{config.stroke}}" ng-attr-stroke-dasharray="{{config.dasharray}}" fill="none" stroke-linecap="round" r="40" stroke-width="4" stroke="#f6bc13" stroke-dasharray="62.83185307179586 62.83185307179586" transform="rotate(18 50 50)">
|
||||
<animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;1" dur="1s" begin="0s" repeatCount="indefinite"></animateTransform>
|
||||
</circle>
|
||||
</svg>
|
After Width: | Height: | Size: 724 B |
112
src/main/resources/static/home/js/main.js
Normal file
@ -0,0 +1,112 @@
|
||||
// preloader
|
||||
$(window).on("load", function() {
|
||||
$("#overlay").fadeOut(), $("#preloader").delay(350).fadeOut("slow"), $("body").delay(350).css({
|
||||
overflow: "visible"
|
||||
})
|
||||
});
|
||||
|
||||
//smooth link
|
||||
$(function() {
|
||||
$(".smooth").click(function() {
|
||||
if (location.pathname.replace(/^\//, "") == this.pathname.replace(/^\//, "") && location.hostname == this.hostname) {
|
||||
var a = $(this.hash);
|
||||
if (a = a.length ? a : $("[name=" + this.hash.slice(1) + "]"), a.length) return $("html,body").animate({
|
||||
scrollTop: a.offset().top
|
||||
}, 700), !1
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
// menu filter
|
||||
$('.filter a').on('click', function(event){
|
||||
event.preventDefault();
|
||||
$('.filter a').removeClass('active');
|
||||
$(this).addClass("active");
|
||||
var currentId = $(this).attr('href');
|
||||
$(".card").fadeOut(300);
|
||||
$(currentId).delay(300).fadeIn();
|
||||
});
|
||||
|
||||
//show arrows
|
||||
$('.evnt-calendar').on('mouseenter', function(){
|
||||
if ($(".arrows").hasClass('show') == false){
|
||||
$(".arrows").addClass('show');
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
$('.evnt-calendar').on('mouseleave', function(){
|
||||
if ($(".arrows").hasClass('show') == true){
|
||||
$(".arrows").removeClass('show');
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
//handlers
|
||||
$('.handlers a').on('click', function(event){
|
||||
event.preventDefault();
|
||||
$('.handlers a').removeClass("active");
|
||||
$(this).addClass("active");
|
||||
var place = $(this).parent().index();
|
||||
$('.scroll').animate({'margin-left':'-' + 100 * place + "%"}, 'slow');
|
||||
});
|
||||
|
||||
//next
|
||||
$(".arrows #next").on('click', function(event){
|
||||
event.preventDefault();
|
||||
if ($('.handlers .active').parent().index() <= $('.handlers .active').parent().length){
|
||||
$('.handlers .active').parent().next().children('a').trigger('click', event.preventDefault());
|
||||
} else {
|
||||
$('.handlers li').first().children('a').trigger('click', event.preventDefault());
|
||||
}
|
||||
});
|
||||
|
||||
//prev
|
||||
$(".arrows #prev").on('click', function(event){
|
||||
event.preventDefault();
|
||||
if ($('.handlers .active').parent().index() > 0){
|
||||
$('.handlers .active').parent().prev().children('a').trigger('click', event.preventDefault());
|
||||
} else {
|
||||
$('.handlers li').last().children('a').trigger('click', event.preventDefault());
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// GOOGLE MAP SETTING from https://snazzymaps.com/style/151/ultra-light-with-labels
|
||||
|
||||
// When the window has finished loading create our google map below
|
||||
google.maps.event.addDomListener(window, 'load', init);
|
||||
|
||||
function init() {
|
||||
// Basic options for a simple Google Map
|
||||
// For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions
|
||||
var mapOptions = {
|
||||
// How zoomed in you want the map to start at (always required)
|
||||
zoom: 11,
|
||||
|
||||
// The latitude and longitude to center the map (always required)
|
||||
center: new google.maps.LatLng(40.6700, -73.9400), // New York
|
||||
|
||||
// How you would like to style the map.
|
||||
// This is where you would paste any style found on Snazzy Maps.
|
||||
styles: [{"featureType":"water","elementType":"geometry","stylers":[{"color":"#e9e9e9"},{"lightness":17}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":20}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#ffffff"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#ffffff"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":16}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":21}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#dedede"},{"lightness":21}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#ffffff"},{"lightness":16}]},{"elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#333333"},{"lightness":40}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#f2f2f2"},{"lightness":19}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#fefefe"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#fefefe"},{"lightness":17},{"weight":1.2}]}]
|
||||
};
|
||||
|
||||
// Get the HTML DOM element that will contain your map
|
||||
// We are using a div with id="map" seen below in the <body>
|
||||
var mapElement = document.getElementById('map');
|
||||
|
||||
// Create the Google Map using our element and options defined above
|
||||
var map = new google.maps.Map(mapElement, mapOptions);
|
||||
|
||||
// Let's also add a marker while we're at it
|
||||
var marker = new google.maps.Marker({
|
||||
position: new google.maps.LatLng(40.6700, -73.9400),
|
||||
map: map,
|
||||
title: 'Snazzy!'
|
||||
});
|
||||
}
|
||||
|
4
src/main/resources/static/home/js/vendor/jquery-1.11.2.min.js
vendored
Normal file
4
src/main/resources/static/home/js/vendor/modernizr-2.8.3.min.js
vendored
Normal file
2
src/main/resources/static/home/js/wow.min.js
vendored
Normal file
5
src/main/resources/static/home/license.md
Normal file
@ -0,0 +1,5 @@
|
||||
## creative commons
|
||||
|
||||
# Attribution 3.0 Unported
|
||||
|
||||
[CC3.0]("https://creativecommons.org/licenses/by/3.0/legalcode")
|
5
src/main/resources/static/home/robots.txt
Normal file
@ -0,0 +1,5 @@
|
||||
# www.robotstxt.org/
|
||||
|
||||
# Allow crawling of all content
|
||||
User-agent: *
|
||||
Disallow:
|
622
src/main/resources/static/home/scss/_general.scss
Normal file
@ -0,0 +1,622 @@
|
||||
// variables
|
||||
$main-text: 'Roboto', sans-serif;
|
||||
$header-text: 'Lobster', sans-serif;
|
||||
$normal: 400;
|
||||
$bold: 700;
|
||||
$orange: #f6bc13;
|
||||
$dark-orange: #e7b522;
|
||||
$brown: #410a00;
|
||||
$bshadow: 0px 5px 20px 0px rgba(0,0,0,0.19);
|
||||
$fshadow: 0px 0px 5px rgba(22, 22, 22, 0.75);
|
||||
$tzn: all 300ms ease-in-out;
|
||||
$maxwidth: 768px;
|
||||
$grey: #837972;
|
||||
$reddish: #382c30;
|
||||
|
||||
//mixins
|
||||
|
||||
@mixin border-radius($radius) {
|
||||
-webkit-border-radius: $radius;
|
||||
-moz-border-radius: $radius;
|
||||
-ms-border-radius: $radius;
|
||||
border-radius: $radius;
|
||||
}
|
||||
|
||||
@mixin box-shadow($bshadow) {
|
||||
-webkit-box-shadow: $bshadow;
|
||||
-moz-box-shadow: $bshadow;
|
||||
-ms-box-shadow: $bshadow;
|
||||
box-shadow: $bshadow;
|
||||
}
|
||||
|
||||
@mixin text-shadow($fshadow) {
|
||||
-webkit-text-shadow: $fshadow;
|
||||
-moz-text-shadow: $fshadow;
|
||||
-ms-text-shadow: $fshadow;
|
||||
text-shadow: $fshadow;
|
||||
}
|
||||
|
||||
|
||||
@mixin transition($tzn) {
|
||||
-webkit-transition: $tzn;
|
||||
-moz-transition: $tzn;
|
||||
-ms-transition: $tzn;
|
||||
transition: $tzn;
|
||||
}
|
||||
|
||||
// grid setting
|
||||
$neat-grid: (
|
||||
columns: 12,
|
||||
gutter: 0
|
||||
);
|
||||
|
||||
|
||||
body {
|
||||
font-family: $main-text;
|
||||
min-width: 320px;
|
||||
@media only screen and (max-width: $maxwidth) {
|
||||
font-size: 80%;
|
||||
}
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.wrap {
|
||||
max-width: 960px;
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.hero {
|
||||
background: url("../img/burger-bg.jpg") center bottom no-repeat;
|
||||
background-size: cover;
|
||||
min-height: 480px;
|
||||
height: auto;
|
||||
padding-top: 3%;
|
||||
@include text-shadow($fshadow);
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin:0;
|
||||
font-family: $header-text;
|
||||
font-size: 26px;
|
||||
font-weight: $normal;
|
||||
@media only screen and (max-width: $maxwidth) {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
h2.brn:before, h2.brn:after {
|
||||
content: url(../img/curl-brn.svg);
|
||||
height: 20px;
|
||||
width: 40px;
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
h2.ylw:before, h2.ylw:after {
|
||||
content: url(../img/curl-ylw.svg);
|
||||
height: 20px;
|
||||
width: 40px;
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
h2.sngl:before {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.brn {
|
||||
color: $brown;
|
||||
}
|
||||
|
||||
.ylw {
|
||||
color: $orange;
|
||||
}
|
||||
|
||||
|
||||
.heading {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
text-align: right;
|
||||
color: #fff;
|
||||
padding: 10px 20px;
|
||||
margin-top: 10vh;
|
||||
p {
|
||||
line-height: 1.6em;
|
||||
letter-spacing: 1px;
|
||||
font-family: $main-text;
|
||||
font-weight: $normal;
|
||||
}
|
||||
h2 {
|
||||
font-family: $main-text;
|
||||
font-weight: $bold;
|
||||
color: $orange;
|
||||
}
|
||||
@media only screen and (max-width: $maxwidth) {
|
||||
margin-top: 5vh;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-main {
|
||||
display: inline-block;
|
||||
padding: 10px 30px;
|
||||
margin-top: 16px;
|
||||
background-color: $orange;
|
||||
@include border-radius(3px);
|
||||
color: $brown;
|
||||
text-decoration: none;
|
||||
text-shadow: none;
|
||||
font-weight: $bold;
|
||||
@include transition($tzn);
|
||||
&:hover {
|
||||
background-color: $dark-orange;
|
||||
}
|
||||
}
|
||||
|
||||
.light {
|
||||
background: url("../img/bg-light.jpg") center bottom no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.menu {
|
||||
padding: 8% 2%;
|
||||
text-align: center;
|
||||
.filter {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-top: 30px;
|
||||
li {
|
||||
display: inline-block;
|
||||
@media only screen and (max-width: $maxwidth){
|
||||
display: block;
|
||||
}
|
||||
a {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
padding: 10px 40px;
|
||||
font-weight: bold;
|
||||
background-color: #fff;
|
||||
@include border-radius(3px);
|
||||
color: $orange;
|
||||
font-weight: $normal;
|
||||
margin: 0 4px;
|
||||
@include box-shadow($bshadow);
|
||||
@include transition($tzn);
|
||||
&:hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
@media only screen and (max-width: $maxwidth) {
|
||||
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
}
|
||||
.active {
|
||||
background-color: $orange;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
.menu-card {
|
||||
margin-top: 5%;
|
||||
background-color: #fff;
|
||||
@include border-radius(3px);
|
||||
@include box-shadow($bshadow);
|
||||
padding: 5%;
|
||||
@include grid-container;
|
||||
h3 {
|
||||
color: #fff;
|
||||
font-family: $header-text;
|
||||
@include text-shadow($fshadow);
|
||||
font-size: 28px;
|
||||
font-weight: $normal;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.main {
|
||||
padding: 40px 10px;
|
||||
background: url(../img/menu-main.jpg) center center no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.desserts {
|
||||
padding: 40px 10px;
|
||||
background: url(../img/dessert.jpg) center center no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.drinks {
|
||||
padding: 40px 10px;
|
||||
background: url(../img/drinks.jpg) center center no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.half {
|
||||
ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 6%;
|
||||
margin-top: 2%;
|
||||
color: $grey;
|
||||
font-size: 16px;
|
||||
font-family: $header-text;
|
||||
font-weight: $normal;
|
||||
letter-spacing: 2px;
|
||||
@media only screen and (max-width: $maxwidth) {
|
||||
padding: 0 6%;
|
||||
}
|
||||
|
||||
li {
|
||||
text-align: left;
|
||||
line-height: 2.4em;
|
||||
}
|
||||
.price {
|
||||
color: $orange;
|
||||
float: right;
|
||||
&:before {
|
||||
content: "........... ";
|
||||
color: #ccc;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.full {
|
||||
@include grid-column(12);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.half {
|
||||
@include grid-column(6);
|
||||
box-sizing: border-box;
|
||||
@media only screen and (max-width: $maxwidth) {
|
||||
@include grid-column(12);
|
||||
}
|
||||
}
|
||||
|
||||
.third {
|
||||
@include grid-column(4);
|
||||
box-sizing: border-box;
|
||||
@media only screen and (max-width: $maxwidth) {
|
||||
@include grid-column(12);
|
||||
}
|
||||
}
|
||||
|
||||
.two-third {
|
||||
@include grid-column(8);
|
||||
box-sizing: border-box;
|
||||
@media only screen and (max-width: $maxwidth) {
|
||||
@include grid-column(12);
|
||||
}
|
||||
}
|
||||
|
||||
.dark {
|
||||
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1a131b+0,3a2524+100 */
|
||||
background: #1a131b; /* Old browsers */
|
||||
background: -moz-linear-gradient(-45deg, #1a131b 0%, #3a2524 100%); /* FF3.6-15 */
|
||||
background: -webkit-linear-gradient(-45deg, #1a131b 0%,#3a2524 100%); /* Chrome10-25,Safari5.1-6 */
|
||||
background: linear-gradient(135deg, #1a131b 0%,#3a2524 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a131b', endColorstr='#3a2524',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
|
||||
color: #fff;
|
||||
padding: 8% 2%;
|
||||
overflow: hidden;
|
||||
h2 {
|
||||
font-weight: $normal;
|
||||
letter-spacing: 1px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.evnt-calendar {
|
||||
@include grid-container;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
.scroll {
|
||||
width: 300%;
|
||||
}
|
||||
.evt {
|
||||
@include grid-container;
|
||||
margin-top: 20px;
|
||||
width: 33.333%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.third {
|
||||
padding: 3%;
|
||||
}
|
||||
.two-third {
|
||||
padding: 3%;
|
||||
}
|
||||
.date {
|
||||
color: #fff;
|
||||
font-family: $header-text;
|
||||
font-size: 22px;
|
||||
letter-spacing: 1px;
|
||||
i {
|
||||
margin-right: 10px;
|
||||
font-size: 16px;
|
||||
color: $orange;
|
||||
}
|
||||
span {
|
||||
margin-left: 10px;
|
||||
font-family: $main-text;
|
||||
color: $orange;
|
||||
font-size: 16px;
|
||||
font-weight: $normal;
|
||||
}
|
||||
}
|
||||
p {
|
||||
line-height: 1.6em;
|
||||
}
|
||||
.arrows {
|
||||
position: absolute;
|
||||
top: 150px;
|
||||
width: 100%;
|
||||
a {
|
||||
color: $orange;
|
||||
display: inline-block;
|
||||
-webkit-transition: all 400ms ease-in-out;
|
||||
-moz-transition: all 400ms ease-in-out;
|
||||
transition: all 400ms ease-in-out;
|
||||
}
|
||||
.right {
|
||||
float: right;
|
||||
-webkit-transform: translateX(400px);
|
||||
-moz-transform: translateX(400px);
|
||||
transform: translateX(400px);
|
||||
opacity: 0;
|
||||
}
|
||||
.left {
|
||||
-webkit-transform: translateX(-400px);
|
||||
-moz-transform: translateX(-400px);
|
||||
transform: translateX(-400px);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.show .right {
|
||||
-webkit-transform: translateX(0);
|
||||
-moz-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
.show .left {
|
||||
-webkit-transform: translateX(0);
|
||||
-moz-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.handlers {
|
||||
list-style:none;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-top: 10px;
|
||||
li {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
a {
|
||||
display: block;
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
border-radius: 20px;
|
||||
background-color: #fff;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
.active {
|
||||
background-color: $orange;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.about {
|
||||
@include grid-container;
|
||||
padding: 8% 2%;
|
||||
h5 {
|
||||
font-size: 17px;
|
||||
}
|
||||
img {
|
||||
border-radius: 50%;
|
||||
}
|
||||
.third {
|
||||
padding: 5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
p {
|
||||
color: $grey;
|
||||
line-height: 2em;
|
||||
}
|
||||
.tel {
|
||||
color: $orange;
|
||||
font-family: $header-text;
|
||||
font-size: 26px;
|
||||
i {
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hppy-hr {
|
||||
background: url("../img/happy-hour.jpg") center center no-repeat;
|
||||
background-size: cover;
|
||||
text-align: center;
|
||||
padding: 8% 2%;
|
||||
color: #fff;
|
||||
small {
|
||||
font-size: 18px;
|
||||
line-height: 2em;
|
||||
}
|
||||
.submenu {
|
||||
@include grid-container;
|
||||
text-align: left;
|
||||
ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 6% 10%;
|
||||
margin-top: 2%;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
font-family: $header-text;
|
||||
font-weight: $normal;
|
||||
letter-spacing: 2px;
|
||||
@media only screen and (max-width: $maxwidth) {
|
||||
padding: 0 6%;
|
||||
}
|
||||
|
||||
li {
|
||||
text-align: left;
|
||||
line-height: 2.4em;
|
||||
}
|
||||
.price {
|
||||
color: $orange;
|
||||
float: right;
|
||||
&:before {
|
||||
content: "........... ";
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.parallax {
|
||||
background-attachment: fixed;
|
||||
@media only screen and (max-width: $maxwidth){
|
||||
background-attachment: scroll;
|
||||
}
|
||||
}
|
||||
|
||||
#map {
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
|
||||
.contact {
|
||||
background-color: #fff;
|
||||
color: $grey;
|
||||
padding: 8% 2%;
|
||||
.subscribe {
|
||||
@include grid-container;
|
||||
input {
|
||||
margin-top: 15px;
|
||||
margin-right: 10px;
|
||||
height: 36px;
|
||||
width: 200px;
|
||||
background-color: #ededed;
|
||||
border:0;
|
||||
padding-left: 14px;
|
||||
}
|
||||
input[type="submit"] {
|
||||
display: block;
|
||||
@include border-radius(3px);
|
||||
border: 1px $orange solid;
|
||||
text-align: center;
|
||||
color: $orange;
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
text-transform: uppercase;
|
||||
background-color: #fff;
|
||||
width: 215px;
|
||||
@include transition($tzn);
|
||||
&:hover {
|
||||
background-color: $orange;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding-top: 10px;
|
||||
list-style: none;
|
||||
font-size: 16px;
|
||||
line-height: 2em;
|
||||
width: 280px;
|
||||
float: right;
|
||||
i {
|
||||
color: $orange;
|
||||
display: absolute;
|
||||
margin-left: -25px;
|
||||
width: 25px;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: $maxwidth) {
|
||||
ul {
|
||||
float: left;
|
||||
}
|
||||
ul li {
|
||||
padding-left: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: $reddish;
|
||||
color: #fff;
|
||||
padding: 2% 2% 3% 2%;
|
||||
copy {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
font-size: 12px;
|
||||
}
|
||||
.social {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
li {
|
||||
display: inline-block;
|
||||
}
|
||||
a {
|
||||
color: $orange;
|
||||
text-decoration: none;
|
||||
padding-left: 10px;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: $maxwidth) {
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//preloader
|
||||
#preloader {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: #fff;
|
||||
z-index: 9999
|
||||
}
|
||||
#status {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
background-image: url(../img/preload.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
margin: -100px 0 0 -100px
|
||||
}
|
102
src/main/resources/static/home/scss/_navi.scss
Normal file
@ -0,0 +1,102 @@
|
||||
nav {
|
||||
display: block;
|
||||
width: 100%;
|
||||
float: left;
|
||||
font-family: $main-text;
|
||||
text-transform: uppercase;
|
||||
font-weight: $normal;
|
||||
|
||||
.toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.navi {
|
||||
float: right;
|
||||
@media only screen and (max-width: $maxwidth){
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ul {
|
||||
margin:0;
|
||||
padding:0;
|
||||
display: inline-block;
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
right: 0;
|
||||
|
||||
li{
|
||||
display: inline-block;
|
||||
list-style: none;
|
||||
line-height: 60px;
|
||||
margin-left: 15px;
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
@include transition($tzn);
|
||||
}
|
||||
:hover {
|
||||
color: $orange;
|
||||
border-bottom: $orange 3px solid;
|
||||
}
|
||||
i.fa {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.logo {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
img {
|
||||
|
||||
height: 60px;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: $maxwidth) {
|
||||
ul {
|
||||
background-color: $orange;
|
||||
margin-right: 0;
|
||||
width: 90%;
|
||||
margin: 0 5%;
|
||||
@include border-radius(3px);
|
||||
position: fixed;
|
||||
z-index: 100;
|
||||
li {
|
||||
margin-left: 0;
|
||||
text-align: center;
|
||||
width: 23.9%;
|
||||
box-sizing: border-box;
|
||||
line-height: 30px;
|
||||
:hover, :focus {
|
||||
border-bottom: 0;
|
||||
color: $reddish;
|
||||
}
|
||||
a {
|
||||
font-size: 10px;
|
||||
text-decoration: none;
|
||||
text-shadow: none;
|
||||
color: $reddish;
|
||||
:hover {
|
||||
border-bottom: 0;
|
||||
color: $reddish;
|
||||
}
|
||||
}
|
||||
|
||||
i.fa {
|
||||
display: block;
|
||||
padding-top: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.logo {
|
||||
display: block;
|
||||
margin-top: 100px;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
427
src/main/resources/static/home/scss/_normalize.scss
Normal file
@ -0,0 +1,427 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
||||
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
||||
* and Firefox.
|
||||
* Correct `block` display not defined for `main` in IE 11.
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove border when inside `a` element in IE 8/9/10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct overflow not hidden in IE 9/10/11.
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
||||
* `font-size` values of the `input`, it causes the cursor style of the
|
||||
* decrement button to change from `default` to `text`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
6
src/main/resources/static/home/scss/main.scss
Normal file
@ -0,0 +1,6 @@
|
||||
@import url('https://fonts.googleapis.com/css?family=Lobster|Raleway:400,700');
|
||||
@import 'neat';
|
||||
@import '_normalize.scss';
|
||||
@import '_general.scss';
|
||||
@import '_navi.scss';
|
||||
@import '_font-awesome.min.scss';
|
15
src/main/resources/static/humans.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# humanstxt.org/
|
||||
# The humans responsible & technology colophon
|
||||
|
||||
# TEAM
|
||||
|
||||
<name> Anastasia Kashkinova <role> Designer and developer
|
||||
|
||||
# THANKS
|
||||
|
||||
Fontawesome, Unsplash, WOW js, Animate CSS, Jquery
|
||||
|
||||
# TECHNOLOGY COLOPHON
|
||||
|
||||
HTML5, CSS3
|
||||
jQuery, Sass
|
BIN
src/main/resources/static/img/1.jpg
Normal file
After Width: | Height: | Size: 146 KiB |
BIN
src/main/resources/static/img/bg-light.jpg
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
src/main/resources/static/img/burger-bg.jpg
Normal file
After Width: | Height: | Size: 134 KiB |
BIN
src/main/resources/static/img/cheff.jpg
Normal file
After Width: | Height: | Size: 45 KiB |
41
src/main/resources/static/img/curl-brn.svg
Normal file
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Objects" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 41.2 13.7" enable-background="new 0 0 41.2 13.7" xml:space="preserve">
|
||||
<g>
|
||||
<path fill="#410A00" d="M11.8,9.4c0,0,0,0-0.1,0.1c-0.1,0.1-0.2,0.1-0.3,0.3c-0.3,0.2-0.7,0.5-1.3,0.8c-0.3,0.1-0.7,0.2-1.1,0.3
|
||||
C8.5,10.9,8.1,11,7.6,11c-0.5,0-1-0.1-1.5-0.3C5.6,10.5,5,10.2,4.6,9.9C4.1,9.5,3.6,9,3.2,8.5C3.1,8.2,2.9,7.9,2.8,7.6
|
||||
C2.7,7.4,2.6,7.3,2.6,7.1l0-0.1l0,0l0,0c0,0,0,0,0,0l0-0.1l0-0.2C2.3,5.8,2.4,5,2.6,4.3c0.1-0.4,0.3-0.7,0.5-1.1
|
||||
c0.1-0.2,0.2-0.3,0.4-0.5l0.2-0.2l0.2-0.2c0.6-0.6,1.3-1,2.2-1.2l0.1,0l0,0l0.1,0l0,0l0.1,0L6.6,1c0.2,0,0.4-0.1,0.7-0.1
|
||||
c0.4,0,0.8,0,1.2,0.1c0.8,0.1,1.6,0.4,2.3,0.7c0.7,0.3,1.4,0.7,2.1,1.1c0.3,0.2,0.6,0.4,1,0.6c0.3,0.2,0.6,0.4,0.9,0.6
|
||||
c0.6,0.4,1.2,0.8,1.8,1.3c0.6,0.4,1.2,0.9,1.8,1.3c0.6,0.4,1.2,0.8,1.7,1.2c1.1,0.8,2.2,1.5,3.3,2.2c0.3,0.2,0.5,0.3,0.8,0.5
|
||||
c0.3,0.2,0.5,0.3,0.8,0.4c0.5,0.3,1,0.5,1.5,0.7c0.2,0.1,0.5,0.1,0.7,0.2c0.1,0,0.1,0,0.2,0c0.1,0,0.1,0,0.2,0c0.1,0,0.1,0,0.2,0
|
||||
c0.1,0,0.1,0,0.2,0c0.5,0,0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l-ylw.svg
Normal file
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Objects" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 41.2 13.7" enable-background="new 0 0 41.2 13.7" xml:space="preserve">
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M11.8,9.4c0,0,0,0-0.1,0.1c-0.1,0.1-0.2,0.1-0.3,0.3c-0.3,0.2-0.7,0.5-1.3,0.8c-0.3,0.1-0.7,0.2-1.1,0.3
|
||||
C8.5,10.9,8.1,11,7.6,11c-0.5,0-1-0.1-1.5-0.3C5.6,10.5,5,10.2,4.6,9.9C4.1,9.5,3.6,9,3.2,8.5C3.1,8.2,2.9,7.9,2.8,7.6
|
||||
C2.7,7.4,2.6,7.3,2.6,7.1l0-0.1l0,0l0,0c0,0,0,0,0,0l0-0.1l0-0.2C2.3,5.8,2.4,5,2.6,4.3c0.1-0.4,0.3-0.7,0.5-1.1
|
||||
c0.1-0.2,0.2-0.3,0.4-0.5l0.2-0.2l0.2-0.2c0.6-0.6,1.3-1,2.2-1.2l0.1,0l0,0l0.1,0l0,0l0.1,0L6.6,1c0.2,0,0.4-0.1,0.7-0.1
|
||||
c0.4,0,0.8,0,1.2,0.1c0.8,0.1,1.6,0.4,2.3,0.7c0.7,0.3,1.4,0.7,2.1,1.1c0.3,0.2,0.6,0.4,1,0.6c0.3,0.2,0.6,0.4,0.9,0.6
|
||||
c0.6,0.4,1.2,0.8,1.8,1.3c0.6,0.4,1.2,0.9,1.8,1.3c0.6,0.4,1.2,0.8,1.7,1.2c1.1,0.8,2.2,1.5,3.3,2.2c0.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-0.2-0.9-0.3-1.3-0.4c-0.9-0.1-1.6,0-2.2,0.1c-0.6,0.2-1.1,0.4-1.4,0.5c-0.2,0.1-0.3,0.1-0.4,0.2
|
||||
C29.4,4.3,29.4,4.3,29.4,4.3z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.2 KiB |
BIN
src/main/resources/static/img/dessert.jpg
Normal file
After Width: | Height: | Size: 235 KiB |
BIN
src/main/resources/static/img/drinks.jpg
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
src/main/resources/static/img/event1.jpg
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
src/main/resources/static/img/event2.jpg
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
src/main/resources/static/img/event3.jpg
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
src/main/resources/static/img/happy-hour.jpg
Normal file
After Width: | Height: | Size: 415 KiB |
111
src/main/resources/static/img/logo-light.svg
Normal file
@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 199 85" enable-background="new 0 0 199 85" xml:space="preserve">
|
||||
<g>
|
||||
<g>
|
||||
<path fill="#FFFFFF" d="M69.2,31.8c0-0.2,0-0.4,0-0.6c-0.2,0-0.5,0-0.7,0L69.2,31.8z"/>
|
||||
<polygon fill="#FFFFFF" points="99.3,10.3 99.3,10.3 99.3,10.3 "/>
|
||||
<path fill="#FFFFFF" d="M124.6,30.8c-0.7,0-1.5,0-2.2,0l-7.7,0.1l-3.8,0.1c-1.3,0-2.6,0.1-3.8,0.1l-7.7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.5,51,167.6,51z M171.5,36.2
|
||||
c1,0,1.1,1.1,1.1,1.8c0,2.3-2.1,4.9-5.1,4.9C168.2,39.8,169.7,36.2,171.5,36.2z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M90.1,19.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C89.3,18.9,90.2,19.2,90.1,19.8z"/>
|
||||
<path fill="#F6BC13" d="M90.1,19.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C89.3,18.9,90.2,19.2,90.1,19.8z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M101.1,15.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C100.3,14.9,101.1,15.2,101.1,15.8z"/>
|
||||
<path fill="#F6BC13" d="M101.1,15.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C100.3,14.9,101.1,15.2,101.1,15.8z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M101.1,22.6c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C100.3,21.7,101.1,22,101.1,22.6z"/>
|
||||
<path fill="#F6BC13" d="M101.1,22.6c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C100.3,21.7,101.1,22,101.1,22.6z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F6BC13" d="M111.8,19.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C110.9,18.9,111.8,19.2,111.8,19.8z"/>
|
||||
<path fill="#F6BC13" d="M111.8,19.8c0,0.6-0.6-0.1-1.8-0.1c-1.2,0-1.8,0.7-1.8,0.1c0-0.5,0.8-0.9,1.8-0.8
|
||||
C110.9,18.9,111.8,19.2,111.8,19.8z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 10 KiB |
BIN
src/main/resources/static/img/menu-main.jpg
Normal file
After Width: | Height: | Size: 243 KiB |
5
src/main/resources/static/img/preload.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg width="50px" height="50px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-dual-ring" style="background: none;">
|
||||
<circle cx="50" cy="50" ng-attr-r="{{config.radius}}" ng-attr-stroke-width="{{config.width}}" ng-attr-stroke="{{config.stroke}}" ng-attr-stroke-dasharray="{{config.dasharray}}" fill="none" stroke-linecap="round" r="40" stroke-width="4" stroke="#f6bc13" stroke-dasharray="62.83185307179586 62.83185307179586" transform="rotate(18 50 50)">
|
||||
<animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;1" dur="1s" begin="0s" repeatCount="indefinite"></animateTransform>
|
||||
</circle>
|
||||
</svg>
|
After Width: | Height: | Size: 724 B |
BIN
src/main/resources/static/img/profile.jpg
Normal file
After Width: | Height: | Size: 158 KiB |
1
src/main/resources/static/img/undraw_posting_photo.svg
Normal file
After Width: | Height: | Size: 36 KiB |
118
src/main/resources/static/js/demo/chart-area-demo.js
Normal file
@ -0,0 +1,118 @@
|
||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
||||
Chart.defaults.global.defaultFontFamily = 'Nunito', '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.global.defaultFontColor = '#858796';
|
||||
|
||||
function number_format(number, decimals, dec_point, thousands_sep) {
|
||||
// * example: number_format(1234.56, 2, ',', ' ');
|
||||
// * return: '1 234,56'
|
||||
number = (number + '').replace(',', '').replace(' ', '');
|
||||
var n = !isFinite(+number) ? 0 : +number,
|
||||
prec = !isFinite(+decimals) ? 0 : Math.abs(decimals),
|
||||
sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep,
|
||||
dec = (typeof dec_point === 'undefined') ? '.' : dec_point,
|
||||
s = '',
|
||||
toFixedFix = function(n, prec) {
|
||||
var k = Math.pow(10, prec);
|
||||
return '' + Math.round(n * k) / k;
|
||||
};
|
||||
// Fix for IE parseFloat(0.55).toFixed(0) = 0;
|
||||
s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)).split('.');
|
||||
if (s[0].length > 3) {
|
||||
s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep);
|
||||
}
|
||||
if ((s[1] || '').length < prec) {
|
||||
s[1] = s[1] || '';
|
||||
s[1] += new Array(prec - s[1].length + 1).join('0');
|
||||
}
|
||||
return s.join(dec);
|
||||
}
|
||||
|
||||
// Area Chart Example
|
||||
var ctx = document.getElementById("myAreaChart");
|
||||
var myLineChart = new Chart(ctx, {
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
||||
datasets: [{
|
||||
label: "Earnings",
|
||||
lineTension: 0.3,
|
||||
backgroundColor: "rgba(78, 115, 223, 0.05)",
|
||||
borderColor: "rgba(78, 115, 223, 1)",
|
||||
pointRadius: 3,
|
||||
pointBackgroundColor: "rgba(78, 115, 223, 1)",
|
||||
pointBorderColor: "rgba(78, 115, 223, 1)",
|
||||
pointHoverRadius: 3,
|
||||
pointHoverBackgroundColor: "rgba(78, 115, 223, 1)",
|
||||
pointHoverBorderColor: "rgba(78, 115, 223, 1)",
|
||||
pointHitRadius: 10,
|
||||
pointBorderWidth: 2,
|
||||
data: [0, 10000, 5000, 15000, 10000, 20000, 15000, 25000, 20000, 30000, 25000, 40000],
|
||||
}],
|
||||
},
|
||||
options: {
|
||||
maintainAspectRatio: false,
|
||||
layout: {
|
||||
padding: {
|
||||
left: 10,
|
||||
right: 25,
|
||||
top: 25,
|
||||
bottom: 0
|
||||
}
|
||||
},
|
||||
scales: {
|
||||
xAxes: [{
|
||||
time: {
|
||||
unit: 'date'
|
||||
},
|
||||
gridLines: {
|
||||
display: false,
|
||||
drawBorder: false
|
||||
},
|
||||
ticks: {
|
||||
maxTicksLimit: 7
|
||||
}
|
||||
}],
|
||||
yAxes: [{
|
||||
ticks: {
|
||||
maxTicksLimit: 5,
|
||||
padding: 10,
|
||||
// Include a dollar sign in the ticks
|
||||
callback: function(value, index, values) {
|
||||
return '$' + number_format(value);
|
||||
}
|
||||
},
|
||||
gridLines: {
|
||||
color: "rgb(234, 236, 244)",
|
||||
zeroLineColor: "rgb(234, 236, 244)",
|
||||
drawBorder: false,
|
||||
borderDash: [2],
|
||||
zeroLineBorderDash: [2]
|
||||
}
|
||||
}],
|
||||
},
|
||||
legend: {
|
||||
display: false
|
||||
},
|
||||
tooltips: {
|
||||
backgroundColor: "rgb(255,255,255)",
|
||||
bodyFontColor: "#858796",
|
||||
titleMarginBottom: 10,
|
||||
titleFontColor: '#6e707e',
|
||||
titleFontSize: 14,
|
||||
borderColor: '#dddfeb',
|
||||
borderWidth: 1,
|
||||
xPadding: 15,
|
||||
yPadding: 15,
|
||||
displayColors: false,
|
||||
intersect: false,
|
||||
mode: 'index',
|
||||
caretPadding: 10,
|
||||
callbacks: {
|
||||
label: function(tooltipItem, chart) {
|
||||
var datasetLabel = chart.datasets[tooltipItem.datasetIndex].label || '';
|
||||
return datasetLabel + ': $' + number_format(tooltipItem.yLabel);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
111
src/main/resources/static/js/demo/chart-bar-demo.js
Normal file
@ -0,0 +1,111 @@
|
||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
||||
Chart.defaults.global.defaultFontFamily = 'Nunito', '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.global.defaultFontColor = '#858796';
|
||||
|
||||
function number_format(number, decimals, dec_point, thousands_sep) {
|
||||
// * example: number_format(1234.56, 2, ',', ' ');
|
||||
// * return: '1 234,56'
|
||||
number = (number + '').replace(',', '').replace(' ', '');
|
||||
var n = !isFinite(+number) ? 0 : +number,
|
||||
prec = !isFinite(+decimals) ? 0 : Math.abs(decimals),
|
||||
sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep,
|
||||
dec = (typeof dec_point === 'undefined') ? '.' : dec_point,
|
||||
s = '',
|
||||
toFixedFix = function(n, prec) {
|
||||
var k = Math.pow(10, prec);
|
||||
return '' + Math.round(n * k) / k;
|
||||
};
|
||||
// Fix for IE parseFloat(0.55).toFixed(0) = 0;
|
||||
s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)).split('.');
|
||||
if (s[0].length > 3) {
|
||||
s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep);
|
||||
}
|
||||
if ((s[1] || '').length < prec) {
|
||||
s[1] = s[1] || '';
|
||||
s[1] += new Array(prec - s[1].length + 1).join('0');
|
||||
}
|
||||
return s.join(dec);
|
||||
}
|
||||
|
||||
// Bar Chart Example
|
||||
var ctx = document.getElementById("myBarChart");
|
||||
var myBarChart = new Chart(ctx, {
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: ["January", "February", "March", "April", "May", "June"],
|
||||
datasets: [{
|
||||
label: "Revenue",
|
||||
backgroundColor: "#4e73df",
|
||||
hoverBackgroundColor: "#2e59d9",
|
||||
borderColor: "#4e73df",
|
||||
data: [4215, 5312, 6251, 7841, 9821, 14984],
|
||||
}],
|
||||
},
|
||||
options: {
|
||||
maintainAspectRatio: false,
|
||||
layout: {
|
||||
padding: {
|
||||
left: 10,
|
||||
right: 25,
|
||||
top: 25,
|
||||
bottom: 0
|
||||
}
|
||||
},
|
||||
scales: {
|
||||
xAxes: [{
|
||||
time: {
|
||||
unit: 'month'
|
||||
},
|
||||
gridLines: {
|
||||
display: false,
|
||||
drawBorder: false
|
||||
},
|
||||
ticks: {
|
||||
maxTicksLimit: 6
|
||||
},
|
||||
maxBarThickness: 25,
|
||||
}],
|
||||
yAxes: [{
|
||||
ticks: {
|
||||
min: 0,
|
||||
max: 15000,
|
||||
maxTicksLimit: 5,
|
||||
padding: 10,
|
||||
// Include a dollar sign in the ticks
|
||||
callback: function(value, index, values) {
|
||||
return '$' + number_format(value);
|
||||
}
|
||||
},
|
||||
gridLines: {
|
||||
color: "rgb(234, 236, 244)",
|
||||
zeroLineColor: "rgb(234, 236, 244)",
|
||||
drawBorder: false,
|
||||
borderDash: [2],
|
||||
zeroLineBorderDash: [2]
|
||||
}
|
||||
}],
|
||||
},
|
||||
legend: {
|
||||
display: false
|
||||
},
|
||||
tooltips: {
|
||||
titleMarginBottom: 10,
|
||||
titleFontColor: '#6e707e',
|
||||
titleFontSize: 14,
|
||||
backgroundColor: "rgb(255,255,255)",
|
||||
bodyFontColor: "#858796",
|
||||
borderColor: '#dddfeb',
|
||||
borderWidth: 1,
|
||||
xPadding: 15,
|
||||
yPadding: 15,
|
||||
displayColors: false,
|
||||
caretPadding: 10,
|
||||
callbacks: {
|
||||
label: function(tooltipItem, chart) {
|
||||
var datasetLabel = chart.datasets[tooltipItem.datasetIndex].label || '';
|
||||
return datasetLabel + ': $' + number_format(tooltipItem.yLabel);
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
});
|
35
src/main/resources/static/js/demo/chart-pie-demo.js
Normal file
@ -0,0 +1,35 @@
|
||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
||||
Chart.defaults.global.defaultFontFamily = 'Nunito', '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.global.defaultFontColor = '#858796';
|
||||
|
||||
// Pie Chart Example
|
||||
var ctx = document.getElementById("myPieChart");
|
||||
var myPieChart = new Chart(ctx, {
|
||||
type: 'doughnut',
|
||||
data: {
|
||||
labels: ["Direct", "Referral", "Social"],
|
||||
datasets: [{
|
||||
data: [55, 30, 15],
|
||||
backgroundColor: ['#4e73df', '#1cc88a', '#36b9cc'],
|
||||
hoverBackgroundColor: ['#2e59d9', '#17a673', '#2c9faf'],
|
||||
hoverBorderColor: "rgba(234, 236, 244, 1)",
|
||||
}],
|
||||
},
|
||||
options: {
|
||||
maintainAspectRatio: false,
|
||||
tooltips: {
|
||||
backgroundColor: "rgb(255,255,255)",
|
||||
bodyFontColor: "#858796",
|
||||
borderColor: '#dddfeb',
|
||||
borderWidth: 1,
|
||||
xPadding: 15,
|
||||
yPadding: 15,
|
||||
displayColors: false,
|
||||
caretPadding: 10,
|
||||
},
|
||||
legend: {
|
||||
display: false
|
||||
},
|
||||
cutoutPercentage: 80,
|
||||
},
|
||||
});
|
4
src/main/resources/static/js/demo/datatables-demo.js
Normal file
@ -0,0 +1,4 @@
|
||||
// Call the dataTables jQuery plugin
|
||||
$(document).ready(function() {
|
||||
$('#dataTable').DataTable();
|
||||
});
|
112
src/main/resources/static/js/main.js
Normal file
@ -0,0 +1,112 @@
|
||||
// preloader
|
||||
$(window).on("load", function() {
|
||||
$("#overlay").fadeOut(), $("#preloader").delay(350).fadeOut("slow"), $("body").delay(350).css({
|
||||
overflow: "visible"
|
||||
})
|
||||
});
|
||||
|
||||
//smooth link
|
||||
$(function() {
|
||||
$(".smooth").click(function() {
|
||||
if (location.pathname.replace(/^\//, "") == this.pathname.replace(/^\//, "") && location.hostname == this.hostname) {
|
||||
var a = $(this.hash);
|
||||
if (a = a.length ? a : $("[name=" + this.hash.slice(1) + "]"), a.length) return $("html,body").animate({
|
||||
scrollTop: a.offset().top
|
||||
}, 700), !1
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
// menu filter
|
||||
$('.filter a').on('click', function(event){
|
||||
event.preventDefault();
|
||||
$('.filter a').removeClass('active');
|
||||
$(this).addClass("active");
|
||||
var currentId = $(this).attr('href');
|
||||
$(".card").fadeOut(300);
|
||||
$(currentId).delay(300).fadeIn();
|
||||
});
|
||||
|
||||
//show arrows
|
||||
$('.evnt-calendar').on('mouseenter', function(){
|
||||
if ($(".arrows").hasClass('show') == false){
|
||||
$(".arrows").addClass('show');
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
$('.evnt-calendar').on('mouseleave', function(){
|
||||
if ($(".arrows").hasClass('show') == true){
|
||||
$(".arrows").removeClass('show');
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
//handlers
|
||||
$('.handlers a').on('click', function(event){
|
||||
event.preventDefault();
|
||||
$('.handlers a').removeClass("active");
|
||||
$(this).addClass("active");
|
||||
var place = $(this).parent().index();
|
||||
$('.scroll').animate({'margin-left':'-' + 100 * place + "%"}, 'slow');
|
||||
});
|
||||
|
||||
//next
|
||||
$(".arrows #next").on('click', function(event){
|
||||
event.preventDefault();
|
||||
if ($('.handlers .active').parent().index() <= $('.handlers .active').parent().length){
|
||||
$('.handlers .active').parent().next().children('a').trigger('click', event.preventDefault());
|
||||
} else {
|
||||
$('.handlers li').first().children('a').trigger('click', event.preventDefault());
|
||||
}
|
||||
});
|
||||
|
||||
//prev
|
||||
$(".arrows #prev").on('click', function(event){
|
||||
event.preventDefault();
|
||||
if ($('.handlers .active').parent().index() > 0){
|
||||
$('.handlers .active').parent().prev().children('a').trigger('click', event.preventDefault());
|
||||
} else {
|
||||
$('.handlers li').last().children('a').trigger('click', event.preventDefault());
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// GOOGLE MAP SETTING from https://snazzymaps.com/style/151/ultra-light-with-labels
|
||||
|
||||
// When the window has finished loading create our google map below
|
||||
google.maps.event.addDomListener(window, 'load', init);
|
||||
|
||||
function init() {
|
||||
// Basic options for a simple Google Map
|
||||
// For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions
|
||||
var mapOptions = {
|
||||
// How zoomed in you want the map to start at (always required)
|
||||
zoom: 11,
|
||||
|
||||
// The latitude and longitude to center the map (always required)
|
||||
center: new google.maps.LatLng(40.6700, -73.9400), // New York
|
||||
|
||||
// How you would like to style the map.
|
||||
// This is where you would paste any style found on Snazzy Maps.
|
||||
styles: [{"featureType":"water","elementType":"geometry","stylers":[{"color":"#e9e9e9"},{"lightness":17}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":20}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#ffffff"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#ffffff"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":16}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":21}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#dedede"},{"lightness":21}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#ffffff"},{"lightness":16}]},{"elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#333333"},{"lightness":40}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#f2f2f2"},{"lightness":19}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#fefefe"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#fefefe"},{"lightness":17},{"weight":1.2}]}]
|
||||
};
|
||||
|
||||
// Get the HTML DOM element that will contain your map
|
||||
// We are using a div with id="map" seen below in the <body>
|
||||
var mapElement = document.getElementById('map');
|
||||
|
||||
// Create the Google Map using our element and options defined above
|
||||
var map = new google.maps.Map(mapElement, mapOptions);
|
||||
|
||||
// Let's also add a marker while we're at it
|
||||
var marker = new google.maps.Marker({
|
||||
position: new google.maps.LatLng(40.6700, -73.9400),
|
||||
map: map,
|
||||
title: 'Snazzy!'
|
||||
});
|
||||
}
|
||||
|
20
src/main/resources/static/js/popup.js
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
// Validating Empty Field
|
||||
function check_empty() {
|
||||
if (document.getElementById('name').value == "" || document.getElementById('email').value == "" || document.getElementById('msg').value == "") {
|
||||
alert("Fill All Fields !");
|
||||
} else {
|
||||
document.getElementById('form').submit();
|
||||
alert("Form Submitted Successfully...");
|
||||
}
|
||||
}
|
||||
//Function To Display Popup
|
||||
function div_show() {
|
||||
document.getElementById('abc').style.display = "block";
|
||||
}
|
||||
//Function to Hide Popup
|
||||
function div_hide(){
|
||||
document.getElementById('abc').style.display = "none";
|
||||
}
|
49
src/main/resources/static/js/sb-admin-2.js
Normal file
@ -0,0 +1,49 @@
|
||||
(function($) {
|
||||
"use strict"; // Start of use strict
|
||||
|
||||
// Toggle the side navigation
|
||||
$("#sidebarToggle, #sidebarToggleTop").on('click', function(e) {
|
||||
$("body").toggleClass("sidebar-toggled");
|
||||
$(".sidebar").toggleClass("toggled");
|
||||
if ($(".sidebar").hasClass("toggled")) {
|
||||
$('.sidebar .collapse').collapse('hide');
|
||||
};
|
||||
});
|
||||
|
||||
// Close any open menu accordions when window is resized below 768px
|
||||
$(window).resize(function() {
|
||||
if ($(window).width() < 768) {
|
||||
$('.sidebar .collapse').collapse('hide');
|
||||
};
|
||||
});
|
||||
|
||||
// Prevent the content wrapper from scrolling when the fixed side navigation hovered over
|
||||
$('body.fixed-nav .sidebar').on('mousewheel DOMMouseScroll wheel', function(e) {
|
||||
if ($(window).width() > 768) {
|
||||
var e0 = e.originalEvent,
|
||||
delta = e0.wheelDelta || -e0.detail;
|
||||
this.scrollTop += (delta < 0 ? 1 : -1) * 30;
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
// Scroll to top button appear
|
||||
$(document).on('scroll', function() {
|
||||
var scrollDistance = $(this).scrollTop();
|
||||
if (scrollDistance > 100) {
|
||||
$('.scroll-to-top').fadeIn();
|
||||
} else {
|
||||
$('.scroll-to-top').fadeOut();
|
||||
}
|
||||
});
|
||||
|
||||
// Smooth scrolling using jQuery easing
|
||||
$(document).on('click', 'a.scroll-to-top', function(e) {
|
||||
var $anchor = $(this);
|
||||
$('html, body').stop().animate({
|
||||
scrollTop: ($($anchor.attr('href')).offset().top)
|
||||
}, 1000, 'easeInOutExpo');
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
})(jQuery); // End of use strict
|
7
src/main/resources/static/js/sb-admin-2.min.js
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* Start Bootstrap - SB Admin 2 v4.0.7 (https://startbootstrap.com/template-overviews/sb-admin-2)
|
||||
* Copyright 2013-2019 Start Bootstrap
|
||||
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-sb-admin-2/blob/master/LICENSE)
|
||||
*/
|
||||
|
||||
!function(t){"use strict";t("#sidebarToggle, #sidebarToggleTop").on("click",function(o){t("body").toggleClass("sidebar-toggled"),t(".sidebar").toggleClass("toggled"),t(".sidebar").hasClass("toggled")&&t(".sidebar .collapse").collapse("hide")}),t(window).resize(function(){t(window).width()<768&&t(".sidebar .collapse").collapse("hide")}),t("body.fixed-nav .sidebar").on("mousewheel DOMMouseScroll wheel",function(o){if(768<t(window).width()){var e=o.originalEvent,l=e.wheelDelta||-e.detail;this.scrollTop+=30*(l<0?1:-1),o.preventDefault()}}),t(document).on("scroll",function(){100<t(this).scrollTop()?t(".scroll-to-top").fadeIn():t(".scroll-to-top").fadeOut()}),t(document).on("click","a.scroll-to-top",function(o){var e=t(this);t("html, body").stop().animate({scrollTop:t(e.attr("href")).offset().top},1e3,"easeInOutExpo"),o.preventDefault()})}(jQuery);
|
4
src/main/resources/static/js/vendor/jquery-1.11.2.min.js
vendored
Normal file
4
src/main/resources/static/js/vendor/modernizr-2.8.3.min.js
vendored
Normal file
2
src/main/resources/static/js/wow.min.js
vendored
Normal file
5
src/main/resources/static/license.md
Normal file
@ -0,0 +1,5 @@
|
||||
## creative commons
|
||||
|
||||
# Attribution 3.0 Unported
|
||||
|
||||
[CC3.0]("https://creativecommons.org/licenses/by/3.0/legalcode")
|