Skip to content

Commit

Permalink
- add missing images
Browse files Browse the repository at this point in the history
  • Loading branch information
lrupp committed Sep 10, 2018
1 parent c2873e6 commit 871d90e
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 10 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ The original plugin was rewritten to follow the new [plugin standards](https://w

1) Copy the files in the /reports/ folder to your RackTables plugins installation ( _/path/to/racktables/plugins/_ ).

2) Copy the CSS and JS files to the corresponding folders:
2) Copy the CSS and JS and image files to the corresponding folders:
```
mkdir -p '/path/to/racktables/wwwroot/{css,js}/report/'
mkdir -p '/path/to/racktables/wwwroot/{css,js,pix}/report/'
cp -v 'css/style.css' '/path/to/racktables/wwwroot/css/report/style.css'
cp -v "js/*" '/path/to/racktables/wwwroot/js/report/'
cp -v "pix/*" '/path/to/racktables/wwwroot/pix/report/'
```

3) Activate the plugin via the _Configuration_ => _Plugins_ menu.
Expand Down
5 changes: 3 additions & 2 deletions reports/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ Mogilowski Sebastian <sebastian@mogilowski.net>

1) Copy the files in the /reports/ folder to your RackTables plugins installation ( _/path/to/racktables/plugins/_ ).

2) Copy the CSS and JS files to the corresponding folders:
2) Copy the CSS and JS and image files to the corresponding folders:
```
mkdir -p '/path/to/racktables/wwwroot/{css,js}/report/'
mkdir -p '/path/to/racktables/wwwroot/{css,js,pix}/report/'
cp -v 'css/style.css' '/path/to/racktables/wwwroot/css/report/style.css'
cp -v "js/*" '/path/to/racktables/wwwroot/js/report/'
cp -v "pix/*" '/path/to/racktables/wwwroot/pix/report/'
```

3) Activate the plugin via the _Configuration_ => _Plugins_ menu.
Expand Down
12 changes: 6 additions & 6 deletions reports/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ table.tablesorter thead tr th, table.tablesorter tfoot tr th {
border:1px solid #3C78B5;
}
table.tablesorter thead tr .header {
background-image: url(?module=chrome&uri=pix/extensions/bg.gif);
background-image: url(?module=chrome&uri=pix/report/bg.gif);
background-repeat: no-repeat;
background-position: center right;
cursor: pointer;
Expand All @@ -35,10 +35,10 @@ table.tablesorter tbody tr.odd td {
background-color:#D0D0D0;
}
table.tablesorter thead tr .headerSortUp {
background-image: url(?module=chrome&uri=pix/extensions/asc.gif);
background-image: url(?module=chrome&uri=pix/report/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
background-image: url(?module=chrome&uri=pix/extensions/desc.gif);
background-image: url(?module=chrome&uri=pix/report/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #468DD5;
Expand Down Expand Up @@ -85,7 +85,7 @@ table.searchTable td table {

/* Server */
table.tablesorter tbody tr span.object_typeid_4 {
background-image: url(?module=chrome&uri=pix/extensions/server.png);
background-image: url(?module=chrome&uri=pix/report/server.png);
background-repeat: no-repeat;
padding-left:20px;
}
Expand All @@ -98,14 +98,14 @@ table.tablesorter tbody tr span.object_typeid_4 a {

/* Switches */
table.tablesorter tbody tr span.object_typeid_8 {
background-image: url(?module=chrome&uri=pix/extensions/network.png);
background-image: url(?module=chrome&uri=pix/report/network.png);
background-repeat: no-repeat;
padding-left:20px;
}

/* VMs */
table.tablesorter tbody tr span.object_typeid_1504 {
background-image: url(?module=chrome&uri=pix/extensions/vm.png);
background-image: url(?module=chrome&uri=pix/report/vm.png);
background-repeat: no-repeat;
padding-left:20px;
}
Binary file added reports/pix/asc.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added reports/pix/bg.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added reports/pix/desc.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added reports/pix/network.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added reports/pix/server.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added reports/pix/vm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 871d90e

Please sign in to comment.