aboutsummaryrefslogtreecommitdiffhomepage
path: root/views
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-03-07 11:33:59 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-03-07 11:33:59 +0100
commitb9a3e09ad5a7673f64556d1dba122ed4c4fac980 (patch)
tree66d4928b82af19a2372a2505822233884f3fd471 /views
parentb2ff5e3e686eb552c5ccd64ce67b0455972ceef0 (diff)
downloadPeerTube-b9a3e09ad5a7673f64556d1dba122ed4c4fac980.tar.gz
PeerTube-b9a3e09ad5a7673f64556d1dba122ed4c4fac980.tar.zst
PeerTube-b9a3e09ad5a7673f64556d1dba122ed4c4fac980.zip
Prepare folders structure for angular app
Diffstat (limited to 'views')
-rw-r--r--views/error.jade8
-rw-r--r--views/footer.jade3
-rw-r--r--views/header.jade9
-rw-r--r--views/index.jade15
-rw-r--r--views/layout.jade15
-rw-r--r--views/panel.jade17
6 files changed, 0 insertions, 67 deletions
diff --git a/views/error.jade b/views/error.jade
deleted file mode 100644
index d9e8a7893..000000000
--- a/views/error.jade
+++ /dev/null
@@ -1,8 +0,0 @@
1extends layout
2
3block content
4 h1= message
5 if error
6 h2= error.status
7 pre #{error.stack}
8
diff --git a/views/footer.jade b/views/footer.jade
deleted file mode 100644
index c7754f584..000000000
--- a/views/footer.jade
+++ /dev/null
@@ -1,3 +0,0 @@
1footer
2
3 | PeerTube, CopyLeft 2015
diff --git a/views/header.jade b/views/header.jade
deleted file mode 100644
index 6b84333f9..000000000
--- a/views/header.jade
+++ /dev/null
@@ -1,9 +0,0 @@
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
deleted file mode 100644
index a49758fc0..000000000
--- a/views/index.jade
+++ /dev/null
@@ -1,15 +0,0 @@
1extends layout
2
3block content
4 div(class='container')
5 div(class='row')
6 include panel
7
8 div(id='ajax_load' class='col-md-9')
9
10
11 include footer
12
13 // build:js /javascripts/global.min.js
14 script(src='/javascripts/bundle.js')
15 // endbuild
diff --git a/views/layout.jade b/views/layout.jade
deleted file mode 100644
index 43c28cd4f..000000000
--- a/views/layout.jade
+++ /dev/null
@@ -1,15 +0,0 @@
1doctype html
2html
3 head
4 link(rel='icon' type='image/png' href='/images/favicon.png')
5 meta(name='viewport' content='width=device-width, initial-scale=1')
6 title= title
7
8 // build:css /stylesheets/global.min.css
9 each file in [ 'global' ]
10 link(rel='stylesheet', href='/stylesheets/' + file + '.css')
11 // endbuild
12
13 body
14 include header
15 block content
diff --git a/views/panel.jade b/views/panel.jade
deleted file mode 100644
index 0d124fb7e..000000000
--- a/views/panel.jade
+++ /dev/null
@@ -1,17 +0,0 @@
1menu(class='col-md-2')
2
3 div(id='panel_get_videos' class='panel_button')
4 span(class='glyphicon glyphicon-list')
5 | Get videos
6
7 div(id='panel_upload_video' class='panel_button')
8 span(class='glyphicon glyphicon-cloud-upload')
9 | Upload a video
10
11 div(id='panel_make_friends' class='panel_button')
12 span(class='glyphicon glyphicon-user')
13 | Make friends
14
15 div(id='panel_quit_friends' class='panel_button')
16 span(class='glyphicon glyphicon-plane')
17 | Quit friends