Skip to content

Commit

Permalink
Merge pull request #86 from vcatafesta/main
Browse files Browse the repository at this point in the history
seg 08 jan 2024 16:19:37 -04 Vilmar Catafesta ([email protected])
  • Loading branch information
bigbruno authored Jan 8, 2024
2 parents c63dc13 + b798a86 commit cf8a3d3
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Description: Big Store installing programs for BigLinux
#
# Created: 2022/11/01
# Altered: 2023/09/28
# Altered: 2024/05/08
#
# Copyright (c) 2023-2023, Vilmar Catafesta <[email protected]>
# 2022-2023, Bruno Gonçalves <www.biglinux.com.br>
Expand Down Expand Up @@ -34,7 +34,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

APP="${0##*/}"
_VERSION_="1.0.0-20230928"
_VERSION_="1.0.0-20240108"
LIBRARY=${LIBRARY:-'/usr/share/bigbashview/bcc/shell'}
export BOOTLOG="/tmp/bigstore-$USER-$(date +"%d%m%Y").log"
export LOGGER='/dev/tty8'
Expand All @@ -52,7 +52,7 @@
declare -g Pacotes_text=$"Pacotes"
declare -g Pacotes_flatpak_text=$"Pacotes Flatpak"
declare -g Pacotes_Snap_text=$"Pacotes Snap"
declare -g Traducao_Online_text=$"Tradução da descrição dos pacotes online"
declare -g Traducao_Online_text=$"Tradução online da descrição dos pacotes"
declare -g Ativado_text=$"Ativado"
declare -g Desativado_text=$"Desativado"
declare -g Atualizacoes_text=$"Atualizações"
Expand Down
10 changes: 10 additions & 0 deletions big-store/usr/share/bigbashview/bcc/apps/big-store/header.sh.htm
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@
$Jogos
</span>
</a>
<a href="index.sh.htm?#system">
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="box" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" class="svg-inline--fa fa-box fa-w-16 fa-3x">
<path fill="currentColor" d="M528 0H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h192l-16 48h-72c-13.3 0-24 10.7-24 24s10.7 24 24 24h272c13.3 0 24-10.7 24-24s-10.7-24-24-24h-72l-16-48h192c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-16 352H64V64h448v288z" class="">
Expand All @@ -550,6 +551,15 @@
</span>
</a>
<a href="index.sh.htm?#sobre">
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="flask" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-flask fa-w-14 fa-3x">
<path fill="currentColor" d="M437.2 403.5L320 215V64h8c13.3 0 24-10.7 24-24V24c0-13.3-10.7-24-24-24H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h8v151L10.8 403.5C-18.5 450.6 15.3 512 70.9 512h306.2c55.7 0 89.4-61.5 60.1-108.5zM137.9 320l48.2-77.6c3.7-5.2 5.8-11.6 5.8-18.4V64h64v160c0 6.9 2.2 13.2 5.8 18.4l48.2 77.6h-172z" class="">
</path></svg>
<span>
$Sobre
</span>
</a>
</div></div></div>
<div class="main-container">
<div class="main-header">
Expand Down
49 changes: 44 additions & 5 deletions big-store/usr/share/bigbashview/bcc/apps/big-store/index.sh.htm
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
# Description: Big Store installing programs for BigLinux
#
# Created: 2020/01/11
# Altered: 2023/10/11
# Altered: 2024/01/08
#
# Copyright (c) 2023-2023, Vilmar Catafesta <[email protected]>
# 2022-2023, Bruno Gonçalves <www.biglinux.com.br>
# 2022-2023, Rafael Ruscher <[email protected]>
# Copyright (c) 2023-2024, Vilmar Catafesta <[email protected]>
# 2022-2024, Bruno Gonçalves <www.biglinux.com.br>
# 2022-2024, Rafael Ruscher <[email protected]>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand All @@ -34,7 +34,8 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

APP="${0##*/}"
_VERSION_="1.0.0-20231011"
_VERSION_="1.0.0-20240108"
_UPDATED_="08/01/2024"
export BOOTLOG="/tmp/bigstore-$USER-$(date +"%d%m%Y").log"
export LOGGER='/dev/tty8'
export TMP_FOLDER="/tmp/bigstore-$USER"
Expand All @@ -44,6 +45,7 @@
[[ -f "${LIBRARY}/bstrlib.sh" ]] && source "${LIBRARY}/bstrlib.sh"

function sh_config {
declare -g LOCAL_VERSION="1.0.0-20240108"
#Translation
export TEXTDOMAINDIR="/usr/share/locale"
export TEXTDOMAIN=big-store
Expand All @@ -68,6 +70,7 @@
declare -g cSistema=$"Sistema"
declare -g cXSistema=$"X-Sistema"
declare -g cDesenvolvimento=$"Desenvolvimento"
declare -g cSobre=$"Sobre"

#variáveis públicas
export appstream_search_category=0
Expand Down Expand Up @@ -313,6 +316,27 @@
}
export -f ICON_CATEGORY

function ICON_ABOUT() {
local category="$1"
local classe="$2"
local cname="$3"

cat <<-EOF
<div class="icon_background">
<div class="vertical_align_center">
<div class="icon">
<span class="category_font_icon">
<i class="$classe"></i>
</span>
</div>
<div class="icon_text">
<div class="icon_text_vertical_align">
$cname
</div></div></div></div></a>
EOF
}
export -f ICON_ABOUT

#Show category in first page
############################
function sh_main {
Expand Down Expand Up @@ -586,6 +610,21 @@ <h3 class="img-content">
ICON_CATEGORY devbd "fas fa-database" $"Banco de dados"
ICON_CATEGORY devwebserver "fas fa-server" $"Servidores WEB"

#sex 05 jan 2024 12:19:03 -04
cat <<-EOF
</div></div></div>
<div id="sobre" class="category_box">
<div class="category_title_index">
$cSobre
</div>
<div class="category_index_list_center">
<div class="category_index_list">
EOF

ICON_ABOUT deveditor "fas fa-file-code" "Aplicativo : $TEXTDOMAIN"
ICON_ABOUT deveditor "fas fa-file-code" "Versão : $LOCAL_VERSION - $_UPDATED_"
#sex 05 jan 2024 12:19:03 -04

cat <<-EOF
</div>
</div>
Expand Down

0 comments on commit cf8a3d3

Please sign in to comment.