forked from treetrnk/storygen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
158 lines (142 loc) Β· 5.94 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!doctype html>
<html ng-app='storygenApp'>
<head>
<title>storygen | by nathan hare</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta content='width=device-width, initial-scale=1' name='viewport'/>
<!---<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.min.js"></script>--->
<!---<script src="http://code.jquery.com/jquery-1.12.1.min.js"></script>--->
<link rel="stylesheet" type="text/css" href="css/jquery-ui.min.css" />
<script src="../js/jquery-3.0.0.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js"></script>
<script type="text/javascript" src="js/sortable.js"></script>
<script src="https://use.fontawesome.com/5c75cade5f.js"></script>
<link href='https://fonts.googleapis.com/css?family=Montserrat'
rel='stylesheet' type='text/css'>
<script src="js/main.js"></script>
<link href="../bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/main.css" />
<script>
$(function() {
$( "#sortable" ).sortable();
$( "#sortable" ).disableSelection();
});
$(function() {
$('#header').load('../header.html');
});
(function() {
var cx = '007454831596437075580:jo-c4rwlx1i';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
</head>
<body ng-controller="storygenCon as sg">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navebar-header">
<a class="navbar-brand" href="../">rpg stuff</a>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="../">Blog</a></li>
<li><a href="../storygen">Story Gen</a></li>
<li><a href="../fatecore">Character Sheet</a></li>
</ul>
<div class="col-md-3 col-xs-11 navbar-right" id="googlesearch">
<gcse:search></gcse:search>
</div>
<div class="text-right navbar-right" style="line-height: 45px;color:#999;">
<i class="fa fa-search"></i>
</div>
<!--
<form class="navbar-form navbar-right">
<input type="text" class="form-control" placeholder="Search...">
</form>
-->
</div>
</div>
</nav>
<div class="story">
<h1>storygen</h1>
<p id="help" ng-click="sg.toggleHelp()">?</p>
<div id="help-text" ng-hide="sg.help">
<ul>
<li>
Use the randomly generated images below as inspiration for your story.
</li>
<li>
Click on an image to reroll that image.
</li>
<li>
<a href="/rpg/blog/2016/05/27/storygen.html">More information here</a>.
</ul>
</div>
<br />
<br />
<form ng-submit="sg.regen('all')">
<span class="fa fa-minus-circle" ng-click="sg.minus()" style="font-size:40px;color:#333333;cursor:pointer;"></span>
<input type="text" value="{{sg.number}}" size="1"
ng-model="sg.number" style="position: relative;top: -8px;" />
<span class="fa fa-plus-circle" ng-click="sg.plus()" style="font-size:40px;color:#333333;cursor:pointer;"></span><br /><br />
<input type="submit" value="new story" />
</form>
<br /><br />
<span ng-model="sg.icons" id="sortable">
<img ng-repeat="icon in sg.icons" class="icon" src="{{icon.path}}"
style="background: {{icon.color}};" ng-click="sg.regen($index)"
/>
</span>
</div>
<br /><br />
<div class="footer">
This website uses icons available at
<a href="http://game-icons.net" target="_blank">Game-Icons.net</a>.
The icons were made by:
<a href="http://lorcblog.blogspot.com" target="_blank">
Lorc</a>,
<a href="http://delapouite.com" target="_blank">
Delapouite</a>,
<a href="http://ninmunanmu.com" target="_blank">
John Colburn</a>,
<a href="http://blackdogofdoom.blogspot.co.uk" target="_blank">
Felbrigg</a>,
<a href="http://www.uniquedicetowers.com" target="_blank">
John Redman</a>,
<a href="https://twitter.com/unstoppableCarl" target="_blank">
Carl Olsen</a>,
<a href="http://opengameart.org/content/95-game-icons" target="_blank">
sbed</a>,
<a href="http://forum.game-icons.net" target="_blank">
PriorBlue</a>,
<a href="http://wjbstories.blogspot.com" target="_blank">
Willdabeast</a>,
<a href="http://viscious-speed.deviantart.com" target="_blank">
Viscious Speed</a>,
<a href="http://berandas.deviantart.com" target="_blank">
Lord Berandas</a>,
<a href="http://ecesisllc.wix.com/home" target="_blank">
Irongamer</a>,
<a href="http://www.gnomosygoblins.blogspot.com" target="_blank">
HeavenlyDog</a>,
<a href="http://forum.game-icons.net" target="_blank">
Lucas</a>,
<a href="http://www.faithtoken.com" target="_blank">
Faithtoken</a>, and
<a href="https://commons.wikimedia.org" target="_blank">
Various artists</a>.
</div>
</body>
</html>