Her türlü kaldırılmasını, eklenmesini ve/veya değiştirilmesi istediğiniz veriler için kendisi ile iletişime geçiniz !
+
Her türlü kaldırılmasını, eklenmesini ve/veya değiştirilmesi istediğiniz veriler için kendisi ile iletişime geçiniz !
diff --git a/assets/css/yurdle.css b/assets/css/yurdle.css new file mode 100644 index 0000000..7705260 --- /dev/null +++ b/assets/css/yurdle.css @@ -0,0 +1,72 @@ +#tebriks { + text-align: center; + font-size: larger; + font-weight: 800; + color: blue; + background-color: coral; + padding: 3px; + border: 1px solid white; +} + +.innot { + text-align: center; +} + +.guess-table { + width: 100%; + display: table; + overflow-x: auto; + -ms-overflow-style: none; + scrollbar-width: none; +} + +@media screen and (max-device-width: 1000px) { + .guess-table { + display: block; + overflow-x: auto; + } +} + +.guess-tr {} + +.guess-th { + border: aliceblue 3px solid; +} + +.guess-td { + text-align: center; + border: aliceblue 1px solid; +} + +.type0 { + background-color: red; + font-weight: 800; +} + +.type1 { + background-color: orange; + color: darkblue; + font-weight: 500; +} + +.type2 { + background-color: green; +} + +.type10 { + background-color: red; + font-weight: 800; +} + +.type10::after { + content: "👇" +} + +.type12 { + background-color: red; + font-weight: 800; +} + +.type12::after { + content: "👆" +} \ No newline at end of file diff --git a/buildzip.sh b/buildzip.sh index ef06e40..e38299b 100755 --- a/buildzip.sh +++ b/buildzip.sh @@ -2,6 +2,8 @@ rm -rf build/ mkdir build +composer update +composer install cp -r ./* build/ cp -r ../YurdleBackend/* build/ cd build/ || exit diff --git a/dockerserver.sh b/dockerserver.sh index aa67773..469d46f 100755 --- a/dockerserver.sh +++ b/dockerserver.sh @@ -11,8 +11,8 @@ SCRIPT_NAME="dockerserver.sh" # name of the *this* file SCRIPT_DIR="Yurdle" # containing directory of the *this* file BUILD_DIR="." # build results of local source code (insert a dot (.) if you do not need to build your application) # DATABASE_TYPE="postgresql" # database type, either mysql or postgresql -MAIN_NAME="yurdle" # main program name -PORT1="8000" # TODO what is the difference between 8000 and 80 +MAIN_NAME="yurdle" # main program name +PORT1="8000" # TODO what is the difference between 8000 and 80 PORT2="80" WEB_ROOT_DIR="/usr/share/nginx/html/" # public web root dir @@ -217,8 +217,10 @@ _folder_permissions() { useradd -g $MAIN_NAME $MAIN_NAME cd $WEB_ROOT_DIR || exit chown $MAIN_NAME:nginx -R . - cd $WEB_SERVER_DIR || exit - chown $MAIN_NAME:nginx -R . + if [[ $SECRET_SERVER == "true" ]]; then + cd $WEB_SERVER_DIR || exit + chown $MAIN_NAME:nginx -R . + fi } if [[ $# -eq 0 ]]; then @@ -293,7 +295,7 @@ elif [[ $1 == "docker" ]]; then cp -r /server/$BUILD_DIR/* $WEB_SERVER_DIR/ fi - apt install php php-fpm php-cli composer -y + apt install php php-fpm php-cli -y locale-gen tr_TR # _setup_database diff --git a/index.php b/index.php index 8ac60d5..1ea4d22 100644 --- a/index.php +++ b/index.php @@ -9,6 +9,7 @@ +