diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/header.jade | 10 | ||||
-rw-r--r-- | views/index.jade | 9 | ||||
-rw-r--r-- | views/layout.jade | 3 |
3 files changed, 11 insertions, 11 deletions
diff --git a/views/header.jade b/views/header.jade index d8a39898e..6b84333f9 100644 --- a/views/header.jade +++ b/views/header.jade | |||
@@ -1 +1,9 @@ | |||
1 | \ No newline at end of file | 1 | .navbar.navbar-default |
2 | .container-fluid | ||
3 | .navbar-header | ||
4 | a.navbar-brand(href='/') PeerTube | ||
5 | .navbar-header | ||
6 | form.navbar-form(role='search') | ||
7 | .form-group.search-group | ||
8 | input.form-control#search-video(type='text' name='search_video' placeholder='Search a video...') | ||
9 | a.search-btn.btn.btn-link.glyphicon.glyphicon-search(type='submit') \ No newline at end of file | ||
diff --git a/views/index.jade b/views/index.jade index 21cedb324..a49758fc0 100644 --- a/views/index.jade +++ b/views/index.jade | |||
@@ -1,16 +1,7 @@ | |||
1 | extends layout | 1 | extends layout |
2 | 2 | ||
3 | block content | 3 | block content |
4 | |||
5 | div(class='container') | 4 | div(class='container') |
6 | |||
7 | header(class='row') | ||
8 | div(class='col-md-2') | ||
9 | h4 PeerTube | ||
10 | |||
11 | div(class='col-md-8') | ||
12 | input(type='text' id='search_video' name='search_video' class='form-control' placeholder='Search a video...') | ||
13 | |||
14 | div(class='row') | 5 | div(class='row') |
15 | include panel | 6 | include panel |
16 | 7 | ||
diff --git a/views/layout.jade b/views/layout.jade index 236a36c3c..43c28cd4f 100644 --- a/views/layout.jade +++ b/views/layout.jade | |||
@@ -2,7 +2,7 @@ doctype html | |||
2 | html | 2 | html |
3 | head | 3 | head |
4 | link(rel='icon' type='image/png' href='/images/favicon.png') | 4 | link(rel='icon' type='image/png' href='/images/favicon.png') |
5 | 5 | meta(name='viewport' content='width=device-width, initial-scale=1') | |
6 | title= title | 6 | title= title |
7 | 7 | ||
8 | // build:css /stylesheets/global.min.css | 8 | // build:css /stylesheets/global.min.css |
@@ -11,4 +11,5 @@ html | |||
11 | // endbuild | 11 | // endbuild |
12 | 12 | ||
13 | body | 13 | body |
14 | include header | ||
14 | block content | 15 | block content |