Skip to content

Commit

Permalink
Add icons from http://fontawesome.io/
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanlanin committed Apr 26, 2014
1 parent 1635c83 commit 8ace1c1
Show file tree
Hide file tree
Showing 9 changed files with 428 additions and 8 deletions.
9 changes: 5 additions & 4 deletions samples/Sample_Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ function getEndingNotes($writers)
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="bootstrap/css/font-awesome.min.css" />
<link rel="stylesheet" href="bootstrap/css/phpword.css" />
</head>
<body>
Expand All @@ -135,14 +136,14 @@ function getEndingNotes($writers)
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="dropdown active">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Samples
<strong class="caret"></strong></a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-code fa-lg"></i>&nbsp;Samples<strong class="caret"></strong></a>
<ul class="dropdown-menu"><?php echo $files; ?></ul>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="https://github.com/PHPOffice/PHPWord">Github</a></li>
<li><a href="http://phpword.readthedocs.org/en/develop/">Docs</a></li>
<li><a href="https://github.com/PHPOffice/PHPWord"><i class="fa fa-github fa-lg" title="GitHub"></i>&nbsp;</a></li>
<li><a href="http://phpword.readthedocs.org/en/develop/"><i class="fa fa-book fa-lg" title="Docs"></i>&nbsp;</a></li>
<li><a href="http://twitter.com/PHPWord"><i class="fa fa-twitter fa-lg" title="Twitter"></i>&nbsp;</a></li>
</ul>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions samples/bootstrap/css/font-awesome.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions samples/bootstrap/css/phpword.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
body {
padding-top: 20px;
padding-bottom: 20px;
min-height: 1000px;
}
.navbar {
margin-bottom: 20px;
Expand Down
Binary file added samples/bootstrap/fonts/FontAwesome.otf
Binary file not shown.
Binary file added samples/bootstrap/fonts/fontawesome-webfont.eot
Binary file not shown.
414 changes: 414 additions & 0 deletions samples/bootstrap/fonts/fontawesome-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/bootstrap/fonts/fontawesome-webfont.ttf
Binary file not shown.
Binary file added samples/bootstrap/fonts/fontawesome-webfont.woff
Binary file not shown.
8 changes: 4 additions & 4 deletions samples/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
if (!CLI) {
?>
<div class="jumbotron">
<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>
<p>Please use the menu above to browse PHPWord samples.</p>
<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>
<p>&nbsp;</p>
<p>
<a class="btn btn-lg btn-primary" href="https://github.com/PHPOffice/PHPWord" role="button">Fork us on Github!</a>
<a class="btn btn-lg btn-primary" href="http://phpword.readthedocs.org/en/develop/" role="button">Read the Docs</a>
<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>
<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>
</p>
</div>
<?
Expand Down

0 comments on commit 8ace1c1

Please sign in to comment.