Skip to content

Commit d47430d

Browse files
committed
style of suppurt row
1 parent e9460b1 commit d47430d

File tree

8 files changed

+81
-44
lines changed

8 files changed

+81
-44
lines changed

.DS_Store

0 Bytes
Binary file not shown.

_docs/intro.md

+8-10
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ id: intro
55
order: 1
66
---
77

8-
# TODO: outdated
9-
10-
# FHIRBase Introduction
8+
### FHIRBase Introduction
119

1210
FHIRBase is a PostgreSQL extension for storing and retrieving
1311
[FHIR resources](http://www.hl7.org/implement/standards/fhir/resources.html). You
@@ -27,7 +25,7 @@ We assume that you have successfully
2725
using Vagrant and already configured connection parameters in your
2826
PostgreSQL client.
2927

30-
## Stored Procedures as primary API
28+
### Stored Procedures as primary API
3129

3230
In SQL world it's conventional to insert data with `INSERT` statement,
3331
delete it with `DELETE`, update with `UPDATE` and so on. FHIRBase uses
@@ -46,7 +44,7 @@ resource or set of resources. But when you create, delete or modify
4644
something, you have to use corresponding stored procedures
4745
(hereinafter, we'll refer them as SP).
4846

49-
## Types
47+
### Types
5048

5149
SQL has strict type checking, so SP's arguments and return values are
5250
typed. When describing SP, we will put type of every argument in
@@ -60,7 +58,7 @@ parens. For example, if argument `cfg` has `jsonb` type, we'll write:
6058
You can take a look at
6159
[overview of standard PostgreSQL types](http://www.postgresql.org/docs/9.4/static/datatype.html#DATATYPE-TABLE).
6260

63-
## JSON and XML
61+
### JSON and XML
6462

6563
FHIR standard
6664
[allows](http://www.hl7.org/implement/standards/fhir/formats.html) to
@@ -81,7 +79,7 @@ several advantages of such decision:
8179
* If you need an XML representation of a resource, you can always get
8280
it from JSON in your application's code.
8381

84-
## Passing JSON to a SP
82+
### Passing JSON to a SP
8583

8684
When SP's argument has type `jsonb`, that means you have to pass some
8785
JSON as a value. To do this, you need to represent JSON as
@@ -166,7 +164,7 @@ need to "remember" (copy-paste) this identifier for later use.
166164
Copy-paste this ID somewhere, because we'll need it in the
167165
next step.
168166
169-
## Reading resources
167+
### Reading resources
170168
171169
To read latest version of Resource use **fhir.read** SP:
172170
@@ -241,7 +239,7 @@ Generally, `SELECT`ing data from `resource` table by logical ID and
241239
resource type is as fast as `SELECT`ing from inherited table by
242240
logical ID only.
243241
244-
## Updating resource
242+
### Updating resource
245243
246244
To update resource data use **fhir_update** SP:
247245
@@ -342,7 +340,7 @@ SELECT fhir_vread(
342340
[... skipped ...]
343341
```
344342

345-
## Searching Resources
343+
### Searching Resources
346344

347345
[Search](http://www.hl7.org/implement/standards/fhir/search.html) is
348346
the most tricky part of FHIR Standard. FHIRBase implements most of

_layouts/default.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
<span class="icon-bar"></span>
3333
<span class="icon-bar"></span>
3434
</button>
35-
<a class="navbar-brand" href="#">FHIRbase</a>
35+
<a class="navbar-brand" href="index.html"><span class="icon">L</span> FHIRbase</a>
3636
</div>
3737

3838
<!-- Collect the nav links, forms, and other content for toggling -->
3939
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
4040
<ul class="nav navbar-nav navbar-right">
4141
<li {% if page.url == '/index.html' %}class="active"{% endif %}><a href="index.html">Overview</a></li>
42-
<li {% if page.url == '/demo.html' %}class="active"{% endif %}><a href="">Demo</a></li>
42+
<li {% if page.url == '/demo.html' %}class="active"{% endif %}><a href="http://hostel.coreos.health-samurai.io:10001/fhirbase-demo/index.html">Demo</a></li>
4343
<li {% if page.url == '/gstarted.html' %}class="active"{% endif %}><a href="gstarted.html">Getting Started</a></li>
4444
<li {% if page.url == '/docs.html' %}class="active"{% endif %}><a href="docs.html">Docs</a></li>
4545
</ul>
@@ -56,12 +56,12 @@
5656
<h3>FHIRbase</h3>
5757
<p>FHIRbase is Open Source storage and released under the terms of the MIT License.</p>
5858
<br>
59-
<a href="health-samurai.io">Project is drived by Health Samurai Team</a>
6059
</div>
6160
<div class="col-md-6 text-right">
6261
<h3>Links</h3>
6362
<ul class="list-unstyled">
6463
<li><a href="">FHIRbase Demo</a></li>
64+
<li><a href="">FHIRbase Community</a></li>
6565
<li><a href="">FHIRbase on GitHub</a></li>
6666
<li><a href="">FHIRbase on Dockerhub</a></li>
6767
<li><a href="">FHIRbase twitter</a></li>

css/custom.css

+54-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@ body{
1212
font-weight: 300;
1313
}
1414

15+
@font-face {
16+
font-family: 'LogosFont';
17+
src: url('../fonts/LogosFont.ttf');
18+
font-weight: normal;
19+
font-style: normal;
20+
}
21+
22+
.icon {
23+
display: inline-block;
24+
font-family: LogosFont ;
25+
font-style: normal;
26+
font-weight: normal;
27+
line-height: 1;
28+
-webkit-font-smoothing: antialiased;
29+
-moz-osx-font-smoothing: grayscale;
30+
}
1531

1632
.navbar{
1733
background-color: #fafafa !important;
@@ -23,6 +39,11 @@ body{
2339

2440
a.navbar-brand{
2541
font-size: 24px;
42+
padding: 0px 15px;
43+
}
44+
45+
.navbar span{
46+
font-size: 40px;
2647
}
2748

2849
nav a{
@@ -52,6 +73,24 @@ nav a{
5273
color: white;
5374
}
5475

76+
.btn-community{
77+
background-color: transparent;
78+
border: 1px solid #26a69a;
79+
border-radius: 2px;
80+
min-width: 150px;
81+
color: #26a69a;
82+
box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
83+
margin: 0px 5px;
84+
}
85+
86+
.btn-community:hover{
87+
background-color: transparent;
88+
border: 1px solid #2bbbad;
89+
border-radius: 2px;
90+
min-width: 150px;
91+
color: #2bbbad;
92+
}
93+
5594
footer{
5695
/* position: absolute; */
5796
bottom: 0;
@@ -115,7 +154,6 @@ footer a:hover{
115154
}
116155

117156
.offer p{
118-
width: 40%;
119157
margin-left: auto;
120158
margin-right: auto;
121159
}
@@ -147,5 +185,20 @@ ul.subnav-list li{
147185
padding: 40px 0px;
148186
}
149187

188+
.docs-content{
189+
border-right: 1px solid #eee;
190+
padding-right: 40px;
191+
}
192+
193+
.docs-content h3{
194+
padding-top: 20px;
195+
padding-bottom: 10px;
196+
margin-top: 0px;
197+
}
198+
199+
.docs-content p{
200+
font-size: 16px;
201+
}
202+
150203

151204

docs.html

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@
55

66
{% assign docs = site.docs | sort: 'order' %}
77
<div class="container gstarted">
8-
<div class="col-md-9">
8+
<div class="col-md-9 docs-content">
99
{% for instruction in docs %}
10-
<h3 id="{{ instruction.id }}">
11-
{{instruction.title}}
12-
</h3>
1310
{{ instruction.content }}
1411
<hr>
1512
<br>
@@ -20,7 +17,6 @@ <h3 id="{{ instruction.id }}">
2017
{% for instruction in docs %}
2118
<li><a href="#{{instruction.id}}">{{instruction.title}}</a></li>
2219
{% endfor %}
23-
2420
</ul>
2521
</div>
2622
</div>

fonts/LogosFont.ttf

32 KB
Binary file not shown.

gstarted.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
{% assign instructions = site.instructions | sort: 'order' %}
77
<div class="container gstarted">
8-
<div class="col-md-9">
8+
<div class="col-md-9 docs-content">
99
{% for instruction in instructions %}
1010
<h3 id="{{ instruction.id }}">
1111
{{instruction.title}}

index.html

+14-24
Original file line numberDiff line numberDiff line change
@@ -56,36 +56,26 @@ <h2>Face of FHIRbase is Simple API</h2>
5656

5757
<div class="row row-content">
5858
<div class="container calltoaction">
59-
<h2>Try FHIRbase now</h2>
60-
<br>
61-
<div class="col-md-6">
62-
<p>You can try FHIRbase by DEMO</p>
63-
<hr>
64-
<a href="" class="btn btn-default btn-lg">TRY NOW</a>
65-
</div>
66-
<div class="col-md-6">
67-
<p>You can try FHIRbase by installation</p>
68-
<hr>
69-
<a href="gstarted.html" class="btn btn-default btn-lg">INSTALL</a>
70-
</div>
71-
<p></p>
59+
<h1>Relational Storage for Health IT Solutions</h1>
60+
<p>Open Source, based on <a href="http://hl7.org/implement/standards/fhir/">FHIR Standard</a> and ready to Production Usage</p>
61+
<br>
62+
<a href="" class="btn btn-default btn-lg">TRY NOW</a>
63+
<a href="gstarted.html" class="btn btn-default btn-lg">INSTALL</a>
7264
</div>
7365
</div>
7466

7567
<!-- Community & Offer -->
7668
<div class="row row-content offer center">
7769
<div class="container">
78-
<h2>FHIRbase Community</h2>
79-
<p>We are actively developing the FHIRbase and are interested in its real use.<br>Join the our community.</p>
80-
<a class="btn btn-default btn-lg">JOIN</a>
81-
</div>
82-
</div>
83-
84-
<div class="row row-content offer center">
85-
<div class="container">
86-
<h2>Consulting from Health Samurai</h2>
87-
<p></p>
88-
<a class="btn btn-default btn-lg">ORDER</a>
70+
<h2>Community</h2>
71+
<br>
72+
<div class="">
73+
<p>The primary forum for discussing FHIRbase is the <a href="">Google Group</a> - please join us!</p>
74+
<br>
75+
<a href="gstarted.html" class="btn btn-community btn-lg">JOIN</a>
76+
<hr>
77+
<p><a href="http://health-samurai.io" target="_blank">Health Samurai Team</a>, providers of enterprise support for FHIRbase</p>
78+
</div>
8979
</div>
9080
</div>
9181
</main>

0 commit comments

Comments
 (0)