-
Notifications
You must be signed in to change notification settings - Fork 35
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 #16 from alde/html-view
Add support for text/html Accept header
- Loading branch information
Showing
22 changed files
with
545 additions
and
12 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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
eremetic | ||
eremetic.yml | ||
docker/static | ||
docker/templates |
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
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 |
---|---|---|
@@ -1,4 +1,11 @@ | ||
FROM alpine:3.2 | ||
COPY eremetic /bin/eremetic | ||
|
||
RUN mkdir -p /opt/eremetic | ||
|
||
COPY eremetic /opt/eremetic/eremetic | ||
COPY static /opt/eremetic/static | ||
COPY templates /opt/eremetic/templates | ||
COPY marathon.sh /marathon.sh | ||
|
||
WORKDIR /opt/eremetic | ||
CMD [ "/marathon.sh" ] |
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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,98 @@ | ||
.error_message { | ||
float: left; | ||
left: 35em; | ||
top: 5em; | ||
} | ||
|
||
.ui.list > .item { | ||
display: flex !important; | ||
} | ||
|
||
.main.container { | ||
padding-top: 50px; | ||
} | ||
|
||
.container_section { | ||
padding-top: 20px; | ||
} | ||
|
||
.column .header { | ||
padding-bottom: 40px; | ||
} | ||
|
||
.ui.cpu.icon.svg { | ||
background: url("/static/images/cpu.svg"); | ||
background-size: 100% 100%; | ||
} | ||
.ui.ram.icon.svg { | ||
background: url("/static/images/ram.svg"); | ||
background-size: 100% 100%; | ||
} | ||
|
||
.label.task_staging { | ||
background-color: #00b5ad !important; | ||
border-color: #00b5ad !important; | ||
color: #fff !important; | ||
} | ||
|
||
.label.task_failed { | ||
background-color: #db2828 !important; | ||
border-color: #db2828 !important; | ||
color: #fff !important; | ||
} | ||
|
||
.label.task_lost { | ||
background-color: #a333c8 !important; | ||
border-color: #a333c8 !important; | ||
color: #fff !important; | ||
} | ||
|
||
.label.task_killed { | ||
background-color: #f2711c !important; | ||
border-color: #f2711c !important; | ||
color: #fff !important; | ||
} | ||
|
||
.label.task_finished { | ||
background-color: #21ba45 !important; | ||
border-color: #21ba45 !important; | ||
color: #fff !important; | ||
} | ||
|
||
@font-face { | ||
font-family: "fontcustom"; | ||
src: url("./themes/default/assets/fonts/fontcustom_cb066050d5b786186aa0e7f121427d8b.eot"); | ||
src: url("./themes/default/assets/fonts/fontcustom_cb066050d5b786186aa0e7f121427d8b.eot?#iefix") format("embedded-opentype"), | ||
url("./themes/default/assets/fonts/fontcustom_cb066050d5b786186aa0e7f121427d8b.woff") format("woff"), | ||
url("./themes/default/assets/fonts/fontcustom_cb066050d5b786186aa0e7f121427d8b.ttf") format("truetype"), | ||
url("./themes/default/assets/fonts/fontcustom_cb066050d5b786186aa0e7f121427d8b.svg#fontcustom") format("svg"); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
@media screen and (-webkit-min-device-pixel-ratio:0) { | ||
@font-face { | ||
font-family: "fontcustom"; | ||
src: url("./themes/default/assets/fonts/fontcustom_cb066050d5b786186aa0e7f121427d8b.svg#fontcustom") format("svg"); | ||
} | ||
} | ||
|
||
[data-icon]:before { content: attr(data-icon); } | ||
|
||
[data-icon]:before, | ||
.docker:before { | ||
display: inline-block; | ||
font-family: "fontcustom"; | ||
font-style: normal; | ||
font-weight: normal; | ||
font-variant: normal; | ||
line-height: 1; | ||
text-decoration: inherit; | ||
text-rendering: optimizeLegibility; | ||
text-transform: none; | ||
-moz-osx-font-smoothing: grayscale; | ||
-webkit-font-smoothing: antialiased; | ||
font-smoothing: antialiased; | ||
} | ||
|
||
.docker:before { content: "\f100"; } |
Binary file added
BIN
+2.66 KB
static/css/themes/default/assets/fonts/fontcustom_cb066050d5b786186aa0e7f121427d8b.eot
Binary file not shown.
50 changes: 50 additions & 0 deletions
50
...css/themes/default/assets/fonts/fontcustom_cb066050d5b786186aa0e7f121427d8b.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.48 KB
static/css/themes/default/assets/fonts/fontcustom_cb066050d5b786186aa0e7f121427d8b.ttf
Binary file not shown.
Binary file added
BIN
+1.46 KB
static/css/themes/default/assets/fonts/fontcustom_cb066050d5b786186aa0e7f121427d8b.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.