Skip to content

Commit

Permalink
update loading screens with session subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilb committed Jan 3, 2020
1 parent 9f2fe45 commit 634aaa3
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 53 deletions.
24 changes: 4 additions & 20 deletions background.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,14 @@
<script type='text/x-tmpl-mustache' id='app-loading-screen'>
<div class='content'>
<img src='images/session/brand.svg' class='session-filter-color-green session-logo-128' />
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div>
<div class='message'>{{ message }}</div>
<p class='session-logo-text'>SESSION</p>
</div>
</script>

<script type='text/x-tmpl-mustache' id='conversation-loading-screen'>
<div class='content'>
<img src='images/session/brand.svg' class='session-filter-color-green session-logo-128' />
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div>
<p class='session-logo-text'>SESSION</p>
</div>
</script>

Expand All @@ -63,8 +54,7 @@
<div class='container'>
<div class='content'>
<img src='images/session/brand.svg' class='session-filter-color-green session-logo-128' />
<h3>{{ welcomeToSignal }}</h3>
<p>{{ selectAContact }}</p>
<p class='session-logo-text'>SESSION</p>
</div>
</div>
</div>
Expand Down Expand Up @@ -738,13 +728,7 @@ <h3>{{ message }}</h3>
<div class='app-loading-screen'>
<div class='content'>
<img src='images/session/brand.svg' class='session-filter-color-green session-logo-128' />
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div>
<div class='message'></div>
</div>
<p class='session-logo-text'>SESSION</p>
</div>

<script type='text/javascript' src='js/background.js'></script>
Expand Down
7 changes: 1 addition & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@
<div class='app-loading-screen'>
<div class='content'>
<img src='images/session/brand.svg' class='session-filter-color-green session-logo-128' />
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div>
<div class='message'></div>
<p class='session-logo-text'>SESSION</p>
</div>
</div>
<script type="text/javascript" src="js/index.js"></script>
Expand Down
6 changes: 1 addition & 5 deletions js/views/inbox_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@
Whisper.AppLoadingScreen = Whisper.View.extend({
templateName: 'app-loading-screen',
className: 'app-loading-screen',
updateProgress(count) {
if (count > 0) {
const message = i18n('loadingMessages', count.toString());
this.$('.message').text(message);
}
updateProgress() {
},
render_attributes: {
message: i18n('loading'),
Expand Down
7 changes: 2 additions & 5 deletions password.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,9 @@ <h2>{{ title }}</h2>
<div class='app-loading-screen'>
<div class='content'>
<img src='images/session/brand.svg' class='session-filter-color-green session-logo-128' />
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
<div class='session-content-accent-text'>
<p class='title'>SESSION</p>
</div>
<div class='message'></div>
</div>
</div>
<script type='text/javascript' src='js/password_start.js'></script>
Expand Down
21 changes: 17 additions & 4 deletions stylesheets/_session_theme_dark_left_pane.scss
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,25 @@ $session-compose-margin: 20px;
}
}

.session-logo-128 {
@include session-filter-color-green();
width: 128px;
height: 128px;
.session-logo{

&-128 {
@include session-filter-color-green();
width: 128px;
height: 128px;
}

&-text {
font-size: 70px;
font-weight: bold;
margin:0px;
color: $session-color-white;
font-family: $session-font-family;
}
}



.app-loading-screen {
@include session-dark-background;
}
Expand Down
16 changes: 3 additions & 13 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,14 @@
<script type='text/x-tmpl-mustache' id='app-loading-screen'>
<div class='content'>
<img src='images/session/brand.svg' class='session-filter-color-green session-logo-128' />
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div>
<div class='message'>{{ message }}</div>
<p class='session-logo-text'>SESSION</p>
</div>
</script>

<script type='text/x-tmpl-mustache' id='conversation-loading-screen'>
<div class='content'>
<img src='images/session/brand.svg' class='session-filter-color-green session-logo-128' />
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div>
<p class='session-logo-text'>SESSION</p>
</div>
</script>

Expand All @@ -51,8 +42,7 @@
<div class='container'>
<div class='content'>
<img src='images/session/brand.svg' class='session-filter-color-green session-logo-128' />
<h3>{{ welcomeToSignal }}</h3>
<p>{{ selectAContact }}</p>
<p class='session-logo-text'>SESSION</p>
</div>
</div>
</div>
Expand Down

0 comments on commit 634aaa3

Please sign in to comment.