Move help window to Vue
This commit is contained in:
parent
71f54f6a5d
commit
70d9d8d226
@ -77,6 +77,7 @@ import NetworkList from "./NetworkList.vue";
|
|||||||
import Chat from "./Chat.vue";
|
import Chat from "./Chat.vue";
|
||||||
import SignIn from "./Windows/SignIn.vue";
|
import SignIn from "./Windows/SignIn.vue";
|
||||||
import Settings from "./Windows/Settings.vue";
|
import Settings from "./Windows/Settings.vue";
|
||||||
|
import Help from "./Windows/Help.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "App",
|
name: "App",
|
||||||
@ -85,6 +86,7 @@ export default {
|
|||||||
Chat,
|
Chat,
|
||||||
SignIn,
|
SignIn,
|
||||||
Settings,
|
Settings,
|
||||||
|
Help,
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
activeWindow: String,
|
activeWindow: String,
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
<small class="pull-right">
|
<small class="pull-right">
|
||||||
v{{ version }}
|
v{{ $root.serverConfiguration.version }}
|
||||||
(<a
|
(<a
|
||||||
id="view-changelog"
|
id="view-changelog"
|
||||||
href="#"
|
href="#"
|
||||||
data-target="#changelog">release notes</a>)
|
data-target="Changelog">release notes</a>)
|
||||||
</small>
|
</small>
|
||||||
About The Lounge
|
About The Lounge
|
||||||
</h2>
|
</h2>
|
||||||
@ -26,33 +26,33 @@
|
|||||||
<div class="about">
|
<div class="about">
|
||||||
<div id="version-checker" />
|
<div id="version-checker" />
|
||||||
|
|
||||||
{{#if gitCommit}}
|
<template v-if="$root.serverConfiguration.gitCommit">
|
||||||
<p>
|
<p>
|
||||||
The Lounge is running from source
|
The Lounge is running from source
|
||||||
(<a
|
(<a
|
||||||
href="https://github.com/thelounge/thelounge/tree/{{gitCommit}}"
|
:href="`https://github.com/thelounge/thelounge/tree/${$root.serverConfiguration.gitCommit}`"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener">commit <code>{{ gitCommit }}</code></a>).
|
rel="noopener">commit <code>{{ $root.serverConfiguration.gitCommit }}</code></a>).
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
Compare
|
Compare
|
||||||
<a
|
<a
|
||||||
href="https://github.com/thelounge/thelounge/compare/{{gitCommit}}...master"
|
:href="`https://github.com/thelounge/thelounge/compare/${$root.serverConfiguration.gitCommit}...master`"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener">between <code>{{ gitCommit }}</code> and <code>master</code></a>
|
rel="noopener">between <code>{{ $root.serverConfiguration.gitCommit }}</code> and <code>master</code></a>
|
||||||
to see what you are missing
|
to see what you are missing
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Compare
|
Compare
|
||||||
<a
|
<a
|
||||||
href="https://github.com/thelounge/thelounge/compare/{{version}}...{{gitCommit}}"
|
:href="`https://github.com/thelounge/thelounge/compare/${$root.serverConfiguration.version}...${$root.serverConfiguration.gitCommit}`"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener">between <code>{{ version }}</code> and <code>{{ gitCommit }}</code></a>
|
rel="noopener">between <code>{{ $root.serverConfiguration.version }}</code> and <code>{{ $root.serverConfiguration.gitCommit }}</code></a>
|
||||||
to see your local changes</li>
|
to see your local changes</li>
|
||||||
</ul>
|
</ul>
|
||||||
{{/if}}
|
</template>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a
|
<a
|
||||||
@ -402,7 +402,7 @@
|
|||||||
<div class="description">
|
<div class="description">
|
||||||
<p>
|
<p>
|
||||||
Invite a user to the specified channel. If
|
Invite a user to the specified channel. If
|
||||||
<code>channel</code> is ommitted, user will be invited to the
|
<code>channel</code> is omitted, user will be invited to the
|
||||||
current channel.
|
current channel.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@ -528,7 +528,7 @@
|
|||||||
<div class="description">
|
<div class="description">
|
||||||
<p>
|
<p>
|
||||||
Close the specified channel or private message window, or the
|
Close the specified channel or private message window, or the
|
||||||
current channel if <code>channel</code> is ommitted.
|
current channel if <code>channel</code> is omitted.
|
||||||
</p>
|
</p>
|
||||||
<p>Aliases: <code>/close</code>, <code>/leave</code></p>
|
<p>Aliases: <code>/close</code>, <code>/leave</code></p>
|
||||||
</div>
|
</div>
|
||||||
@ -644,7 +644,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user