Skip to content
This repository was archived by the owner on Mar 21, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion app/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ html {
text-align: center;
}

.list .item.item-button-right {
padding-right: 45px;
}

.list .item.item-no-avatar {
padding: 10px;
padding-right: 45px;
}

.icon-spin {
-webkit-animation: spin 2s infinite linear;
-moz-animation: spin 2s infinite linear;
Expand Down Expand Up @@ -46,4 +55,4 @@ html {
to {
transform: rotate(360deg);
}
}
}
8 changes: 4 additions & 4 deletions app/partials/bookmarks/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
/>
</label>
<a
class="item item-avatar item-button-right"
ng-class="{active: $index == position}"
class="item item-button-right"
ng-class="{active: $index == position, 'item-avatar': $settings.hide_avatars == false, 'item-no-avatar': $settings.hide_avatars}"
ng-click="getToken(bookmark)"
ng-repeat="bookmark in bookmarks.bookmarks
|byNameOrAccountNumber:query
|orderBy:orderProp"
>
<img ng-if="!gravatar(bookmark)" ng-src="{{bookmark.avatar_url}}" />
<img ng-if="gravatar(bookmark)" gravatar-src="bookmark.avatar_url || bookmark.name" />
<img ng-if="!gravatar(bookmark) && !$settings.hide_avatars" ng-src="{{bookmark.avatar_url}}" />
<img ng-if="gravatar(bookmark) && !$settings.hide_avatars" gravatar-src="bookmark.avatar_url || bookmark.name" />
<h2>{{bookmark.name}}</h2>
<p>{{bookmark.account_number}}/{{bookmark.role_name}}</p>
<button
Expand Down
22 changes: 21 additions & 1 deletion app/partials/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<img class="full-image" src="dist/img/sentia.png" />
</div>
</div>

<div class="card">
<div class="item item-divider">Locksmith</div>

Expand Down Expand Up @@ -138,6 +138,26 @@
</div>
</form>

<div class="card">
<div class="item item-divider">Interface</div>

<div
class="item item-toggle"
>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we can fix the autogenerated identation / wrapping then I approve of this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #11 for that :)

Hide avatars
<label class="toggle toggle-balanced">
<input
type="checkbox"
ng-model="$settings.hide_avatars"
/>
<div class="track">
<div class="handle"></div>
</div>
</label>
</div>

</div>


<p>&nbsp;</p>
</ion-content>