-
-
Notifications
You must be signed in to change notification settings - Fork 3
Files
Artucuno edited this page Jun 28, 2022
·
2 revisions
Here is a small guide on how to edit basic files
-
Where are the pages located?
- All webpages are located in the
/templates
folder.
- All webpages are located in the
-
Do I have to keep the webpages in specific folders?
- No, but I decided to keep the templates folder "organised".
-
What are includes?
- EG:
{% include 'divs/navbar.html' %}
- Includes make it so that you can import content from another html file.
- EG:
- Pages
/templates/core/index.html
/templates/LoonaStore/index.html
/templates/core/about.html
/templates/core/contact.html
- Sections
/templates/divs/navbar.html
/templates/divs/footer.html
LoonaBilling is made to be as customisable as possible, you can edit all of the core files to fit your needs.
/templates/core/index.html
[...]
.topnav input[type=text] {
border: 1px solid #ccc;
}
}
</style>
</head>
<body>
{% include 'divs/navbar.html' %}
<div style="padding-left:16px">
<h2>Welcome to LoonaBilling! <i class="fa-brands fa-github"></i></h2>
<p>LoonaBilling is built to be as customisable as possible, to get started check out your Admin Dashboard.</p>
<p><a href='/admin'>Admin Dashboard</a> | <a href="https://github.com/Loona-cc/LoonaBilling/wiki/Files">Editing Files</a> | <a href='https://github.com/Loona-cc/LoonaBilling/wiki/Modules'>Creating Modules</a></p>
<p><a href='https://github.com/Loona-cc/LoonaBilling'><i class="fa-brands fa-github"></i></a> <a href='https://loona.cc'><i class="fa fa-link"></i></a></p>
</div>
</body>
{% include 'divs/footer.html' %}
</html>