sgfa 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.txt ADDED
@@ -0,0 +1,14 @@
1
+ Simple Group of Filing Applications
2
+
3
+ Copyright (C) 2015 by Graham A. Field
4
+
5
+ See LICENSE.txt for licensing information.
6
+
7
+ This program is distributed WITHOUT ANY WARRANTY; without even the
8
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9
+
10
+ --------------------------------------------------------------------------
11
+ Description
12
+ --------------------------------------------------------------------------
13
+
14
+ Sgfa provide a group of related applications to improve filing of information.
data/bin/sgfa ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Simple Group of Filing Applications
4
+ # Command line interface top level executable
5
+ #
6
+ # Copyright (C) 2015 by Graham A. Field.
7
+ #
8
+ # See LICENSE.txt for licensing information.
9
+ #
10
+ # This program is distributed WITHOUT ANY WARRANTY; without even the
11
+ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
+
13
+ require 'sgfa/cli'
14
+
15
+ Sgfa::Cli::Sgfa.start(ARGV)
data/data/sgfa_web.css ADDED
@@ -0,0 +1,240 @@
1
+ /********************************************************************
2
+ * Simple Group of Filing Applications
3
+ * Sample Cascading Style Sheet
4
+ *
5
+ * Copyright (C) 2015 by Graham A. Field.
6
+ *
7
+ * See LICENSE.txt for licensing information.
8
+ *
9
+ * This program is distributed WITHOUT ANY WARRANTY; without even the
10
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
+ *********************************************************************/
12
+
13
+ div#sgfa_web {
14
+ font-family: sans-serif;
15
+ font-size: 10pt;
16
+ }
17
+
18
+ div#sgfa_web a {
19
+ color:blue;
20
+ text-decoration: none;
21
+ }
22
+
23
+ div#sgfa_web a:hover {
24
+ text-decoration: underline;
25
+ }
26
+
27
+
28
+ /* title bar */
29
+ div#sgfa_web div.title_bar {
30
+ width: 100%;
31
+ padding: 4px;
32
+ }
33
+
34
+ div#sgfa_web div.title_bar:after {
35
+ content: " ";
36
+ display: block;
37
+ height: 0;
38
+ clear: both;
39
+ }
40
+
41
+ div#sgfa_web div.title_bar div.title {
42
+ float: left;
43
+ font-size: 150%;
44
+ }
45
+
46
+ div#sgfa_web div.title_bar div.user {
47
+ float: right;
48
+ }
49
+
50
+ /* nav bar */
51
+ div#sgfa_web div.nav_bar {
52
+ clear: both;
53
+ position: relative;
54
+ width: 100%;
55
+ font-size: 110%;
56
+ border-bottom: solid 3px #c0c0c0;
57
+ }
58
+
59
+ div#sgfa_web div.nav_bar div {
60
+ padding: 3px;
61
+ display: inline;
62
+ }
63
+
64
+ div#sgfa_web div.nav_bar div.active {
65
+ background: #c0c0c0;
66
+ }
67
+
68
+ div#sgfa_web div.nav_bar a {
69
+ text-decoration: none;
70
+ color:darkblue;
71
+ }
72
+
73
+ /* message */
74
+ div#sgfa_web div.message {
75
+ clear: both;
76
+ width: 100%;
77
+ color: #6600ff;
78
+ font-size: 125%;
79
+ border-bottom: solid thin black;
80
+ }
81
+
82
+ /* data table */
83
+ div#sgfa_web table.data td.type {
84
+ vertical-align:top;
85
+ text-align: right;
86
+ font-weight: bold;
87
+ }
88
+
89
+ div#sgfa_web table.data td.fix {
90
+ font-family: monospace;
91
+ }
92
+
93
+ div#sgfa_web table.data td.multi pre {
94
+ vertical-align:top;
95
+ margin:0;
96
+ }
97
+
98
+ /* list table */
99
+ div#sgfa_web table.list {
100
+ width: 100%;
101
+ border-collapse: collapse;
102
+ }
103
+
104
+ div#sgfa_web table.list tr:nth-child(odd) {
105
+ background: white;
106
+ }
107
+
108
+ div#sgfa_web table.list tr:nth-child(even) {
109
+ background: #f6f6f6;
110
+ }
111
+
112
+ div#sgfa_web table.list th {
113
+ text-align: left;
114
+ color: green;
115
+ }
116
+
117
+ div#sgfa_web table.list td.hash {
118
+ font-family: monospace;
119
+ }
120
+
121
+
122
+ /* edit tables */
123
+ div#sgfa_web form.edit fieldset {
124
+ width: 98%;
125
+ margin: auto;
126
+ }
127
+
128
+ div#sgfa_web form.edit fieldset legend {
129
+ color: green;
130
+ font-weight: bold;
131
+ }
132
+
133
+ div#sgfa_web form.edit p {
134
+ clear: both;
135
+ padding: 3px;
136
+ }
137
+
138
+ div#sgfa_web form.edit label {
139
+ float: left;
140
+ width: 8em;
141
+ text-align: right;
142
+ }
143
+
144
+ /* edit tag table */
145
+ div#sgfa_web table.edit_tag th {
146
+ text-align: center;
147
+ text-decoration: underline;
148
+ }
149
+
150
+ div#sgfa_web table.edit_tag tr {
151
+ border: thick solid red;
152
+ }
153
+
154
+
155
+ /* edit file table */
156
+ div#sgfa_web table.edit_file th {
157
+ text-align: center;
158
+ text-decoration: underline;
159
+ }
160
+
161
+ div#sgfa_web table.edit_file td.fname {
162
+ min-width: 10em;
163
+ }
164
+
165
+
166
+ /* edit form */
167
+ div#sgfa_web form.edit input[type=submit] {
168
+ border: 1px solid grey;
169
+ border-radius: 5px;
170
+ padding: 2px;
171
+ background: radial-gradient(rgb(245, 245, 245), rgb(200, 200, 200));
172
+ }
173
+
174
+ div#sgfa_web form.edit textarea {
175
+ font-family: inherit;
176
+ font-size: inherit;
177
+ width: 50em;
178
+ height: 15em;
179
+ }
180
+
181
+ div#sgfa_web form.edit input.title {
182
+ font-family: inherit;
183
+ font-size: inherit;
184
+ width: 50em;
185
+ }
186
+
187
+ div#sgfa_web form.edit input.tag {
188
+ width: 15em;
189
+ }
190
+
191
+
192
+ /* entry */
193
+ div#sgfa_web div.entry_left {
194
+ float: left;
195
+ width: 80%;
196
+ }
197
+
198
+ div#sgfa_web div.mainbody div.title {
199
+ width: 100%;
200
+ font-size: 125%;
201
+ border-bottom: thin solid;
202
+ }
203
+
204
+ div#sgfa_web div.mainbody div.body {
205
+ float: left;
206
+ width: 67%;
207
+ }
208
+
209
+ div#sgfa_web div.mainbody div.sidebar {
210
+ float: right;
211
+ width: 30%;
212
+ border-left: thin solid;
213
+ }
214
+
215
+ div#sgfa_web div.mainbody div.sidebar div.time {
216
+ border-bottom: thin dotted;
217
+ }
218
+
219
+ div#sgfa_web div.mainbody div.sidebar div.history {
220
+ border-bottom: thin dotted;
221
+ }
222
+
223
+ div#sgfa_web div.mainbody div.sidebar div.tags {
224
+ border-bottom: thin dotted;
225
+ }
226
+
227
+ div#sgfa_web div.attach {
228
+ }
229
+
230
+ div#sgfa_web div.mainbody div.sidebar div.user {
231
+ border-bottom: thin dotted;
232
+ }
233
+
234
+ div#sgfa_web div.hash {
235
+ width: 100%;
236
+ clear: both;
237
+ border-top: thin solid;
238
+ font-family: monospace;
239
+ font-size: 75%;
240
+ }