Skip to content

Commit

Permalink
https in base
Browse files Browse the repository at this point in the history
  • Loading branch information
Joramas committed Apr 2, 2024
1 parent e1104d2 commit 4c9dde2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions static/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ $("form[name=login_form]").submit(function(e){
var data = $form.serialize();

$.ajax({
url: "/user/login",
url: "https://rbt.americanbehavioralsolutions.com/user/login",
type: "POST",
data: data,
dataType: "json",
success: function(resp){
console.log(resp);
$error.text(" ").addClass("error--hidden");
window.location.href = "/dashboard"
window.location.href = "https://rbt.americanbehavioralsolutions.com/dashboard"
},
error:function(resp){
console.log(resp);
Expand Down
16 changes: 8 additions & 8 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@

<!-- Title and favicon -->
<title>ABS Supervision Report System</title>
<link rel='shortcut icon' href='/static/favicon.png'>
<link rel='shortcut icon' href='https://rbt.americanbehavioralsolutions.com/static/favicon.png'>

<!-- Scripts -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="/static/js/scripts.js"></script>
<script type="text/javascript" src="/static/js/bootstrap-confirmation.min.js"></script>
<script type="text/javascript" src="https://rbt.americanbehavioralsolutions.com/static/js/scripts.js"></script>
<script type="text/javascript" src="https://rbt.americanbehavioralsolutions.com/static/js/bootstrap-confirmation.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>

<!-- CSS -->

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="/static/css/normalize.css">
<link rel="stylesheet" href="/static/css/tabs.css">
<link rel="stylesheet" href="/static/css/styles.css">
<link rel="stylesheet" href="https://rbt.americanbehavioralsolutions.com/static/css/normalize.css">
<link rel="stylesheet" href="https://rbt.americanbehavioralsolutions.com/static/css/tabs.css">
<link rel="stylesheet" href="https://rbt.americanbehavioralsolutions.com/static/css/styles.css">


</head>
Expand All @@ -33,8 +33,8 @@
{% block content %}
{% endblock %}

<script src="/static/js/jquery.js"></script>
<script src="/static/js/scripts.js"></script>
<script src="https://rbt.americanbehavioralsolutions.com/static/js/jquery.js"></script>
<script src="https://rbt.americanbehavioralsolutions.com/static/js/scripts.js"></script>
</body>

</html>

0 comments on commit 4c9dde2

Please sign in to comment.