diff --git a/app/static/app/css/main.css b/app/static/app/css/main.css index 2789af1e..cd13e661 100644 --- a/app/static/app/css/main.css +++ b/app/static/app/css/main.css @@ -19,6 +19,8 @@ color: white; text-decoration: none; background-color: #2c3e50; } + #navbar-top ul#side-menu li { + word-break: break-word; } #navbar-top .navbar-top-links li a.dropdown-toggle { height: 50px; } #navbar-top .user-profile { @@ -32,6 +34,8 @@ ul#side-menu.nav a { .content { clear: both; } + .content h1, .content h2, .content h3, .content h4, .content h5 { + padding-top: 4px; } .top-buffer { margin-top: 15px; } @@ -45,4 +49,7 @@ ul#side-menu.nav a { table.table-first-col-bold td:first-child { font-weight: bold; } +button span.glyphicon { + margin-right: 4px; } + /*# sourceMappingURL=main.css.map */ diff --git a/app/static/app/css/main.css.map b/app/static/app/css/main.css.map index a6e2c15a..167109f5 100644 --- a/app/static/app/css/main.css.map +++ b/app/static/app/css/main.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AAAA,WAAW;EACP,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,IAAI;EAChB,gBAAgB,EAAE,OAAO;EAEzB,yBAAa;IACT,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,GAAG;EAEhB,wBAAY;IACR,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE,GAAG;EAGpB,8BAAkB;IACd,KAAK,EAAE,KAAK;IACZ,eAAe,EAAE,IAAI;EAIrB,+CAAiB;IACb,KAAK,EAAE,KAAK;EAGhB,qHAAyB;IACrB,gBAAgB,EAAE,OAAO;EAM7B,kEAAgB;IACZ,KAAK,EAAE,KAAK;IACZ,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,OAAO;EAIjC,kDAAsC;IAClC,MAAM,EAAE,IAAI;EAGhB,yBAAa;IACT,OAAO,EAAE,KAAK;IAEd,gCAAM;MACF,SAAS,EAAE,GAAG;MACd,KAAK,EAAE,IAAI;;AAMnB,kBAAC;EACG,KAAK,EAAE,IAAI;;AAInB,QAAQ;EACJ,KAAK,EAAE,IAAI;;AAGf,WAAY;EACR,UAAU,EAAE,IAAI;;AAGpB,eAAe;EACX,gBAAgB,EAAE,KAAK;;AAG3B,MAAM;EACF,aAAa,EAAE,IAAI;;AAInB,yCAAc;EACV,WAAW,EAAE,IAAI", +"mappings": "AAAA,WAAW;EACP,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,IAAI;EAChB,gBAAgB,EAAE,OAAO;EAEzB,yBAAa;IACT,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,GAAG;EAEhB,wBAAY;IACR,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE,GAAG;EAGpB,8BAAkB;IACd,KAAK,EAAE,KAAK;IACZ,eAAe,EAAE,IAAI;EAIrB,+CAAiB;IACb,KAAK,EAAE,KAAK;EAGhB,qHAAyB;IACrB,gBAAgB,EAAE,OAAO;EAM7B,kEAAgB;IACZ,KAAK,EAAE,KAAK;IACZ,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,OAAO;EAG7B,2BAAE;IACE,UAAU,EAAE,UAAU;EAI9B,kDAAsC;IAClC,MAAM,EAAE,IAAI;EAGhB,yBAAa;IACT,OAAO,EAAE,KAAK;IAEd,gCAAM;MACF,SAAS,EAAE,GAAG;MACd,KAAK,EAAE,IAAI;;AAMnB,kBAAC;EACG,KAAK,EAAE,IAAI;;AAInB,QAAQ;EACJ,KAAK,EAAE,IAAI;EACX,+DAAc;IACV,WAAW,EAAE,GAAG;;AAIxB,WAAY;EACR,UAAU,EAAE,IAAI;;AAGpB,eAAe;EACX,gBAAgB,EAAE,KAAK;;AAG3B,MAAM;EACF,aAAa,EAAE,IAAI;;AAInB,yCAAc;EACV,WAAW,EAAE,IAAI;;AAIzB,qBAAqB;EACjB,YAAY,EAAE,GAAG", "sources": ["main.scss"], "names": [], "file": "main.css" diff --git a/app/static/app/css/main.scss b/app/static/app/css/main.scss index cb02674f..f86584a9 100644 --- a/app/static/app/css/main.scss +++ b/app/static/app/css/main.scss @@ -34,6 +34,10 @@ text-decoration: none; background-color: #2c3e50; } + + li{ + word-break: break-word; + } } .navbar-top-links li a.dropdown-toggle{ @@ -58,6 +62,9 @@ ul#side-menu.nav{ .content{ clear: both; + h1,h2,h3,h4,h5{ + padding-top: 4px; + } } .top-buffer { @@ -77,3 +84,7 @@ table.table-first-col-bold{ font-weight: bold; } } + +button i.glyphicon{ + margin-right: 4px; +} diff --git a/app/templates/app/dashboard.html b/app/templates/app/dashboard.html index a12cfe4e..18b4e923 100644 --- a/app/templates/app/dashboard.html +++ b/app/templates/app/dashboard.html @@ -1,5 +1,41 @@ {% extends "app/logged_in_base.html" %} +{% load i18n %} {% block content %} -
+ {% blocktrans %} + To get started, "{{ add_processing_node }}". A processing node is a computer running an instance of {{ nodeodm_link }} or some other software that implements this {{ api_link }}. + {% endblocktrans %} +
+ {% endwith %} + + + {% else %} + + {% if no_projects %} + {% trans 'Upload Images' as upload_images %} ++ {% blocktrans %} To create a new project, press the "{{ upload_images }}" button. {% endblocktrans %} +
+ + {% endif %} + + ++