diff --git a/www/data/binaries/.gitignore b/www/data/binaries/.gitignore new file mode 100644 index 0000000..6f66c74 --- /dev/null +++ b/www/data/binaries/.gitignore @@ -0,0 +1 @@ +*.zip \ No newline at end of file diff --git a/www/data/css/styles.css b/www/data/css/styles.css index 2f93cbf..3267014 100644 --- a/www/data/css/styles.css +++ b/www/data/css/styles.css @@ -230,6 +230,8 @@ body { background-color: #555; } #headerdiv .tabrow .tab_active { background-color: #442222; } + #headerdiv .tabrow .tab_admin { + background-color: #222244; } #headerdiv .tabrow .tab_split { flex: auto; } #headerdiv .tabrow .tab_github { @@ -1051,6 +1053,8 @@ html, body { .keyvaluelist div { display: flex; flex-direction: row; } + .keyvaluelist div span { + align-self: center; } .keyvaluelist div span:first-child { font-weight: bold; min-width: 500px; } @@ -1064,6 +1068,21 @@ html, body { .kvl_300 div span:first-child { min-width: 300px; } +.consistency_result_ok, .consistency_result_warn, .consistency_result_err { + min-width: 400px; + border: 1px solid #888; + padding: 0 5px; + margin: 1px 0; } + +.consistency_result_ok { + background: #0F0; } + +.consistency_result_warn { + background: #FF0; } + +.consistency_result_err { + background: #F00; } + /* 400px */ #loginform div { display: flex; diff --git a/www/data/css/styles.min.css b/www/data/css/styles.min.css index fa341ae..64b5a7c 100644 --- a/www/data/css/styles.min.css +++ b/www/data/css/styles.min.css @@ -48,6 +48,7 @@ body{background-color:#EEE;color:#CCC;font-family:serif} #headerdiv .tabrow .tab{display:flex;justify-content:center;align-items:center;background-color:#222;color:#CCC;border-left:1px solid #000;border-right:1px solid #000;font-weight:bold;text-decoration:none;margin:0 0 0 20px;padding:2px 5px;min-width:64px;text-align:center;flex:initial} #headerdiv .tabrow .tab:hover{cursor:pointer;background-color:#555} #headerdiv .tabrow .tab_active{background-color:#422} +#headerdiv .tabrow .tab_admin{background-color:#224} #headerdiv .tabrow .tab_split{flex:auto} #headerdiv .tabrow .tab_github{background-color:#4078c0;border-left:1px solid #111;border-right:0;color:black} #headerdiv .tabrow .tab_github:hover{background-color:#c9510c;color:black} @@ -260,10 +261,15 @@ html,body{margin:0;padding:0;height:100%} .egh_ajaxOutput{display:flex;box-sizing:border-box;width:100%;align-self:center;justify-self:center;margin-left:auto;margin-right:auto;resize:none;height:300px} .keyvaluelist{display:flex;flex-direction:column} .keyvaluelist div{display:flex;flex-direction:row} +.keyvaluelist div span{align-self:center} .keyvaluelist div span:first-child{font-weight:bold;min-width:500px} .kvl_100 div span:first-child{min-width:100px} .kvl_200 div span:first-child{min-width:200px} .kvl_300 div span:first-child{min-width:300px} +.consistency_result_ok,.consistency_result_warn,.consistency_result_err{min-width:400px;border:1px solid #888;padding:0 5px;margin:1px 0} +.consistency_result_ok{background:#0F0} +.consistency_result_warn{background:#FF0} +.consistency_result_err{background:#F00} #loginform div{display:flex;flex-direction:column} #loginform div button{margin:10px 0;padding:0} .loginerror{display:flex;background:#f44;font-weight:bold;padding:0 5px;margin:5px 0 20px 0} diff --git a/www/data/css/styles_admin.scss b/www/data/css/styles_admin.scss index a14f7a2..795b099 100644 --- a/www/data/css/styles_admin.scss +++ b/www/data/css/styles_admin.scss @@ -29,7 +29,7 @@ div { display: flex; flex-direction: row; - + span {align-self: center;} span:first-child { font-weight: bold; min-width: 500px; @@ -44,4 +44,14 @@ .kvl_100 div span:first-child { min-width: 100px; } .kvl_200 div span:first-child { min-width: 200px; } -.kvl_300 div span:first-child { min-width: 300px; } \ No newline at end of file +.kvl_300 div span:first-child { min-width: 300px; } + +.consistency_result_ok, .consistency_result_warn, .consistency_result_err { + min-width: 400px; + border: 1px solid #888; + padding: 0 5px; + margin: 1px 0; +} +.consistency_result_ok { background: #0F0; } +.consistency_result_warn { background: #FF0; } +.consistency_result_err { background: #F00; } \ No newline at end of file diff --git a/www/data/css/styles_config.scss b/www/data/css/styles_config.scss index f93c590..05c581f 100644 --- a/www/data/css/styles_config.scss +++ b/www/data/css/styles_config.scss @@ -13,6 +13,7 @@ $COL_COMPLEXHOVER_BRD: black; $COL_GITHUB: #4078C0; $COL_HIGHLIGHT_RED: #442222; +$COL_HIGHLIGHT_BLUE: #222244; $FONT_HEADER: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; $FONT_CODE: Consolas, Monaco, "Courier New", Menlo, monospace; diff --git a/www/data/css/styles_header.scss b/www/data/css/styles_header.scss index e5e8d48..929b354 100644 --- a/www/data/css/styles_header.scss +++ b/www/data/css/styles_header.scss @@ -53,6 +53,7 @@ } .tab_active { background-color: $COL_HIGHLIGHT_RED; } + .tab_admin { background-color: $COL_HIGHLIGHT_BLUE; } .tab_split { flex: auto; diff --git a/www/data/dynamic/.gitignore b/www/data/dynamic/.gitignore new file mode 100644 index 0000000..d32047b --- /dev/null +++ b/www/data/dynamic/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.gitkeep +!.htaccess \ No newline at end of file diff --git a/www/data/dynamic/.gitkeep b/www/data/dynamic/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/www/data/dynamic/.htaccess b/www/data/dynamic/.htaccess new file mode 100644 index 0000000..14249c5 --- /dev/null +++ b/www/data/dynamic/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file diff --git a/www/data/images/program_thumbnails/AlephNote.png b/www/data/images/program_img/AlephNote.png similarity index 100% rename from www/data/images/program_thumbnails/AlephNote.png rename to www/data/images/program_img/AlephNote.png diff --git a/www/data/images/program_thumbnails/All_in_One.png b/www/data/images/program_img/All_in_One.png similarity index 100% rename from www/data/images/program_thumbnails/All_in_One.png rename to www/data/images/program_img/All_in_One.png diff --git a/www/data/images/program_thumbnails/Beepster.png b/www/data/images/program_img/Beepster.png similarity index 100% rename from www/data/images/program_thumbnails/Beepster.png rename to www/data/images/program_img/Beepster.png diff --git a/www/data/images/program_thumbnails/BefunUtils.png b/www/data/images/program_img/BefunUtils.png similarity index 100% rename from www/data/images/program_thumbnails/BefunUtils.png rename to www/data/images/program_img/BefunUtils.png diff --git a/www/data/images/program_thumbnails/BefunZ.png b/www/data/images/program_img/BefunZ.png similarity index 100% rename from www/data/images/program_thumbnails/BefunZ.png rename to www/data/images/program_img/BefunZ.png diff --git a/www/data/images/program_thumbnails/Blitzer.png b/www/data/images/program_img/Blitzer.png similarity index 100% rename from www/data/images/program_thumbnails/Blitzer.png rename to www/data/images/program_img/Blitzer.png diff --git a/www/data/images/program_thumbnails/BorderlineDefense.png b/www/data/images/program_img/BorderlineDefense.png similarity index 100% rename from www/data/images/program_thumbnails/BorderlineDefense.png rename to www/data/images/program_img/BorderlineDefense.png diff --git a/www/data/images/program_thumbnails/CannonConquest.png b/www/data/images/program_img/CannonConquest.png similarity index 100% rename from www/data/images/program_thumbnails/CannonConquest.png rename to www/data/images/program_img/CannonConquest.png diff --git a/www/data/images/program_thumbnails/CrystalGrid.png b/www/data/images/program_img/CrystalGrid.png similarity index 100% rename from www/data/images/program_thumbnails/CrystalGrid.png rename to www/data/images/program_img/CrystalGrid.png diff --git a/www/data/images/program_thumbnails/DLF.png b/www/data/images/program_img/DLF.png similarity index 100% rename from www/data/images/program_thumbnails/DLF.png rename to www/data/images/program_img/DLF.png diff --git a/www/data/images/program_thumbnails/Deal_or_no_Deal.png b/www/data/images/program_img/Deal_or_no_Deal.png similarity index 100% rename from www/data/images/program_thumbnails/Deal_or_no_Deal.png rename to www/data/images/program_img/Deal_or_no_Deal.png diff --git a/www/data/images/program_thumbnails/ExtendedGitGraph.png b/www/data/images/program_img/ExtendedGitGraph.png similarity index 100% rename from www/data/images/program_thumbnails/ExtendedGitGraph.png rename to www/data/images/program_img/ExtendedGitGraph.png diff --git a/www/data/images/program_thumbnails/Graveyard_of_Numbers.png b/www/data/images/program_img/Graveyard_of_Numbers.png similarity index 100% rename from www/data/images/program_thumbnails/Graveyard_of_Numbers.png rename to www/data/images/program_img/Graveyard_of_Numbers.png diff --git a/www/data/images/program_thumbnails/H2O.png b/www/data/images/program_img/H2O.png similarity index 100% rename from www/data/images/program_thumbnails/H2O.png rename to www/data/images/program_img/H2O.png diff --git a/www/data/images/program_thumbnails/HexSolver.png b/www/data/images/program_img/HexSolver.png similarity index 100% rename from www/data/images/program_thumbnails/HexSolver.png rename to www/data/images/program_img/HexSolver.png diff --git a/www/data/images/program_thumbnails/InfinityTournament.png b/www/data/images/program_img/InfinityTournament.png similarity index 100% rename from www/data/images/program_thumbnails/InfinityTournament.png rename to www/data/images/program_img/InfinityTournament.png diff --git a/www/data/images/program_thumbnails/KeygenDancer.png b/www/data/images/program_img/KeygenDancer.png similarity index 100% rename from www/data/images/program_thumbnails/KeygenDancer.png rename to www/data/images/program_img/KeygenDancer.png diff --git a/www/data/images/program_thumbnails/LanControl.png b/www/data/images/program_img/LanControl.png similarity index 100% rename from www/data/images/program_thumbnails/LanControl.png rename to www/data/images/program_img/LanControl.png diff --git a/www/data/images/program_thumbnails/LightShow.png b/www/data/images/program_img/LightShow.png similarity index 100% rename from www/data/images/program_thumbnails/LightShow.png rename to www/data/images/program_img/LightShow.png diff --git a/www/data/images/program_thumbnails/Logistixx.png b/www/data/images/program_img/Logistixx.png similarity index 100% rename from www/data/images/program_thumbnails/Logistixx.png rename to www/data/images/program_img/Logistixx.png diff --git a/www/data/images/program_thumbnails/NedSchend.png b/www/data/images/program_img/NedSchend.png similarity index 100% rename from www/data/images/program_thumbnails/NedSchend.png rename to www/data/images/program_img/NedSchend.png diff --git a/www/data/images/program_thumbnails/Passpad.png b/www/data/images/program_img/Passpad.png similarity index 100% rename from www/data/images/program_thumbnails/Passpad.png rename to www/data/images/program_img/Passpad.png diff --git a/www/data/images/program_thumbnails/QuickHiddenFolderToggle.png b/www/data/images/program_img/QuickHiddenFolderToggle.png similarity index 100% rename from www/data/images/program_thumbnails/QuickHiddenFolderToggle.png rename to www/data/images/program_img/QuickHiddenFolderToggle.png diff --git a/www/data/images/program_thumbnails/SDL.png b/www/data/images/program_img/SDL.png similarity index 100% rename from www/data/images/program_thumbnails/SDL.png rename to www/data/images/program_img/SDL.png diff --git a/www/data/images/program_thumbnails/Serpilicum.png b/www/data/images/program_img/Serpilicum.png similarity index 100% rename from www/data/images/program_thumbnails/Serpilicum.png rename to www/data/images/program_img/Serpilicum.png diff --git a/www/data/images/program_thumbnails/SharkSim.png b/www/data/images/program_img/SharkSim.png similarity index 100% rename from www/data/images/program_thumbnails/SharkSim.png rename to www/data/images/program_img/SharkSim.png diff --git a/www/data/images/program_thumbnails/Sieb_des_Eratosthenes.png b/www/data/images/program_img/Sieb_des_Eratosthenes.png similarity index 100% rename from www/data/images/program_thumbnails/Sieb_des_Eratosthenes.png rename to www/data/images/program_img/Sieb_des_Eratosthenes.png diff --git a/www/data/images/program_thumbnails/SuperBitBros.png b/www/data/images/program_img/SuperBitBros.png similarity index 100% rename from www/data/images/program_thumbnails/SuperBitBros.png rename to www/data/images/program_img/SuperBitBros.png diff --git a/www/data/images/program_thumbnails/TicTacToe.png b/www/data/images/program_img/TicTacToe.png similarity index 100% rename from www/data/images/program_thumbnails/TicTacToe.png rename to www/data/images/program_img/TicTacToe.png diff --git a/www/data/images/program_thumbnails/Ziegenproblem.png b/www/data/images/program_img/Ziegenproblem.png similarity index 100% rename from www/data/images/program_thumbnails/Ziegenproblem.png rename to www/data/images/program_img/Ziegenproblem.png diff --git a/www/data/images/program_thumbnails/absCanvas.png b/www/data/images/program_img/absCanvas.png similarity index 100% rename from www/data/images/program_thumbnails/absCanvas.png rename to www/data/images/program_img/absCanvas.png diff --git a/www/data/images/program_thumbnails/exeExtract.png b/www/data/images/program_img/exeExtract.png similarity index 100% rename from www/data/images/program_thumbnails/exeExtract.png rename to www/data/images/program_img/exeExtract.png diff --git a/www/data/images/program_thumbnails/jCircuits.png b/www/data/images/program_img/jCircuits.png similarity index 100% rename from www/data/images/program_thumbnails/jCircuits.png rename to www/data/images/program_img/jCircuits.png diff --git a/www/data/images/program_thumbnails/jClipCorn.png b/www/data/images/program_img/jClipCorn.png similarity index 100% rename from www/data/images/program_thumbnails/jClipCorn.png rename to www/data/images/program_img/jClipCorn.png diff --git a/www/data/images/program_thumbnails/jQCCounter.png b/www/data/images/program_img/jQCCounter.png similarity index 100% rename from www/data/images/program_thumbnails/jQCCounter.png rename to www/data/images/program_img/jQCCounter.png diff --git a/www/fragments/header.php b/www/fragments/header.php index 29f6b6a..14de5cf 100644 --- a/www/fragments/header.php +++ b/www/fragments/header.php @@ -8,7 +8,7 @@ Project Euler Blog Programs - Admin + Admin About
{Logout} diff --git a/www/fragments/panel_programs.php b/www/fragments/panel_programs.php index 0806088..c0b15ce 100644 --- a/www/fragments/panel_programs.php +++ b/www/fragments/panel_programs.php @@ -19,7 +19,7 @@ echo '' . "\n"; echo '