mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
[Webpack] Change images to not use relative path. (#423)
* Change webpack config to not use relative path for images. Resolves #421. * Move popup images to popup/images. * Move images to popup/images.
This commit is contained in:
committed by
Kyle Spearrin
parent
b51ea6e22d
commit
1c38ff6e9a
@@ -86,7 +86,7 @@
|
||||
<div class="content">
|
||||
<div class="two-factor-key-page">
|
||||
<p>{{i18n.insertYubiKey}}</p>
|
||||
<img src="../../../../images/two-factor/yubikey.jpg" alt="" class="img-rounded img-responsive" />
|
||||
<img src="../../../images/two-factor/yubikey.jpg" alt="" class="img-rounded img-responsive" />
|
||||
</div>
|
||||
<div class="list">
|
||||
<div class="list-section">
|
||||
@@ -125,7 +125,7 @@
|
||||
<p ng-if="!u2fReady">Loading...</p>
|
||||
<div ng-if="u2fReady">
|
||||
<p>{{i18n.insertU2f}}</p>
|
||||
<img src="../../../../images/two-factor/u2fkey.jpg" alt="" class="img-rounded img-responsive" />
|
||||
<img src="../../../images/two-factor/u2fkey.jpg" alt="" class="img-rounded img-responsive" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="list">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<a ui-sref="environment({animation: 'in-slide-up'})" class="settings-icon">
|
||||
<i class="fa fa-cog fa-lg"></i><span> Settings</span>
|
||||
</a>
|
||||
<img src="../../../images/logo@2x.png" alt="bitwarden" />
|
||||
<img src="../../images/logo@2x.png" alt="bitwarden" />
|
||||
<p>{{i18n.loginOrCreateNewAccount}}</p>
|
||||
<div class="bottom-buttons">
|
||||
<a class="btn btn-lg btn-primary btn-block" ui-sref="register({animation: 'in-slide-up'})"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="content">
|
||||
<div class="splash-page">
|
||||
<img src="../../../images/logo@3x.png" alt="bitwarden" />
|
||||
<img src="../../images/logo@3x.png" alt="bitwarden" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="about-page">
|
||||
<img src="../../../images/logo@3x.png" alt="bitwarden" />
|
||||
<img src="../../images/logo@3x.png" alt="bitwarden" />
|
||||
{{$ctrl.i18n.version}} {{$ctrl.version}}<br />
|
||||
© 8bit Solutions LLC 2015-{{$ctrl.year}}
|
||||
</div>
|
||||
|
||||
6
src/popup/images/loading.svg
Normal file
6
src/popup/images/loading.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 100% 100%">
|
||||
<text fill="%23333333" x="50%" y="50%" font-family="\'Open Sans\', \'Helvetica Neue\', Helvetica, Arial, sans-serif"
|
||||
font-size="18" text-anchor="middle">
|
||||
Loading...
|
||||
</text>
|
||||
</svg>
|
||||
BIN
src/popup/images/logo.png
Normal file
BIN
src/popup/images/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
BIN
src/popup/images/logo@2x.png
Normal file
BIN
src/popup/images/logo@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
BIN
src/popup/images/logo@3x.png
Normal file
BIN
src/popup/images/logo@3x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
BIN
src/popup/images/two-factor/u2fkey.jpg
Normal file
BIN
src/popup/images/two-factor/u2fkey.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 174 KiB |
BIN
src/popup/images/two-factor/yubikey.jpg
Normal file
BIN
src/popup/images/two-factor/yubikey.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
@@ -588,7 +588,7 @@
|
||||
}
|
||||
|
||||
#duoFrameWrapper {
|
||||
background: ~"url('../../images/loading.svg') 0 0 no-repeat";
|
||||
background: ~"url('../images/loading.svg') 0 0 no-repeat";
|
||||
width: 100%;
|
||||
height: 470px;
|
||||
margin-bottom: -10px;
|
||||
|
||||
Reference in New Issue
Block a user