mirror of
https://github.com/plashchynski/crono.git
synced 2026-06-12 01:34:25 +02:00
Materialize css
This commit is contained in:
+5
-16
@@ -1,20 +1,9 @@
|
|||||||
.container {
|
|
||||||
background-color: #CFD8DC;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #455A64;
|
display: flex;
|
||||||
|
min-height: 100vh;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-header {
|
main {
|
||||||
border-bottom: 1px solid #B6B6B6;
|
flex: 1 0 auto;
|
||||||
}
|
|
||||||
|
|
||||||
#job_list td,#job_list th {
|
|
||||||
border-top: 1px solid #B6B6B6;
|
|
||||||
color: #212121;
|
|
||||||
}
|
|
||||||
|
|
||||||
.breadcrumb {
|
|
||||||
background-color: #FFFFFF;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
%ol.breadcrumb
|
|
||||||
%li.active Home
|
|
||||||
|
|
||||||
%h3 Running Jobs
|
%h3 Running Jobs
|
||||||
%table.table#job_list
|
%table.bordered#job_list
|
||||||
%tr
|
%tr
|
||||||
%th Job
|
%th Job
|
||||||
%th Last performed at
|
%th Last performed at
|
||||||
|
|||||||
+1
-4
@@ -1,7 +1,4 @@
|
|||||||
%ol.breadcrumb
|
%a{ href: url('/') } << Back to Home
|
||||||
%li
|
|
||||||
%a{ href: url('/') } Home
|
|
||||||
%li.active= @job.job_id
|
|
||||||
|
|
||||||
%h2
|
%h2
|
||||||
"#{@job.job_id}" Log:
|
"#{@job.job_id}" Log:
|
||||||
|
|||||||
+18
-12
@@ -3,23 +3,29 @@
|
|||||||
%head
|
%head
|
||||||
%meta{ charset: 'utf-8' }
|
%meta{ charset: 'utf-8' }
|
||||||
%meta{ 'http-equiv' => 'X-UA-Compatible', content: 'IE=edge' }
|
%meta{ 'http-equiv' => 'X-UA-Compatible', content: 'IE=edge' }
|
||||||
%meta{ name: 'viewport', content: 'width=device-width, initial-scale=1' }
|
%meta{ name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' }
|
||||||
|
|
||||||
%title Crono Dashboard
|
%title Crono Dashboard
|
||||||
|
|
||||||
%link{ href: 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css', rel: 'stylesheet' }
|
%link{ href: 'https://cdnjs.cloudflare.com/ajax/libs/materialize/0.96.1/css/materialize.min.css', rel: 'stylesheet', media: 'screen,projection' }
|
||||||
%link{ href: 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css', rel: 'stylesheet' }
|
|
||||||
%link{ href: "#{env['SCRIPT_NAME']}/custom.css", rel: 'stylesheet' }
|
%link{ href: "#{env['SCRIPT_NAME']}/custom.css", rel: 'stylesheet' }
|
||||||
|
|
||||||
%body
|
%body.blue-grey.darken-2
|
||||||
%br
|
%header
|
||||||
%br
|
.container.blue-grey.white-text
|
||||||
.container
|
%h1 Crono Dashboard
|
||||||
.page-header
|
|
||||||
%h1
|
%main
|
||||||
|
.container.blue-grey.lighten-4.grey-text.text-darken-4
|
||||||
|
= yield
|
||||||
|
|
||||||
|
%footer.page-footer.blue-grey.darken-2
|
||||||
|
.footer-copyright.blue-grey.darken-2
|
||||||
|
.container.blue-grey.lighten-4.grey-text.text-darken-4
|
||||||
Crono #{Crono::VERSION}
|
Crono #{Crono::VERSION}
|
||||||
%small Dashboard
|
|
||||||
= yield
|
%a.right{ href: 'https://github.com/plashchynski/crono', target: '_blank' } Documentation
|
||||||
|
|
||||||
|
|
||||||
%script{ src: 'https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js' }
|
%script{ src: 'https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js' }
|
||||||
%script{ src: 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js' }
|
%script{ src: 'https://cdnjs.cloudflare.com/ajax/libs/materialize/0.96.1/js/materialize.min.js' }
|
||||||
|
|||||||
Reference in New Issue
Block a user