-
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.
Add support for text/html Accept header
If accessing a route with text/html in the Accept header render a HTML page instead of returning a JSON.
- Loading branch information
Rickard Dybeck
committed
Nov 10, 2015
1 parent
656ce04
commit 39b82d8
Showing
18 changed files
with
504 additions
and
8 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
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,68 @@ | ||
.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%; | ||
} | ||
|
||
@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
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
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.
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.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.