Skip to content

Instantly share code, notes, and snippets.

View gergely-marko's full-sized avatar

Gergely Markó gergely-marko

  • maCADam
  • Budapest, Hungary
View GitHub Profile
@gergely-marko
gergely-marko / report.css
Created March 6, 2018 06:58
Stylesheet used for generating reports
@page {
size: A4; /* auto is the initial value */
margin: 0mm; /* this affects the margin in the printer settings */
}
html, body {
font-family: "Times New Roman CE";
font-size: 9pt;
line-height: 1.3;
font-weight: normal;
@gergely-marko
gergely-marko / Report.elm
Created March 6, 2018 07:00
General report helper functions
module Report exposing (..)
import Date exposing (Date)
import Helpers
import Html.String as Html exposing (Html, b, br, div, h1, h2, h3, img, table, td, text, th, tr)
import Html.String.Attributes exposing (..)
import Localization
import Location exposing (Location)
import Position exposing (Position)
import Project exposing (Project)
module DensityReport exposing (generate_investigation_report, generate_measurement_report)
import Density exposing (Density)
import Dict exposing (Dict)
import DiscThickness exposing (DiscThickness)
import Helpers exposing (format_float)
import Html.String as Html exposing (Html, b, br, div, h1, h2, h3, i, img, sub, sup, table, td, text, th, tr)
import Html.String.Attributes exposing (..)
import LayerThickness exposing (LayerThickness)
import Location exposing (Location)