Git Product home page Git Product logo

update3cxlogo's Introduction

update3cxLogo

update 3cx log and text to Biukop related branding

usage on Development Machine

./deploy.sh

It will copy files to remote /root/change3cxlogo/, and then execute command through ssh

usage on Remote 3cx machine

under /root/change3cxlogo/ directory

Run following command # ./localDeploy.sh

it's essentially the last step of remote running on development machine.

caveats

#hardcode to cc.biukop.com.au

Example running scenario

root@cc:~# git clone https://github.com/lawipac/update3cxLogo.git
Cloning into 'update3cxLogo'...
remote: Enumerating objects: 76, done.
remote: Counting objects: 100% (25/25), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 76 (delta 5), reused 24 (delta 4), pack-reused 51
Unpacking objects: 100% (76/76), done.
root@cc:~# cd update3cxLogo/
root@cc:~/update3cxLogo# dir
3cxbackground.png  biukop-letterB.ico  localDeploy.sh  newbackground.png  newlogo.svg  wwwroot.tb2
3cxlogo.png        deploy.sh           main.py         newlogo.png        README.md
root@cc:~/update3cxLogo# ls -l
total 16596
-rw-r--r-- 1 root root     8760 Jan 27 23:03 3cxbackground.png
-rw-r--r-- 1 root root     7622 Jan 27 23:03 3cxlogo.png
-rw-r--r-- 1 root root     2288 Jan 27 23:03 biukop-letterB.ico
-rwxr-xr-x 1 root root      330 Jan 27 23:03 deploy.sh
-rw-r--r-- 1 root root      103 Jan 27 23:03 localDeploy.sh
-rwxr-xr-x 1 root root     5077 Jan 27 23:03 main.py
-rw-r--r-- 1 root root    62590 Jan 27 23:03 newbackground.png
-rw-r--r-- 1 root root     9903 Jan 27 23:03 newlogo.png
-rwxr-xr-x 1 root root    10211 Jan 27 23:03 newlogo.svg
-rw-r--r-- 1 root root      201 Jan 27 23:03 README.md
-rwxr-xr-x 1 root root 16859095 Jan 27 23:03 wwwroot.tb2
root@cc:~/update3cxLogo# chmod +x localDeploy.sh
root@cc:~/update3cxLogo# ./localDeploy.sh
3cxwebroot is set to /var/lib/3cxpbx/Data/Http/wwwroot/
change to working directory /root/update3cxLogo
./newlogo.png -> /var/lib/3cxpbx/Data/Http/wwwroot/webclient/assets/img/logo.png
./newlogo.png -> /var/lib/3cxpbx/Data/Http/wwwroot/webclient/assets/img/logo152x72.png
./newlogo.svg -> /var/lib/3cxpbx/Data/Http/wwwroot/webclient/assets/manifest/3cx_logo.svg
./newlogo.svg -> /var/lib/3cxpbx/Data/Http/wwwroot/fonts/3cx_logo.9e910064.svg
./biukop-letterB.ico -> /var/lib/3cxpbx/Data/Http/wwwroot/favicon.ico
root@cc:~/update3cxLogo#

update3cxlogo's People

Contributors

lawipac avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

harish-chander

update3cxlogo's Issues

webclient of version 18.1.34

webclient is not updated with correct logo as it was

<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 136.44 50.113" xml:space="preserve"><style>.st-brand-blue-fill{fill:#0895d3}.st-brand-back-fill{fill:#fff}</style><path d="M17.87 20.557c1.2-.1 2.3-.4 3.3-.8s1.9-1.1 2.5-1.9c.7-.8 1-1.9 1-3.3 0-2-.7-3.6-2-4.7-1.4-1.1-2.9-1.6-4.7-1.6-2.4 0-4.3.8-5.5 2.4s-1.8 3.6-1.8 6.1h-9.2c.1-2.4.5-4.7 1.3-6.7s1.9-3.7 3.3-5.2c1.4-1.4 3.1-2.6 5.1-3.3 2-.8 4.2-1.2 6.7-1.2 1.9 0 3.8.3 5.7.9s3.6 1.4 5.1 2.6c1.5 1.1 2.8 2.5 3.7 4.1 1 1.6 1.4 3.5 1.4 5.6 0 2.3-.6 4.4-1.7 6.1-1.1 1.8-2.8 3-5 3.6v.1c2.6.6 4.7 1.9 6.2 3.8s2.2 4.3 2.2 7c0 2.5-.5 4.7-1.5 6.7s-2.3 3.6-3.9 4.9c-1.6 1.3-3.5 2.3-5.6 3s-4.4 1-6.7 1c-2.7 0-5.1-.4-7.3-1.2-2.2-.8-4.1-1.9-5.6-3.4s-2.7-3.3-3.6-5.4c-.8-2.1-1.2-4.6-1.2-7.3h9.2c0 1.3.2 2.5.6 3.6.4 1.2.9 2.2 1.6 3 .7.8 1.5 1.5 2.6 2 1 .5 2.2.7 3.6.7 2.2 0 4-.7 5.5-2s2.3-3.2 2.3-5.5c0-1.8-.4-3.2-1.1-4.1-.7-1-1.6-1.6-2.7-2.1-1.1-.4-2.3-.7-3.6-.7-1.3-.1-2.5-.1-3.7-.1v-6.8c1.2.1 2.3.1 3.5.1z" class="st-brand-blue-fill"></path><path d="M63.57 6.557c5.4 0 10.7 2.2 14.6 6l1 1v-8.2l-.3-.2c-4.5-3.1-9.4-4.7-15.1-4.7-14.5 0-26.3 11.1-26.3 24.8 0 13.5 11.8 24.4 26.3 24.4 5.3 0 10.6-1.7 15.1-4.7l.3-.2v-8.1l-1 1c-4 3.8-9.3 6-14.5 6-10.5 0-19.4-8.5-19.4-18.6.1-10 8.9-18.5 19.3-18.5z" class="st-brand-back-fill"></path><path d="M79.37 15.757v19l8.3-9.9z" class="st-brand-blue-fill"></path><path d="m129.67 49.357-19.6-23.9 19.6-23.8h-10.4l-14.3 17.5-14.3-17.5h-10.4l19.5 23.8-19.5 23.9h10.3l14.4-17.6 14.4 17.6zm1.3-2.7c0-1.5 1.2-2.7 2.7-2.7s2.7 1.2 2.7 2.7-1.2 2.7-2.7 2.7c-1.5 0-2.7-1.2-2.7-2.7zm4.9 0c0-1.3-1-2.3-2.3-2.3-1.2 0-2.3 1-2.3 2.3s1 2.3 2.3 2.3 2.3-1 2.3-2.3zm-1 1.4h-.5l-.9-1.3h-.5v1.3h-.4v-2.9h1.3c.5 0 1 .1 1 .8 0 .6-.4.8-.9.8l.9 1.3zm-1.3-1.7c.4 0 1 .1 1-.4 0-.3-.4-.4-.7-.4h-.8v.8h.5z" class="st-brand-back-fill"></path></svg>

need to be replaced

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.