Browse Source

starting adding the new control panel

pecesama 17 years ago
parent
commit
5c7d0d84d7

BIN
admin/css/images/bg-box.png View File


BIN
admin/css/images/bg-foot-box.png View File


BIN
admin/css/images/bg-top-box-hover.png View File


BIN
admin/css/images/bg-top-box.png View File


BIN
admin/css/images/comments.png View File


BIN
admin/css/images/film.png View File


BIN
admin/css/images/gelato-logo.png View File


BIN
admin/css/images/grad-big.png View File


BIN
admin/css/images/grad-small.png View File


BIN
admin/css/images/image.png View File


BIN
admin/css/images/music.png View File


BIN
admin/css/images/page_white_text.gif View File


BIN
admin/css/images/page_white_text.png View File


BIN
admin/css/images/world.png View File


+ 128 - 0
admin/css/style.css View File

@@ -0,0 +1,128 @@
1
+/* CSS Document created by Jorge Condomi */
2
+
3
+
4
+/************ BASICS *************/
5
+
6
+div, p, ul, ol, li, h1, h2, h3, h4, h5, h6, h7,form, span, pre, a{margin:0; padding:0;}
7
+
8
+h1, h2, h3, h4, h5, h6, h7{ font-weight:normal;}
9
+
10
+a, a:link, a:visited, a:active{ color:#000; text-decoration:none; outline:none;}
11
+a:hover{ text-decoration:underline; color:#000000;  outline:none;}
12
+
13
+acronym{ border-bottom: 1px dotted #666; cursor:help;}
14
+fieldset{ border:none; margin:0; padding:0;}
15
+
16
+.gelato{color:#006699; font-weight:bold; font-family:'Trebuchet Ms', Verdad, Tahoma;}
17
+.option{ color:#666666; font-style:italic; font-size:0.9em}
18
+
19
+/*********** LAYOUT *************/
20
+
21
+body{ background: #fff; text-align:center; font-family:"Trebuchet Ms", Verdana, Tahoma; font-size:1em;}
22
+
23
+#cont{ width:569px; margin:30px auto 10px auto; text-align:left;}
24
+
25
+#head{ background: transparent url(images/head_bg.png) bottom center no-repeat; position: relative; padding-bottom:20px; height:73px;}
26
+	h1 a{ display:block; height:77px; width:161px; background:#fff url(images/gelato-logo.png) top left no-repeat; text-indent:-9999px; overflow:hidden;}
27
+
28
+#nav{ position:absolute; right:1px; font-size:0.75em; line-height:normal; margin:0; padding:0 10px 0 0; list-style:none;bottom:34px;}
29
+
30
+	#nav li{  margin:0; padding:0; text-align:right;}
31
+
32
+	#nav li a:link, #nav li a:visited, #nav li a:active, #nav li a:focus{ color:#777; text-decoration: none;}
33
+	#nav li a:hover{ text-decoration:underline;}
34
+
35
+	
36
+#main{ background: #fff url(images/main_bg.png) top left repeat-y; text-align:left; padding:0 0 40px 0;}
37
+	h2{ font-size:1.56em; margin:4px; text-indent:20px;}
38
+	h3{font-size:1.12em; margin:4px; color:#333333; text-indent:20px;}
39
+	
40
+.box{ background:#efefef url(images/bg-box.png) left top repeat-y;}
41
+.footer-box{background:#fff url(images/bg-foot-box.png) top center no-repeat;}	
42
+
43
+.box h3{float:left; color:#FFFFFF; font-weight:bold; padding:5px 10px 0 0;}
44
+.menu{ background:#c1c7cd url(images/bg-top-box.png) top center no-repeat; height:40px; width:559px; list-style-type:none; padding-right:10px;}
45
+.menu li{ display:inline;}
46
+.menu li.selected a{background: transparent url(images/bg-top-box-hover.png) left top repeat-x; text-decoration:none;}
47
+.menu li a{ font-family:Verdana, Arial, Helvetica, sans-serif; font-size:0.7em; display:block; float:right; height:28px; padding:12px 3px 0 3px;}
48
+.menu li a:hover{ background: transparent url(images/bg-top-box-hover.png) left top repeat-x; text-decoration:none;}
49
+.menu li a img{border:none; vertical-align:bottom;}
50
+
51
+.manage li a{ padding:14px 6px 0 6px;}
52
+
53
+form.newpost{ width:500px; margin:0 auto; padding:0;}
54
+form.newpost ul{ list-style-type:none; margin:20px 0 10px 0; padding:0;}
55
+form.newpost li{ margin:4px 0; padding:0;}
56
+form.newpost label{}
57
+form.newpost input{ margin-bottom:10px;}
58
+form.newpost input.txt{ background: #fff url(images/grad-small.png) top left repeat-x; height:15px; border:1px solid #999; width:490px; padding:5px;}
59
+form.newpost input.btn{ }
60
+form.newpost textarea{background: #fff url(images/grad-big.png) top left repeat-x; height:190px; border:1px solid #999; width:490px; padding:5px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:0.8em;}
61
+
62
+.entry{ background-color:#efefef; border:1px solid #ccc; margin:20px 15px;}
63
+.info{ border-bottom:1px solid #aaa; position:relative; display:block; padding:4px 10px; height:20px; }
64
+.info p{font-size:0.8em; color:#297aab; display:inline;}
65
+form.compact{ float:right; margin:-2px 0 0 0; padding:0;}
66
+
67
+
68
+.post{ padding:10px;}
69
+.post h4{ font-style:italic; font-weight:bold; }
70
+.post p{ font-size:0.9em; text-indent:20px;}
71
+.post img{}
72
+.post blockqoute{}
73
+.post .video{}
74
+.post .audio{}
75
+
76
+#foot{ background: transparent url(images/foot_bg.png) top center no-repeat; clear: both;}
77
+
78
+#foot { text-align:center;
79
+	
80
+		font-size: 10px;
81
+		color: #000;
82
+	}
83
+
84
+	#footer a {
85
+		color: #000;
86
+	}
87
+	
88
+#div-process { 
89
+	top:0px;	
90
+	padding-left: 22px;	
91
+	font: normal 14.5px/17px georgia, "times new roman", serif;
92
+	background: url('../../images/proceso.gif') no-repeat 0% 10%;
93
+	float: right;
94
+	height: 20px;
95
+	width: 150px;
96
+	border: 1px solid #000066;
97
+	background-color:#FFFFCC;
98
+	color:#011940;
99
+}
100
+
101
+/* Mensajes para el usuario */
102
+
103
+.error {
104
+	width:80%;
105
+	background: #FFF7F2 url('../../images/error.png') 15px center no-repeat;
106
+	border-top: 2px solid #CC0000;
107
+	border-bottom: 2px solid #CC0000;
108
+	margin: 0 auto;
109
+	padding: 5px 20px 5px 45px;
110
+}
111
+
112
+.exito {
113
+	width:80%;
114
+	background: #F4FBF5 url('../../images/information.png') 15px center no-repeat;
115
+	border-top: 2px solid #006600;
116
+	border-bottom: 2px solid #006600;
117
+	margin: 0 auto;
118
+	padding: 5px 20px 5px 45px;
119
+}
120
+
121
+.information {
122
+	width:80%;
123
+	background: #FFF6BF url('../../images/icon_info.gif') 15px center no-repeat;
124
+	border-top: 2px solid #FFD324;
125
+	border-bottom: 2px solid #FFD324;
126
+	margin: 0 auto;
127
+	padding: 5px 20px 5px 45px;
128
+}

File diff suppressed because it is too large
+ 230 - 85
admin/index.php


+ 4 - 4
admin/themes/admin/template_add_post.htm View File

@@ -1,11 +1,11 @@
1 1
 									<legend>Add a Regular Post</legend>
2 2
 									<p>
3
-										<label for="title"><strong>Title</strong>&nbsp;<em>(optional)</em></label>
4
-											<input class="input-text" type="text" name="title" id="title" size="80" />
3
+										<label for="title">Title <span class="option">(optional)</span></label>
4
+											<input class="txt" type="text" name="title" id="title" size="80" />
5 5
 									</p>
6
-									<input class="input-text" type="hidden" name="url" id="url" value="" />
6
+									<input class="txt" type="hidden" name="url" id="url" value="" />
7 7
 									<p>
8
-										<label for="description"><strong>Body</strong></label><br />
8
+										<label for="description">Body</label><br />
9 9
 											<textarea rows="12" cols="84" name="description" id="description"></textarea>											
10 10
 									</p>
11 11
 									<input type="hidden" name="type" id="type" value="{type}" />

+ 1 - 1
rss.php View File

@@ -9,7 +9,7 @@
9 9
   =========================== */
10 10
 ?>
11 11
 <?
12
-	//header("Content-type: text/xml; charset=utf-8");
12
+	header("Content-type: text/xml; charset=utf-8");
13 13
 		
14 14
 	require(dirname(__FILE__)."/config.php");
15 15
 	include("classes/configuration.class.php");