Przeglądaj źródła

style: replace text-muted with text-secondary

M1Screw 2 lat temu
rodzic
commit
afbe45b69d

+ 12 - 15
composer.lock

@@ -123,16 +123,16 @@
         },
         {
             "name": "aws/aws-sdk-php",
-            "version": "3.269.11",
+            "version": "3.269.12",
             "source": {
                 "type": "git",
                 "url": "https://github.com/aws/aws-sdk-php.git",
-                "reference": "b187de784f668f976345a9f11d5cae4af0c7be25"
+                "reference": "fb6e7d09d901757ad485e38295ea6b44acb05b15"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/b187de784f668f976345a9f11d5cae4af0c7be25",
-                "reference": "b187de784f668f976345a9f11d5cae4af0c7be25",
+                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/fb6e7d09d901757ad485e38295ea6b44acb05b15",
+                "reference": "fb6e7d09d901757ad485e38295ea6b44acb05b15",
                 "shasum": ""
             },
             "require": {
@@ -212,9 +212,9 @@
             "support": {
                 "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
                 "issues": "https://github.com/aws/aws-sdk-php/issues",
-                "source": "https://github.com/aws/aws-sdk-php/tree/3.269.11"
+                "source": "https://github.com/aws/aws-sdk-php/tree/3.269.12"
             },
-            "time": "2023-05-11T18:20:50+00:00"
+            "time": "2023-05-15T18:25:49+00:00"
         },
         {
             "name": "bacon/bacon-qr-code",
@@ -787,16 +787,16 @@
         },
         {
             "name": "guzzlehttp/guzzle",
-            "version": "7.5.1",
+            "version": "7.6.1",
             "source": {
                 "type": "git",
                 "url": "https://github.com/guzzle/guzzle.git",
-                "reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9"
+                "reference": "8444a2bacf1960bc6a2b62ed86b8e72e11eebe51"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b964ca597e86b752cd994f27293e9fa6b6a95ed9",
-                "reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9",
+                "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8444a2bacf1960bc6a2b62ed86b8e72e11eebe51",
+                "reference": "8444a2bacf1960bc6a2b62ed86b8e72e11eebe51",
                 "shasum": ""
             },
             "require": {
@@ -827,9 +827,6 @@
                 "bamarni-bin": {
                     "bin-links": true,
                     "forward-command": false
-                },
-                "branch-alias": {
-                    "dev-master": "7.5-dev"
                 }
             },
             "autoload": {
@@ -895,7 +892,7 @@
             ],
             "support": {
                 "issues": "https://github.com/guzzle/guzzle/issues",
-                "source": "https://github.com/guzzle/guzzle/tree/7.5.1"
+                "source": "https://github.com/guzzle/guzzle/tree/7.6.1"
             },
             "funding": [
                 {
@@ -911,7 +908,7 @@
                     "type": "tidelift"
                 }
             ],
-            "time": "2023-04-17T16:30:08+00:00"
+            "time": "2023-05-15T20:43:01+00:00"
         },
         {
             "name": "guzzlehttp/promises",

+ 1 - 1
resources/views/tabler/404.tpl

@@ -6,7 +6,7 @@
         <div class="empty">
             <div class="empty-header">404</div>
             <p class="empty-title">你所尝试访问的页面不存在</p>
-            <p class="empty-subtitle text-muted">
+            <p class="empty-subtitle text-secondary">
                 Take me home, country roads, to the place, I belong...
             </p>
             <div class="empty-action">

+ 1 - 1
resources/views/tabler/405.tpl

@@ -6,7 +6,7 @@
         <div class="empty">
             <div class="empty-header">405</div>
             <p class="empty-title">不允许的请求方式</p>
-            <p class="empty-subtitle text-muted">
+            <p class="empty-subtitle text-secondary">
                 Wanna try something stupid I see, now go back to the home page.
             </p>
             <div class="empty-action">

+ 1 - 1
resources/views/tabler/500.tpl

@@ -6,7 +6,7 @@
         <div class="empty">
             <div class="empty-header">500</div>
             <p class="empty-title">服务器内部错误</p>
-            <p class="empty-subtitle text-muted">
+            <p class="empty-subtitle text-secondary">
                 Take me home, country roads, to the place, I belong... Oh wait the server is down.
             </p>
             <div class="empty-action">

+ 1 - 1
resources/views/tabler/gateway/stripe.tpl

@@ -3,7 +3,7 @@
 <div class="card-inner">
     <p class="card-heading">银行卡充值</p>
     <p>可以使用带有 <span class="payment payment-provider-unionpay me-3"></span> / <span class="payment payment-provider-mastercard me-3"></span> / <span class="payment payment-provider-visa me-3"></span> 等标识的信用卡或借记卡</p>
-    <form action="/user/payment/purchase/stripe_card" method="post">
+    <form action="/user/payment/purchase/stripe" method="post">
         <div class="form-group form-group-label">    
             <label class="floating-label" for="amount-stripe-card">金额</label>
             <input class="form-control maxwidth-edit" id="price" name="price" min="{$public_setting['stripe_min_recharge']}" max="{$public_setting['stripe_max_recharge']}" step="0.1" type="number" required="required">

+ 2 - 2
src/Services/Gateway/StripeCard.php

@@ -21,12 +21,12 @@ final class StripeCard extends AbstractPayment
 {
     public static function _name(): string
     {
-        return 'stripe_card';
+        return 'stripe';
     }
 
     public static function _enable(): bool
     {
-        return self::getActiveGateway('stripe_card');
+        return self::getActiveGateway('stripe');
     }
 
     public static function _readableName(): string