mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:47:02 +02:00
added text colour to customer settings
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<?php if(Registry::get('username')) { ?>
|
||||
|
||||
<div class="navbar navbar-inverse">
|
||||
<div class="navbar-inner"<?php if($settings['colour']) { ?> style="background: <?php print $settings['colour']; ?>;"<?php } ?>>
|
||||
<div class="navbar-inner"<?php if($settings['background_colour']) { ?> style="background: <?php print $settings['background_colour']; ?>;"<?php } ?>>
|
||||
|
||||
|
||||
<a class="brand" target="_blank" href="<?php print $settings['branding_url']; ?>" title="<?php print $settings['branding_text']; ?>"><?php if($settings['branding_logo']) { ?><img src="/images/<?php print $settings['branding_logo']; ?>" alt="<?php print $settings['branding_text']; ?>" /><?php } ?></a>
|
||||
@ -11,7 +11,7 @@
|
||||
<?php if($admin_user == 1) { ?>
|
||||
|
||||
<li class="dropdown<?php if(strstr($_SERVER['QUERY_STRING'], "stat/") || strstr($_SERVER['QUERY_STRING'], "health/") || strstr($_SERVER['QUERY_STRING'], "audit/") ) { ?> active<?php } ?>">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-eye-open icon-white"></i> <?php print $text_monitor; ?> <b class="caret"></b></a>
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-eye-open icon-white"></i> <?php print $text_monitor; ?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="index.php?route=stat/stat×pan=daily"><?php print $text_statistics; ?></a></li>
|
||||
<li><a href="index.php?route=health/health"><?php print $text_health; ?></a></li>
|
||||
@ -25,7 +25,7 @@
|
||||
<li class="divider-vertical"></li>
|
||||
|
||||
<li class="dropdown<?php if(strstr($_SERVER['QUERY_STRING'], "domain/") || $_SERVER['QUERY_STRING'] == "route=user/list" || strstr($_SERVER['QUERY_STRING'], "group/") || strstr($_SERVER['QUERY_STRING'], "policy/") ) { ?> active<?php } ?>">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-wrench icon-white"></i> <?php print $text_administration; ?> <b class="caret"></b></a>
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-wrench icon-white"></i> <?php print $text_administration; ?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="index.php?route=user/list"><?php print $text_users; ?></a></li>
|
||||
<li><a href="index.php?route=group/list"><?php print $text_groups; ?></a></li>
|
||||
@ -41,18 +41,18 @@
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
<li<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> class="active"<?php } ?>><a href="search.php"><i class="icon-search icon-white"></i> <?php print $text_search; ?></a></li>
|
||||
<li<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> class="active"<?php } ?>><a href="search.php" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-search icon-white"></i> <?php print $text_search; ?></a></li>
|
||||
|
||||
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
|
||||
<li<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "folders.php")){ ?> class="active"<?php } ?>><a href="folders.php"><?php print $text_folder; ?></a></li>
|
||||
<li<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "folders.php")){ ?> class="active"<?php } ?>><a href="folders.php" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><?php print $text_folder; ?></a></li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if(ENABLE_AUDIT == 1 && $auditor_user == 1) { ?>
|
||||
<li<?php if(strstr($_SERVER['REQUEST_URI'], "audit/audit")){ ?> class="active"<?php } ?>><a href="index.php?route=audit/audit"><i class="icon-book icon-white"></i> <?php print $text_audit; ?></a></li>
|
||||
<li<?php if(strstr($_SERVER['REQUEST_URI'], "audit/audit")){ ?> class="active"<?php } ?>><a href="index.php?route=audit/audit" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-book icon-white"></i> <?php print $text_audit; ?></a></li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($settings['support_link']) { ?>
|
||||
<li><a href="<?php print $settings['support_link']; ?>"><?php print $text_contact_support; ?></a></li>
|
||||
<li><a href="<?php print $settings['support_link']; ?>" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><?php print $text_contact_support; ?></a></li>
|
||||
<?php } ?>
|
||||
|
||||
<?php } ?>
|
||||
@ -61,11 +61,11 @@
|
||||
|
||||
<ul class="nav pull-right">
|
||||
|
||||
<?php if($settings['branding_url']) { ?><li><a href="<?php print $settings['branding_url']; ?>" target="_blank"><i class="icon-share-alt icon-white"></i> <?php print $settings['branding_text']; ?></a></li><?php } ?>
|
||||
<?php if($settings['branding_url']) { ?><li><a href="<?php print $settings['branding_url']; ?>" target="_blank" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-share-alt icon-white"></i> <?php print $settings['branding_text']; ?></a></li><?php } ?>
|
||||
|
||||
<li class="divider-vertical"></li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php print $_SESSION['realname']; ?> <i class="icon-user icon-white"></i> <b class="caret"></b></a>
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><?php print $_SESSION['realname']; ?> <i class="icon-user icon-white"></i> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="settings.php"><i class="icon-cog"></i> <?php print $text_settings; ?></a></li>
|
||||
<li class="divider"></li>
|
||||
|
@ -45,9 +45,15 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="colour"><?php print $text_colour; ?>:</label>
|
||||
<label class="control-label" for="colour"><?php print $text_background_colour; ?>:</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="text" name="colour" id="colour" placeholder="" value="<?php if(isset($a['colour'])) { print $a['colour']; } ?>" oninput="Piler.change_box_colour();" /> <span id="cp" style="<?php if(isset($a['colour'])) { ?>background: <?php print $a['colour']; ?>;<?php } ?>"> </span>
|
||||
<input type="text" class="text" name="background_colour" id="background_colour" placeholder="" value="<?php if(isset($a['background_colour'])) { print $a['background_colour']; } ?>" oninput="Piler.change_box_colour('background_colour', 'cp');" /> <span id="cp" style="<?php if(isset($a['background_colour'])) { ?>background: <?php print $a['background_colour']; ?>;<?php } ?>"> </span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="colour"><?php print $text_text_colour; ?>:</label>
|
||||
<div class="controls">
|
||||
<input type="text" class="text" name="text_colour" id="text_colour" placeholder="" value="<?php if(isset($a['text_colour'])) { print $a['text_colour']; } ?>" oninput="Piler.change_box_colour('text_colour', 'cp2');" /> <span id="cp2" style="<?php if(isset($a['text_colour'])) { ?>background: <?php print $a['text_colour']; ?>;<?php } ?>"> </span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -72,7 +78,8 @@
|
||||
<div class="domaincell"><?php print $text_branding_text; ?></div>
|
||||
<div class="domaincell"><?php print $text_branding_url; ?></div>
|
||||
<div class="domaincell"><?php print $text_branding_logo; ?></div>
|
||||
<div class="domaincell"><?php print $text_colour; ?></div>
|
||||
<div class="domaincell"><?php print $text_background_colour; ?></div>
|
||||
<div class="domaincell"><?php print $text_text_colour; ?></div>
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell"> </div>
|
||||
</div>
|
||||
@ -83,7 +90,8 @@
|
||||
<div class="domaincell"><?php print $e['branding_text']; ?></div>
|
||||
<div class="domaincell"><?php print $e['branding_url']; ?></div>
|
||||
<div class="domaincell"><?php if($e['branding_logo']) { ?><img src="/images/<?php print $e['branding_logo']; ?>" /><?php } ?></div>
|
||||
<div class="domaincell"><?php print $e['colour']; ?></div>
|
||||
<div class="domaincell"><?php print $e['background_colour']; ?></div>
|
||||
<div class="domaincell"><?php print $e['text_colour']; ?></div>
|
||||
<div class="domaincell"><a href="index.php?route=customer/list&id=<?php print $e['id']; ?>"><?php print $text_edit; ?></a></div>
|
||||
<div class="domaincell"><a href="index.php?route=customer/remove&id=<?php print $e['id']; ?>&domain=<?php print urlencode($e['domain']); ?>&confirmed=1" onclick="if(confirm('<?php print $text_remove; ?>: ' + '\'<?php print $e['domain']; ?>\'')) return true; return false;"><?php print $text_remove; ?></a></div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user