Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heading changes #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added img/AoR_background_page.jpg
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 img/EoE_background_page.jpg
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 img/FaD_background_page.jpg
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 img/right_page.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/right_page.png
Binary file not shown.
43 changes: 34 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,27 +1,43 @@
<html lang="en" >
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/styles/swrpgaor.min.css">
<link rel="stylesheet" href="/styles/swrpg.min.css">
<link rel="stylesheet" href="/styles/examples.css">
<title>SWRPG AngularJS Directives by Sarah Bailey</title>
</head>
<body ng-app="myApp" ng-cloak>
<h1>SWRPG AngularJS Directives</h1>
<h2>What is it?</h2>
<p>
This project is a set of CSS and AngularJS components that enable webmasters to theme their webpages as the FFG Star Wars RPG books, helping them on focusing on their custom content following the same style on the books.
</p>
<p>These documents are a WIP. Please view the source code for a full list of directives and attributes.</p>

<h3>Table of Contents</h3>
<ul>
<li><a href="#download">Download</a></li>
<li><a href="#setup">Setup</a></li>
<li><a href="#typography">Typography</a></li>
<li><a href="#statbars">Stat Bars</a></li>
<li><a href="#wrappers">Containers</a></li>
</ul>

<p>These documents are a WIP. Please view the source code for a full list of directives and attributes.</p>
<h3>Chose your theme</h3>
<div ng-controller="ThemeController">
<theme-switcher urls="[theme.url]"></theme-switcher>
<ul class="dropdown-menu" role="menu">
<li ng-repeat="theme in themes"><a ng-href="javascript:{{currentLocation}}" ng-click="setTheme(theme)">{{theme.name}}</a> - {{theme.description}}</li>
</ul>
</div>

<h2 id="download">Download</h2>
<p>You can get SWRPG AngularJS Directive on our <a href="https://github.com/TK20466/RPG-Web-Components/releases">Github Project</a> page. For a quick-start, just download the zip file of the latest version. If you want to mess around with our source code, you can download it or even clone and/or fork it.</p>

<h2 id="setup">Setup</h2>
<p>The SWRPG AngularJS Directives required AngularJS to run. Simply reference both swaor.min.js and swaor.min.css in your project. They must be refereneced <i>after</i> AngularJS core is referenced.
Finally, you'll need to reference the module in your main angularJS app, for example: <code>var app = angular.module("myApp", ["swaor"]);</code></p>
<p>After downloading the zip file, extract it into the desired folder, normally the folder that will contain the html files you'll be using it. The SWRPG AngularJS Directives requires AngularJS to run. Simply reference both swaor.min.js and swaor.min.css in your project. They must be refereneced <i>after</i> AngularJS core is referenced.
Finally, you'll need to reference the module in your main angularJS app, for example:</p> <code>var app = angular.module("myApp", ["swaor"]);</code>

<h5>Quick-start Example</h5>
<h5>Full Quick-start Example</h5>
<pre>
<code>
&lt;!DOCTYPE html&gt;
Expand Down Expand Up @@ -50,6 +66,7 @@ <h3>Basic typography</h3>
<code>
&lt;b&gt;Bold Text&lt;/b&gt;
&lt;i&gt;Italic Text&lt;/i&gt;
&lt;h6&gt;Heading 6&lt;/h6&gt;
&lt;h5&gt;Heading 5&lt;/h5&gt;
&lt;h4&gt;Heading 4&lt;/h4&gt;
&lt;h3&gt;Heading 3&lt;/h3&gt;
Expand All @@ -60,6 +77,7 @@ <h3>Basic typography</h3>

<b>Bold Text</b><br />
<i>Italic Text</i>
<h6>Heading 6</h6>
<h5>Heading 5</h5>
<h4>Heading 4</h4>
<h3>Heading 3</h3>
Expand Down Expand Up @@ -197,8 +215,9 @@ <h3>Tables</h3>
<p>Tables add a nice flare to your documents, letting you organize suggestions, results, or other information in a handy and visually stimulating way. It is highly suggested that you use the <a href="https://github.com/awerlang/angular-responsive-tables">Angular Responsive Table</a> plugin to make your tables pivot on mobile views such as phones.</p>
<pre>
<code>
&lt;h5&gt;Table 1 - 1: Event Seeds&lt;/h5&gt;

&lt;table&gt;
&lt;caption&gt;Table 1 - 1: Event Seeds&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Event Seed&lt;/th&gt;
Expand Down Expand Up @@ -232,8 +251,8 @@ <h3>Tables</h3>
</code>
</pre>

<h5>Table 1 - 1: Event Seeds</h5>
<table>
<caption>Table 1 - 1: Event Seeds</caption>
<thead>
<tr>
<th>Event Seed</th>
Expand Down Expand Up @@ -273,11 +292,17 @@ <h5>Table 1 - 1: Event Seeds</h5>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-aria.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-messages.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-route.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ngStorage/0.3.6/ngStorage.min.js"></script>

<!-- Angular Material Library -->

<script src="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.1/angular-material.min.js"></script>
<script src="/scripts/swrpgaor.min.js"></script>
<script src="/scripts/swrpgwc.min.js"></script>
<script>
var app = angular.module("myApp", ['swaor'])
var app = angular.module("myApp", ['swrpgwc']);

</script>



</html>
1 change: 0 additions & 1 deletion scripts/swrpgaor.min.js

This file was deleted.

Loading