How can I add an html text section in to the new dashboard version

  • 0
  • 1
  • Question
  • Updated 6 years ago
  • Answered
Photo of Ohad

Ohad

  • 0 Points

Posted 6 years ago

  • 0
  • 1
Photo of Keith

Keith

  • 20 Points
You can create a code page and then use the web widget to display that on your dashboard
Photo of Ohad

Ohad

  • 0 Points
Hi Thanks a lot for your answer.
I have tried that..... but it didn't worked out.
I need to put in a "Sign-out script", script that "thourgh" out user who are not using quick base for X min for security reasons.
In the old format I just had to paste this script into any html text section on the dashboard and it was working great.
Now while adding the script into a code page and than using a web widget it is not working anymore...

The script is attached below for your reference.
Any ideas?

<script type="text/javascript">
var QBU_seconds=1800;
$(function(){
window.setInterval(function(){
QBU_seconds -= 1;
if(QBU_seconds == 0){
var addnew = new jaxreq('/db/main?act=API_SignOut')
addnew.DoSyncCmd();
window.location.href="/db/main?a=SignIn";
}
}, 1000);
});
</script>