Skip to content

Commit f57a3ea

Browse files
committed
🎨 Group MCP server action buttons into a btn-group and refine tools section heading
- Wrapped Save and Generate new token buttons in a `btn-group` so the action buttons render as a cohesive, properly spaced unit in the AI MCP Server settings form. - Changed the "Tools exposed to the client" heading from `h3` to `h4` with `pt-2` padding to better fit the surrounding layout hierarchy and improve vertical spacing.
1 parent 2d8b981 commit f57a3ea

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎lhc_web/design/defaulttheme/tpl/lhaimcp/key.tpl.php‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@
2525

2626
<?php include(erLhcoreClassDesign::designtpl('lhkernel/csfr_token.tpl.php'));?>
2727

28-
<input type="submit" class="btn btn-secondary" name="StoreOptions" value="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/buttons','Save'); ?>" />
29-
<input type="submit" class="btn btn-secondary" name="GenerateToken" value="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('lhaimcp/key','Generate new token'); ?>" />
28+
<div class="btn-group">
29+
<input type="submit" class="btn btn-secondary" name="StoreOptions" value="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/buttons','Save'); ?>" />
30+
<input type="submit" class="btn btn-secondary" name="GenerateToken" value="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('lhaimcp/key','Generate new token'); ?>" />
31+
</div>
3032

3133
</form>
3234

3335
<?php if (!empty($mcp_tools)) : ?>
34-
<h3 class="attr-header"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('lhaimcp/key','Tools exposed to the client');?></h3>
36+
<h4 class="attr-header pt-2"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('lhaimcp/key','Tools exposed to the client');?></h4>
3537

3638
<table class="table table-sm table-hover" cellpadding="0" cellspacing="0" ng-non-bindable>
3739
<thead>

0 commit comments

Comments
 (0)