mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
some html cleanup
This commit is contained in:
parent
bb82bcc62a
commit
9a60ed5269
2 changed files with 58 additions and 58 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
<import: src="modals">
|
<import: src="modals">
|
||||||
|
<import: src="alerts">
|
||||||
|
<import: src="settings">
|
||||||
|
<import: src="rewards">
|
||||||
<import: src="tasks">
|
<import: src="tasks">
|
||||||
<import: src="header">
|
<import: src="header">
|
||||||
<import: src="alerts">
|
|
||||||
<import: src="avatar">
|
<import: src="avatar">
|
||||||
<import: src="rewards">
|
|
||||||
<import: src="footer">
|
<import: src="footer">
|
||||||
<import: src="settings">
|
|
||||||
<import: src="party">
|
<import: src="party">
|
||||||
|
|
||||||
<Title:>
|
<Title:>
|
||||||
|
|
|
||||||
|
|
@ -62,69 +62,69 @@
|
||||||
<app:tasks:newTask type="reward" inputValue="{_newReward}" placeHolder="New Reward" />
|
<app:tasks:newTask type="reward" inputValue="{_newReward}" placeHolder="New Reward" />
|
||||||
|
|
||||||
{#if _user.flags.petsEnabled}
|
{#if _user.flags.petsEnabled}
|
||||||
<div class='tabbable tabs-below'>
|
<div class='tabbable tabs-below'>
|
||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div class="tab-pane active" id="rewards-tab">
|
<div class="tab-pane active" id="rewards-tab">
|
||||||
<app:rewards:rewardsTab />
|
<app:rewards:rewardsTab />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="tab-pane" id="pets-tab">
|
||||||
|
{#with _view.items.pets as :pets}
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
{#with :pets[0]}<app:rewards:pet />{/}
|
||||||
|
{#with :pets[1]}<app:rewards:pet />{/}
|
||||||
|
{#with :pets[2]}<app:rewards:pet />{/}
|
||||||
|
{#with :pets[3]}<app:rewards:pet />{/}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
{#with :pets[4]}<app:rewards:pet />{/}
|
||||||
|
{#with :pets[5]}<app:rewards:pet />{/}
|
||||||
|
{#with :pets[6]}<app:rewards:pet />{/}
|
||||||
|
{#with :pets[7]}<app:rewards:pet />{/}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
{#with :pets[8]}<app:rewards:pet />{/}
|
||||||
|
{#with :pets[9]}<app:rewards:pet />{/}
|
||||||
|
{#with :pets[10]}<app:rewards:pet />{/}
|
||||||
|
{#with :pets[11]}<app:rewards:pet />{/}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
{#with :pets[12]}<app:rewards:pet />{/}
|
||||||
|
{#with :pets[13]}<app:rewards:pet />{/}
|
||||||
|
{#with :pets[14]}<app:rewards:pet />{/}
|
||||||
|
{#with :pets[15]}<app:rewards:pet />{/}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
{#with :pets[16]}<app:rewards:pet />{/}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{/}
|
||||||
|
</div>
|
||||||
|
<!--<div class="tab-pane" id="mounts-tab">...</div>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab-pane" id="pets-tab">
|
|
||||||
{#with _view.items.pets as :pets}
|
|
||||||
|
|
||||||
<div class="row-fluid">
|
<ul class="nav nav-tabs" id="rewardsTabs">
|
||||||
{#with :pets[0]}<app:rewards:pet />{/}
|
<li class="active"><a href="#rewards-tab" data-toggle="tab" x-bind="click:activateRewardsTab">Rewards</a></li>
|
||||||
{#with :pets[1]}<app:rewards:pet />{/}
|
<li><a href="#pets-tab" data-toggle="tab" x-bind='click:activatePetsTab'>Pets</a></li>
|
||||||
{#with :pets[2]}<app:rewards:pet />{/}
|
<!--<li><a href="#mounts-tab" data-toggle="tab">Mounts</a></li>-->
|
||||||
{#with :pets[3]}<app:rewards:pet />{/}
|
</ul>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row-fluid">
|
|
||||||
{#with :pets[4]}<app:rewards:pet />{/}
|
|
||||||
{#with :pets[5]}<app:rewards:pet />{/}
|
|
||||||
{#with :pets[6]}<app:rewards:pet />{/}
|
|
||||||
{#with :pets[7]}<app:rewards:pet />{/}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row-fluid">
|
|
||||||
{#with :pets[8]}<app:rewards:pet />{/}
|
|
||||||
{#with :pets[9]}<app:rewards:pet />{/}
|
|
||||||
{#with :pets[10]}<app:rewards:pet />{/}
|
|
||||||
{#with :pets[11]}<app:rewards:pet />{/}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row-fluid">
|
|
||||||
{#with :pets[12]}<app:rewards:pet />{/}
|
|
||||||
{#with :pets[13]}<app:rewards:pet />{/}
|
|
||||||
{#with :pets[14]}<app:rewards:pet />{/}
|
|
||||||
{#with :pets[15]}<app:rewards:pet />{/}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row-fluid">
|
|
||||||
{#with :pets[16]}<app:rewards:pet />{/}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
{/}
|
|
||||||
</div>
|
|
||||||
<!--<div class="tab-pane" id="mounts-tab">...</div>-->
|
|
||||||
</div>
|
</div>
|
||||||
|
{else}
|
||||||
|
<app:rewards:rewardsTab />
|
||||||
<ul class="nav nav-tabs" id="rewardsTabs">
|
{/}
|
||||||
<li class="active"><a href="#rewards-tab" data-toggle="tab" x-bind="click:activateRewardsTab">Rewards</a></li>
|
|
||||||
<li><a href="#pets-tab" data-toggle="tab" x-bind='click:activatePetsTab'>Pets</a></li>
|
|
||||||
<!--<li><a href="#mounts-tab" data-toggle="tab">Mounts</a></li>-->
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
{else}
|
|
||||||
<app:rewards:rewardsTab />
|
|
||||||
{/}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<newTask:>
|
<newTask:>
|
||||||
<form class="addtask-form form-inline new-task-form" id="new-{@type}" data-task-type="{@type}" x-bind="submit:addTask">
|
<form class="addtask-form form-inline new-task-form" id="new-{{@type}}" data-task-type="{{@type}}" x-bind="submit:addTask">
|
||||||
<input class="addtask-field" value="{@inputValue}" type="text" name="new-task" placeholder="{@placeHolder}"/>
|
<input class="addtask-field" value="{@inputValue}" type="text" name="new-task" placeholder="{{@placeHolder}}"/>
|
||||||
<input class="btn addtask-btn" type="submit" value="Add">
|
<input class="btn addtask-btn" type="submit" value="Add">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue