summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-20 06:38:47 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-20 06:38:47 +0000
commite1113fa54352ee57b8b2287f1a2e3b2a6896932e (patch)
tree870d1fa598f40bb992c4b132fe7890905655d0b7 /templates
parent4cf2e859ee0b0b69f7df5db6728d08bb4652f621 (diff)
downloadampache-e1113fa54352ee57b8b2287f1a2e3b2a6896932e.tar.gz
ampache-e1113fa54352ee57b8b2287f1a2e3b2a6896932e.tar.bz2
ampache-e1113fa54352ee57b8b2287f1a2e3b2a6896932e.zip
tweaked the style removing some unneeded mojo and javascripted the catalog build
Diffstat (limited to 'templates')
-rw-r--r--templates/footer.inc1
-rw-r--r--templates/header.inc2
-rw-r--r--templates/menustyle.inc5
-rw-r--r--templates/show_admin_catalog.inc.php8
-rw-r--r--templates/show_preferences.inc2
-rw-r--r--templates/sidebar.inc.php3
-rw-r--r--templates/style.inc1
7 files changed, 13 insertions, 9 deletions
diff --git a/templates/footer.inc b/templates/footer.inc
index 4f6db43c..91332b3f 100644
--- a/templates/footer.inc
+++ b/templates/footer.inc
@@ -20,7 +20,6 @@
*/
?>
-</td></tr></table><!-- End Main Page Table-->
</div> <!-- end id="content"-->
</div> <!-- end id="maincontainer"-->
</body>
diff --git a/templates/header.inc b/templates/header.inc
index 20118ea4..f1a2b8ed 100644
--- a/templates/header.inc
+++ b/templates/header.inc
@@ -61,5 +61,3 @@ if (conf('use_rss')) { ?>
<?php require_once(conf('prefix') . '/templates/sidebar.inc.php'); ?>
</div><!-- End sidebar -->
<div id="content">
- <table> <!-- Start Main Page Table -->
-<tr><td>
diff --git a/templates/menustyle.inc b/templates/menustyle.inc
index 30400615..c922ce6e 100644
--- a/templates/menustyle.inc
+++ b/templates/menustyle.inc
@@ -70,12 +70,13 @@
*/
#content {
/* float: left; /* use for horizontal menu; comment out otherwise */
- margin-left:0px;
+ padding-left:155px;
+ padding-right:5px;
}
#sidebar {
clear: both;
height: 100%;
- margin: 0;
+ margin-right: 5px;
float: left;
padding: 0;
list-style: none;
diff --git a/templates/show_admin_catalog.inc.php b/templates/show_admin_catalog.inc.php
index 43c11c56..6b40a8eb 100644
--- a/templates/show_admin_catalog.inc.php
+++ b/templates/show_admin_catalog.inc.php
@@ -50,5 +50,13 @@ $catalogs = Catalog::get_catalogs();
</tr>
<?php } // end foreach ?>
</table>
+<form method="post" enctype="multipart/form-data" action="<?php echo $web_path; ?>/admin/catalog.php?action=full_service">
+<input class="button" type="submit" value="<?php echo _('Update Everything'); ?>" />
+</form>
<span class="header2"><?php echo _('Other Tools'); ?></span><br />
+<ul style="list-style:none;">
+ <li><a href="<?php echo $web_path; ?>/admin/catalog.php?action=show_add_catalog"><?php echo _('Add a Catalog'); ?></a></li>
+ <li><a href="<?php echo $web_path; ?>/admin/duplicates.php"><?php echo _('Show Duplicate Songs'); ?></a></li>
+ <li><a href="<?php echo $web_path; ?>/admin/catalog.php?show_disabled"><?php echo _('Show Disabled Songs'); ?></a></li>
+</ul>
</div>
diff --git a/templates/show_preferences.inc b/templates/show_preferences.inc
index e0c82225..552b91bd 100644
--- a/templates/show_preferences.inc
+++ b/templates/show_preferences.inc
@@ -79,7 +79,7 @@ if (($GLOBALS['user']->has_access(100)) AND ($user_id == '-1' AND conf('use_auth
<?php } ?>
</ul>
</div>
-<div class="text-box">
+<div class="text-box" style="padding-left:135px;">
<form method="post" name="preferences" action="<?php echo conf('web_path'); ?><?php echo $target; ?>" enctype="multipart/form-data">
<?php
if ($current_tab != 'account') {
diff --git a/templates/sidebar.inc.php b/templates/sidebar.inc.php
index 0564ca04..2d245212 100644
--- a/templates/sidebar.inc.php
+++ b/templates/sidebar.inc.php
@@ -40,7 +40,6 @@ $browse_items[] = array('title'=>_("Lists"),'url'=>'browse.php','active'=>$locat
$web_path = conf('web_path');
?>
-<!-- <div id="navcontainer"> --> <!--sigger: appears this div is not neccesary and duplicates #sidebar -->
<ul id="navlist">
<li<?php
if ($location['page'] == "index.php"){
@@ -182,5 +181,3 @@ $web_path = conf('web_path');
<li><a href="<?php echo $web_path; ?>/logout.php"><?php echo _("Logout"); ?></a></li>
<?php } // end (conf('use_auth'))?>
</ul>
-
-<!-- </div> -->
diff --git a/templates/style.inc b/templates/style.inc
index 2c29d1b9..bc55d541 100644
--- a/templates/style.inc
+++ b/templates/style.inc
@@ -65,6 +65,7 @@
{
padding-left:5px;
padding-top:5px;
+ padding-right:5px;
margin-bottom:10px;
background-color: <?php echo conf('base_color1'); ?>;
border-right:2px solid <?php echo conf('bg_color2'); ?>;