changes (CSS, Statoolinfos)

This commit is contained in:
Cyrille L 2022-06-15 16:15:44 +02:00
parent 87d14d9514
commit d196d16505
11 changed files with 22 additions and 9 deletions

View File

@ -4,6 +4,11 @@ GSL changes from releases. You can send an issue :
- repo: https://git.a-lec.org/echolib/gsl/-/issues - repo: https://git.a-lec.org/echolib/gsl/-/issues
- Contact xmpp: im@echolib.re - Contact xmpp: im@echolib.re
## [0.0.90]
### Changes
- Statoolinfos: Genereated with www (add/remove)
- CSS div between titles : xxx_content xxx_content-hX
## [0.0.9] ## [0.0.9]
## Please, see help (and documentations in help folder) ## Please, see help (and documentations in help folder)

View File

@ -1,5 +1,5 @@
Package: egsl Package: egsl
Version: 0.0.9 Version: 0.0.90
Section: custom Section: custom
Priority: optional Priority: optional
Architecture: all Architecture: all

View File

@ -17,7 +17,7 @@ X is 1 to 6
### div between titles ### div between titles
X is 1 to 6 from current title X is 1 to 6 from current title
- xxx_content_hX - xxx_content xxx_content-hX
### Between markers (code, emphasis, strong...) ### Between markers (code, emphasis, strong...)
- bold: xxx_bold - bold: xxx_bold

View File

@ -1,4 +1,4 @@
## [0.0.9] ## [0.0.90]
## Please, see help (and documentations in help folder) ## Please, see help (and documentations in help folder)
@ -115,6 +115,7 @@
- articles are sorted from epoch date (in DB) with false time at check - articles are sorted from epoch date (in DB) with false time at check
### Statoolinfos (added properties for www status) ### Statoolinfos (added properties for www status)
- Genereated at each www (add/remove)
- gsl.articles - gsl.articles
- gsl.articles.pages - gsl.articles.pages
- gsl.articles.posts - gsl.articles.posts

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# Version: 0.0.9 # Version: 0.0.90
# file: gsl # file: gsl
# Folder: /usr/local/bin # Folder: /usr/local/bin
# By echolib (XMPP: im@echolib.re) # By echolib (XMPP: im@echolib.re)
@ -146,7 +146,7 @@ case "$1" in
sidebar|-S) sidebar__OPTIONS "$2" "$3" "$4" ;; sidebar|-S) sidebar__OPTIONS "$2" "$3" "$4" ;;
www) srv__OPTIONS "$1" "$2" "$3" ;; www) srv__OPTIONS "$1" "$2" "$3" ;;
wip) srv__OPTIONS "$1" "$2" "$3" ;; wip) srv__OPTIONS "$1" "$2" "$3" ;;
stats) stats__datas ;; stats) stats__datas;exit ;;
*) gsl help; exit ;; *) gsl help; exit ;;
esac esac

View File

@ -4,6 +4,11 @@ GSL changes from releases. You can send an issue :
- repo: https://git.a-lec.org/echolib/gsl/-/issues - repo: https://git.a-lec.org/echolib/gsl/-/issues
- Contact xmpp: im@echolib.re - Contact xmpp: im@echolib.re
## [0.0.90]
### Changes
- Statoolinfos: Genereated with www (add/remove)
- CSS div between titles : xxx_content xxx_content-hX
## [0.0.9] ## [0.0.9]
## Please, see help (and documentations in help folder) ## Please, see help (and documentations in help folder)

View File

@ -17,7 +17,7 @@ X is 1 to 6
### div between titles ### div between titles
X is 1 to 6 from current title X is 1 to 6 from current title
- xxx_content_hX - xxx_content xxx_content-hX
### Between markers (code, emphasis, strong...) ### Between markers (code, emphasis, strong...)
- bold: xxx_bold - bold: xxx_bold

View File

@ -1,4 +1,4 @@
## [0.0.9] ## [0.0.90]
## Please, see help (and documentations in help folder) ## Please, see help (and documentations in help folder)
@ -115,6 +115,7 @@
- articles are sorted from epoch date (in DB) with false time at check - articles are sorted from epoch date (in DB) with false time at check
### Statoolinfos (added properties for www status) ### Statoolinfos (added properties for www status)
- Genereated at each www (add/remove)
- gsl.articles - gsl.articles
- gsl.articles.pages - gsl.articles.pages
- gsl.articles.posts - gsl.articles.posts

View File

@ -1108,7 +1108,7 @@ while IFS=: read -r "ln" "content"
do do
(( n++ )) (( n++ ))
tn=${content:2:1} tn=${content:2:1}
div_title="<div class=\"${site_css}_content_h$tn\">" div_title="<div class=\"${site_css}_content ${site_css}_content-h$tn\">"
sed -i "$(( ln + n ))i$div_title" "$1" sed -i "$(( ln + n ))i$div_title" "$1"
done < <(grep "^<h" -n "$1") done < <(grep "^<h" -n "$1")

View File

@ -113,6 +113,7 @@ case "$1" in
DB__set_status "www-del" DB__set_status "www-del"
fi fi
stats__datas # Statoolinfos
return return
;; ;;
esac esac
@ -146,6 +147,7 @@ else
"Article validated online" \ "Article validated online" \
"$gsl_srv_post_www" && \ "$gsl_srv_post_www" && \
DB__set_status "www" DB__set_status "www"
stats__datas # Statoolinfos
fi fi
fi fi
} }

View File

@ -93,7 +93,6 @@ gsl_articles.images = $stats_articles_max_images_www
EOSTATS EOSTATS
echo "# Statoolinfos: $gsl_file_sti" echo "# Statoolinfos: $gsl_file_sti"
exit
} }