about summary refs log tree commit diff stats
path: root/series/trunk/theme
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-09-10 21:06:49 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-09-10 21:06:49 +0000
commit44c3bc48b5db7b3dc6517d2b073a55af5d4b52db (patch)
treea48f63061f3cfe5427ce1bc313147cf6be0e739a /series/trunk/theme
parenta9a796498285358e7a2f1fde5043e4015de5db70 (diff)
downloadinstadisc-44c3bc48b5db7b3dc6517d2b073a55af5d4b52db.tar.gz
instadisc-44c3bc48b5db7b3dc6517d2b073a55af5d4b52db.tar.bz2
instadisc-44c3bc48b5db7b3dc6517d2b073a55af5d4b52db.zip
Series: Moved around directory structure
Refs #55
Diffstat (limited to 'series/trunk/theme')
-rw-r--r--series/trunk/theme/addedsub.tpl13
-rw-r--r--series/trunk/theme/addsub.tpl104
-rw-r--r--series/trunk/theme/changedpassword.tpl13
-rw-r--r--series/trunk/theme/changepassword.tpl74
-rw-r--r--series/trunk/theme/index.tpl10
-rw-r--r--series/trunk/theme/loggedin.tpl14
-rw-r--r--series/trunk/theme/login.tpl61
-rw-r--r--series/trunk/theme/main.tpl13
-rw-r--r--series/trunk/theme/uniform.css268
9 files changed, 570 insertions, 0 deletions
diff --git a/series/trunk/theme/addedsub.tpl b/series/trunk/theme/addedsub.tpl new file mode 100644 index 0000000..5bf2faa --- /dev/null +++ b/series/trunk/theme/addedsub.tpl
@@ -0,0 +1,13 @@
1<HTML>
2 <HEAD>
3 <TITLE><!--SITENAME--> InstaDisc Series Control</TITLE>
4 </HEAD>
5
6 <BODY>
7 <CENTER>
8 <H1>InstaDisc Add Subscription</H1>
9
10 <P>You've successfully added a subscription! <A HREF="admin.php">Back to the ACP</A>
11 </CENTER>
12 </BODY>
13</HTML>
diff --git a/series/trunk/theme/addsub.tpl b/series/trunk/theme/addsub.tpl new file mode 100644 index 0000000..f16cee1 --- /dev/null +++ b/series/trunk/theme/addsub.tpl
@@ -0,0 +1,104 @@
1<HTML>
2 <HEAD>
3 <TITLE><!--SITENAME--> InstaDisc Series Control</TITLE>
4 <LINK REL="stylesheet" TYPE="text/css" HREF="theme/uniform.css">
5 </HEAD>
6
7 <BODY>
8 <CENTER>
9 <H1>InstaDisc Add Subscription</H1>
10
11 <P>If you would like to add a new subscription to Series Control, please fill out the form below.
12 </CENTER>
13
14 <FORM CLASS="uniform" ACTION="./admin.php?id=addsub&amp;submit=" METHOD="POST">
15
16 <!--BEGIN ERROR-->
17 <DIV ID="errorMsg">Uh oh! Validation errors!<P>
18 <OL>
19 <!--END ERROR-->
20
21 <!--BEGIN ERRORS-->
22 <LI><A HREF="#error<!--ERRORS.NAME-->"><!--ERRORS.MSG--></A></LI>
23 <!--END ERRORS-->
24
25 <!--BEGIN ERROR-->
26 </OL>
27 </DIV>
28 <!--END ERROR-->
29
30 <FIELDSET CLASS="inlineLabels">
31 <LEGEND>Series Control Info</LEGEND>
32
33 <DIV CLASS="ctrlHolder<!--ID_ERR-->">
34 <!--BEGIN ID_ERRS-->
35 <P ID="error<!--ID_ERRS.NAME-->" CLASS="errorField"><EM>*</EM>
36 <!--ID_ERRS.MSG-->
37 </P>
38 <!--END ID_ERRS-->
39
40 <LABEL FOR="id"><EM>*</EM> Subscription ID: </LABEL>
41 <INPUT TYPE="text" ID="id" NAME="id" CLASS="textInput" VALUE="<!--ID-->">
42
43 <P CLASS="formHint">This is a short, unique string used to identify this subscription in Series Control.</P>
44 </DIV>
45 </FIELDSET>
46
47 <FIELDSET CLASS="inlineLabels">
48 <LEGEND>Subscription Info</LEGEND>
49
50 <DIV CLASS="ctrlHolder<!--TITLE_ERR-->">
51 <!--BEGIN TITLE_ERRS-->
52 <P ID="error<!--TITLE_ERRS.NAME-->" CLASS="errorField"><EM>*</EM>
53 <!--TITLE_ERRS.MSG-->
54 </P>
55 <!--END TITLE_ERRS-->
56
57 <LABEL FOR="title"><EM>*</EM> Title: </LABEL>
58 <INPUT TYPE="text" ID="title" NAME="title" CLASS="textInput" VALUE="<!--TITLE-->">
59 </DIV>
60
61 <DIV CLASS="ctrlHolder<!--URL_ERR-->">
62 <!--BEGIN URL_ERRS-->
63 <P ID="error<!--URL_ERRS.NAME-->" CLASS="errorField"><EM>*</EM>
64 <!--URL_ERRS.MSG-->
65 </P>
66 <!--END URL_ERRS-->
67
68 <LABEL FOR="url"><EM>*</EM> Subscription URL: </LABEL>
69 <INPUT TYPE="text" ID="url" NAME="url" CLASS="textInput" VALUE="<!--URL-->">
70
71 <P CLASS="formHint">This is a unique URL used to identify this subscription on the Client.</P>
72 </DIV>
73
74 <DIV CLASS="ctrlHolder<!--CATEGORY_ERR-->">
75 <!--BEGIN CATEGORY_ERRS-->
76 <P ID="error<!--CATEGORY_ERRS.NAME-->" CLASS="errorField"><EM>*</EM>
77 <!--CATEGORY_ERRS.MSG-->
78 </P>
79 <!--END CATEGORY_ERRS-->
80
81 <LABEL FOR="category"><EM>*</EM> Category: </LABEL>
82 <INPUT TYPE="text" ID="category" NAME="category" CLASS="textInput" VALUE="<!--CATEGORY-->">
83 </DIV>
84
85 <DIV CLASS="ctrlHolder<!--PASSWORD_ERR-->">
86 <!--BEGIN PASSWORD_ERRS-->
87 <P ID="error<!--PASSWORD_ERRS.NAME-->" CLASS="errorField"><EM>*</EM>
88 <!--PASSWORD_ERRS.MSG-->
89 </P>
90 <!--END PASSWORD_ERRS-->
91
92 <LABEL FOR="password">Password: </LABEL>
93 <INPUT TYPE="password" ID="password" NAME="password" CLASS="textInput" VALUE="<!--PASSWORD-->">
94
95 <P CLASS="formHint">If this subscription is encrypted, enter it's password here. Otherwise, leave it blank.</P>
96 </DIV>
97 </FIELDSET>
98
99 <DIV CLASS="buttonHolder">
100 <INPUT TYPE="submit" NAME="submit" VALUE="Submit">
101 </DIV>
102 </FORM>
103 </BODY>
104</HTML>
diff --git a/series/trunk/theme/changedpassword.tpl b/series/trunk/theme/changedpassword.tpl new file mode 100644 index 0000000..9d5b153 --- /dev/null +++ b/series/trunk/theme/changedpassword.tpl
@@ -0,0 +1,13 @@
1<HTML>
2 <HEAD>
3 <TITLE><!--SITENAME--> InstaDisc Series Control</TITLE>
4 </HEAD>
5
6 <BODY>
7 <CENTER>
8 <H1>InstaDisc Change Password</H1>
9
10 <P>You've sucessfully changed your password. <A HREF="admin.php">Return to the ACP</A>
11 </CENTER>
12 </BODY>
13</HTML>
diff --git a/series/trunk/theme/changepassword.tpl b/series/trunk/theme/changepassword.tpl new file mode 100644 index 0000000..50ae3c6 --- /dev/null +++ b/series/trunk/theme/changepassword.tpl
@@ -0,0 +1,74 @@
1<HTML>
2 <HEAD>
3 <TITLE><!--SITENAME--> InstaDisc Series Control</TITLE>
4 <LINK REL="stylesheet" TYPE="text/css" HREF="theme/uniform.css">
5 </HEAD>
6
7 <BODY>
8 <CENTER>
9 <H1>InstaDisc Change Password</H1>
10
11 <P>If you would like to change your password, please fill out the form below.
12 </CENTER>
13
14 <FORM CLASS="uniform" ACTION="./admin.php?id=chpwd&amp;submit=" METHOD="POST">
15
16 <!--BEGIN ERROR-->
17 <DIV ID="errorMsg">Uh oh! Validation errors!<P>
18 <OL>
19 <!--END ERROR-->
20
21 <!--BEGIN ERRORS-->
22 <LI><A HREF="#error<!--ERRORS.NAME-->"><!--ERRORS.MSG--></A></LI>
23 <!--END ERRORS-->
24
25 <!--BEGIN ERROR-->
26 </OL>
27 </DIV>
28 <!--END ERROR-->
29
30 <FIELDSET CLASS="inlineLabels">
31 <LEGEND>Password Details</LEGEND>
32
33 <DIV CLASS="ctrlHolder<!--OLD_ERR-->">
34 <!--BEGIN OLD_ERRS-->
35 <P ID="error<!--OLD_ERRS.NAME-->" CLASS="errorField"><EM>*</EM>
36 <!--OLD_ERRS.MSG-->
37 </P>
38 <!--END OLD_ERRS-->
39
40 <LABEL FOR="old"><EM>*</EM> Old Password: </LABEL>
41 <INPUT TYPE="password" ID="old" NAME="old" CLASS="textInput" VALUE="<!--OLD-->">
42 </DIV>
43
44 <DIV CLASS="ctrlHolder<!--NEW_ERR-->">
45 <!--BEGIN NEW_ERRS-->
46 <P ID="error<!--NEW_ERRS.NAME-->" CLASS="errorField"><EM>*</EM>
47 <!--NEW_ERRS.MSG-->
48 </P>
49 <!--END NEW_ERRS-->
50
51 <LABEL FOR="new"><EM>*</EM> New Password: </LABEL>
52 <INPUT TYPE="password" ID="new" NAME="new" CLASS="textInput" VALUE="<!--NEW-->">
53 </DIV>
54
55 <DIV CLASS="ctrlHolder<!--EMAIL_ERR-->">
56 <!--BEGIN CONFIRM_ERRS-->
57 <P ID="error<!--CONFIRM_ERRS.NAME-->" CLASS="errorField"><EM>*</EM>
58 <!--CONFIRM_ERRS.MSG-->
59 </P>
60 <!--END CONFIRM_ERRS-->
61
62 <LABEL FOR="confirm"><EM>*</EM> Confirm New Password: </LABEL>
63 <INPUT TYPE="password" ID="confirm" NAME="confirm" CLASS="textInput" VALUE="<!--CONFIRM-->">
64
65 <P CLASS="formHint">Please re-type your new password</P>
66 </DIV>
67 </FIELDSET>
68
69 <DIV CLASS="buttonHolder">
70 <INPUT TYPE="submit" NAME="submit" VALUE="Submit">
71 </DIV>
72 </FORM>
73 </BODY>
74</HTML>
diff --git a/series/trunk/theme/index.tpl b/series/trunk/theme/index.tpl new file mode 100644 index 0000000..4bef7e6 --- /dev/null +++ b/series/trunk/theme/index.tpl
@@ -0,0 +1,10 @@
1<CENTER>
2<H1><!--SITENAME--></H1><P>
3<H2>Subscriptions Available</H2>
4
5<UL>
6 <!--BEGIN SUBSCRIPTIONS-->
7 <LI><A HREF="subscription.php?id=<!--SUBSCRIPTIONS.IDENTITY-->"><!--SUBSCRIPTIONS.IDENTITY--></A> - <!--SUBSCRIPTIONS.TITLE--> (<!--SUBSCRIPTIONS.CATEGORY-->)</LI>
8 <!--END SUBSCRIPTIONS-->
9</UL>
10</CENTER>
diff --git a/series/trunk/theme/loggedin.tpl b/series/trunk/theme/loggedin.tpl new file mode 100644 index 0000000..b5e317a --- /dev/null +++ b/series/trunk/theme/loggedin.tpl
@@ -0,0 +1,14 @@
1<HTML>
2 <HEAD>
3 <TITLE><!--SITENAME--> InstaDisc Series Control</TITLE>
4 </HEAD>
5
6 <BODY>
7 <CENTER>
8 <H1>InstaDisc Sign-in</H1>
9
10 <P>Thank you for logging in. <A HREF="admin.php">You may now procede to the ACP</A>
11 </CENTER>
12 </BODY>
13</HTML>
14
diff --git a/series/trunk/theme/login.tpl b/series/trunk/theme/login.tpl new file mode 100644 index 0000000..2cc2a82 --- /dev/null +++ b/series/trunk/theme/login.tpl
@@ -0,0 +1,61 @@
1<HTML>
2 <HEAD>
3 <TITLE><!--SITENAME--> InstaDisc Series Control</TITLE>
4 <LINK REL="stylesheet" TYPE="text/css" HREF="theme/uniform.css">
5 </HEAD>
6
7 <BODY>
8 <CENTER>
9 <H1>InstaDisc Sign-in</H1>
10
11 <P>If you are the administrator of this Series Control, feel free to login here.
12 </CENTER>
13
14 <FORM CLASS="uniform" ACTION="./admin.php?id=login&amp;submit=" METHOD="POST">
15
16 <!--BEGIN ERROR-->
17 <DIV ID="errorMsg">Uh oh! Validation errors!<P>
18 <OL>
19 <!--END ERROR-->
20
21 <!--BEGIN ERRORS-->
22 <LI><A HREF="#error<!--ERRORS.NAME-->"><!--ERRORS.MSG--></A></LI>
23 <!--END ERRORS-->
24
25 <!--BEGIN ERROR-->
26 </OL>
27 </DIV>
28 <!--END ERROR-->
29
30 <FIELDSET CLASS="inlineLabels">
31 <LEGEND>User Details</LEGEND>
32
33 <DIV CLASS="ctrlHolder<!--USERNAME_ERR-->">
34 <!--BEGIN USERNAME_ERRS-->
35 <P ID="error<!--USERNAME_ERRS.NAME-->" CLASS="errorField"><EM>*</EM>
36 <!--USERNAME_ERRS.MSG-->
37 </P>
38 <!--END USERNAME_ERRS-->
39
40 <LABEL FOR="username"><EM>*</EM> Username: </LABEL>
41 <INPUT TYPE="text" ID="username" NAME="username" CLASS="textInput" VALUE="<!--USERNAME-->">
42 </DIV>
43
44 <DIV CLASS="ctrlHolder<!--PASSWORD_ERR-->">
45 <!--BEGIN PASSWORD_ERRS-->
46 <P ID="error<!--PASSWORD_ERRS.NAME-->" CLASS="errorField"><EM>*</EM>
47 <!--PASSWORD_ERRS.MSG-->
48 </P>
49 <!--END PASSWORD_ERRS-->
50
51 <LABEL FOR="password"><EM>*</EM> Password: </LABEL>
52 <INPUT TYPE="password" ID="password" NAME="password" CLASS="textInput" VALUE="<!--PASSWORD-->">
53 </DIV>
54 </FIELDSET>
55
56 <DIV CLASS="buttonHolder">
57 <INPUT TYPE="submit" NAME="submit" VALUE="Submit">
58 </DIV>
59 </FORM>
60 </BODY>
61</HTML>
diff --git a/series/trunk/theme/main.tpl b/series/trunk/theme/main.tpl new file mode 100644 index 0000000..982be74 --- /dev/null +++ b/series/trunk/theme/main.tpl
@@ -0,0 +1,13 @@
1<CENTER>
2<H1><!--SITENAME--></H2><P>
3<H2>Series Control ACP</H2><P>
4
5Here are some actions you can preform:
6
7<UL>
8 <LI><A HREF="admin.php?id=chpwd">Change your Password</A></LI>
9 <LI><A HREF="admin.php?id=addsub">Add a new Subscription</A></LI>
10 <LI><A HREF="admin.php?id=mansub">Manage subscriptions</A></LI>
11 <LI><A HREF="admin.php?id=logout">Log out</A></LI>
12</UL>
13</CENTER>
diff --git a/series/trunk/theme/uniform.css b/series/trunk/theme/uniform.css new file mode 100644 index 0000000..ae810cb --- /dev/null +++ b/series/trunk/theme/uniform.css
@@ -0,0 +1,268 @@
1/* uniForm */
2 .uniForm{
3 margin:0; padding:0;
4 position:relative;
5 width:100%;
6 /* user prefs */
7 padding:10px 0;
8 }
9
10 /* Some generals */
11 .uniForm fieldset{
12 border:none;
13 margin:0; padding:0;
14 /* user prefs */
15 margin:0 0 7px 0; padding:0 0 10px 0;
16 border-bottom:1px solid #efefef;
17 }
18 .uniForm fieldset legend{
19 color:#000; /* Reset IE */
20 margin:0; padding:0;
21 /* user prefs */
22 margin:0 0 .5em 0;
23 font:bold small-caps 100%/100% "lucida grande", "lucida sans unicode", "trebuchet ms", arial, verdana, sans-serif;
24 letter-spacing:.1em;
25 color:#93b5be;
26 }
27
28 .ctrlHolder{ /* This is the main unit that contains our form "modules" */
29 overflow:hidden;
30 margin:0; padding:0;
31 clear:both;
32 /* user prefs */
33 background:#f9f9f9;
34 margin:0; padding:7px 4px;
35 }
36
37 .buttonHolder{
38 overflow:hidden;
39 clear:both;
40 /* user prefs */
41 background:#f9f9f9;
42 border:1px solid #ccc; border-width:1px 0;
43 margin:10px 0 0 0; padding:10px;
44 text-align:right;
45 }
46 .resetButton{
47 }
48 .submitButton{
49 }
50
51 .uniForm .inlineLabel{
52 width:auto;
53 float:none;
54 display:inline;
55 /* user prefs */
56 margin:0 2em 0 0;
57 font-weight:normal;
58 }
59 .uniForm .inlineLabel input{
60 }
61
62 /* Highlighting the rows on input focus */
63 .focused{
64 background:#FFFCDF url(/theme/images/uf_focused.png);
65 border:1px solid #EFE795; border-width:1px 0;
66 padding:6px 4px;
67 }
68
69
70 /* Styles for form controls where labels are in line with the input elements */
71 /* Set the class to the parent to .inlineLabels */
72 .inlineLabels .ctrlHolder{
73 }
74 .inlineLabels label,
75 .inlineLabels .label{
76 float:left;
77 margin:.3em 0 0 0; padding:0;
78 line-height:100%;
79 /* user prefs */
80 width:30%;
81 font-weight:bold;
82 }
83
84 .inlineLabels .textInput,
85 .inlineLabels .fileUpload{
86 float:left;
87 /* user prefs */
88 width:68%;
89 border:2px solid #dfdfdf;
90 }
91 .inlineLabels .fileUpload > input{
92 }
93
94 .inlineLabels .selectInput{
95 float:left;
96 /* user prefs */
97 width:69%;
98 border:2px solid #dfdfdf;
99 }
100
101 .inlineLabels textarea{
102 float:left;
103 width:68%;
104 /* user prefs */
105 border:2px solid #dfdfdf;
106 height:12em;
107 }
108
109 .inlineLabels .formHint{
110 clear:both;
111 /* user prefs */
112 color:#999;
113 margin:.5em 0 0 30%; padding:3px 0;
114 font-size:80%;
115 }
116
117 /* inlineLabels esthetics */
118 .inlineLabels .formHint strong{
119 padding:0 0 0 14px;
120 background:url(/theme/images/icon_alert.png) 0 0 no-repeat;
121 display:inline-block;
122 }
123
124
125 /* ########################################################################## */
126
127 /* Styles for form controls where labels are above the input elements */
128 /* Set the class to the parent to .blockLabels */
129 .blockLabels .ctrlHolder{
130 }
131
132 .blockLabels label,
133 .blockLabels .label{
134 display:block;
135 float:none;
136 margin:.3em 0; padding:0;
137 line-height:100%;
138 width:60%;
139 /* user prefs */
140 font-weight:bold;
141 width:auto;
142 }
143 .blockLabels .label{
144 float:left;
145 margin-right:3em;
146 }
147
148 .blockLabels .textInput{
149 float:left;
150 width:60%;
151 /* user prefs */
152 border:2px solid #dfdfdf;
153 }
154
155 .blockLabels .selectInput{
156 float:left;
157 width:60%;
158 /* user prefs */
159 border:2px solid #dfdfdf;
160
161 }
162
163 .blockLabels textarea{
164 display:block;
165 float:left;
166 /* user prefs */
167 border:2px solid #dfdfdf;
168 height:12em;
169 }
170
171 .blockLabels .formHint{
172 float:right;
173 margin:0;
174 width:38%;
175 clear:none;
176 /* user prefs */
177 color:#999;
178 font-size:80%;
179 font-style:italic;
180 }
181
182 /* blockLabels esthetics */
183 .blockLabels .ctrlHolder{
184 border:1px solid #dfdfdf; border-width:1px 0;
185 margin-top:-1px;
186 }
187
188 .blockLabels .focused{
189 padding:7px 4px;
190 }
191
192 /* ########################################################################## */
193
194 /* Focus pseudoclasses */
195 .ctrlHolder .textInput:focus{
196 border-color:#DFD77D;
197 }
198 div.focused .textInput:focus{
199 }
200 div.focused .formHint{
201 color:#000;
202 }
203
204 /* Required asterisk styling, use if needed */
205 label em,
206 .label em{
207 display:block;
208 position:absolute; left:28%;
209 font-style:normal;
210 font-weight:bold;
211 }
212 .blockLabels label em,
213 .blockLabels .label em{
214 position:static;
215 display:inline;
216 }
217
218 /* Messages */
219 .uniForm #errorMsg{
220 background:#ffdfdf url(/theme/images/uf_error.png);
221 border:1px solid #df7d7d; border-width:1px 0;
222 margin:0 0 1em 0; padding:1em;
223 }
224 .uniForm .error,
225 .uniForm .blockLabels.ctrlHolder.error{
226 background:#ffdfdf url(/theme/images/uf_error.png);
227 border:1px solid #df7d7d; border-width:1px 0;
228 position:relative;
229 }
230 .uniForm #errorMsg dt,
231 .uniForm #errorMsg h3{
232 margin:0 0 .5em 0;
233 font-size:110%;
234 line-height:100%;
235 font-weight:bold;
236 color:#000;
237 padding:2px 0 2px 18px;
238 background:url(/theme/images/icon-error.png) 0 0 no-repeat;
239 }
240 .uniForm #errorMsg dd{
241 margin:0; padding:0;
242 }
243 .uniForm #errorMsg ol{
244 margin:0; padding:0;
245 }
246 .uniForm #errorMsg ol li{
247 margin:0; padding:2px;
248 list-style-position:inside;
249 border-bottom:1px dotted #df7d7d;
250 position:relative;
251 }
252 .uniForm .errorField{
253 margin:0 0 3px 0;
254 }
255 .uniForm .inlineLabels .errorField{
256 margin-left:30%;
257 }
258 .uniForm .errorField strong{
259 background:#FFE2E2;
260 padding:1px 3px 3px 3px;
261 }
262 .ctrlHolder.error input,
263 .ctrlHolder.error input:focus{
264 border-color:#DF7D7D;
265 }
266 .ctrlHolder.error.focused{
267 padding:7px 4px;
268 }