[update] Style Home page

This commit is contained in:
brunosimon
2016-08-30 02:05:01 +02:00
parent d4d852f356
commit 81331c4f34
33 changed files with 745 additions and 319 deletions
+1
View File
@@ -1,3 +1,4 @@
- var page_class = 'project'
include ../../partials/header.jade
script(type="text/ng-template",id="folder_template.html")
+91 -18
View File
@@ -1,23 +1,96 @@
- var page_class = 'projects'
include ../../partials/header.jade
section.page-projects(ng-controller="ProjectsController as controller")
.projects(ng-show="projects")
.item.title
.gradient-backgroud
section.landing
.logo
.disks
.disk.index-0
.disk.index-1
.disk.index-2
.disk.index-3
.disk.index-4
.title
span.letter.index-0= 'K'
span.letter.index-1= 'E'
span.letter.index-2= 'P'
span.letter.index-3= 'P'
span.letter.index-4= 'L'
span.letter.index-5= 'E'
span.letter.index-6= 'R'
.punch-line
.text
| An efficient way to share your code while presenting
.links
a.link(href="http://github.com/brunosimon/keppler",target="_blank")
| github
a.link(href="http://bruno-simon.com",target="_blank")
| bruno simon
section.projects(ng-controller="ProjectsController as controller")
.container
.head
| Projects
a.item(href="/project/{{project.slug}}",ng-repeat="project in projects")
.name
| {{project.name}}
.file-count
| Files: {{project.files_count}}
.creation
| Creation: {{project.date_formated}}
.time-from-now
| {{project.time_from_now}}
.last-update-date
| Last update: {{project.last_update_date_formated}}
.time-from-now
| {{project.last_update_time_from_now}}
.no-project(ng-hide="projects")
| No project
.content
span.no-project(ng-hide="projects")
.title
| No project
a.project(href="/project/{{project.slug}}",ng-repeat="project in projects")
.title
| {{project.name}}
.details
.detail
.label
| created at
.value
| {{project.date_formated}}
.detail
.label
| last update
.value
| {{project.last_update_date_formated}}
.detail
.label
| files
.value
| {{project.files_count}}
section.text
.title
| What is keppler
.description
p
| Keppler lets you share your code simply during a presentation.
br
| The tool displays the hierarchy of files and their history. It indicates the arrival of new versions of a file and displays which parts have changed.
p
| Viewers can easily browse files and history while following the presentation.
p
| Keppler is easy to install and works with NodeJS.
section.text
.title
| Instructions
.description
p
| Requirements:
ul
li
| - NodeJS installed
li
| - Spectators connected to the same wifi
p
| Install Keppler globally
pre
code
span.line.opacity-20
| npm install -g keppler
p
| Go to the project folder and start Keppler
pre
code
span.line.opacity-20
| cd ./my-awesome-project
br
span.line.opacity-20
| keppler "My project"
include ../../partials/footer.jade
+3 -8
View File
@@ -1,7 +1,7 @@
html(ng-app="application")
head
title
| Code Spectat
| Keppler
script.
var config = {
domain : '#{domain}'
@@ -20,8 +20,7 @@ html(ng-app="application")
script(src="/javascript/services/projects.js")
script(src="/javascript/models/tree.js")
link(rel="stylesheet",href="/stylesheets/reset.min.css")
link(rel="stylesheet",href="/stylesheets/style.css")
link(rel="stylesheet",href="/stylesheet/style.css")
link(rel="stylesheet",href="/vendors/highlight/styles/dracula.css")
//- link(rel="stylesheet",href="/vendors/highlight/styles/atom-one-dark.css")
//- link(rel="stylesheet",href="/vendors/highlight/styles/gruvbox-dark.css")
@@ -32,8 +31,4 @@ html(ng-app="application")
//- link(rel="stylesheet",href="/vendors/highlight/styles/tomorrow-night.css")
link(rel="stylesheet",href="/vendors/font-awesome/css/font-awesome.min.css")
body
header.main-header
h1
a(href=domain)
| Code Spectat
body(class=page_class)