Skip to content

Commit 4df9f6f

Browse files
committed
UI headers and docker php setup
1 parent bccaf9f commit 4df9f6f

10 files changed

+60
-11
lines changed

Diff for: docker-compose.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: '3.8'
2+
3+
services:
4+
web:
5+
build: docker
6+
volumes:
7+
- .:/var/www/html
8+
- ./docker/boost_config_local.php:/var/www/html/common/code/boost_config_local.php
9+
- /opt/www/shared:/opt/www/shared
10+
ports:
11+
- "8080:80"

Diff for: docker/Dockerfile.txt

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Use the same base image as nibrev/php-5.3-apache
2+
FROM nibrev/php-5.3-apache
3+
4+
RUN docker-php-ext-install mysql
5+
RUN a2enmod headers rewrite expires deflate filter setenvif include
6+

Diff for: docker/boost_config_local.php

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?php
2+
define('BOOST_WEBSITE_SHARED_DIR', '/opt/www/shared');
3+
define('STATIC_DIR', '/opt/www/shared/archives/live');
4+
?>

Diff for: docker/download-archives.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
BOOST_WEBSITE_SHARED_DIR=/opt/www/shared
4+
mkdir -p $BOOST_WEBSITE_SHARED_DIR/archives/live
5+
cd $BOOST_WEBSITE_SHARED_DIR/archives/live
6+
wget https://archives.boost.io/release/1.85.0/source/boost_1_85_0.tar.gz
7+
tar -xvf boost_1_85_0.tar.gz

Diff for: style-v2/css_0/content.css

100644100755
-4
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
3737
margin: 0em;
3838
color: #000000;
39-
font-family: "Times New Roman",serif;
40-
font-variant: small-caps;
4139
clear: both;
4240
}
4341
/* Titles for sections. */
@@ -547,7 +545,5 @@
547545
caption-side: top;
548546
text-align: left;
549547
margin: 0.5em 0;
550-
font-family: 'Times New Roman', serif;
551-
font-variant: small-caps;
552548
font-size: 115%;
553549
}

Diff for: style-v2/css_0/global.css

100644100755
File mode changed.

Diff for: style-v2/css_0/header.css

100644100755
+27-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,35 @@
55
*/
66
/* Heading, title and logo. */
77

8+
#heading {
9+
padding-left: 10px;
10+
padding-right: 10px;
11+
background-color: rgb(229, 231, 235);
12+
}
13+
14+
.heading-inner {
15+
background-color: rgb(229, 231, 235);
16+
padding: 6px 8px;
17+
/*border-bottom: 1px solid rgb(209, 213, 219); << For when it goes to full grey bkgrnd */
18+
}
19+
20+
.searchButton {
21+
background-color:transparent;
22+
outline:none;
23+
border:none;
24+
float:right;
25+
height:25px;
26+
width: 25px;
27+
cursor:pointer;
28+
}
29+
830
/* Position the common heading. This appears on pages which have their own
931
* markup. Since the body might have a margin this has to be absolutely
1032
* positioned. The spacer then pushes the page content down so that it
11-
* doesn't fall underneath the heading. */
12-
#boost-common-heading-doc {
33+
* doesn't fall underneath the heading.
34+
35+
36+
/* #boost-common-heading-doc {
1337
position: absolute;
1438
left: 0;
1539
top: 0;
@@ -146,4 +170,4 @@ a.boost-common-header-inner:hover {
146170
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
147171
margin-left: 300px;
148172
}
149-
}
173+
}*/

Diff for: style-v2/css_0/sidebar.css

100644100755
+2-2
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
#sidebar #menu ul li {
3737
}
3838
#sidebar #menu ul li h4 {
39-
font-family: "Times New Roman",serif;
40-
font-variant: small-caps;
4139
margin: 0em 0em 0.25em 0em;
4240
border: #CCCCCC 1px solid;
4341
}
4442
#sidebar #menu ul li h4 a {
43+
font-weight:500;
44+
font-variant:none;
4545
}
4646
#sidebar #menu ul li ul {
4747
list-style-type: none;

Diff for: style-v2/css_0/theme_grass/header.css

100644100755
+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77
/* Heading, title and logo. */
8+
/*
89
#heading,
910
#boost-common-heading-doc {
1011
background: #4F744D url(header-bg.png) repeat-x top left;
@@ -27,7 +28,7 @@
2728
}
2829
2930
/* Links in the header. */
30-
#boost-common-heading-doc .heading-quote a,
31+
/*#boost-common-heading-doc .heading-quote a,
3132
#heading .heading-quote a {
3233
border-bottom: 1px solid #BBBBBB;
3334
}

Diff for: style-v2/css_0/theme_grass/theme.css

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@import url(header.css);
1010

1111
body {
12-
background: #FFFFFF;
12+
background: #fff;
1313
color: #000000;
1414
}
1515

0 commit comments

Comments
 (0)