Skip to content

Commit

Permalink
Add backbutton to appbar and button section
Browse files Browse the repository at this point in the history
[Issue] #1188
[Problem] [UiComponents] App doesn't have back button in every place.
[Solution] - Add backbutton to sections Appbar and Button

Signed-off-by: Kornelia Kobiela <korneliak.95@gmail.com>
  • Loading branch information
korneliakobiela authored and Kornelia Kobiela committed Jul 20, 2020
1 parent 059a6b0 commit deb2806
Show file tree
Hide file tree
Showing 17 changed files with 59 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page" id="header-footer-demo-page">
<div class="ui-header" data-position="fixed">
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h1>
Bottom bar
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@
<body>
<div class="ui-page" id="multilineTitle">
<header>
<div class="ui-appbar-title-container">
Multiline
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h2>
Multiline
</h2>
</header>
<div class="ui-content">
<ul class="ui-listview ui-content-area">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page" id="multilineTitle">
<header>
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<div class="ui-appbar-expanded-title-container">
<span class="ui-appbar-title">Swipe to call or send message</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page" id="subtitle">
<header>
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<div class="ui-appbar-title-container ui-appbar-has-subtitle">
<span class="ui-appbar-title">Sample title</span>
<span class="ui-appbar-title ui-appbar-subtitle">Value text</span>
Expand Down
3 changes: 3 additions & 0 deletions examples/mobile/UIComponents/components/appbar/title.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page" id="simpleTitle">
<header>
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<div class="ui-appbar-title-container">
<span class="ui-appbar-title">Sample title</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@

<body>
<div class="ui-page" id="ContainedButtonsBodyArea2Buttons">
<header>
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h2>2 buttons</h2>
</header>
<div class="ui-content">
</div>
<footer class="ui-bottom-button">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page" id="ContainedButtonsBodyAreaDemo">
<div class="ui-header" data-position="fixed">
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h1>
Body area buttons
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page">
<div class="ui-header" data-position="fixed">
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h1>
Contained buttons
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page" id="ContainedButtonsHighEmphasisDemo">
<div class="ui-header" data-position="fixed">
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h1>
Title
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page">
<div class="ui-header" data-position="fixed">
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h1>
Contained button (Emphasis)
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page" id="ContainedButtonsMediumEmphasisListDemo">
<div class="ui-header" data-position="fixed">
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h1>
Title
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page" id="ContainedButtonsMediumEmphasisDemo">
<div class="ui-header" data-position="fixed">
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h1>
Title
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page" id="ContainedButtonsMediumHighEmphasis1Demo">
<div class="ui-header" data-position="fixed">
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h1>
Title
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page" id="ContainedButtonMediumHighEmphasis1Demo">
<div class="ui-header" data-position="fixed">
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h1>
Title
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page" id="ContainedButtonsDemo">
<div class="ui-header" data-position="fixed">
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h1>
Contained buttons
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<body>
<div class="ui-page" id="ContainedButtonsOnListDemo">
<div class="ui-header" data-position="fixed">
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h1>
List Buttons
</h1>
Expand Down
6 changes: 6 additions & 0 deletions examples/mobile/UIComponents/components/buttons/fab.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@

<body>
<div class="ui-page" id="FabButtonDemo">
<header>
<div class="ui-appbar-left-icons-container">
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a>
</div>
<h1>Title</h1>
</header>
<div class="ui-content">
<button data-icon="add" data-style="fab"></button>
</div>
Expand Down

0 comments on commit deb2806

Please sign in to comment.