-
Notifications
You must be signed in to change notification settings - Fork 83
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 #14 from NoiseByNorthwest/web-ui
Web UI
- Loading branch information
Showing
56 changed files
with
5,922 additions
and
1,148 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
spx_ui_assets_dir = $(prefix)/share/misc/php-spx/assets/web-ui | ||
|
||
CFLAGS += -DSPX_HTTP_UI_ASSETS_DIR=\"$(spx_ui_assets_dir)\" | ||
|
||
install-spx-ui-assets: | ||
@echo "Installing SPX web UI to: $(spx_ui_assets_dir)" | ||
@mkdir -p $(spx_ui_assets_dir) | ||
@cp -r assets/web-ui/* $(spx_ui_assets_dir) | ||
|
||
install: $(all_targets) $(install_targets) install-spx-ui-assets |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
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,184 @@ | ||
body { | ||
background: #023; | ||
background: -webkit-linear-gradient(#023, #000); | ||
background: -o-linear-gradient(#023, #000); | ||
background: -moz-linear-gradient(#023, #000); | ||
background: linear-gradient(#023, #000); | ||
background-repeat: no-repeat; | ||
background-attachment: fixed; | ||
|
||
font-family: monospace; | ||
margin: 2px; | ||
padding: 0; | ||
} | ||
|
||
* { | ||
color: #089; | ||
} | ||
|
||
form#config label { | ||
display: inline-block; | ||
width: 300px; | ||
margin-right: 20px; | ||
margin-bottom: 30px; | ||
text-align: right; | ||
vertical-align: top; | ||
} | ||
|
||
form#config em { | ||
display: inline-block; | ||
vertical-align: top; | ||
width: 300px; | ||
margin-left: 10px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
form#config input { | ||
vertical-align: top; | ||
} | ||
|
||
form#config select { | ||
margin-bottom: 10px; | ||
background-color: #000; | ||
width: 200px; | ||
} | ||
|
||
table.data_table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
margin: auto; | ||
margin-top: 5px; | ||
} | ||
|
||
table.data_table tr { | ||
cursor: pointer; | ||
} | ||
|
||
table.data_table th, | ||
table.data_table td { | ||
border: 1px solid #044; | ||
margin: 0; | ||
padding: 3px; | ||
} | ||
|
||
table.data_table th.data_table-sort, | ||
table.data_table th:hover { | ||
background-color: #023; | ||
} | ||
|
||
table.data_table tbody > tr:hover { | ||
background-color: #033; | ||
} | ||
|
||
table.data_table td.breakable-text { | ||
word-break: break-all; | ||
} | ||
|
||
table.data_table td > a { | ||
display: block; | ||
text-decoration: none; | ||
} | ||
|
||
#init-report { | ||
position: absolute; | ||
left: 50%; | ||
} | ||
|
||
#init-report > div { | ||
position: relative; | ||
left: -50%; | ||
top: 200px; | ||
border: solid 1px #0aa; | ||
background-color: #023; | ||
width: 400px; | ||
height: 200px; | ||
padding: 10px; | ||
vertical-align: center; | ||
text-align: center; | ||
} | ||
|
||
#init-report div.progress { | ||
display: none; | ||
width: 100%; | ||
height: 20px; | ||
border: solid 1px #099; | ||
padding: 1px; | ||
} | ||
|
||
#init-report div.progress > div { | ||
height: 100%; | ||
background-color: #0d0; | ||
} | ||
|
||
#overview, | ||
#timeline { | ||
cursor: -webkit-grab; | ||
cursor:-moz-grab; | ||
} | ||
|
||
#overview:active, | ||
#timeline:active { | ||
cursor: -webkit-grabbing; | ||
cursor:-moz-grabbing; | ||
} | ||
|
||
table.layout { | ||
border-spacing: 0; | ||
width: 100%; | ||
} | ||
|
||
table.layout td { | ||
padding: 0; | ||
} | ||
|
||
.widget { | ||
border: solid 1px #022; | ||
} | ||
|
||
.widget:hover { | ||
border: solid 1px #0aa; | ||
} | ||
|
||
.visualization { | ||
-webkit-touch-callout: none; | ||
-webkit-user-select: none; | ||
-khtml-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
} | ||
|
||
#metric-selector select { | ||
background-color: #000; | ||
} | ||
|
||
#flatprofile { | ||
h: right; | ||
} | ||
|
||
#flatprofile table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
margin: 0; | ||
} | ||
|
||
#flatprofile table th, | ||
#flatprofile table td { | ||
border: 1px solid #044; | ||
margin: 0; | ||
padding-left: 2px; | ||
padding-right: 2px; | ||
} | ||
|
||
#flatprofile table th.sortable { | ||
cursor: pointer; | ||
} | ||
|
||
#flatprofile table th.sort, | ||
#flatprofile table th.sortable:hover { | ||
background-color: #023; | ||
} | ||
|
||
#flatprofile table td { | ||
text-align: right; | ||
} |
Oops, something went wrong.