update to work with DB main
This commit is contained in:
parent
f0bd51ac88
commit
7c8c1635e5
|
@ -20,7 +20,7 @@ APP_BASEDIR=""
|
|||
APP_SESSION=true
|
||||
APP_LINK_GITHUB="https://github.com/danielbrendel"
|
||||
APP_LINK_STEAM="https://store.steampowered.com/developer/danielbrendel/"
|
||||
APP_PACKAGE="danielbrendel/steamwidgets-web"
|
||||
APP_REPOSITORY="danielbrendel/steamwidgets-web"
|
||||
APP_SHOWNPMUSAGE=true
|
||||
APP_NPMPACKAGENAME=""
|
||||
APP_NPMPACKAGEURL=""
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
public/js/** linguist-vendored
|
|
@ -1,6 +1,6 @@
|
|||
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
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# SteamWidgets Web Project
|
||||
|
||||
(C) 2022 - 2023 by Daniel Brendel
|
||||
(C) 2022 - 2024 by Daniel Brendel
|
||||
|
||||
__Contact__: dbrendel1988(at)gmail(dot)com\
|
||||
__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 {
|
||||
font-family: 'Helvetica', Verdana, Arial, sans-serif;
|
||||
font-size: 20px;
|
||||
|
@ -209,7 +214,7 @@ a.navbar-burger:hover {
|
|||
}
|
||||
|
||||
.content-section tbody {
|
||||
border: 1px solid #ccc;
|
||||
border: 1px solid rgb(61, 87, 100);
|
||||
}
|
||||
|
||||
.content-section td {
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<div class="content-section">
|
||||
<br>
|
||||
<br>
|
||||
<h1>Error 404</h1>
|
||||
<p>The requested resource <?= $_SERVER['REQUEST_URI']; ?> was not found on the server.</p>
|
||||
<h1>Error 404</h1>
|
||||
|
||||
<p>The requested resource <?= $_SERVER['REQUEST_URI']; ?> was not found on the server.</p>
|
||||
</div>
|
|
@ -39,17 +39,23 @@
|
|||
</div>
|
||||
|
||||
<div class="navbar-end">
|
||||
@if (env('APP_REPOSITORY'))
|
||||
<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>
|
||||
@endif
|
||||
|
||||
@if (env('APP_REPOSITORY'))
|
||||
<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>
|
||||
@endif
|
||||
|
||||
@if (env('APP_NPMPACKAGENAME'))
|
||||
<div class="navbar-item">
|
||||
<img src="https://img.shields.io/npm/dt/{{ env('APP_NPMPACKAGENAME') }}?style=flat"/>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
|
@ -1,3 +1,5 @@
|
|||
REM Build versioned assets
|
||||
|
||||
@echo off
|
||||
cls
|
||||
|
||||
|
|
|
@ -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;
|
File diff suppressed because it is too large
Load Diff
|
@ -28,7 +28,7 @@
|
|||
"webpack-cli": "^4.10.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.27.2",
|
||||
"axios": "^1.6.8",
|
||||
"chart.js": "^3.9.1",
|
||||
"highlight.js": "^11.7.0",
|
||||
"style-loader": "^1.2.1"
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue