feat(#I18ITV): 网站顶端增加Blazor MVC 切换按钮

#Comment
comment #I18ITV

#Issue
close https://gitee.com/LongbowEnterprise/dashboard/issues?id=I18ITV
This commit is contained in:
Argo Zhang 2020-01-17 12:56:16 +08:00
parent 9e081f6340
commit 562b8dfe3e
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
8 changed files with 39 additions and 0 deletions
src/admin/Bootstrap.Admin

View File

@ -91,6 +91,11 @@
</a>
</div>
}
<div class="dropdown">
<a class="shadow-success dropdown-mvc" href="/Admin/Index" data-toggle="tooltip" title="NETCore MVC 模式">
<img src="/images/netcore2.png" />
</a>
</div>
</div>
<div class="dropdown userinfo">
<div data-toggle="dropdown" class="dropdown-toggle shadow-default">

View File

@ -90,6 +90,11 @@
</a>
</div>
}
<div class="dropdown">
<a class="shadow-success dropdown-blazor" href="/Pages" data-toggle="tooltip" title="Blazor 多 Tabs 模式">
<img src="~/images/blazor.svg" />
</a>
</div>
</div>
<div class="dropdown userinfo">
<a data-toggle="dropdown" class="dropdown-toggle shadow-default" href="#">

View File

@ -236,6 +236,14 @@ nav .dropdown .nav-link-close.dropdown-toggle:after {
padding: 0.5rem 1rem;
}
.dropdown-mvc {
padding: 0 !important;
}
.dropdown-mvc img {
width: 34px;
}
@media (min-width: 568px) {
.toast {
max-width: 360px;

View File

@ -174,6 +174,15 @@ aside .bg, aside .nav-brand, aside .nav-header, .header .nav, .userinfo .dropdow
transition: all .25s linear;
}
.header .nav .dropdown .dropdown-blazor {
padding: 2px 4px;
}
.header .nav .dropdown-blazor img {
width: 28px;
margin-top: 1px;
}
.nav .dropdown-menu {
width: 235px;
border: none;

Binary file not shown.

After

(image error) Size: 19 KiB

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="40px" height="40px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 53.2 (72643) - https://sketchapp.com -->
<title>dark version</title>
<desc>Created with Sketch.</desc>
<g id="dark-version" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Group" transform="translate(1.000000, 2.000000)" fill="#5C2D91" fill-rule="nonzero">
<path d="M0,20.6870504 C0,20.1983683 0,19.7096862 0,19.2210541 C0.0130229308,19.1678199 0.0312651685,19.1151872 0.0382073534,19.0612011 C0.116294265,18.4539199 0.155819114,17.8391699 0.275508462,17.2401095 C0.979101436,13.7177283 2.77555647,10.844935 5.65179995,8.66639212 C8.13669677,6.78429669 10.9788374,5.8734 14.1096108,5.85861271 C15.5848504,5.85164514 17.0601914,5.85740968 18.5354817,5.85740968 C19.3856206,5.85740968 20.2274999,5.77540291 21.0590419,5.59970993 C23.6671752,5.04857031 25.8784384,3.80137569 27.7131008,1.89025709 C27.7742123,1.82654645 27.8901519,1.81436574 27.9805523,1.77817449 C28.0103479,1.87130931 28.0777935,1.97040918 28.0639092,2.05667669 C27.9697083,2.64235339 27.8859967,3.23188982 27.7468996,3.80789212 C27.434552,5.10120302 26.8945311,6.30318363 26.184452,7.4319296 C26.1417854,7.4997506 26.1118377,7.64040524 26.1480688,7.67664662 C26.2028462,7.73138463 26.3250692,7.75038253 26.4114665,7.73744992 C26.5725049,7.71333913 26.728476,7.65564366 26.8864234,7.61138206 C30.013599,6.73482195 32.5697926,5.05974849 34.3676158,2.34179558 C34.834617,1.63581555 35.2530737,0.898406281 35.6922049,0.17448101 C35.82588,-0.0458745841 36.0261392,-0.0613135111 36.1427882,0.149868954 C37.1833558,2.03391931 37.7323965,4.05962683 37.9177072,6.189898 C37.9424356,6.47411461 37.972434,6.75793021 38,7.04189619 C38,7.64331257 38,8.24477908 38,8.84619546 C37.9743088,9.10484762 37.9408647,9.36304863 37.924244,9.62225218 C37.8197566,11.2537658 37.4942846,12.8423712 36.9739755,14.3920285 C35.8618577,17.7044803 34.0154899,20.561534 31.496997,22.9982277 C29.1598623,25.2594791 26.4521061,26.9391141 23.3756541,28.0325711 C21.8960059,28.5584971 20.3765795,28.9314374 18.8123076,29.1021178 C18.1215349,29.1775079 17.4264043,29.2187619 16.7321858,29.2568579 C15.6566539,29.3158567 14.579095,29.3142025 13.5115694,29.1650264 C11.5617276,28.8925895 9.80900324,28.1441023 8.3165855,26.8710926 C5.74422729,24.6770105 4.54738448,21.9280294 5.07189949,18.5534208 C5.39803016,16.4550801 6.36096695,14.656796 7.94748422,13.2246351 C10.3471999,11.058323 13.17951,10.2742461 16.3481867,10.9478445 C20.6031887,11.852325 23.5922807,15.4704475 23.7486065,19.7667801 C23.7724734,20.4233355 23.7161759,21.0668079 23.4383364,21.6758435 C22.8656822,22.9311586 21.3127104,23.2752763 20.2880033,22.3619735 C19.7813758,21.910435 19.5914539,21.3042566 19.5819274,20.6549194 C19.5616582,19.2769952 19.5716915,17.8986699 19.5699179,16.520445 C19.568195,15.1357035 18.48942,14.0654551 17.0937875,14.0651543 C16.0361938,14.0649037 14.978448,14.0549786 13.921057,14.0702171 C13.5120255,14.0760819 13.09818,14.1088144 12.6961414,14.1814475 C10.2319191,14.6266701 8.21529041,16.8672193 8.05212373,19.3266704 C7.94408914,20.9547755 8.41195187,22.4011222 9.52260011,23.6116744 C10.8323421,25.0391737 12.4796162,25.6880096 14.4218064,25.4923162 C15.9411314,25.3392302 17.1883431,24.6310446 18.1937944,23.4889149 C18.2046891,23.5009453 18.2239955,23.517086 18.2368664,23.5372368 C19.3930189,25.3461477 22.1927463,25.8127742 23.9131413,24.6448795 C25.3217968,23.6886184 25.9450733,22.3035261 26.0688164,20.6738171 C26.1497917,19.607278 26.0040565,18.5520173 25.7709612,17.5078846 C25.179406,14.8581036 23.8456451,12.6469786 21.7162692,10.9401751 C18.9526209,8.72498986 15.7826267,7.90557382 12.2779381,8.47927032 C9.72696384,8.89687324 7.53911146,10.0602565 5.77686063,11.9347328 C3.09535303,14.7869743 2.02681396,18.1752673 2.71814409,22.0042215 C3.39792081,25.7691642 5.57999648,28.5108771 8.99970663,30.2794362 C10.8169375,31.2192558 12.7814239,31.5934493 14.8137612,31.6622728 C16.6215669,31.7234772 18.4182246,31.6010685 20.1991231,31.2865255 C23.4552105,30.7114254 26.4869184,29.5615261 29.2753964,27.7948216 C29.3338223,27.7577782 29.3959979,27.7264994 29.4564,27.6925137 C29.4721593,27.7120128 29.4879185,27.7314619 29.5036778,27.750961 C29.420929,27.8432939 29.3412712,27.9385841 29.2549753,28.0275584 C27.0265846,30.3242993 24.399449,31.9969166 21.3289257,32.9718247 C18.9278925,33.7341969 16.4613393,34.0337522 13.9454306,33.9970095 C12.7890755,33.9801671 11.6489356,33.8492871 10.5286595,33.5709854 C7.14340692,32.7301153 4.42992474,30.9147882 2.45849624,28.0552783 C1.06478928,26.0337814 0.300844904,23.7841593 0.076769417,21.3511749 C0.0561455539,21.1294158 0.0257418243,20.9084587 0,20.6870504 Z" id="Path"></path>
<path d="M16.9937755,18.059694 C16.9937755,18.6068718 17.0066926,19.1544619 16.9913053,19.7012273 C16.9472533,21.2682228 15.7101943,22.6788229 14.1607571,22.9438291 C12.2319373,23.2736822 10.5032043,22.1227789 10.0807989,20.2275799 C9.64038161,18.2516572 11.0521562,16.2600126 13.0565747,16.0325846 C13.228357,16.0130996 13.4020434,16.0022746 13.5748549,16.0018107 C14.6096657,15.9990271 15.644528,16.0001612 16.6793902,16.0006251 C16.9280063,16.0007282 16.9984586,16.0700082 16.9991276,16.3214058 C17.000723,16.9008524 16.9996423,17.480299 16.9996423,18.059694 C16.9977381,18.059694 16.9957826,18.059694 16.9937755,18.059694 Z" id="Path"></path>
</g>
</g>
</svg>

After

(image error) Size: 5.4 KiB

Binary file not shown.

After

(image error) Size: 13 KiB

Binary file not shown.

After

(image error) Size: 66 KiB