Skip to content

Commit

Permalink
Re-organize css and the TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Kcchouette committed Aug 25, 2016
1 parent 12ebcf3 commit e6f5430
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 52 deletions.
28 changes: 3 additions & 25 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,15 @@
# TODO

## For v0.1

- [x] Use XML file from iroffer dinoex
- [x] The path for XDCC list can be URL
- [x] Show filelist
- [x] Translatable (through a php config file)
- [x] Use bot database from a json file
- [x] Add/edit/remove bot easily through an ADMIN page
- [x] "disconnect" from the admin page
- [x] Use "session" for the admin page
- [x] Adding IRC link (1 main + 1 per bot)
- [x] Adding URL of the website (1 main + 1 per bot)
- [x] Change display when mouse over for the bot listing (underline?)
- [x] Robot meta tag (choose in the config file)
- [x] The GitHub link


## For v0.2

- [ ] Download the XML file from URL into cache
- [ ] Download the XML file (from URL)? into cache
- [ ] Upload the XML file into cache
- [ ] Cache can be refreshed
- [ ] View to show Bookmarks from JSON
- [ ] ADD/REMOVE Bookmarks from JSON
- [ ] A Search input (to search on one BOT) # http://stackoverflow.com/a/4366748 ?
- [ ] A Search input (to search on one BOT) # https://datatables.net/examples/basic_init/filter_only.html ?
- [ ] A Search input (to search on all BOTs) # all instanciate of object before index use it?
- [ ] Display for example 50 number of file, else use a pagination?
- [ ] Display for example 50 number of file, else use a pagination? (cf datatables)
- [ ] Import/Export data.json
- [ ] Choose the XML file location using a select tag in the ADMIN page if not using URL
- [ ] Possibility of reordering bots in the ADMIN page
Expand All @@ -39,11 +22,6 @@
- [ ] Try to use the text file listing from iroffer


## Bonus

- [x] Listing of folders


## Improve

- [ ] list for bot name (instead of a simple echo + br)?
Expand Down
2 changes: 1 addition & 1 deletion admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<title>' . $title . ' - ' . $lang[$language]["Admin_page"] . '</title>
<link href="input.css" rel="stylesheet">
<link href="css/input.css" rel="stylesheet">
<!-- OMGCSS core CSS -->
<link href="https://cdn.rawgit.com/Kcchouette/omgcss/ef95db62775411425dfc2f0bcc6a8a43282efc83/dist/css/omg.css" rel="stylesheet">
Expand Down
File renamed without changes.
42 changes: 21 additions & 21 deletions main.css → css/main.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
html, #trmain:hover {
/* change that to change the background color */
background-color: #FFFFFF;
}

tr:hover, .chbot:hover {
/* change that if you want to change the color of when the mouse hover the text*/
background-color: #FFFF99;
}

.menubtn {
cursor: pointer;
}

table {
width: 100%;
}

th {
width: 50px;
}
html, #trmain:hover {
/* change that to change the background color */
background-color: #FFFFFF;
}

tr:hover, .chbot:hover {
/* change that if you want to change the color of when the mouse hover the text*/
background-color: #FFFF99;
}

.menubtn {
cursor: pointer;
}

table {
width: 100%;
}

th {
width: 50px;
}
10 changes: 6 additions & 4 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="<?php require 'config.php'; echo $lang; ?>">
<html lang="<?php require_once 'config.php'; echo $lang; ?>">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand All @@ -15,9 +15,9 @@
}
?>

<title><?php require 'config.php'; echo $title; ?></title>
<title><?php require_once 'config.php'; echo $title; ?></title>

<link href="main.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">

<!-- OMGCSS core CSS -->
<link href="https://cdn.rawgit.com/Kcchouette/omgcss/ef95db62775411425dfc2f0bcc6a8a43282efc83/dist/css/omg.css" rel="stylesheet">
Expand Down Expand Up @@ -128,13 +128,15 @@

<footer class="omgcenter">
<?php
echo $lang[$language]["Powered"] . ' <a href="https://github.com/Kcchouette/XDCC-simple">XDCC Simple</a> - <a href="admin.php">admin page</a>';
require_once 'config.php';
echo $lang[$language]["Powered"] . ' <a href="https://github.com/Kcchouette/XDCC-simple">XDCC Simple</a> - <a href="admin.php">' . $lang[$language]["Admin_page"] . '</a>';
?>
</footer>

<script type="text/javascript">
function paste(bot, pack){
<?php
require_once 'config.php';
echo 'window.prompt("' . $lang[$language]["Paste_windows"] . '", "/msg " + bot + " xdcc send #" + pack);';
?>
}
Expand Down
2 changes: 1 addition & 1 deletion login.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<?php echo '<title>' . $title . ' - ' . $lang[$language]["Login_page"] . '</title>'; ?>

<link href="input.css" rel="stylesheet">
<link href="css/input.css" rel="stylesheet">

<!-- OMGCSS core CSS -->
<link href="https://cdn.rawgit.com/Kcchouette/omgcss/ef95db62775411425dfc2f0bcc6a8a43282efc83/dist/css/omg.css" rel="stylesheet">
Expand Down

0 comments on commit e6f5430

Please sign in to comment.