mirror of
https://github.com/Soulful-Sailer/Event-Tracker.git
synced 2026-03-30 00:26:46 -05:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8de2a3a99d | ||
|
|
c3d90c6da3 | ||
|
|
a637ff5363 | ||
|
|
8e936d2a23 | ||
|
|
12856199cf |
13
README.md
13
README.md
@@ -22,6 +22,11 @@ CREATE TABLE events (
|
||||
description text
|
||||
);
|
||||
```
|
||||
Then create the section entries:
|
||||
```sql
|
||||
INSERT INTO sections (name) VALUES ('accepted');
|
||||
INSERT INTO sections (name) VALUES ('proposed');
|
||||
```
|
||||
```sh
|
||||
cd /opt
|
||||
git clone https://github.com/Soulful-Sailer/Event-Tracker/
|
||||
@@ -32,3 +37,11 @@ cp config-template.json config.json
|
||||
```
|
||||
Edit config.json and add your database details.
|
||||
Then start the server with `systemctl start event-tracker.service`
|
||||
|
||||
## Screenshots
|
||||
### Main Page
|
||||

|
||||
### Add Event Page
|
||||

|
||||
### Edit Event Page
|
||||

|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "event-tracker",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"author": {
|
||||
"name": "Soulful Sailer",
|
||||
"email": "soulful.sailer@entropic.pro"
|
||||
|
||||
BIN
previews/Add-Page.png
Normal file
BIN
previews/Add-Page.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
BIN
previews/Edit-Page.png
Normal file
BIN
previews/Edit-Page.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
BIN
previews/Main-Page.png
Normal file
BIN
previews/Main-Page.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
@@ -15,7 +15,7 @@
|
||||
<div id='top-bar'>
|
||||
<span class='link'><a id='home-link' href='index.html'><h1>Event Tracker</h1></a></span>
|
||||
</div>
|
||||
<div class='links'>
|
||||
<div class='links' id='top-links'>
|
||||
<li class=''><span class='link'><a href='index.html'>View</a></span></li>
|
||||
<li class='current-page'><span class='link'><a href='event.html'>Add</a></span></li>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<div id='top-bar'>
|
||||
<span class='link'><a id='home-link' href='index.html'><h1>Event Tracker</h1></a></span>
|
||||
</div>
|
||||
<div class='links'>
|
||||
<div class='links' id='top-links'>
|
||||
<li class='current-page'><span class='link'><a href='index.html'>View</a></span></li>
|
||||
<li class=''><span class='link'><a href='event.html'>Add</a></span></li>
|
||||
</div>
|
||||
|
||||
@@ -70,17 +70,17 @@ function indicateEditing() {
|
||||
document.querySelector(".current-page").classList.remove('current-page');
|
||||
|
||||
//creates html element:
|
||||
//<li class='current-page'><a href='event.html?id=EventID'><span class='link'>Editing</span></a></li>
|
||||
//<li class='current-page'><span class='link'><a href='event.html?id=EventID'>Editing</a></span></li>
|
||||
let elem = document.createElement("li");
|
||||
elem.classList.add('current-page');
|
||||
let a = document.createElement('a');
|
||||
a.href = window.location.href;
|
||||
let span = document.createElement('span');
|
||||
span.classList.add('link');
|
||||
span.append('Editing');
|
||||
a.append(span);
|
||||
elem.append(a);
|
||||
document.getElementById("links").append(elem); //add elem to navigation bar
|
||||
let a = document.createElement('a');
|
||||
a.href = window.location.href;
|
||||
span.append(a);
|
||||
elem.append(span);
|
||||
document.getElementById("top-links").append(elem); //add elem to navigation bar
|
||||
|
||||
//creates delete button
|
||||
//<button id="delete-button">Delete</button>
|
||||
|
||||
Reference in New Issue
Block a user