-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from hgareeballa/noajax
Noajax
- Loading branch information
Showing
13 changed files
with
88 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
<!-- Body --> | ||
|
||
<!-- Body --> | ||
<body class="text-center"> | ||
<div class="container"> | ||
<h1><%= title %></h1> | ||
<p>Welcome to <%= title %></p> | ||
Click Here to <a href="#" onclick="loadpage('/auth/signin')">Sign In</a> | ||
</div> | ||
</body> | ||
|
||
<body class="text-center"> | ||
<div class="container"> | ||
<h1><%= title %></h1> | ||
<p>Welcome to <%= title %></p> | ||
Click Here to <a href="/auth/signin">Sign In</a> | ||
</div> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,2 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<title><%= title %></title> | ||
</head> | ||
<!-- Header --> | ||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary"> | ||
<a class="navbar-brand" href="#"><%= title %></a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" | ||
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
<div class="collapse navbar-collapse" id="navbarSupportedContent"> | ||
<ul class="navbar-nav mr-auto"> | ||
<% nav.forEach(function(nv){ %> | ||
<li class="nav-item active"> | ||
<a class="nav-link" href="#" onclick="loadpage('<%=nv.link %>');"><%=nv.title %> <span | ||
class="sr-only"></span></a> | ||
</li> | ||
<% }); %> | ||
</ul> | ||
</div> | ||
</nav> | ||
|
||
<!-- Body --> | ||
|
||
<body class="text-center"> | ||
<div class="container" id="mymain">Home Page</div> | ||
</body> | ||
|
||
</html> | ||
<script src="/js/basket.full.min.js"></script> | ||
<script src="/js/helper.js"></script> | ||
<link rel="stylesheet" href="/css/bootstrap.min.css" /> | ||
<link rel="stylesheet" type="text/css" href="/css/themes/material-blue/easyui.css"> | ||
<link rel="stylesheet" type="text/css" href="/css/themes/icon.css"> | ||
<link rel="stylesheet" type="text/css" href="/css/themes/color.css"> | ||
|
||
<script> | ||
basket | ||
.require( | ||
{ url: '/js/jquery-3.5.1.min.js' }, | ||
{ url: '/js/jquery.easyui.min.js' } | ||
) | ||
.then(function () { | ||
// Success | ||
console.log('Loading Done!'); | ||
}, function (error) { | ||
// There was an error fetching the script | ||
console.log(error); | ||
}); | ||
</script> | ||
<%=title %> | ||
<h1>Index Page</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<title><%= title %></title> | ||
<link rel="stylesheet" href="/css/bootstrap.min.css" /> | ||
<link rel="stylesheet" type="text/css" href="/css/themes/material-blue/easyui.css"> | ||
<link rel="stylesheet" type="text/css" href="/css/themes/icon.css"> | ||
<link rel="stylesheet" type="text/css" href="/css/themes/color.css"> | ||
<script src="/js/basket.full.min.js"></script> | ||
<script src="/js/helper.js"></script> | ||
</head> | ||
<!-- Header --> | ||
------------------- | ||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary"> | ||
<a class="navbar-brand" href="#">[[<%= title %>]]</a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" | ||
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
<div class="collapse navbar-collapse" id="navbarSupportedContent"> | ||
<ul class="navbar-nav mr-auto"> | ||
<% nav.forEach(function(nv){ %> | ||
<li class="nav-item active"> | ||
<a class="nav-link" href="<%=nv.link %>"><%=nv.title %> <span class="sr-only"></span></a> | ||
</li> | ||
<% }); %> | ||
</ul> | ||
</div> | ||
</nav> | ||
|
||
<!-- Body --> | ||
|
||
<body class="text-center"> | ||
<div class="container" id="mymain"><%-body%></div> | ||
</body> | ||
|
||
</html> |