Commit 271277c8 authored by Paulo Pereira's avatar Paulo Pereira
Browse files

Adiciona dashboard file e feedbacks no std-customization file

parent b1c8530e
<div class="dashboard main flex center">
<div class="tabs tabs--big">
<div class="tab active" data-area="stat-widgets"><%- @T('My Stats') %></div>
</div>
<div class="tab-content first-steps-widgets hidden"></div>
<div class="tab-content stat-widgets three-columns horizontal"></div>
</div>
<div class="sidebar optional">
<h2><%- @T('Activity Stream') %></h2>
<div class="activity-description">
<p><%- @T('Here you will find the latest activities of your system.') %></p>
<p><%- @T('For example, recently changed tickets, users, or organizations.') %></p>
</div>
<div class="activity-entries js-activityContent">
<p><%- @T('Here you will find the latest activities of your system.') %></p>
<p><%- @T('For example, recently changed tickets, users, or organizations.') %></p>
</div>
</div>
\ No newline at end of file
...@@ -7,21 +7,25 @@ then ...@@ -7,21 +7,25 @@ then
echo "Rails Container is not running" echo "Rails Container is not running"
else else
BASE_DIR_ZAMMAD=$(docker inspect $CONTAINER_ID | grep '"Source":' | awk {'print $2'} | tr -d '"' | tr -d ',') BASE_DIR_ZAMMAD=$(docker inspect $CONTAINER_ID | grep '"Source":' | awk {'print $2'} | tr -d '"' | tr -d ',')
docker exec $CONTAINER_ID sed -ie '4d' /opt/zammad/app/assets/javascripts/app/views/dashboard.jst.eco
cp customized-files/index.html.erb $BASE_DIR_ZAMMAD/app/views/knowledge_base/public/categories/index.html.erb
echo -e "[DOWNLOADING IMAGES...] $(date)"
cp customized-files/UFRPE_Digital-08.png $BASE_DIR_ZAMMAD/public/assets/images/UFRPE_Digital-08.png cp customized-files/UFRPE_Digital-08.png $BASE_DIR_ZAMMAD/public/assets/images/UFRPE_Digital-08.png
cp customized-files/std-fundo_azulescuro.JPG $BASE_DIR_ZAMMAD/public/assets/images/std-fundo_azulescuro.JPG cp customized-files/std-fundo_azulescuro.JPG $BASE_DIR_ZAMMAD/public/assets/images/std-fundo_azulescuro.JPG
cp customized-files/login.jst.eco $BASE_DIR_ZAMMAD/app/assets/javascripts/app/views/login.jst.eco
echo -e "\n\n[COPYING CUSTOMIZED FILES TO CONTAINER'S VOLUME...] $(date)"
cp customized-files/index.html.erb $BASE_DIR_ZAMMAD/app/views/knowledge_base/public/categories/index.html.erb
cp customized-files/dashboard.jst.eco $BASE_DIR_ZAMMAD/app/assets/javascripts/app/views/dashboard.jst.eco
cp customized-files/login.jst.eco $BASE_DIR_ZAMMAD/app/assets/javascripts/app/views/login.jst.eco
cp customized-files/custom.css $BASE_DIR_ZAMMAD/app/assets/stylesheets/custom/custom.css cp customized-files/custom.css $BASE_DIR_ZAMMAD/app/assets/stylesheets/custom/custom.css
echo -e "\n\n[INSTALLING NODEJS...] $(date)"
docker exec -u root $CONTAINER_ID bash -c "apt update && apt install -y nodejs" docker exec -u root $CONTAINER_ID bash -c "apt update && apt install -y nodejs"
echo -e "\n\n[COMPILING ASSETS...] $(date)"
docker exec $CONTAINER_ID rake assets:precompile docker exec $CONTAINER_ID rake assets:precompile
echo -e "\n\n[RESTARTING CONTAINER...] $(date)"
docker restart $CONTAINER_ID docker restart $CONTAINER_ID
echo -e "\n\n[FINISHED!] $(date)"
fi fi
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment