mirror of
https://github.com/SophiaAtkinson/steamwidgets-web.git
synced 2025-06-26 21:37:42 -07:00
update to work with DB main
This commit is contained in:
@ -20,7 +20,7 @@ APP_BASEDIR=""
|
|||||||
APP_SESSION=true
|
APP_SESSION=true
|
||||||
APP_LINK_GITHUB="https://github.com/danielbrendel"
|
APP_LINK_GITHUB="https://github.com/danielbrendel"
|
||||||
APP_LINK_STEAM="https://store.steampowered.com/developer/danielbrendel/"
|
APP_LINK_STEAM="https://store.steampowered.com/developer/danielbrendel/"
|
||||||
APP_PACKAGE="danielbrendel/steamwidgets-web"
|
APP_REPOSITORY="danielbrendel/steamwidgets-web"
|
||||||
APP_SHOWNPMUSAGE=true
|
APP_SHOWNPMUSAGE=true
|
||||||
APP_NPMPACKAGENAME=""
|
APP_NPMPACKAGENAME=""
|
||||||
APP_NPMPACKAGEURL=""
|
APP_NPMPACKAGEURL=""
|
||||||
|
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
public/js/** linguist-vendored
|
@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2022 - 2023 Daniel Brendel
|
Copyright (c) 2022 - 2024 Daniel Brendel
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# SteamWidgets Web Project
|
# SteamWidgets Web Project
|
||||||
|
|
||||||
(C) 2022 - 2023 by Daniel Brendel
|
(C) 2022 - 2024 by Daniel Brendel
|
||||||
|
|
||||||
__Contact__: dbrendel1988(at)gmail(dot)com\
|
__Contact__: dbrendel1988(at)gmail(dot)com\
|
||||||
__GitHub__: https://github.com/danielbrendel
|
__GitHub__: https://github.com/danielbrendel
|
||||||
|
@ -70,6 +70,11 @@ a.navbar-burger:hover {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#app hr {
|
||||||
|
background-color: rgb(90, 125, 143);
|
||||||
|
height: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
.is-font-title {
|
.is-font-title {
|
||||||
font-family: 'Helvetica', Verdana, Arial, sans-serif;
|
font-family: 'Helvetica', Verdana, Arial, sans-serif;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
@ -209,7 +214,7 @@ a.navbar-burger:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content-section tbody {
|
.content-section tbody {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid rgb(61, 87, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-section td {
|
.content-section td {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
<div class="content-section">
|
<div class="content-section">
|
||||||
<br>
|
<h1>Error 404</h1>
|
||||||
<br>
|
|
||||||
<h1>Error 404</h1>
|
<p>The requested resource <?= $_SERVER['REQUEST_URI']; ?> was not found on the server.</p>
|
||||||
<p>The requested resource <?= $_SERVER['REQUEST_URI']; ?> was not found on the server.</p>
|
|
||||||
</div>
|
</div>
|
@ -39,17 +39,23 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="navbar-end">
|
<div class="navbar-end">
|
||||||
|
@if (env('APP_REPOSITORY'))
|
||||||
<div class="navbar-item">
|
<div class="navbar-item">
|
||||||
<img src="https://img.shields.io/github/forks/{{ env('APP_PACKAGE') }}?style=flat"/>
|
<img src="https://img.shields.io/github/stars/{{ env('APP_REPOSITORY') }}?style=flat"/>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if (env('APP_REPOSITORY'))
|
||||||
<div class="navbar-item">
|
<div class="navbar-item">
|
||||||
<img src="https://img.shields.io/github/stars/{{ env('APP_PACKAGE') }}?style=flat"/>
|
<img src="https://img.shields.io/github/forks/{{ env('APP_REPOSITORY') }}?style=flat"/>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if (env('APP_NPMPACKAGENAME'))
|
||||||
<div class="navbar-item">
|
<div class="navbar-item">
|
||||||
<img src="https://img.shields.io/npm/dt/{{ env('APP_NPMPACKAGENAME') }}?style=flat"/>
|
<img src="https://img.shields.io/npm/dt/{{ env('APP_NPMPACKAGENAME') }}?style=flat"/>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
@ -1,3 +1,5 @@
|
|||||||
|
REM Build versioned assets
|
||||||
|
|
||||||
@echo off
|
@echo off
|
||||||
cls
|
cls
|
||||||
|
|
||||||
|
51
build_ver.dnys
Normal file
51
build_ver.dnys
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
# Build versioned assets
|
||||||
|
|
||||||
|
require "textinput";
|
||||||
|
require "fileio";
|
||||||
|
|
||||||
|
setinput ver "Please enter version to build: ";
|
||||||
|
print "Using version: %ver";
|
||||||
|
|
||||||
|
global path string;
|
||||||
|
getscriptpath path;
|
||||||
|
|
||||||
|
function update_asset void(type string, name string)
|
||||||
|
{
|
||||||
|
local bop bool;
|
||||||
|
|
||||||
|
dexists "%pathpublic\%type\steamwidgets" bop;
|
||||||
|
if (%bop, -eq, false) {
|
||||||
|
dcreate "%pathpublic\%type\steamwidgets" void;
|
||||||
|
};
|
||||||
|
|
||||||
|
dexists "%pathpublic\%type\steamwidgets\%ver" bop;
|
||||||
|
if (%bop, -eq, false) {
|
||||||
|
dcreate "%pathpublic\%type\steamwidgets\%ver" void;
|
||||||
|
};
|
||||||
|
|
||||||
|
fexists "%pathpublic\%type\steamwidgets\%ver\%name.%type" bop;
|
||||||
|
if (%bop, -eq, true) {
|
||||||
|
fremove "%pathpublic\%type\steamwidgets\%ver\%name.%type" void;
|
||||||
|
};
|
||||||
|
|
||||||
|
fcopy "%path\app\resources\%type\%name.dev.%type" "%path\public\%type\steamwidgets\%ver\%name.%type" void;
|
||||||
|
};
|
||||||
|
|
||||||
|
call update_asset("js", "steam_app") => void;
|
||||||
|
call update_asset("css", "steam_app") => void;
|
||||||
|
|
||||||
|
call update_asset("js", "steam_group") => void;
|
||||||
|
call update_asset("css", "steam_group") => void;
|
||||||
|
|
||||||
|
call update_asset("js", "steam_server") => void;
|
||||||
|
call update_asset("css", "steam_server") => void;
|
||||||
|
|
||||||
|
call update_asset("js", "steam_user") => void;
|
||||||
|
call update_asset("css", "steam_user") => void;
|
||||||
|
|
||||||
|
call update_asset("js", "steam_workshop") => void;
|
||||||
|
call update_asset("css", "steam_workshop") => void;
|
||||||
|
|
||||||
|
print "Job done";
|
||||||
|
|
||||||
|
unset path;
|
2026
package-lock.json
generated
2026
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -28,7 +28,7 @@
|
|||||||
"webpack-cli": "^4.10.0"
|
"webpack-cli": "^4.10.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^0.27.2",
|
"axios": "^1.6.8",
|
||||||
"chart.js": "^3.9.1",
|
"chart.js": "^3.9.1",
|
||||||
"highlight.js": "^11.7.0",
|
"highlight.js": "^11.7.0",
|
||||||
"style-loader": "^1.2.1"
|
"style-loader": "^1.2.1"
|
||||||
|
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user