Skip to content

Commit 8ace1c1

Browse files
committed
Add icons from http://fontawesome.io/
1 parent 1635c83 commit 8ace1c1

File tree

9 files changed

+428
-8
lines changed

9 files changed

+428
-8
lines changed

samples/Sample_Header.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ function getEndingNotes($writers)
117117
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
118118
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
119119
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
120+
<link rel="stylesheet" href="bootstrap/css/font-awesome.min.css" />
120121
<link rel="stylesheet" href="bootstrap/css/phpword.css" />
121122
</head>
122123
<body>
@@ -135,14 +136,14 @@ function getEndingNotes($writers)
135136
<div class="navbar-collapse collapse">
136137
<ul class="nav navbar-nav">
137138
<li class="dropdown active">
138-
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Samples
139-
<strong class="caret"></strong></a>
139+
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-code fa-lg"></i>&nbsp;Samples<strong class="caret"></strong></a>
140140
<ul class="dropdown-menu"><?php echo $files; ?></ul>
141141
</li>
142142
</ul>
143143
<ul class="nav navbar-nav navbar-right">
144-
<li><a href="https://github.com/PHPOffice/PHPWord">Github</a></li>
145-
<li><a href="http://phpword.readthedocs.org/en/develop/">Docs</a></li>
144+
<li><a href="https://github.com/PHPOffice/PHPWord"><i class="fa fa-github fa-lg" title="GitHub"></i>&nbsp;</a></li>
145+
<li><a href="http://phpword.readthedocs.org/en/develop/"><i class="fa fa-book fa-lg" title="Docs"></i>&nbsp;</a></li>
146+
<li><a href="http://twitter.com/PHPWord"><i class="fa fa-twitter fa-lg" title="Twitter"></i>&nbsp;</a></li>
146147
</ul>
147148
</div>
148149
</div>

samples/bootstrap/css/font-awesome.min.css

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/bootstrap/css/phpword.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
body {
22
padding-top: 20px;
33
padding-bottom: 20px;
4+
min-height: 1000px;
45
}
56
.navbar {
67
margin-bottom: 20px;
61.4 KB
Binary file not shown.
37.3 KB
Binary file not shown.

samples/bootstrap/fonts/fontawesome-webfont.svg

Lines changed: 414 additions & 0 deletions
Loading
78.8 KB
Binary file not shown.
43.4 KB
Binary file not shown.

samples/index.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
if (!CLI) {
44
?>
55
<div class="jumbotron">
6-
<p>Welcome to PHPWord, a pure PHP library for reading and writing word processing documents, i.e. Word (.docx), WordPad (.rtf), and Libre/OpenOffice Writer (.odt).</p>
7-
<p>Please use the menu above to browse PHPWord samples.</p>
6+
<p>Welcome to PHPWord, a library written in pure PHP that provides a set of classes to write to and read from different document file formats, i.e. Office Open XML (.docx), Open Document Format (.odt), and Rich Text Format (.rtf).</p>
7+
<p>&nbsp;</p>
88
<p>
9-
<a class="btn btn-lg btn-primary" href="https://github.com/PHPOffice/PHPWord" role="button">Fork us on Github!</a>
10-
<a class="btn btn-lg btn-primary" href="http://phpword.readthedocs.org/en/develop/" role="button">Read the Docs</a>
9+
<a class="btn btn-lg btn-primary" href="https://github.com/PHPOffice/PHPWord" role="button"><i class="fa fa-github fa-lg" title="GitHub"></i> Fork us on Github!</a>
10+
<a class="btn btn-lg btn-primary" href="http://phpword.readthedocs.org/en/develop/" role="button"><i class="fa fa-book fa-lg" title="Docs"></i> Read the Docs</a>
1111
</p>
1212
</div>
1313
<?

0 commit comments

Comments
 (0)