mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-20 20:07:52 +02:00
fix CSS + gofmt
This commit is contained in:
parent
581231d0ef
commit
a8d7ee2cc8
@ -152,7 +152,7 @@ func export() {
|
|||||||
lib.CheckFatalError(retrieveAdditionalEntriesFromRemote(db))
|
lib.CheckFatalError(retrieveAdditionalEntriesFromRemote(db))
|
||||||
data, err := shared.Search(db, "", 0)
|
data, err := shared.Search(db, "", 0)
|
||||||
lib.CheckFatalError(err)
|
lib.CheckFatalError(err)
|
||||||
for i := len(data)-1; i >= 0; i-- {
|
for i := len(data) - 1; i >= 0; i-- {
|
||||||
fmt.Println(data[i].Command)
|
fmt.Println(data[i].Command)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,15 +2,15 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
"encoding/json"
|
|
||||||
"net/http"
|
|
||||||
|
|
||||||
"github.com/ddworken/hishtory/shared"
|
"github.com/ddworken/hishtory/shared"
|
||||||
)
|
)
|
||||||
@ -242,4 +242,3 @@ func testIntegration(t *testing.T) string {
|
|||||||
|
|
||||||
return userSecret
|
return userSecret
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
<a class="nav-link js-scroll-trigger" href="#setup">Setup</a>
|
<a class="nav-link js-scroll-trigger" href="#setup">Setup</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link js-scroll-trigger" href="#contact">FAQ</a>
|
<a class="nav-link js-scroll-trigger" href="#faq">FAQ</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -86,7 +86,7 @@
|
|||||||
<section class="page-section" id="setup">
|
<section class="page-section" id="setup">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<style>
|
<style>
|
||||||
li.nav-item>:not([active]) {
|
li.install-nav-item>:not([active]) {
|
||||||
background-color: #f7f7f9
|
background-color: #f7f7f9
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -95,11 +95,11 @@
|
|||||||
<p class="text-black-50 mb-4">
|
<p class="text-black-50 mb-4">
|
||||||
<div style="border: solid #f7f7f9; border-width: 2px;border-radius:10px;padding:2%">
|
<div style="border: solid #f7f7f9; border-width: 2px;border-radius:10px;padding:2%">
|
||||||
<ul class="nav nav-tabs nav-pills nav-justified" id="myTab" role="tablist" style="/*border: solid #f7f7f9; border-width: 2px;*/">
|
<ul class="nav nav-tabs nav-pills nav-justified" id="myTab" role="tablist" style="/*border: solid #f7f7f9; border-width: 2px;*/">
|
||||||
<li class="nav-item">
|
<li class="nav-item install-nav-item">
|
||||||
<a class="nav-link active" id="install-online-tab" data-toggle="tab" href="#install-online" role="tab" style="margin: 10px">Install (Online Mode)</a>
|
<a class="nav-link active" id="install-first-tab" data-toggle="tab" href="#install-first" role="tab" style="margin: 10px">First Installation</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item install-nav-item">
|
||||||
<a class="nav-link" id="install-offline-tab" data-toggle="tab" href="#install-offline" role="tab" style="margin: 10px">Install (Offline Mode)</a>
|
<a class="nav-link" id="install-second-tab" data-toggle="tab" href="#install-second" role="tab" style="margin: 10px">Installation on additional computers</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
@ -107,9 +107,9 @@
|
|||||||
<br>To install hishtory on your first machine:
|
<br>To install hishtory on your first machine:
|
||||||
<br> <code>curl -o hishtory https://hishtory.dev/binaries/hishtory-linux; chmod +x hishtory; ./hishtory install</code>
|
<br> <code>curl -o hishtory https://hishtory.dev/binaries/hishtory-linux; chmod +x hishtory; ./hishtory install</code>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" id="install-offline" role="tabpanel" aria-labelledby="profile-tab">
|
<div class="tab-pane" id="install-second" role="tabpanel" aria-labelledby="profile-tab">
|
||||||
<br>To install hishtory on your second machine, you must first retrieve your secret key from first first machine. To do so, run <code>hishtory status</code> and copy your "Secret Key".
|
<br>To install hishtory on your second machine, you must first retrieve your secret key from first first machine. To do so, run <code>hishtory status</code> and copy your "Secret Key".
|
||||||
<br> Then to install it on your second machine:
|
Then to install it on your second machine:
|
||||||
<br> <code>curl -o hishtory https://hishtory.dev/binaries/hishtory-linux; chmod +x hishtory; ./hishtory install $YOUR_HISHTORY_SECRET</code>
|
<br> <code>curl -o hishtory https://hishtory.dev/binaries/hishtory-linux; chmod +x hishtory; ./hishtory install $YOUR_HISHTORY_SECRET</code>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -117,8 +117,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<!-- Contact Section -->
|
<section class="page-section" id="faq">
|
||||||
<section class="page-section" id="contact">
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-lg-8 text-center">
|
<div class="col-lg-8 text-center">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user